From f3224da714dadf005ff95f3dec1cdeea3474d960 Mon Sep 17 00:00:00 2001 From: jhc Date: Wed, 19 Feb 2025 14:24:15 +0800 Subject: [PATCH] first commit --- README.md | 57 + cmd/app.go | 60 + cmd/init.go | 32 + conf/cert/cert.pem | 63 + conf/cert/erp.fontree.cn.crt | 66 + conf/cert/erp.fontree.cn.key | 27 + conf/cert/erpapi.fontree.cn.crt | 66 + conf/cert/erpapi.fontree.cn.key | 27 + conf/cert/pri.key | 27 + conf/conf.ini | 85 + conf/dev/conf.ini | 95 + conf/dev/dubbogo.yaml | 398 + conf/dubbogo.yaml | 377 + conf/k8s/conf.ini | 95 + conf/k8s/dubbogo.yaml | 406 + conf/test/conf.ini | 105 + conf/test/dubbogo.yaml | 427 + conf/xjj/conf.ini | 82 + conf/xjj/dubbogo.yaml | 459 + logs/main.log | 10092 ++++++++ pkg/config/config.go | 256 + pkg/config/mailArtwork.go | 17 + pkg/e/approval_type.go | 146 + pkg/e/artistinfoMsg.go | 95 + pkg/e/auth_msg.go | 7 + pkg/e/code.go | 394 + pkg/e/dci/amendType.go | 8 + pkg/e/dci/areaCode.go | 48 + pkg/e/dci/certType.go | 6 + pkg/e/dci/dciDigitalRegStatusEnum.go | 13 + pkg/e/dci/failDetail.go | 8 + pkg/e/dci/fileType.go | 9 + pkg/e/dci/fontCopyrightEnum.go | 8 + pkg/e/dci/invoiceTypeEnum.go | 6 + pkg/e/dci/ownershipWay.go | 6 + pkg/e/dci/payStatus.go | 7 + pkg/e/dci/preRegistrationTrueWill.go | 8 + pkg/e/dci/publicationStatus.go | 5 + pkg/e/dci/resultCode.go | 9 + pkg/e/dci/resultMsg.go | 66 + pkg/e/dci/rightObtainWay.go | 5 + pkg/e/dci/rightScope.go | 5 + pkg/e/dci/userStatus.go | 6 + pkg/e/dci/workCategory.go | 19 + pkg/e/dci/workCreationNature.go | 5 + pkg/e/dci/workStatus.go | 9 + pkg/e/msg.go | 247 + pkg/e/oa_msg.go | 1093 + pkg/router/ai_images.go | 38 + pkg/router/artist.go | 65 + pkg/router/artistinfoRouter.go | 330 + pkg/router/artwork.go | 136 + pkg/router/auth.go | 95 + pkg/router/chainbrowser.go | 92 + pkg/router/chat.go | 28 + pkg/router/copyright.go | 68 + pkg/router/dci.go | 48 + pkg/router/domain_name.go | 22 + pkg/router/employee_file.go | 62 + pkg/router/exam.go | 85 + pkg/router/examV2.go | 31 + pkg/router/exhibitionF.go | 26 + pkg/router/gitea.go | 145 + pkg/router/inventory.go | 45 + pkg/router/launch.go | 33 + pkg/router/loanbill.go | 32 + pkg/router/meal.go | 49 + pkg/router/meeting.go | 23 + pkg/router/oa.go | 193 + pkg/router/ocr.go | 18 + pkg/router/patent.go | 23 + pkg/router/paybill.go | 38 + pkg/router/router.go | 896 + pkg/router/shop.go | 78 + pkg/router/turnstile.go | 135 + pkg/router/websocket.go | 23 + pkg/router/workdaymeal.go | 22 + pkg/service/account/account.go | 2989 +++ pkg/service/account/account_v2.go | 1231 + pkg/service/account/ocr_card_id.go | 92 + pkg/service/account/shop_account.go | 45 + pkg/service/account/site.go | 129 + pkg/service/account/turnstile.go | 1834 ++ pkg/service/address.go | 50 + pkg/service/ai_images/coin.go | 49 + pkg/service/ai_images/feedback.go | 131 + pkg/service/ai_images/user.go | 33 + pkg/service/aliyun/doc.go | 59 + pkg/service/approval/approval.go | 4414 ++++ pkg/service/approval/approval_artshow.go | 576 + pkg/service/approval/approval_before.go | 17 + .../approval/approval_bundlePayPrice.go | 26 + pkg/service/approval/approval_check_in.go | 42 + pkg/service/approval/approval_export.go | 744 + pkg/service/approval/approval_job.go | 145 + .../approval/approval_makeApprovalUser.go | 85 + pkg/service/approval/approval_new.go | 3370 +++ pkg/service/approval/approval_oa.go | 919 + pkg/service/approval/approval_offer.go | 420 + pkg/service/approval/approval_position.go | 340 + pkg/service/approval/approval_revoke.go | 120 + pkg/service/approval/approval_type.go | 143 + pkg/service/approval/approval_type_new.go | 263 + pkg/service/approval/chain.go | 286 + pkg/service/approval/entertainment.go | 71 + pkg/service/approval/model/oa_type.go | 283 + pkg/service/approval/model/ret_approval.go | 244 + pkg/service/approval/position_approvals.go | 44 + pkg/service/approval_cron.go | 163 + pkg/service/art_show.go | 2298 ++ pkg/service/art_show_export.go | 903 + .../art_show_export_withoutCopyright.go | 519 + pkg/service/artist.go | 1830 ++ pkg/service/artist/artist.go | 71 + pkg/service/artist/black.go | 51 + pkg/service/artistDto.go | 14 + pkg/service/artistInfo/area/areaBankInfo.go | 170 + .../artistInfo/area/areaBankInfoCrawler2.go | 84 + pkg/service/artistInfo/area/areaOrigin.go | 3686 +++ pkg/service/artistInfo/area/areaRedis.go | 25 + pkg/service/artistInfo/area/areaService.go | 86 + .../artistInfo/area/areaService_test.go | 28 + pkg/service/artistInfo/area/handle.go | 64 + .../artistInfo/area/query3MainBankList.txt | 2400 ++ pkg/service/artistInfo/artistInfoTask/task.go | 29 + pkg/service/artistInfo/asArtist/artist.go | 626 + pkg/service/artistInfo/asArtist/dtoArtist.go | 190 + pkg/service/artistInfo/asArtist/readme.md | 1 + .../artistInfo/asArtist/resumeCache.go | 67 + pkg/service/artistInfo/asArtshow/artshow.go | 246 + .../artistInfo/asArtshow/artshowAtistIndex.go | 477 + .../asArtshow/artshowAtistSupplement.go | 261 + .../asArtshow/artshowBrokerSupplement.go | 131 + .../artistInfo/asArtshow/artshowVideo.go | 276 + .../asArtshow/brokerOperationService.go | 1263 + pkg/service/artistInfo/asArtshow/dto.go | 216 + .../asArtshow/dto_artisSupplement.go | 146 + .../artistInfo/asArtshow/dto_artistIndex.go | 74 + .../artistInfo/asArtshow/dto_artshowVideo.go | 9 + .../asArtshow/dto_brokerOperation.go | 363 + .../asArtshow/dto_copyrightComment.go | 44 + .../asArtshow/dto_rulerFloorPrice.go | 19 + pkg/service/artistInfo/asArtshow/pushDto.go | 283 + pkg/service/artistInfo/asArtshow/readme.md | 9 + pkg/service/artistInfo/asArtshow/sync.go | 68 + pkg/service/artistInfo/asArtshow/util.go | 68 + pkg/service/artistInfo/asArtwork/artwork.go | 1270 + .../artistInfo/asArtwork/dtoArtwork.go | 576 + .../artistInfo/asArtwork/dtoArtwork_ext.go | 96 + pkg/service/artistInfo/asArtwork/dtoCommon.go | 265 + pkg/service/artistInfo/asArtwork/readme.md | 1 + .../artistInfo/asArtwork/supplement.go | 1608 ++ .../artistInfo/asArtwork/supplementDto.go | 369 + .../artistInfo/asArtwork/supplementService.go | 95 + .../artistInfo/asArtwork/supplementV2.go | 155 + pkg/service/artistInfo/asContract/check.go | 131 + pkg/service/artistInfo/asContract/contract.go | 388 + .../artistInfo/asContract/contractDto.go | 50 + pkg/service/artistInfo/asPush/asPush.go | 20 + pkg/service/artistInfo/asPush/interface.go | 47 + pkg/service/artistInfo/asPush/jiguang.go | 160 + pkg/service/artistInfo/asPush/readme.md | 4 + pkg/service/artistInfo/asPush/service.go | 50 + .../artistInfo/asPush/unipush2V0Params.go | 122 + .../asPush/unipush2V0ParamsBuilder.go | 68 + .../artistInfo/asPush/unipush2V0Push.go | 529 + .../artistInfo/asStatement/statement.go | 771 + pkg/service/artistInfo/asUser/account.go | 690 + pkg/service/artistInfo/asUser/accountJwt.go | 107 + .../artistInfo/asUser/accountJwt_test.go | 40 + .../artistInfo/asUser/artistInfoScript.go | 146 + .../artistInfoUserBackendUserViewDto.go | 16 + .../artistInfoUserBackendUserViewHandler.go | 236 + .../asUser/artistInfoUserExportFieldDto.go | 14 + .../artistInfoUserExportFieldHandler.go | 94 + .../asUser/cron_syncDynamicUserData.go | 29 + pkg/service/artistInfo/asUser/dtoInvite.go | 19 + pkg/service/artistInfo/asUser/dtoLogin.go | 16 + pkg/service/artistInfo/asUser/dtoRealname.go | 15 + pkg/service/artistInfo/asUser/dtoUser.go | 122 + pkg/service/artistInfo/asUser/push.go | 119 + pkg/service/artistInfo/asUser/scheduler.go | 126 + pkg/service/artistInfo/asUser/userHandler.go | 85 + pkg/service/artistInfo/asUser/utils.go | 34 + .../artistInfo/asUtil/requestDataToProto.go | 55 + .../asUtil/requestDataToProto_test.go | 64 + .../authPayment/authPaymentAuthPaymentDto.go | 176 + .../authPaymentAuthPaymentHandler.go | 339 + pkg/service/artistInfo/authPayment/service.go | 148 + pkg/service/artistInfo/blackList/balckList.go | 114 + .../artistInfo/functionTest/stomeTest.go | 57 + .../artistInfo/inCricleArticle/comment.go | 101 + pkg/service/artistInfo/inCricleArticle/dto.go | 36 + .../inCricleArticle/inCircleArticleSwiper.go | 97 + .../inCricleArticle/inCricleArticle.go | 186 + .../inCricleArticle/inCricleUser.go | 93 + .../mailArtwork/mailArtworkMailArtworkDto.go | 86 + .../mailArtworkMailArtworkHandler.go | 491 + .../mailArtworkReturnArtworkDto.go | 29 + .../mailArtworkReturnArtworkHandler.go | 85 + .../mailArtworkViewArtistMailStatDto.go | 9 + .../mailArtworkViewArtistMailStatHandler.go | 31 + pkg/service/artistInfo/mailArtwork/readme.md | 1 + .../mailArtwork/syncToArtworkSystem.go | 135 + pkg/service/artistInfo/readme.md | 9 + pkg/service/artistOneQuery.go | 64 + pkg/service/artist_test.go | 427 + pkg/service/artwork.go | 1965 ++ pkg/service/artwork/query.go | 82 + pkg/service/artwork/rate.go | 108 + pkg/service/artwork/repair.go | 110 + pkg/service/artwork/supplement.go | 63 + pkg/service/artwork_query.go | 900 + pkg/service/artwork_query_test.go | 218 + pkg/service/artwork_shop.go | 152 + pkg/service/artwork_test.go | 678 + pkg/service/artwork_third_party.go | 164 + pkg/service/auth/artartwork/artartwork.go | 271 + pkg/service/auth/artworktx/artworktx.go | 63 + pkg/service/auth/auth.go | 40 + pkg/service/auth/department/department.go | 476 + pkg/service/auth/department/department_v2.go | 372 + pkg/service/auth/position/position.go | 93 + pkg/service/auth/position/position_v2.go | 475 + pkg/service/auth/rule/rule.go | 236 + pkg/service/auth/rule/rule_v2.go | 88 + pkg/service/auth/rule_log/rule_log.go | 24 + pkg/service/auth/sso/gitea.go | 388 + pkg/service/auth/sso/gitea_test.go | 16 + pkg/service/auth/sso/wechat.go | 159 + pkg/service/auth/supplyinfo/supplyinfo.go | 61 + pkg/service/backend/artshowVideo.go | 16 + pkg/service/backend/artworkSupplement.go | 95 + pkg/service/backend/backend.go | 26 + pkg/service/backend/dto.go | 15 + pkg/service/backend/menuStruct.go | 19584 ++++++++++++++++ pkg/service/backend/readme.md | 3 + pkg/service/base.go | 239 + pkg/service/base2.go | 213 + pkg/service/blockchain/blockchain.go | 301 + pkg/service/chain.go | 74 + pkg/service/chain_test.go | 40 + pkg/service/chainbrowser/chainbrowser.go | 1710 ++ pkg/service/chat.go | 614 + .../children_competition.go | 562 + pkg/service/clock_in_handle.go | 420 + pkg/service/copyright/copyright.go | 425 + pkg/service/copyright/dciuser.go | 138 + pkg/service/copyright/digital.go | 485 + pkg/service/copyright/software_copyright.go | 78 + pkg/service/copyright/supplement.go | 131 + pkg/service/copyright/trademark.go | 78 + pkg/service/cron.go | 516 + pkg/service/cron_delayDeleteFile.go | 95 + .../customer_service/customer_service.go | 292 + pkg/service/dci/area.go | 1184 + pkg/service/dci/file.go | 64 + pkg/service/dci/user.go | 161 + pkg/service/dci/work.go | 511 + pkg/service/deliver/deliver.go | 94 + pkg/service/domain_name/domain_name.go | 177 + pkg/service/draw.go | 262 + pkg/service/employee/employee.go | 2209 ++ pkg/service/es_service/approval/approval.go | 119 + .../approval/common/approvalType.go | 51 + pkg/service/es_service/approval/common/msg.go | 10 + .../es_service/approval/html/bundle.go | 13 + .../approval/html/bundlePayPrice.go | 18 + .../es_service/approval/html/businessTrip.go | 51 + .../es_service/approval/html/checkIn.go | 13 + .../es_service/approval/html/custom.go | 160 + .../es_service/approval/html/employ.go | 101 + .../es_service/approval/html/exhibition.go | 38 + .../approval/html/financialFormApply.go | 39 + pkg/service/es_service/approval/html/goOut.go | 44 + .../es_service/approval/html/handover.go | 24 + pkg/service/es_service/approval/html/leave.go | 226 + .../es_service/approval/html/leaveApply.go | 79 + .../es_service/approval/html/makeUp.go | 16 + .../es_service/approval/html/outWork.go | 20 + .../es_service/approval/html/overTime.go | 18 + .../es_service/approval/html/promotion.go | 67 + pkg/service/es_service/approval/html/show.go | 21 + .../es_service/approval/html/showUpdate.go | 39 + .../es_service/approval/html/staffSupply.go | 16 + .../es_service/approval/html/turnover.go | 24 + pkg/service/es_service/approval/html/work.go | 22 + .../approval/logic/apporvalLogic.go | 338 + .../es_service/approval/logic/create.go | 64 + .../es_service/approval/logic/search.go | 905 + .../es_service/approval/logic/update.go | 57 + .../es_service/approval/model/approvalHtml.go | 69 + .../approval/model/approvalMapping.go | 2303 ++ .../approval/model/approvalModel.go | 612 + .../es_service/approval/model/index.go | 5 + .../es_service/approval/model/search.go | 15 + pkg/service/exam/exam.go | 88 + pkg/service/exam/examCertDto.go | 29 + pkg/service/exam/examCertHandler.go | 199 + pkg/service/exam/exam_paper.go | 131 + pkg/service/exam/exam_task.go | 242 + pkg/service/exam/gift.go | 62 + pkg/service/exam/question.go | 377 + pkg/service/exam/question_classify.go | 33 + pkg/service/exam/train.go | 151 + pkg/service/exam/user.go | 1183 + pkg/service/exam/user_exam_task_record.go | 595 + pkg/service/exhibition_f.go | 110 + pkg/service/express.go | 258 + .../goods_management/goods_management.go | 220 + pkg/service/health.go | 472 + pkg/service/holidayInfo.go | 71 + pkg/service/home_page/home_page.go | 949 + pkg/service/init.go | 297 + pkg/service/init_artistinfo.go | 44 + pkg/service/inventory/inventory.go | 233 + pkg/service/inventory/wareshouse.go | 307 + pkg/service/invitationLetter.go | 192 + pkg/service/invoice/invoice.go | 101 + pkg/service/journal.go | 135 + pkg/service/launch/conference.go | 80 + pkg/service/launch/contract.go | 173 + pkg/service/loanbill/loanbill.go | 386 + pkg/service/log.go | 91 + pkg/service/meal/goods.go | 100 + pkg/service/meal/indent.go | 130 + pkg/service/meal/order.go | 25 + pkg/service/meal/user.go | 61 + pkg/service/meeting.go | 47 + pkg/service/note.go | 143 + pkg/service/oa/clock_in.go | 1900 ++ pkg/service/oa/oa_apply.go | 123 + pkg/service/oa/oa_collection.go | 1493 ++ pkg/service/oa/oa_collectionV2.go | 285 + pkg/service/oa/oa_month.go | 19 + pkg/service/oa/oa_rule.go | 1210 + pkg/service/oa/oa_setting.go | 108 + pkg/service/oa/oa_user.go | 46 + pkg/service/oa/out_work_check.go | 172 + pkg/service/oa_apply_handle.go | 10 + pkg/service/oa_collection_handle.go | 1439 ++ pkg/service/oa_collection_handleV2.go | 773 + pkg/service/oa_new/chickInMap.go | 114 + pkg/service/oa_new/clockIn.go | 514 + pkg/service/oa_new/collection.go | 795 + pkg/service/oa_new/common/attendance.go | 99 + pkg/service/oa_new/common/attendanceV2.go | 95 + pkg/service/oa_new/common/code.go | 11 + pkg/service/oa_new/common/duration.go | 35 + pkg/service/oa_new/common/employ.go | 36 + pkg/service/oa_new/common/file.go | 6 + pkg/service/oa_new/common/format.go | 8 + pkg/service/oa_new/common/leaveApplyType.go | 95 + pkg/service/oa_new/common/oaLeaveType.go | 97 + pkg/service/oa_new/common/workTime.go | 420 + pkg/service/oa_new/duration.go | 1101 + pkg/service/oa_new/export.go | 166 + pkg/service/oa_new/leaveBalance.go | 338 + pkg/service/oa_new/makeUp.go | 400 + pkg/service/oa_new/model/clockIn.go | 99 + pkg/service/oa_new/model/collection.go | 450 + pkg/service/oa_new/model/duration.go | 31 + pkg/service/oa_new/model/export.go | 8 + pkg/service/oa_new/model/leaveBalance.go | 11 + pkg/service/oa_new/model/oaMonth.go | 17 + pkg/service/oa_new/model/version.go | 19 + pkg/service/oa_new/oaApply.go | 38 + pkg/service/oa_new/oaMonthField.go | 66 + pkg/service/oa_new/oaRuleSetting.go | 88 + .../oa_new/oa_logic/chickInMapLogic.go | 70 + pkg/service/oa_new/oa_logic/clockInLogic.go | 625 + .../oa_new/oa_logic/collectionLogic.go | 1781 ++ .../oa_new/oa_logic/convertApplyTime.go | 45 + pkg/service/oa_new/oa_logic/durationLogic.go | 545 + pkg/service/oa_new/oa_logic/export.go | 240 + pkg/service/oa_new/oa_logic/holidayLogic.go | 67 + pkg/service/oa_new/oa_logic/leaveBalance.go | 11 + pkg/service/oa_new/oa_logic/oaApplyLogic.go | 203 + pkg/service/oa_new/oa_logic/oaProfileLogic.go | 3903 +++ .../oa_new/oa_logic/outWorkCheckLogic.go | 27 + pkg/service/oa_new/oa_logic/splitOaApply.go | 263 + .../oa_new/oa_logic/workTimeTemplateLogic.go | 354 + .../oa_new/oa_logic/workingTimeLogic.go | 197 + pkg/service/oa_new/tempGroup.go | 88 + pkg/service/oa_new/versionHis.go | 117 + pkg/service/oa_new/workTimeRule.go | 88 + pkg/service/oa_new/workTimeTemplate.go | 542 + pkg/service/oa_rule_handle.go | 1131 + pkg/service/ocr/card.go | 72 + pkg/service/oneQueryExt.go | 774 + pkg/service/order/entrust.go | 790 + pkg/service/order/order.go | 732 + pkg/service/order/pay.go | 376 + pkg/service/order/payment.go | 462 + pkg/service/order/report.go | 994 + pkg/service/order/transaction.go | 1 + pkg/service/orderproduct.go | 184 + pkg/service/out_work_handle.go | 79 + pkg/service/patent/patent.go | 106 + pkg/service/pay_bill/pay_bill.go | 99 + pkg/service/pay_bill/paybill.go | 849 + pkg/service/paybill.go | 594 + pkg/service/prebook.go | 199 + pkg/service/preorder.go | 355 + pkg/service/print_manage.go | 819 + pkg/service/push/push.go | 293 + pkg/service/recruit/recruit.go | 2550 ++ pkg/service/send_app.go | 350 + pkg/service/shop/brand.go | 183 + pkg/service/shop/collections.go | 294 + pkg/service/shop/receive.go | 488 + pkg/service/shop/series.go | 265 + pkg/service/shopbrand.go | 143 + pkg/service/show_invoice.go | 436 + pkg/service/site_sign_in.go | 319 + pkg/service/task/feedback.go | 72 + pkg/service/task/task.go | 326 + pkg/service/test.go | 46 + pkg/service/train/train.go | 490 + pkg/service/turnstile/turnstile.go | 183 + pkg/service/upload.go | 454 + pkg/service/websocket/controller/artwork.go | 13 + pkg/service/websocket/controller/system.go | 58 + pkg/service/websocket/server/client.go | 89 + .../websocket/server/client_manager.go | 210 + pkg/service/websocket/server/process.go | 74 + pkg/service/websocket/server/start.go | 56 + pkg/service/weekmeal/weekmeal.go | 107 + pkg/service/work_day_meal/work_day_meal.go | 126 + pkg/service/workbench.go | 708 + pkg/service/workbench_test.go | 210 + pkg/utils/arrary.go | 69 + pkg/utils/clock.go | 99 + pkg/utils/convert_price.go | 56 + pkg/utils/employee/employee.go | 579 + pkg/utils/excel/example/demo.xlsx | Bin 0 -> 9912 bytes pkg/utils/excel/example/demo_1693560673.xlsx | Bin 0 -> 6214 bytes pkg/utils/excel/example/exportExample_test.go | 154 + pkg/utils/excel/excelInter.go | 380 + pkg/utils/excel/excel_test.go | 61 + pkg/utils/excel/img.png | Bin 0 -> 6648 bytes pkg/utils/excel/img_1.png | Bin 0 -> 26183 bytes pkg/utils/excel/jinja.go | 430 + pkg/utils/excel/options.go | 52 + pkg/utils/excel/readme.md | 161 + pkg/utils/excel/style.go | 54 + pkg/utils/excel/utils.go | 41 + pkg/utils/excel/writer.go | 81 + pkg/utils/feie/feie.go | 54 + pkg/utils/feie/feie_test.go | 68 + pkg/utils/holiday/holiday.go | 317 + pkg/utils/idcard/idcard.go | 63 + pkg/utils/idcard/idcard_test.go | 13 + pkg/utils/if.go | 23 + pkg/utils/launch/launch.go | 242 + pkg/utils/mathutils/math.go | 20 + pkg/utils/picture.go | 205 + pkg/utils/picture_test.go | 95 + pkg/utils/plat/address.go | 141 + pkg/utils/qr/qr.go | 131 + pkg/utils/qrCode.go | 220 + pkg/utils/secret/aes/aes.go | 77 + pkg/utils/secret/aes/aes_test.go | 36 + pkg/utils/secret/secret.go | 105 + pkg/utils/secret/secret_test.go | 58 + pkg/utils/stime/common.go | 89 + pkg/utils/stime/getTime.go | 128 + pkg/utils/stime/getTimeExt.go | 101 + pkg/utils/stime/getTimeExt_test.go | 12 + pkg/utils/stime/time.go | 33 + pkg/utils/stime/timeTranslate.go | 71 + pkg/utils/stime/timeTranslate_test.go | 26 + pkg/utils/stime/week.go | 52 + pkg/utils/stime/week_test.go | 20 + pkg/utils/stringFormat.go | 32 + pkg/utils/stringutils/string.go | 22 + pkg/utils/timeDuration.go | 7 + pkg/utils/untils.go | 459 + pkg/utils/validator.go | 78 + pkg/utils/wechat/wechat.go | 53 + pkg/utils/week.go | 45 + pkg/utils/zip.go | 117 + pkg/zap/zap_logger.go | 50 + 483 files changed, 162270 insertions(+) create mode 100644 README.md create mode 100644 cmd/app.go create mode 100644 cmd/init.go create mode 100644 conf/cert/cert.pem create mode 100644 conf/cert/erp.fontree.cn.crt create mode 100644 conf/cert/erp.fontree.cn.key create mode 100644 conf/cert/erpapi.fontree.cn.crt create mode 100644 conf/cert/erpapi.fontree.cn.key create mode 100644 conf/cert/pri.key create mode 100644 conf/conf.ini create mode 100644 conf/dev/conf.ini create mode 100644 conf/dev/dubbogo.yaml create mode 100644 conf/dubbogo.yaml create mode 100644 conf/k8s/conf.ini create mode 100644 conf/k8s/dubbogo.yaml create mode 100644 conf/test/conf.ini create mode 100644 conf/test/dubbogo.yaml create mode 100644 conf/xjj/conf.ini create mode 100644 conf/xjj/dubbogo.yaml create mode 100644 logs/main.log create mode 100644 pkg/config/config.go create mode 100644 pkg/config/mailArtwork.go create mode 100644 pkg/e/approval_type.go create mode 100644 pkg/e/artistinfoMsg.go create mode 100644 pkg/e/auth_msg.go create mode 100644 pkg/e/code.go create mode 100644 pkg/e/dci/amendType.go create mode 100644 pkg/e/dci/areaCode.go create mode 100644 pkg/e/dci/certType.go create mode 100644 pkg/e/dci/dciDigitalRegStatusEnum.go create mode 100644 pkg/e/dci/failDetail.go create mode 100644 pkg/e/dci/fileType.go create mode 100644 pkg/e/dci/fontCopyrightEnum.go create mode 100644 pkg/e/dci/invoiceTypeEnum.go create mode 100644 pkg/e/dci/ownershipWay.go create mode 100644 pkg/e/dci/payStatus.go create mode 100644 pkg/e/dci/preRegistrationTrueWill.go create mode 100644 pkg/e/dci/publicationStatus.go create mode 100644 pkg/e/dci/resultCode.go create mode 100644 pkg/e/dci/resultMsg.go create mode 100644 pkg/e/dci/rightObtainWay.go create mode 100644 pkg/e/dci/rightScope.go create mode 100644 pkg/e/dci/userStatus.go create mode 100644 pkg/e/dci/workCategory.go create mode 100644 pkg/e/dci/workCreationNature.go create mode 100644 pkg/e/dci/workStatus.go create mode 100644 pkg/e/msg.go create mode 100644 pkg/e/oa_msg.go create mode 100644 pkg/router/ai_images.go create mode 100644 pkg/router/artist.go create mode 100644 pkg/router/artistinfoRouter.go create mode 100644 pkg/router/artwork.go create mode 100644 pkg/router/auth.go create mode 100644 pkg/router/chainbrowser.go create mode 100644 pkg/router/chat.go create mode 100644 pkg/router/copyright.go create mode 100644 pkg/router/dci.go create mode 100644 pkg/router/domain_name.go create mode 100644 pkg/router/employee_file.go create mode 100644 pkg/router/exam.go create mode 100644 pkg/router/examV2.go create mode 100644 pkg/router/exhibitionF.go create mode 100644 pkg/router/gitea.go create mode 100644 pkg/router/inventory.go create mode 100644 pkg/router/launch.go create mode 100644 pkg/router/loanbill.go create mode 100644 pkg/router/meal.go create mode 100644 pkg/router/meeting.go create mode 100644 pkg/router/oa.go create mode 100644 pkg/router/ocr.go create mode 100644 pkg/router/patent.go create mode 100644 pkg/router/paybill.go create mode 100644 pkg/router/router.go create mode 100644 pkg/router/shop.go create mode 100644 pkg/router/turnstile.go create mode 100644 pkg/router/websocket.go create mode 100644 pkg/router/workdaymeal.go create mode 100644 pkg/service/account/account.go create mode 100644 pkg/service/account/account_v2.go create mode 100644 pkg/service/account/ocr_card_id.go create mode 100644 pkg/service/account/shop_account.go create mode 100644 pkg/service/account/site.go create mode 100644 pkg/service/account/turnstile.go create mode 100644 pkg/service/address.go create mode 100644 pkg/service/ai_images/coin.go create mode 100644 pkg/service/ai_images/feedback.go create mode 100644 pkg/service/ai_images/user.go create mode 100644 pkg/service/aliyun/doc.go create mode 100644 pkg/service/approval/approval.go create mode 100644 pkg/service/approval/approval_artshow.go create mode 100644 pkg/service/approval/approval_before.go create mode 100644 pkg/service/approval/approval_bundlePayPrice.go create mode 100644 pkg/service/approval/approval_check_in.go create mode 100644 pkg/service/approval/approval_export.go create mode 100644 pkg/service/approval/approval_job.go create mode 100644 pkg/service/approval/approval_makeApprovalUser.go create mode 100644 pkg/service/approval/approval_new.go create mode 100644 pkg/service/approval/approval_oa.go create mode 100644 pkg/service/approval/approval_offer.go create mode 100644 pkg/service/approval/approval_position.go create mode 100644 pkg/service/approval/approval_revoke.go create mode 100644 pkg/service/approval/approval_type.go create mode 100644 pkg/service/approval/approval_type_new.go create mode 100644 pkg/service/approval/chain.go create mode 100644 pkg/service/approval/entertainment.go create mode 100644 pkg/service/approval/model/oa_type.go create mode 100644 pkg/service/approval/model/ret_approval.go create mode 100644 pkg/service/approval/position_approvals.go create mode 100644 pkg/service/approval_cron.go create mode 100644 pkg/service/art_show.go create mode 100644 pkg/service/art_show_export.go create mode 100644 pkg/service/art_show_export_withoutCopyright.go create mode 100644 pkg/service/artist.go create mode 100644 pkg/service/artist/artist.go create mode 100644 pkg/service/artist/black.go create mode 100644 pkg/service/artistDto.go create mode 100644 pkg/service/artistInfo/area/areaBankInfo.go create mode 100644 pkg/service/artistInfo/area/areaBankInfoCrawler2.go create mode 100644 pkg/service/artistInfo/area/areaOrigin.go create mode 100644 pkg/service/artistInfo/area/areaRedis.go create mode 100644 pkg/service/artistInfo/area/areaService.go create mode 100644 pkg/service/artistInfo/area/areaService_test.go create mode 100644 pkg/service/artistInfo/area/handle.go create mode 100644 pkg/service/artistInfo/area/query3MainBankList.txt create mode 100644 pkg/service/artistInfo/artistInfoTask/task.go create mode 100644 pkg/service/artistInfo/asArtist/artist.go create mode 100644 pkg/service/artistInfo/asArtist/dtoArtist.go create mode 100644 pkg/service/artistInfo/asArtist/readme.md create mode 100644 pkg/service/artistInfo/asArtist/resumeCache.go create mode 100644 pkg/service/artistInfo/asArtshow/artshow.go create mode 100644 pkg/service/artistInfo/asArtshow/artshowAtistIndex.go create mode 100644 pkg/service/artistInfo/asArtshow/artshowAtistSupplement.go create mode 100644 pkg/service/artistInfo/asArtshow/artshowBrokerSupplement.go create mode 100644 pkg/service/artistInfo/asArtshow/artshowVideo.go create mode 100644 pkg/service/artistInfo/asArtshow/brokerOperationService.go create mode 100644 pkg/service/artistInfo/asArtshow/dto.go create mode 100644 pkg/service/artistInfo/asArtshow/dto_artisSupplement.go create mode 100644 pkg/service/artistInfo/asArtshow/dto_artistIndex.go create mode 100644 pkg/service/artistInfo/asArtshow/dto_artshowVideo.go create mode 100644 pkg/service/artistInfo/asArtshow/dto_brokerOperation.go create mode 100644 pkg/service/artistInfo/asArtshow/dto_copyrightComment.go create mode 100644 pkg/service/artistInfo/asArtshow/dto_rulerFloorPrice.go create mode 100644 pkg/service/artistInfo/asArtshow/pushDto.go create mode 100644 pkg/service/artistInfo/asArtshow/readme.md create mode 100644 pkg/service/artistInfo/asArtshow/sync.go create mode 100644 pkg/service/artistInfo/asArtshow/util.go create mode 100644 pkg/service/artistInfo/asArtwork/artwork.go create mode 100644 pkg/service/artistInfo/asArtwork/dtoArtwork.go create mode 100644 pkg/service/artistInfo/asArtwork/dtoArtwork_ext.go create mode 100644 pkg/service/artistInfo/asArtwork/dtoCommon.go create mode 100644 pkg/service/artistInfo/asArtwork/readme.md create mode 100644 pkg/service/artistInfo/asArtwork/supplement.go create mode 100644 pkg/service/artistInfo/asArtwork/supplementDto.go create mode 100644 pkg/service/artistInfo/asArtwork/supplementService.go create mode 100644 pkg/service/artistInfo/asArtwork/supplementV2.go create mode 100644 pkg/service/artistInfo/asContract/check.go create mode 100644 pkg/service/artistInfo/asContract/contract.go create mode 100644 pkg/service/artistInfo/asContract/contractDto.go create mode 100644 pkg/service/artistInfo/asPush/asPush.go create mode 100644 pkg/service/artistInfo/asPush/interface.go create mode 100644 pkg/service/artistInfo/asPush/jiguang.go create mode 100644 pkg/service/artistInfo/asPush/readme.md create mode 100644 pkg/service/artistInfo/asPush/service.go create mode 100644 pkg/service/artistInfo/asPush/unipush2V0Params.go create mode 100644 pkg/service/artistInfo/asPush/unipush2V0ParamsBuilder.go create mode 100644 pkg/service/artistInfo/asPush/unipush2V0Push.go create mode 100644 pkg/service/artistInfo/asStatement/statement.go create mode 100644 pkg/service/artistInfo/asUser/account.go create mode 100644 pkg/service/artistInfo/asUser/accountJwt.go create mode 100644 pkg/service/artistInfo/asUser/accountJwt_test.go create mode 100644 pkg/service/artistInfo/asUser/artistInfoScript.go create mode 100644 pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewDto.go create mode 100644 pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewHandler.go create mode 100644 pkg/service/artistInfo/asUser/artistInfoUserExportFieldDto.go create mode 100644 pkg/service/artistInfo/asUser/artistInfoUserExportFieldHandler.go create mode 100644 pkg/service/artistInfo/asUser/cron_syncDynamicUserData.go create mode 100644 pkg/service/artistInfo/asUser/dtoInvite.go create mode 100644 pkg/service/artistInfo/asUser/dtoLogin.go create mode 100644 pkg/service/artistInfo/asUser/dtoRealname.go create mode 100644 pkg/service/artistInfo/asUser/dtoUser.go create mode 100644 pkg/service/artistInfo/asUser/push.go create mode 100644 pkg/service/artistInfo/asUser/scheduler.go create mode 100644 pkg/service/artistInfo/asUser/userHandler.go create mode 100644 pkg/service/artistInfo/asUser/utils.go create mode 100644 pkg/service/artistInfo/asUtil/requestDataToProto.go create mode 100644 pkg/service/artistInfo/asUtil/requestDataToProto_test.go create mode 100644 pkg/service/artistInfo/authPayment/authPaymentAuthPaymentDto.go create mode 100644 pkg/service/artistInfo/authPayment/authPaymentAuthPaymentHandler.go create mode 100644 pkg/service/artistInfo/authPayment/service.go create mode 100644 pkg/service/artistInfo/blackList/balckList.go create mode 100644 pkg/service/artistInfo/functionTest/stomeTest.go create mode 100644 pkg/service/artistInfo/inCricleArticle/comment.go create mode 100644 pkg/service/artistInfo/inCricleArticle/dto.go create mode 100644 pkg/service/artistInfo/inCricleArticle/inCircleArticleSwiper.go create mode 100644 pkg/service/artistInfo/inCricleArticle/inCricleArticle.go create mode 100644 pkg/service/artistInfo/inCricleArticle/inCricleUser.go create mode 100644 pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkDto.go create mode 100644 pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkHandler.go create mode 100644 pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkDto.go create mode 100644 pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkHandler.go create mode 100644 pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatDto.go create mode 100644 pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatHandler.go create mode 100644 pkg/service/artistInfo/mailArtwork/readme.md create mode 100644 pkg/service/artistInfo/mailArtwork/syncToArtworkSystem.go create mode 100644 pkg/service/artistInfo/readme.md create mode 100644 pkg/service/artistOneQuery.go create mode 100644 pkg/service/artist_test.go create mode 100644 pkg/service/artwork.go create mode 100644 pkg/service/artwork/query.go create mode 100644 pkg/service/artwork/rate.go create mode 100644 pkg/service/artwork/repair.go create mode 100644 pkg/service/artwork/supplement.go create mode 100644 pkg/service/artwork_query.go create mode 100644 pkg/service/artwork_query_test.go create mode 100644 pkg/service/artwork_shop.go create mode 100644 pkg/service/artwork_test.go create mode 100644 pkg/service/artwork_third_party.go create mode 100644 pkg/service/auth/artartwork/artartwork.go create mode 100644 pkg/service/auth/artworktx/artworktx.go create mode 100644 pkg/service/auth/auth.go create mode 100644 pkg/service/auth/department/department.go create mode 100644 pkg/service/auth/department/department_v2.go create mode 100644 pkg/service/auth/position/position.go create mode 100644 pkg/service/auth/position/position_v2.go create mode 100644 pkg/service/auth/rule/rule.go create mode 100644 pkg/service/auth/rule/rule_v2.go create mode 100644 pkg/service/auth/rule_log/rule_log.go create mode 100644 pkg/service/auth/sso/gitea.go create mode 100644 pkg/service/auth/sso/gitea_test.go create mode 100644 pkg/service/auth/sso/wechat.go create mode 100644 pkg/service/auth/supplyinfo/supplyinfo.go create mode 100644 pkg/service/backend/artshowVideo.go create mode 100644 pkg/service/backend/artworkSupplement.go create mode 100644 pkg/service/backend/backend.go create mode 100644 pkg/service/backend/dto.go create mode 100644 pkg/service/backend/menuStruct.go create mode 100644 pkg/service/backend/readme.md create mode 100644 pkg/service/base.go create mode 100644 pkg/service/base2.go create mode 100644 pkg/service/blockchain/blockchain.go create mode 100644 pkg/service/chain.go create mode 100644 pkg/service/chain_test.go create mode 100644 pkg/service/chainbrowser/chainbrowser.go create mode 100644 pkg/service/chat.go create mode 100644 pkg/service/children_competition/children_competition.go create mode 100644 pkg/service/clock_in_handle.go create mode 100644 pkg/service/copyright/copyright.go create mode 100644 pkg/service/copyright/dciuser.go create mode 100644 pkg/service/copyright/digital.go create mode 100644 pkg/service/copyright/software_copyright.go create mode 100644 pkg/service/copyright/supplement.go create mode 100644 pkg/service/copyright/trademark.go create mode 100644 pkg/service/cron.go create mode 100644 pkg/service/cron_delayDeleteFile.go create mode 100644 pkg/service/customer_service/customer_service.go create mode 100644 pkg/service/dci/area.go create mode 100644 pkg/service/dci/file.go create mode 100644 pkg/service/dci/user.go create mode 100644 pkg/service/dci/work.go create mode 100644 pkg/service/deliver/deliver.go create mode 100644 pkg/service/domain_name/domain_name.go create mode 100644 pkg/service/draw.go create mode 100644 pkg/service/employee/employee.go create mode 100644 pkg/service/es_service/approval/approval.go create mode 100644 pkg/service/es_service/approval/common/approvalType.go create mode 100644 pkg/service/es_service/approval/common/msg.go create mode 100644 pkg/service/es_service/approval/html/bundle.go create mode 100644 pkg/service/es_service/approval/html/bundlePayPrice.go create mode 100644 pkg/service/es_service/approval/html/businessTrip.go create mode 100644 pkg/service/es_service/approval/html/checkIn.go create mode 100644 pkg/service/es_service/approval/html/custom.go create mode 100644 pkg/service/es_service/approval/html/employ.go create mode 100644 pkg/service/es_service/approval/html/exhibition.go create mode 100644 pkg/service/es_service/approval/html/financialFormApply.go create mode 100644 pkg/service/es_service/approval/html/goOut.go create mode 100644 pkg/service/es_service/approval/html/handover.go create mode 100644 pkg/service/es_service/approval/html/leave.go create mode 100644 pkg/service/es_service/approval/html/leaveApply.go create mode 100644 pkg/service/es_service/approval/html/makeUp.go create mode 100644 pkg/service/es_service/approval/html/outWork.go create mode 100644 pkg/service/es_service/approval/html/overTime.go create mode 100644 pkg/service/es_service/approval/html/promotion.go create mode 100644 pkg/service/es_service/approval/html/show.go create mode 100644 pkg/service/es_service/approval/html/showUpdate.go create mode 100644 pkg/service/es_service/approval/html/staffSupply.go create mode 100644 pkg/service/es_service/approval/html/turnover.go create mode 100644 pkg/service/es_service/approval/html/work.go create mode 100644 pkg/service/es_service/approval/logic/apporvalLogic.go create mode 100644 pkg/service/es_service/approval/logic/create.go create mode 100644 pkg/service/es_service/approval/logic/search.go create mode 100644 pkg/service/es_service/approval/logic/update.go create mode 100644 pkg/service/es_service/approval/model/approvalHtml.go create mode 100644 pkg/service/es_service/approval/model/approvalMapping.go create mode 100644 pkg/service/es_service/approval/model/approvalModel.go create mode 100644 pkg/service/es_service/approval/model/index.go create mode 100644 pkg/service/es_service/approval/model/search.go create mode 100644 pkg/service/exam/exam.go create mode 100644 pkg/service/exam/examCertDto.go create mode 100644 pkg/service/exam/examCertHandler.go create mode 100644 pkg/service/exam/exam_paper.go create mode 100644 pkg/service/exam/exam_task.go create mode 100644 pkg/service/exam/gift.go create mode 100644 pkg/service/exam/question.go create mode 100644 pkg/service/exam/question_classify.go create mode 100644 pkg/service/exam/train.go create mode 100644 pkg/service/exam/user.go create mode 100644 pkg/service/exam/user_exam_task_record.go create mode 100644 pkg/service/exhibition_f.go create mode 100644 pkg/service/express.go create mode 100644 pkg/service/goods_management/goods_management.go create mode 100644 pkg/service/health.go create mode 100644 pkg/service/holidayInfo.go create mode 100644 pkg/service/home_page/home_page.go create mode 100644 pkg/service/init.go create mode 100644 pkg/service/init_artistinfo.go create mode 100644 pkg/service/inventory/inventory.go create mode 100644 pkg/service/inventory/wareshouse.go create mode 100644 pkg/service/invitationLetter.go create mode 100644 pkg/service/invoice/invoice.go create mode 100644 pkg/service/journal.go create mode 100644 pkg/service/launch/conference.go create mode 100644 pkg/service/launch/contract.go create mode 100644 pkg/service/loanbill/loanbill.go create mode 100644 pkg/service/log.go create mode 100644 pkg/service/meal/goods.go create mode 100644 pkg/service/meal/indent.go create mode 100644 pkg/service/meal/order.go create mode 100644 pkg/service/meal/user.go create mode 100644 pkg/service/meeting.go create mode 100644 pkg/service/note.go create mode 100644 pkg/service/oa/clock_in.go create mode 100644 pkg/service/oa/oa_apply.go create mode 100644 pkg/service/oa/oa_collection.go create mode 100644 pkg/service/oa/oa_collectionV2.go create mode 100644 pkg/service/oa/oa_month.go create mode 100644 pkg/service/oa/oa_rule.go create mode 100644 pkg/service/oa/oa_setting.go create mode 100644 pkg/service/oa/oa_user.go create mode 100644 pkg/service/oa/out_work_check.go create mode 100644 pkg/service/oa_apply_handle.go create mode 100644 pkg/service/oa_collection_handle.go create mode 100644 pkg/service/oa_collection_handleV2.go create mode 100644 pkg/service/oa_new/chickInMap.go create mode 100644 pkg/service/oa_new/clockIn.go create mode 100644 pkg/service/oa_new/collection.go create mode 100644 pkg/service/oa_new/common/attendance.go create mode 100644 pkg/service/oa_new/common/attendanceV2.go create mode 100644 pkg/service/oa_new/common/code.go create mode 100644 pkg/service/oa_new/common/duration.go create mode 100644 pkg/service/oa_new/common/employ.go create mode 100644 pkg/service/oa_new/common/file.go create mode 100644 pkg/service/oa_new/common/format.go create mode 100644 pkg/service/oa_new/common/leaveApplyType.go create mode 100644 pkg/service/oa_new/common/oaLeaveType.go create mode 100644 pkg/service/oa_new/common/workTime.go create mode 100644 pkg/service/oa_new/duration.go create mode 100644 pkg/service/oa_new/export.go create mode 100644 pkg/service/oa_new/leaveBalance.go create mode 100644 pkg/service/oa_new/makeUp.go create mode 100644 pkg/service/oa_new/model/clockIn.go create mode 100644 pkg/service/oa_new/model/collection.go create mode 100644 pkg/service/oa_new/model/duration.go create mode 100644 pkg/service/oa_new/model/export.go create mode 100644 pkg/service/oa_new/model/leaveBalance.go create mode 100644 pkg/service/oa_new/model/oaMonth.go create mode 100644 pkg/service/oa_new/model/version.go create mode 100644 pkg/service/oa_new/oaApply.go create mode 100644 pkg/service/oa_new/oaMonthField.go create mode 100644 pkg/service/oa_new/oaRuleSetting.go create mode 100644 pkg/service/oa_new/oa_logic/chickInMapLogic.go create mode 100644 pkg/service/oa_new/oa_logic/clockInLogic.go create mode 100644 pkg/service/oa_new/oa_logic/collectionLogic.go create mode 100644 pkg/service/oa_new/oa_logic/convertApplyTime.go create mode 100644 pkg/service/oa_new/oa_logic/durationLogic.go create mode 100644 pkg/service/oa_new/oa_logic/export.go create mode 100644 pkg/service/oa_new/oa_logic/holidayLogic.go create mode 100644 pkg/service/oa_new/oa_logic/leaveBalance.go create mode 100644 pkg/service/oa_new/oa_logic/oaApplyLogic.go create mode 100644 pkg/service/oa_new/oa_logic/oaProfileLogic.go create mode 100644 pkg/service/oa_new/oa_logic/outWorkCheckLogic.go create mode 100644 pkg/service/oa_new/oa_logic/splitOaApply.go create mode 100644 pkg/service/oa_new/oa_logic/workTimeTemplateLogic.go create mode 100644 pkg/service/oa_new/oa_logic/workingTimeLogic.go create mode 100644 pkg/service/oa_new/tempGroup.go create mode 100644 pkg/service/oa_new/versionHis.go create mode 100644 pkg/service/oa_new/workTimeRule.go create mode 100644 pkg/service/oa_new/workTimeTemplate.go create mode 100644 pkg/service/oa_rule_handle.go create mode 100644 pkg/service/ocr/card.go create mode 100644 pkg/service/oneQueryExt.go create mode 100644 pkg/service/order/entrust.go create mode 100644 pkg/service/order/order.go create mode 100644 pkg/service/order/pay.go create mode 100644 pkg/service/order/payment.go create mode 100644 pkg/service/order/report.go create mode 100644 pkg/service/order/transaction.go create mode 100644 pkg/service/orderproduct.go create mode 100644 pkg/service/out_work_handle.go create mode 100644 pkg/service/patent/patent.go create mode 100644 pkg/service/pay_bill/pay_bill.go create mode 100644 pkg/service/pay_bill/paybill.go create mode 100644 pkg/service/paybill.go create mode 100644 pkg/service/prebook.go create mode 100644 pkg/service/preorder.go create mode 100644 pkg/service/print_manage.go create mode 100644 pkg/service/push/push.go create mode 100644 pkg/service/recruit/recruit.go create mode 100644 pkg/service/send_app.go create mode 100644 pkg/service/shop/brand.go create mode 100644 pkg/service/shop/collections.go create mode 100644 pkg/service/shop/receive.go create mode 100644 pkg/service/shop/series.go create mode 100644 pkg/service/shopbrand.go create mode 100644 pkg/service/show_invoice.go create mode 100644 pkg/service/site_sign_in.go create mode 100644 pkg/service/task/feedback.go create mode 100644 pkg/service/task/task.go create mode 100644 pkg/service/test.go create mode 100644 pkg/service/train/train.go create mode 100644 pkg/service/turnstile/turnstile.go create mode 100644 pkg/service/upload.go create mode 100644 pkg/service/websocket/controller/artwork.go create mode 100644 pkg/service/websocket/controller/system.go create mode 100644 pkg/service/websocket/server/client.go create mode 100644 pkg/service/websocket/server/client_manager.go create mode 100644 pkg/service/websocket/server/process.go create mode 100644 pkg/service/websocket/server/start.go create mode 100644 pkg/service/weekmeal/weekmeal.go create mode 100644 pkg/service/work_day_meal/work_day_meal.go create mode 100644 pkg/service/workbench.go create mode 100644 pkg/service/workbench_test.go create mode 100644 pkg/utils/arrary.go create mode 100644 pkg/utils/clock.go create mode 100644 pkg/utils/convert_price.go create mode 100644 pkg/utils/employee/employee.go create mode 100644 pkg/utils/excel/example/demo.xlsx create mode 100644 pkg/utils/excel/example/demo_1693560673.xlsx create mode 100644 pkg/utils/excel/example/exportExample_test.go create mode 100644 pkg/utils/excel/excelInter.go create mode 100644 pkg/utils/excel/excel_test.go create mode 100644 pkg/utils/excel/img.png create mode 100644 pkg/utils/excel/img_1.png create mode 100644 pkg/utils/excel/jinja.go create mode 100644 pkg/utils/excel/options.go create mode 100644 pkg/utils/excel/readme.md create mode 100644 pkg/utils/excel/style.go create mode 100644 pkg/utils/excel/utils.go create mode 100644 pkg/utils/excel/writer.go create mode 100644 pkg/utils/feie/feie.go create mode 100644 pkg/utils/feie/feie_test.go create mode 100644 pkg/utils/holiday/holiday.go create mode 100644 pkg/utils/idcard/idcard.go create mode 100644 pkg/utils/idcard/idcard_test.go create mode 100644 pkg/utils/if.go create mode 100644 pkg/utils/launch/launch.go create mode 100644 pkg/utils/mathutils/math.go create mode 100644 pkg/utils/picture.go create mode 100644 pkg/utils/picture_test.go create mode 100644 pkg/utils/plat/address.go create mode 100644 pkg/utils/qr/qr.go create mode 100644 pkg/utils/qrCode.go create mode 100644 pkg/utils/secret/aes/aes.go create mode 100644 pkg/utils/secret/aes/aes_test.go create mode 100644 pkg/utils/secret/secret.go create mode 100644 pkg/utils/secret/secret_test.go create mode 100644 pkg/utils/stime/common.go create mode 100644 pkg/utils/stime/getTime.go create mode 100644 pkg/utils/stime/getTimeExt.go create mode 100644 pkg/utils/stime/getTimeExt_test.go create mode 100644 pkg/utils/stime/time.go create mode 100644 pkg/utils/stime/timeTranslate.go create mode 100644 pkg/utils/stime/timeTranslate_test.go create mode 100644 pkg/utils/stime/week.go create mode 100644 pkg/utils/stime/week_test.go create mode 100644 pkg/utils/stringFormat.go create mode 100644 pkg/utils/stringutils/string.go create mode 100644 pkg/utils/timeDuration.go create mode 100644 pkg/utils/untils.go create mode 100644 pkg/utils/validator.go create mode 100644 pkg/utils/wechat/wechat.go create mode 100644 pkg/utils/week.go create mode 100644 pkg/utils/zip.go create mode 100644 pkg/zap/zap_logger.go diff --git a/README.md b/README.md new file mode 100644 index 0000000..7407cda --- /dev/null +++ b/README.md @@ -0,0 +1,57 @@ +# 管理系统客户端---帮助文档 + +新管理系统客户端 + +## 模块汇总 + +## 本地化测试 +修改go.mod文件中replace
+github.com/fonchain_enterprise/fonchain-account => ../fonchain-account
+cd cmd
+go run .
+ +## 数据校验 +### 使用govalidators生成pd校验文件,可以在client或者server做数据校验(filter) +> 校验文件可在proto时生成,建议在client的filter做前置校验,校验文件可通用 + +#### 1、安装go-proto-validators +* [使用go-proto-validators生成校验文件](https://github.com/mwitkow/go-proto-validators) +#### 2、生成校验文件 +``` +protoc --proto_path=. --proto_path=C:/Users/user054/go/src --go_out=./api/account --govalidators_out=./api/account --go-triple_out=./api/account ./api/account/account.proto +``` +#### 3、校验(filter中) +```go +func (f *FonValidateFilter) Invoke(ctx context.Context, invoker protocol.Invoker, invocation protocol.Invocation) protocol.Result { + if len(invocation.Arguments()) > 0 { + if v, ok := invocation.Arguments()[0].(validator); ok { + if err := v.Validate(); err != nil { + return &protocol.RPCResult{Err: perrors.Errorf("%v,info:%v,method:%s ", err.Error(), + invoker, invocation.MethodName())} + } + } + } + + return invoker.Invoke(ctx, invocation) +} +``` + + +* 使用dubbo-go3的filter校验数据[使用文档](https://github.com/apache/dubbo-go-samples/blob/master/filter/custom/go-server),[filter文件位置](http://192.168.31.6:8090/bugmaker/mgmt/fonchain-account/-/blob/main/pkg/common/filter/filter.go) +#### server做校验 + + + +## 部署 +### 测试 +```bash +docker build . -f ./fonchain-main/DockerfileTest -t main-server +``` + +### 正式 +```bash +docker build . -f ./fonchain-main/DockerfileProd -t main-server +``` + + +protoc --proto_path=. --proto_path=C:/Users/Admin/go/pkg/mod --go_out=./api/recruit --govalidators_out=./api/recruit --go-triple_out=./api/recruit ./api/recruit/recruit.proto diff --git a/cmd/app.go b/cmd/app.go new file mode 100644 index 0000000..be2e85e --- /dev/null +++ b/cmd/app.go @@ -0,0 +1,60 @@ +package main + +import ( + "fmt" + _ "github.com/fonchain_enterprise/fonchain-main/pkg/common/filter" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + pkgcron "github.com/fonchain_enterprise/fonchain-main/pkg/cron" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/es" + "github.com/fonchain_enterprise/fonchain-main/pkg/mq" + pkgOaCron "github.com/fonchain_enterprise/fonchain-main/pkg/oa_cron" + "github.com/fonchain_enterprise/fonchain-main/pkg/register" + "github.com/fonchain_enterprise/fonchain-main/pkg/router" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/artistInfoTask" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/sso" + "github.com/fonchain_enterprise/fonchain-main/pkg/tracing" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/robfig/cron/v3" +) + +// export DUBBO_GO_CONFIG_PATH=$PATH_TO_APP/conf/dubbogo.yaml +func main() { + config.GetOptions() + if config.JaegerOpen { + tracing.InitTracing() + } + // rabbitmq 初始化 + mq.NewRabbitMq() + if err := utils.InitTrans("zh"); err != nil { + panic(e.Error) + } + if config.Cron { + c := cron.New() + service.Task(c) + pkgcron.Task(c) + pkgOaCron.Task(c) + artistInfoTask.Task(c) + service.OneQueryTask(c) + c.Start() + fmt.Println("======================================= 打印定时任务 =====================================================") + for i := 0; i < len(c.Entries()); i++ { + fmt.Println("定时任务", c.Entries()[i]) + } + fmt.Println("======================================= 打印定时任务 =====================================================") + } + register.Register() + //sso init + sso.LoadEnv() + if config.AppMode != "local" { + es.InitElastic() + } + r := router.NewRouter() + if config.RunHttps { + _ = r.RunTLS(config.HttpPort, config.Cert, config.Key) + } else { + _ = r.Run(config.HttpPort) + } + select {} +} diff --git a/cmd/init.go b/cmd/init.go new file mode 100644 index 0000000..5bd0b78 --- /dev/null +++ b/cmd/init.go @@ -0,0 +1,32 @@ +package main + +import ( + "fmt" + + "gopkg.in/ini.v1" +) + +var ( + AppMode string + HttpPort string + Key string + Cert string + IsHttps bool +) + +func Init() { + fmt.Println("第一处") + file, err := ini.Load("../conf/conf.ini") + if err != nil { + fmt.Println("服务器配置文件读取错误,请检查文件路径:", err) + } + LoadServer(file) +} + +func LoadServer(file *ini.File) { + AppMode = file.Section("service").Key("AppMode").String() + IsHttps, _ = file.Section("service").Key("IsHTTPS").Bool() + Key = file.Section("service").Key("Key").String() + Cert = file.Section("service").Key("Cert").String() + HttpPort = file.Section("service").Key("HttpPort").String() +} diff --git a/conf/cert/cert.pem b/conf/cert/cert.pem new file mode 100644 index 0000000..a8c55f6 --- /dev/null +++ b/conf/cert/cert.pem @@ -0,0 +1,63 @@ +-----BEGIN CERTIFICATE----- +MIIGBDCCBOygAwIBAgIQBUU6WXwaMqHmOB+CnlVLsjANBgkqhkiG9w0BAQsFADBy +MQswCQYDVQQGEwJDTjElMCMGA1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywg +SW5jLjEdMBsGA1UECxMURG9tYWluIFZhbGlkYXRlZCBTU0wxHTAbBgNVBAMTFFRy +dXN0QXNpYSBUTFMgUlNBIENBMB4XDTIyMDMyOTAwMDAwMFoXDTIzMDMyOTIzNTk1 +OVowGDEWMBQGA1UEAxMNbXMuZm9udHJlZS5jbjCCASIwDQYJKoZIhvcNAQEBBQAD +ggEPADCCAQoCggEBAKUdYvcnylmI6Nlqfvn/5rTPNPyfucIaoRMSyJxMmDaMqmeI ++gd2iQrHRRyM94G9DSmcUP/1P/1RuZxVIHHnl8+ZRlLQuEJLEz8pB7BclOvYBIcz +0lEDUG4OpIV1odV2wdGHSNVwHRwblhQUQ/LrvvcrjAmyTDlAoRSrZX3U6ka8fyyj +Fr6pdPl3TLoIzdwBxere9gSE44DxtsIuhGveC6q0wUWcFS81cMNbjCRmeB1EQHQM +PIoHnVNaKPusADTanO8lSwjgY8iwzYaDWhBfNkUJszgpAwSH9XwBLQwybQ4B3tKl +1dUmDHqYwt1nSstBOrubhSkVx+FMuzpJcOjNCT0CAwEAAaOCAu4wggLqMB8GA1Ud +IwQYMBaAFH/TmfOgRw4xAFZWIo63zJ7dygGKMB0GA1UdDgQWBBRaN+Q3QDgtKmdS +ASqq5dP8LgEcCTAYBgNVHREEETAPgg1tcy5mb250cmVlLmNuMA4GA1UdDwEB/wQE +AwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwPgYDVR0gBDcwNTAz +BgZngQwBAgEwKTAnBggrBgEFBQcCARYbaHR0cDovL3d3dy5kaWdpY2VydC5jb20v +Q1BTMIGSBggrBgEFBQcBAQSBhTCBgjA0BggrBgEFBQcwAYYoaHR0cDovL3N0YXR1 +c2UuZGlnaXRhbGNlcnR2YWxpZGF0aW9uLmNvbTBKBggrBgEFBQcwAoY+aHR0cDov +L2NhY2VydHMuZGlnaXRhbGNlcnR2YWxpZGF0aW9uLmNvbS9UcnVzdEFzaWFUTFNS +U0FDQS5jcnQwCQYDVR0TBAIwADCCAX0GCisGAQQB1nkCBAIEggFtBIIBaQFnAHYA +6D7Q2j71BjUy51covIlryQPTy9ERa+zraeF3fW0GvW4AAAF/0z8qvgAABAMARzBF +AiAX1VSEBfFBXXyNFzTaOmNbKtV1AkTsJ+48Y+ROy0F+EgIhAM2AkGMMs7ND1bWT +HUW05eJileEnm9B6dprIP5XIFFGkAHYANc8ZG7+xbFe/D61MbULLu7YnICZR6j/h +Ku+oA8M71kwAAAF/0z8q5QAABAMARzBFAiEAt26ksGeoXFFd9vQn2aTHeaS8atuE +f+l7Xql1Fhi2X/QCIGGetQr+yF1PznxPFSVuUHWytQX9OjuDBniNfcrAS9lAAHUA +s3N3B+GEUPhjhtYFqdwRCUp5LbFnDAuH3PADDnk2pZoAAAF/0z8q/wAABAMARjBE +AiAFo6xsNmRJ1zZHHM55DPeU3YdA2lPuxC9+kORq5TpvTwIgNBueD+NlqYOp8T7T +JnaX+AwRpWHHNc8YGypQWtXjIS0wDQYJKoZIhvcNAQELBQADggEBADd952RyuJiT +qgW3MJ3wJkYf5wSdZm39IxZqR3G6bcktkuI+usw9uYSfW/gl/Qihx1t0FHcd/xwI +E57KyVZvJgJjRjp4SYFC8YNqT6os1LrWnobx2orJOh9tYdiWTqe5rBzTH+Cw1tOS +zztan1dOJ6rh8zEXPBeTOGJj3Ephx2U8hkMsOBV46tcg5TOqDWQOKFWdm0YD2AZ1 +uEDg5mLNdKUyrXmXC8WCT4C0+uEhdORfNkwhKzJFqkGrWOiBNfIxTflS6STQNsV+ +y7zmqCjDAFuo+FnLgdGBPakOKyMYex0dJI9g6kSH6YyznYHouf4mrB5W/ODcXzcv +1LtI3DW+9cc= +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIErjCCA5agAwIBAgIQBYAmfwbylVM0jhwYWl7uLjANBgkqhkiG9w0BAQsFADBh +MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3 +d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBD +QTAeFw0xNzEyMDgxMjI4MjZaFw0yNzEyMDgxMjI4MjZaMHIxCzAJBgNVBAYTAkNO +MSUwIwYDVQQKExxUcnVzdEFzaWEgVGVjaG5vbG9naWVzLCBJbmMuMR0wGwYDVQQL +ExREb21haW4gVmFsaWRhdGVkIFNTTDEdMBsGA1UEAxMUVHJ1c3RBc2lhIFRMUyBS +U0EgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCgWa9X+ph+wAm8 +Yh1Fk1MjKbQ5QwBOOKVaZR/OfCh+F6f93u7vZHGcUU/lvVGgUQnbzJhR1UV2epJa +e+m7cxnXIKdD0/VS9btAgwJszGFvwoqXeaCqFoP71wPmXjjUwLT70+qvX4hdyYfO +JcjeTz5QKtg8zQwxaK9x4JT9CoOmoVdVhEBAiD3DwR5fFgOHDwwGxdJWVBvktnoA +zjdTLXDdbSVC5jZ0u8oq9BiTDv7jAlsB5F8aZgvSZDOQeFrwaOTbKWSEInEhnchK +ZTD1dz6aBlk1xGEI5PZWAnVAba/ofH33ktymaTDsE6xRDnW97pDkimCRak6CEbfe +3dXw6OV5AgMBAAGjggFPMIIBSzAdBgNVHQ4EFgQUf9OZ86BHDjEAVlYijrfMnt3K +AYowHwYDVR0jBBgwFoAUA95QNVbRTLtm8KPiGxvDl7I90VUwDgYDVR0PAQH/BAQD +AgGGMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjASBgNVHRMBAf8ECDAG +AQH/AgEAMDQGCCsGAQUFBwEBBCgwJjAkBggrBgEFBQcwAYYYaHR0cDovL29jc3Au +ZGlnaWNlcnQuY29tMEIGA1UdHwQ7MDkwN6A1oDOGMWh0dHA6Ly9jcmwzLmRpZ2lj +ZXJ0LmNvbS9EaWdpQ2VydEdsb2JhbFJvb3RDQS5jcmwwTAYDVR0gBEUwQzA3Bglg +hkgBhv1sAQIwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cuZGlnaWNlcnQuY29t +L0NQUzAIBgZngQwBAgEwDQYJKoZIhvcNAQELBQADggEBAK3dVOj5dlv4MzK2i233 +lDYvyJ3slFY2X2HKTYGte8nbK6i5/fsDImMYihAkp6VaNY/en8WZ5qcrQPVLuJrJ +DSXT04NnMeZOQDUoj/NHAmdfCBB/h1bZ5OGK6Sf1h5Yx/5wR4f3TUoPgGlnU7EuP +ISLNdMRiDrXntcImDAiRvkh5GJuH4YCVE6XEntqaNIgGkRwxKSgnU3Id3iuFbW9F +UQ9Qqtb1GX91AJ7i4153TikGgYCdwYkBURD8gSVe8OAco6IfZOYt/TEwii1Ivi1C +qnuUlWpsF1LdQNIdfbW3TSe0BhQa7ifbVIfvPWHYOu3rkg1ZeMo6XRU9B4n5VyJY +RmE= +-----END CERTIFICATE----- \ No newline at end of file diff --git a/conf/cert/erp.fontree.cn.crt b/conf/cert/erp.fontree.cn.crt new file mode 100644 index 0000000..8452af9 --- /dev/null +++ b/conf/cert/erp.fontree.cn.crt @@ -0,0 +1,66 @@ +-----BEGIN CERTIFICATE----- +MIIGaDCCBNCgAwIBAgIQb6rm7ri6MwqLviT4dhBn2zANBgkqhkiG9w0BAQwFADBZ +MQswCQYDVQQGEwJDTjElMCMGA1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywg +SW5jLjEjMCEGA1UEAxMaVHJ1c3RBc2lhIFJTQSBEViBUTFMgQ0EgRzIwHhcNMjIx +MDA4MDAwMDAwWhcNMjMxMDA4MjM1OTU5WjAZMRcwFQYDVQQDEw5lcnAuZm9udHJl +ZS5jbjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMJTyM9GWK1YR2Q9 +Hvnnnd2RJnDWTlGB6xdfE24VLAm5AiQxUvmVwPfDiUVtZwUXII/OBePt0U/mA32g +RHm8tNTyW074KeEwOw64MAJwHEWDrPe7+THIzg3nrkqO6aiPxCnaxub5fU3kwbTQ +lVbjL0IMn9UsoOoH1AEtj5yrMVPnsxVc68iPxdN9VulcL9oH9+x0aoo4Myy9JdwK +TQXUVBIsZSeOnQOdXwGFaZVMuQU0CdKoYiFLEeZFAdt/+NIyTi/wV89EGc2lb/aO +XAUgumKjwz7nvgD3TBiKdFec6YZ9D3vzTHtE+INZ1H+E9/GsK3x/oBr8rB4L/kLQ +t92ARSUCAwEAAaOCAuowggLmMB8GA1UdIwQYMBaAFF86fBEQfgxncWHci6O1AANn +9VccMB0GA1UdDgQWBBSk9Saoo3OuKy27HaCEm8UdRu+LOzAOBgNVHQ8BAf8EBAMC +BaAwDAYDVR0TAQH/BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw +SQYDVR0gBEIwQDA0BgsrBgEEAbIxAQICMTAlMCMGCCsGAQUFBwIBFhdodHRwczov +L3NlY3RpZ28uY29tL0NQUzAIBgZngQwBAgEwfQYIKwYBBQUHAQEEcTBvMEIGCCsG +AQUFBzAChjZodHRwOi8vY3J0LnRydXN0LXByb3ZpZGVyLmNuL1RydXN0QXNpYVJT +QURWVExTQ0FHMi5jcnQwKQYIKwYBBQUHMAGGHWh0dHA6Ly9vY3NwLnRydXN0LXBy +b3ZpZGVyLmNuMBkGA1UdEQQSMBCCDmVycC5mb250cmVlLmNuMIIBgAYKKwYBBAHW +eQIEAgSCAXAEggFsAWoAdwCt9776fP8QyIudPZwePhhqtGcpXc+xDCTKhYY069yC +igAAAYO2kOknAAAEAwBIMEYCIQDuxGX9u+vkFZL+GhdnEUvxrW87mXtwGIpItyxn +EmCeEgIhAOgPpUsUj3FQNnSibN2fnFx1hWMKaFKMyTL/mppIgPisAHYAejKMVNi3 +LbYg6jjgUh7phBZwMhOFTTvSK8E6V6NS61IAAAGDtpDpLwAABAMARzBFAiEAiJOj +P4eobLuBMVaO0OyPaddsPrGGPbZHPMX671QxJ4ECIB6KajkfRnCNvELkP6R+UHol +EXHpS7KNdDrZeRz62UO/AHcA6D7Q2j71BjUy51covIlryQPTy9ERa+zraeF3fW0G +vW4AAAGDtpDpCQAABAMASDBGAiEAlly04fN+WpaPd6+u0yuwn0+2h6ipcM76Dem/ +xtSldYoCIQCUkaysgQTbVYVHUfVzB+fCUODhoHvh4E/pB407lFqZZzANBgkqhkiG +9w0BAQwFAAOCAYEAAtM37PdnWYQ8MENXvWjpOP8lOUcKlQy4XdAV+2z13+mj7O8y +ELOgpbuWXirMHq9DzaVBDQeDdLDC6LYyekAxqD3jEW5Zc3WutDx63PYUt9uz9Eat +Y7Y/jJoNmwdXO2mLmHwCDzKZaQh5qVi1WgaCQD3jZk6mBbEzHTIUiGTuUAJ3aXd8 +EsisAKHkUiK7eSUFB7r1lB0kNQdTGdoX/8w3T2neQE7ru0igVtj0fw3GH2zSyZbD +MjEtsvGHedFhmh4K6KjsoMJt3uSeFKOZp9LO+GDR70pqnxb+TaypkcbX3nAp/e5u +vVEvDu3qKztD4YerXb3Pkhe/IrBs+6xxegtOlk/oezPtXvfQgzLUFl5Fnjlr+cwG +VmF2j/yK0T7CP+I1wf3+Bx3apjQ0qDT7CPsDwWAp5k0x1XlD/guyOUJMXC1zRtOA +ccgv1l54VC69WJe1H+XgKfD3qvY244bmQz/NdIZ37MVKcPlsYfAxZQ7Z1Gf4JyL6 +zqn0sZ7twxYiR4GC +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIFBzCCA++gAwIBAgIRALIM7VUuMaC/NDp1KHQ76aswDQYJKoZIhvcNAQELBQAw +ezELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G +A1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNV +BAMMGEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczAeFw0yMjAxMTAwMDAwMDBaFw0y +ODEyMzEyMzU5NTlaMFkxCzAJBgNVBAYTAkNOMSUwIwYDVQQKExxUcnVzdEFzaWEg +VGVjaG5vbG9naWVzLCBJbmMuMSMwIQYDVQQDExpUcnVzdEFzaWEgUlNBIERWIFRM +UyBDQSBHMjCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAKjGDe0GSaBs +Yl/VhMaTM6GhfR1TAt4mrhN8zfAMwEfLZth+N2ie5ULbW8YvSGzhqkDhGgSBlafm +qq05oeESrIJQyz24j7icGeGyIZ/jIChOOvjt4M8EVi3O0Se7E6RAgVYcX+QWVp5c +Sy+l7XrrtL/pDDL9Bngnq/DVfjCzm5ZYUb1PpyvYTP7trsV+yYOCNmmwQvB4yVjf +IIpHC1OcsPBntMUGeH1Eja4D+qJYhGOxX9kpa+2wTCW06L8T6OhkpJWYn5JYiht5 +8exjAR7b8Zi3DeG9oZO5o6Qvhl3f8uGU8lK1j9jCUN/18mI/5vZJ76i+hsgdlfZB +Rh5lmAQjD80M9TY+oD4MYUqB5XrigPfFAUwXFGehhlwCVw7y6+5kpbq/NpvM5Ba8 +SeQYUUuMA8RXpTtGlrrTPqJryfa55hTuX/ThhX4gcCVkbyujo0CYr+Uuc14IOyNY +1fD0/qORbllbgV41wiy/2ZUWZQUodqHWkjT1CwIMbQOY5jmrSYGBwwIDAQABo4IB +JjCCASIwHwYDVR0jBBgwFoAUoBEKIz6W8Qfs4q8p74Klf9AwpLQwHQYDVR0OBBYE +FF86fBEQfgxncWHci6O1AANn9VccMA4GA1UdDwEB/wQEAwIBhjASBgNVHRMBAf8E +CDAGAQH/AgEAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAiBgNVHSAE +GzAZMA0GCysGAQQBsjEBAgIxMAgGBmeBDAECATBDBgNVHR8EPDA6MDigNqA0hjJo +dHRwOi8vY3JsLmNvbW9kb2NhLmNvbS9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNy +bDA0BggrBgEFBQcBAQQoMCYwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmNvbW9k +b2NhLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAHMUom5cxIje2IiFU7mOCsBr2F6CY +eU5cyfQ/Aep9kAXYUDuWsaT85721JxeXFYkf4D/cgNd9+hxT8ZeDOJrn+ysqR7NO +2K9AdqTdIY2uZPKmvgHOkvH2gQD6jc05eSPOwdY/10IPvmpgUKaGOa/tyygL8Og4 +3tYyoHipMMnS4OiYKakDJny0XVuchIP7ZMKiP07Q3FIuSS4omzR77kmc75/6Q9dP +v4wa90UCOn1j6r7WhMmX3eT3Gsdj3WMe9bYD0AFuqa6MDyjIeXq08mVGraXiw73s +Zale8OMckn/BU3O/3aFNLHLfET2H2hT6Wb3nwxjpLIfXmSVcVd8A58XH0g== +-----END CERTIFICATE----- \ No newline at end of file diff --git a/conf/cert/erp.fontree.cn.key b/conf/cert/erp.fontree.cn.key new file mode 100644 index 0000000..d7d2428 --- /dev/null +++ b/conf/cert/erp.fontree.cn.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpQIBAAKCAQEAwlPIz0ZYrVhHZD0e+eed3ZEmcNZOUYHrF18TbhUsCbkCJDFS ++ZXA98OJRW1nBRcgj84F4+3RT+YDfaBEeby01PJbTvgp4TA7DrgwAnAcRYOs97v5 +McjODeeuSo7pqI/EKdrG5vl9TeTBtNCVVuMvQgyf1Syg6gfUAS2PnKsxU+ezFVzr +yI/F031W6Vwv2gf37HRqijgzLL0l3ApNBdRUEixlJ46dA51fAYVplUy5BTQJ0qhi +IUsR5kUB23/40jJOL/BXz0QZzaVv9o5cBSC6YqPDPue+APdMGIp0V5zphn0Pe/NM +e0T4g1nUf4T38awrfH+gGvysHgv+QtC33YBFJQIDAQABAoIBACSQZb4kdx6EuAgj +HP86JsDQJSrBlCJvftfarpn9t1fL/RxowHtQQ2sLGnrbAzGYwKp2QjL5JjNxrNH4 +NDIwwNi5klcpSB4EOHSEURpAVH168XJ6psCIj0bcAzYprkrmZCtY7Ch9JKfhpVX7 +kkHzRMrZe8B9YXiviONA2p8IsiMeZyq4Z9m34xViBE4tRRCFBAX/oWBILQ5ZivSy +X3fItD23Rxp5PxbFx86tXZ8t8l5RTsJ4PFsphVp8FZM5sNotUGoopXbcgrQkr39Z +9EEg2DZF1+CB4Rfh/Yaa9NzdJ6ZKk9sJ2m/L3yk9inaW7YLQ0Q5whAQCrF0VVzRQ +AlW1CekCgYEA8QDvFbW+8KhPiMoVVQc0+Lk8Clx6YjSBsX+QLqckMgF/NeQaQXJD ++qhSg8kfFgJlv/cjDa2bd3I7KegyhpsNrJ1xI18BU71Op822klDYf9TirwBanpO2 +pHZtfWO+hEyebqmmGRFA+/ZWlCbNDtgbgtBYku82fOK3G8kEjgN88RkCgYEAzmtR +0u+l647mFb22XQ/uLSW+XXNVf9PfsBVjFj6Bi+hmtRA4p7H8riBH7UE30EChpFct +7svTggSxK4etAQh/G49kV/ww0zj+vWerb8Tgv1AsRYbxMg288CLw+sFmcTyq5VFM +UwDBL6Ji6mV3q8eE1qwBd0ayQIe1pGzj/O6que0CgYEA15mzSWO29kpMJJ5MaS2y +WNQ1fztuDM7WO3lX/jRucAHg0NBIIMZdRC8y6kyRb7ojVpF7nW/zBe9+OCZOlRa/ +K+4JWdBTOpu/cuTYcJq8o9dKF66kYvrYSNbdanBB7s8waOWB/yjtTrr4hz8S8TWp +nuROaNxxjVWw4714QqeiLXkCgYEAq20vUAncdqt/Y9DhEZp4SCBPX1a4S+eOnrK0 +TrXsal/AZGCrXIGRgp6mfWArVRVH6K7KI8Y8yn7REICl6fS/cwj74aI8fj6YOH5P +Pwx3Rgr0KW2vA82q+pdaIDXbuPEUUEvbIhe/WKr4kQdhglS5enrw4LjisnrCHGKe +WOFxAeUCgYEAmyl5xvs5dpoYPmyiC0TTME0e4af6VayoT70Faq3393lXaWtbjyrQ +Us7+aMWpLuwu4bhPa/qbMHvrYilsGg5epoZgTJc8+KsSGjBsh6Qzu0c8/dJnZrtq +8LR4w21FuJXZvPjrCb7OJrDNLYcJd1X9SK2ldy71z2h3/Ok1s7W6CyU= +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/conf/cert/erpapi.fontree.cn.crt b/conf/cert/erpapi.fontree.cn.crt new file mode 100644 index 0000000..787769f --- /dev/null +++ b/conf/cert/erpapi.fontree.cn.crt @@ -0,0 +1,66 @@ +-----BEGIN CERTIFICATE----- +MIIGbDCCBNSgAwIBAgIQDjc4PJb6HrFS+crgmkw2ozANBgkqhkiG9w0BAQwFADBZ +MQswCQYDVQQGEwJDTjElMCMGA1UEChMcVHJ1c3RBc2lhIFRlY2hub2xvZ2llcywg +SW5jLjEjMCEGA1UEAxMaVHJ1c3RBc2lhIFJTQSBEViBUTFMgQ0EgRzIwHhcNMjIx +MDE5MDAwMDAwWhcNMjMxMDE5MjM1OTU5WjAcMRowGAYDVQQDExFlcnBhcGkuZm9u +dHJlZS5jbjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANU5Q5lYCF4d +018aeengza4OXSjuSYwYJnTTpBxCdAHPddGgCfDVEjGmxY6ZujdTFUDbBfewXxHK +jGUWZ7drWKuhPF7bGnrO9MPb80OfNVmlmteIPzcUiQ2S2zYwbnG3h78EQJdNYaEK +tfhMzLRlfdI1+P7Fhm/8cGSC3RLEf+d3jSherW45GO+G2SWVm1fNfYqhJLsk5sha +3vha2L06O8ZN10LZJCN+IAXErO0H0DkqwFZpQyWH7E9G+UALpDQzXWhM2xInTwH2 +J7Zn8qdbpog9fUjWc9LWY92zLhTxZg3ra3pWmv4p9cgn79iJ1ZPplAh/xj+B5vdI +xdranmp4OCMCAwEAAaOCAuswggLnMB8GA1UdIwQYMBaAFF86fBEQfgxncWHci6O1 +AANn9VccMB0GA1UdDgQWBBQtU12qUQQhaYTio4lP+HjHwXRblTAOBgNVHQ8BAf8E +BAMCBaAwDAYDVR0TAQH/BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUH +AwIwSQYDVR0gBEIwQDA0BgsrBgEEAbIxAQICMTAlMCMGCCsGAQUFBwIBFhdodHRw +czovL3NlY3RpZ28uY29tL0NQUzAIBgZngQwBAgEwfQYIKwYBBQUHAQEEcTBvMEIG +CCsGAQUFBzAChjZodHRwOi8vY3J0LnRydXN0LXByb3ZpZGVyLmNuL1RydXN0QXNp +YVJTQURWVExTQ0FHMi5jcnQwKQYIKwYBBQUHMAGGHWh0dHA6Ly9vY3NwLnRydXN0 +LXByb3ZpZGVyLmNuMBwGA1UdEQQVMBOCEWVycGFwaS5mb250cmVlLmNuMIIBfgYK +KwYBBAHWeQIEAgSCAW4EggFqAWgAdgCt9776fP8QyIudPZwePhhqtGcpXc+xDCTK +hYY069yCigAAAYPv6GLgAAAEAwBHMEUCIDuuqWj77dqMqPXh2o+Rcxts9rV+ZzRp +00RAhhodqyjQAiEA15dVJfTk+SZu419d6EC7M0VaVOkV6fyLLQOjTHIBa7UAdQB6 +MoxU2LcttiDqOOBSHumEFnAyE4VNO9IrwTpXo1LrUgAAAYPv6GK8AAAEAwBGMEQC +IGEBfQxasMk6sjKdUtvIpx9E3hCeEss0MCwP07asr5XFAiBK0AO/d/dj9ed7eGFO +eez1rBZqrcafdcTxmiMrrJCqHgB3AOg+0No+9QY1MudXKLyJa8kD08vREWvs62nh +d31tBr1uAAABg+/oYooAAAQDAEgwRgIhAK3GB2fyLP/jwoEM/6eulH67aCjwYIZC +nS3DZ2ZL9TPUAiEA/GIxI91stUByOhtk0wDJwpgIX2bu7B4ao0uYEAOR6OUwDQYJ +KoZIhvcNAQEMBQADggGBAD1mna9uckTZwxJjbYpD0n4FnWUGgooTe9ZigdZvyOss +Q/TT0TbJQgPueiKx9THriKy+Q73KXfm6vRT30edsB69SA/wMW6HHfrnsBGgGSBMK +3knoX8Zx25yTEQchIOF2/psGu4mERwiVxgcREDAvf/21eZUetQ8VZ98ySvpcdD56 +5RqNYzDARzQh8FjDcDFfF/6QWKkLdj99U8CFpEisGFqEs3BXYKucpOVOwVrNRStO +ylZ7jnOvTXd6tcT2MpmBqC0M1zh2I5XT6lZQ7Ma5J0GJd5DmrDOJp+VjUkoqFX8X +h9AQfOZLLOM8AfpRerwWpCctLh8pxBWLnrLd3lxJLbBTI4ZgaXyOqDgrfJh1REUY +mjXH73da83sMOjK2g8eZPBsbyujG42JyafKChg1mZk4pfkQ2TQFGR/a+HoxQjS/R +hnW2c8ceVXrDMMKadWUJliKgiwy5g+qhk5ayFRLK4upkNehkoJ9Ys5k2z+TMMT// +PPs8UXsp8kfWmNve/lIvPQ== +-----END CERTIFICATE----- +-----BEGIN CERTIFICATE----- +MIIFBzCCA++gAwIBAgIRALIM7VUuMaC/NDp1KHQ76aswDQYJKoZIhvcNAQELBQAw +ezELMAkGA1UEBhMCR0IxGzAZBgNVBAgMEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4G +A1UEBwwHU2FsZm9yZDEaMBgGA1UECgwRQ29tb2RvIENBIExpbWl0ZWQxITAfBgNV +BAMMGEFBQSBDZXJ0aWZpY2F0ZSBTZXJ2aWNlczAeFw0yMjAxMTAwMDAwMDBaFw0y +ODEyMzEyMzU5NTlaMFkxCzAJBgNVBAYTAkNOMSUwIwYDVQQKExxUcnVzdEFzaWEg +VGVjaG5vbG9naWVzLCBJbmMuMSMwIQYDVQQDExpUcnVzdEFzaWEgUlNBIERWIFRM +UyBDQSBHMjCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAKjGDe0GSaBs +Yl/VhMaTM6GhfR1TAt4mrhN8zfAMwEfLZth+N2ie5ULbW8YvSGzhqkDhGgSBlafm +qq05oeESrIJQyz24j7icGeGyIZ/jIChOOvjt4M8EVi3O0Se7E6RAgVYcX+QWVp5c +Sy+l7XrrtL/pDDL9Bngnq/DVfjCzm5ZYUb1PpyvYTP7trsV+yYOCNmmwQvB4yVjf +IIpHC1OcsPBntMUGeH1Eja4D+qJYhGOxX9kpa+2wTCW06L8T6OhkpJWYn5JYiht5 +8exjAR7b8Zi3DeG9oZO5o6Qvhl3f8uGU8lK1j9jCUN/18mI/5vZJ76i+hsgdlfZB +Rh5lmAQjD80M9TY+oD4MYUqB5XrigPfFAUwXFGehhlwCVw7y6+5kpbq/NpvM5Ba8 +SeQYUUuMA8RXpTtGlrrTPqJryfa55hTuX/ThhX4gcCVkbyujo0CYr+Uuc14IOyNY +1fD0/qORbllbgV41wiy/2ZUWZQUodqHWkjT1CwIMbQOY5jmrSYGBwwIDAQABo4IB +JjCCASIwHwYDVR0jBBgwFoAUoBEKIz6W8Qfs4q8p74Klf9AwpLQwHQYDVR0OBBYE +FF86fBEQfgxncWHci6O1AANn9VccMA4GA1UdDwEB/wQEAwIBhjASBgNVHRMBAf8E +CDAGAQH/AgEAMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAiBgNVHSAE +GzAZMA0GCysGAQQBsjEBAgIxMAgGBmeBDAECATBDBgNVHR8EPDA6MDigNqA0hjJo +dHRwOi8vY3JsLmNvbW9kb2NhLmNvbS9BQUFDZXJ0aWZpY2F0ZVNlcnZpY2VzLmNy +bDA0BggrBgEFBQcBAQQoMCYwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmNvbW9k +b2NhLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAHMUom5cxIje2IiFU7mOCsBr2F6CY +eU5cyfQ/Aep9kAXYUDuWsaT85721JxeXFYkf4D/cgNd9+hxT8ZeDOJrn+ysqR7NO +2K9AdqTdIY2uZPKmvgHOkvH2gQD6jc05eSPOwdY/10IPvmpgUKaGOa/tyygL8Og4 +3tYyoHipMMnS4OiYKakDJny0XVuchIP7ZMKiP07Q3FIuSS4omzR77kmc75/6Q9dP +v4wa90UCOn1j6r7WhMmX3eT3Gsdj3WMe9bYD0AFuqa6MDyjIeXq08mVGraXiw73s +Zale8OMckn/BU3O/3aFNLHLfET2H2hT6Wb3nwxjpLIfXmSVcVd8A58XH0g== +-----END CERTIFICATE----- \ No newline at end of file diff --git a/conf/cert/erpapi.fontree.cn.key b/conf/cert/erpapi.fontree.cn.key new file mode 100644 index 0000000..466c45b --- /dev/null +++ b/conf/cert/erpapi.fontree.cn.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEpAIBAAKCAQEA1TlDmVgIXh3TXxp56eDNrg5dKO5JjBgmdNOkHEJ0Ac910aAJ +8NUSMabFjpm6N1MVQNsF97BfEcqMZRZnt2tYq6E8Xtsaes70w9vzQ581WaWa14g/ +NxSJDZLbNjBucbeHvwRAl01hoQq1+EzMtGV90jX4/sWGb/xwZILdEsR/53eNKF6t +bjkY74bZJZWbV819iqEkuyTmyFre+FrYvTo7xk3XQtkkI34gBcSs7QfQOSrAVmlD +JYfsT0b5QAukNDNdaEzbEidPAfYntmfyp1umiD19SNZz0tZj3bMuFPFmDetrelaa +/in1yCfv2InVk+mUCH/GP4Hm90jF2tqeang4IwIDAQABAoIBAF3vRGCh783Gxf/3 +4g2vA+3SVihaEfyuBwMg2gO5IvJJO1aGctqug71sA0y3XNpSt+JCm3ZrNPbZjNBb +9oVPvVifR8FiNWA1HI/Mrnb0BMThuD2LwI27dkWMlRZib8WZXSxB61K8vG3+Efy5 +mNVAgRXCwVc8HeXoCHu/SzWha9fEfYOItlO65Mh/gYFR4DwkGwFlFaNLyrzKqgwA +pEmKZtNMFF49J1P+QwQeyQjcVCqTnl0FSbdkuLtUnjIAFVIybdzwMQk8O/KHLb/V +SNVsF59dzFswoOYn/wBc6r4T3FAtGoQabVCeTXcN/SG6r/pDI+JndCW358OqBWCj +Lg8pGMECgYEA7MIFjSDQW42BGMyubuzYNNBcU95qa25F1Sjlj2Wr54+5ios2OSdb +5GQUgD6fbFSLQAFJl9rkGppY4v1Fs4toZOOHzc0cBDPxd8Vp1Gz8JJQuuO6HWChl +ZSZELt+xUiXvc+KY6300nQBQMdNQgxfXFjcgcp+Ga0WWmP4j5oODnmcCgYEA5o2X +GxW3HfbyA5XOHr7DbNrlxe9fEM3egCPGSlDUMgskXoBLaD5oQNwM+ywyXXKiZrhB +uoA1cfIZM39v1R3oH8AolwKsnt9MZhuq+k/AW8KjxA9t/7qJERXPy0IH4IOr2+r5 +L7maNsF/v0y6DUfEMm/hOCCw9D/5K7QienPoiuUCgYEAne9X0KshEtG0Wpy/h9OK +7sBHttLZ3sxy3R0o9Z13LUNdHCR9iWbOD+8LFfmwU42aTpoNQ7WLEIwB23nksz69 +5v85Kno2xD76R1FzpXcGREhtWoQT2SUpbm42caZbHVedAosYQ48EN+9rj7FNNgYD +PxiLFqt/+bM0IN73h+AXPuUCgYATPxixMyPhRX84m2XknSo1SSTLXEtEXNtJOTNR +euPr9ZAor28cGbGcUIJo6Wye7nXuO02JYzCS/ZHrAaV1VhTNqb35tUhxztRS5dZl +JQk638nKETuukITmvzpkjnOX44YSStBYkpb0IT0n3CDgAPC5ASv9AoWjLj//zP7f +2BM+nQKBgQDWqmKvtJr8vVzgjmokqRPn1JkYVCi7Dw+gVc1wTKxFqTKdPCBBDAsA +yKKa+447B5InBkick53Cb9mgOQjBJp7IzXvz6T7dXD+ZA1F4Lr0d4Bdj1SIBG1Iy +D3vQkJosHrQUqo2OlIvA5M9X4quMTMXi5Ov7NBz+6uhJ9LV9+dybHg== +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/conf/cert/pri.key b/conf/cert/pri.key new file mode 100644 index 0000000..a5f7055 --- /dev/null +++ b/conf/cert/pri.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEApR1i9yfKWYjo2Wp++f/mtM80/J+5whqhExLInEyYNoyqZ4j6 +B3aJCsdFHIz3gb0NKZxQ//U//VG5nFUgceeXz5lGUtC4QksTPykHsFyU69gEhzPS +UQNQbg6khXWh1XbB0YdI1XAdHBuWFBRD8uu+9yuMCbJMOUChFKtlfdTqRrx/LKMW +vql0+XdMugjN3AHF6t72BITjgPG2wi6Ea94LqrTBRZwVLzVww1uMJGZ4HURAdAw8 +igedU1oo+6wANNqc7yVLCOBjyLDNhoNaEF82RQmzOCkDBIf1fAEtDDJtDgHe0qXV +1SYMepjC3WdKy0E6u5uFKRXH4Uy7Oklw6M0JPQIDAQABAoIBAC3mYe0YJCHItAZA +myTPVSidU3sIwgBqG63sMlV023mKmBJpGyx48LbM13MM4v8veVnAaSoGWPAISINj +jL3tZh/hWZHLEPXo3eRYeRk3W3TGm9ej+crok3LM4kJxhXgMZ+vh4kbnQEhgiNNz +IMKGc5NNiUPmy1a9FypiTTfyOOBJsvLQB1yT9iHS6vJeoad+LkkQ7HNXWUYYniod +tQhToyByqviko0YNKtcnfgTaJYEikvfScneaT42+F6Nu/O33A/S2bJw2Gdns5/// +K5dp07KMz4QiBAz+qTJRhFzonMsNtyMV0bvQnuzbspZcfOnLOiMJZNDQ6mmWoKrW +jHSeurcCgYEA0YHbpmKQQdgz6q5nRk8qgL9a6hIRMcvW/WzBF64CVmEvWXmjbKud +5Mb5ii8T07nfgRfKPnsqi66KHkZXlRWmHelQunvpNNuh4gXzXkVnphCV0gg7wVUm +hAC+SONe0/vcCUgJQOi/jSk6+KtwrRCAHg8FNLsb0a4xegNan8KCne8CgYEAycGV +0CQusFN9ecnnPUkSdXgUj4XkRj2+gZ9lqopSSJ4YB06GD6ofV+8dCF43UE5mNuY0 +O1Yr+UjV5WE2/TtLisCw3KU8oCzHZehRQ0W8ymwwO+tlfKjiw9Tb0BSprAgAm9Aj +y9l19v78oWU3NvkM5L6xOaRTL7236bq/ldQCN5MCgYEAzzL9t8U85FHdrpjDfK6o +22HkmSA7LyNowYRAR5oJp8I/4N7C+KOV6X+7paU/l6L5X6PWmgqXnkOFR8HLtp8N +hgGMnJIVpvgcVvwJn89GXd+DPJB2AJOlHuHZTx7HVyF8kRVUSYSmhQYk03BCZHaw +LoouXOM79Riwx/nvM5dcNLMCgYBDAPSFFI8g5glk2gXe15a2xnNlmtzN6xGKsOot +shRTo5VtT8m8CA6ywGmO7uNF21Oc5eTw09R0zJikvh1qCjgzU30pOgMhWt253Wan +hdCGFVoLfEjPFrOAv/9kYoha5ql1FbHdsFG5/sLdwuSMcDe0/BOVhhpOX55llCyu +UKOP2wKBgFjjdJ8VcH2sUIoYmV7fNqpJAGj1eUIaL3pi3gSUrK2+ILSZLQHlavfb +DUa8FuURoneTm0Kp2X0/VLjv0AP724pWfCEoNb4hjRKMUuKKQJfXVfMYLzOdS2WV +6Sq/iNdo2KBylFXKieuBb/uE3FQ55fslg6AEwAa4XE3L60PIC4cc +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/conf/conf.ini b/conf/conf.ini new file mode 100644 index 0000000..60d14ed --- /dev/null +++ b/conf/conf.ini @@ -0,0 +1,85 @@ +[service] +Domain = fontree +AppMode = local +HttpPort = :9020 +Key=conf/cert/shop.fontree.cn.key +Cert=conf/cert/shop.fontree.cn.crt +IsHTTPS = false +OssDomain = false +ServerDM = "http://114.218.158.24:9020" +Env = local +DriverUrl = "http://114.218.158.24:9010/driver/login.html" +JaegerHost="jaeger:6831" +Cron = false +MapAppCode = 6e73489b6eaf4bbeb611e6b0fb70eab1 +;AppointUrl = "http://appointtest2.szjixun.cn" +AppointUrl = "http://172.16.100.93:8026" +MaterialHost = "http://172.16.100.93:9046" +ApiHost = "http://114.218.158.24:9020" +YearGiftCheckHost = "http://gy.fontree.cn/pages/check/index?id=" +BaiduMapAK = "3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ" +IsOut = false +OutUrl = "https://erpapi-out.szjixun.cn" + +[file] +ImagePath = "./runtime/images" +ProjectMapDir = "/data/fonchain-main" +[bos] +Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" +Sk = "d2ecaa9d75114d3b9f42b99014198306" +BucketName = "dci-file-new" +BosUrl = ".bj.bcebos.com" +BosBaseDir = "fonchain-main" +BosHttp = "https://" +BosDomain = "cdns.fontree.cn" +[ding] +AccessToken: 1139fa5b9ee0dab11ecff51ac107ad2e92d09c121a693bdcc32013c44de8faee +Url: https://oapi.dingtalk.com/robot/send +[holiday] +ID: o6kqk3pftihvicgm +Secret: YmkrTDVRS0xjYjNaekFhL040ZisyZz09 +SingleUrl: https://www.mxnzp.com/api/holiday/single/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v +MultiUrl: https://www.mxnzp.com/api/holiday/multi/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v +[rabbitmq] +User: "myuser" +Password: "mypass" +Host: "114.218.158.24" +Port: 9053 +Vhost: "artist" +[shop] +ShopHost = "http://114.218.158.24:9088" +[es] +;ElasticHost: http://192.168.12.3:9085 +ElasticHost: "http://elstic-es.fontree.cn" +ApprovalIndex: "approval" + +[redis] +RedisDB: +RedisAddr: 127.0.0.1:6379 +RedisPW: +RedisDBNAme: 15 +[zap] +Level= "info" +Filename= "runtime/logs/zap/main.log" +MaxSize= "100" +MaxAge= "30" +MaxBackups= "30" +[oss] +AccessKeyId = "LTAI5tLz1fSK53FQAEC9uNSb" +AccessKeySecret = "oGB9chrQzQzITXR2IGv37Ji5WxZh4j" +Endpoint = "oss-cn-hangzhou.aliyuncs.com" +BucketName = "fontree-test" +BaseDir = "fonchain-main" +CdnHost = "https://cdn-test.szjixun.cn" + +[msg] +defaultSignNo= 220028 + +[send] +SendTime = 3 +XMChannelId = "" +OPChannelId = "" +OPNotifyLevel = 1 +[mail_artwork];画家宝退画配置 +;EditReturnArtworkUrl = "https://artisttest.fontree.cn/api/v3/mail/show/address/confirm" +EditReturnArtworkUrl = "https://artisttest.fontree.cn/pages/transferPage/returnArtworkAddress" diff --git a/conf/dev/conf.ini b/conf/dev/conf.ini new file mode 100644 index 0000000..68be65e --- /dev/null +++ b/conf/dev/conf.ini @@ -0,0 +1,95 @@ +[service] +Domain = fontree +AppMode = local +HttpPort = :8084 +Key=conf/cert/shop.fontree.cn.key +Cert=conf/cert/shop.fontree.cn.crt +RunHTTPS = false +IsHTTPS = false +OssDomain = false +ServerDM = "http://192.168.1.26:8084" +Env = dev +DriverUrl = "http://114.218.158.24:9010/driver/login.html" +JaegerHost="127.0.0.1:6831" +JaegerOpen = true +Cron = false +MapAppCode = 6e73489b6eaf4bbeb611e6b0fb70eab1 +;AppointUrl = "http://appointtest2.szjixun.cn" +AppointUrl = "http://172.16.100.93:8026" +MaterialHost = "http://172.16.100.93:9046" +ApiHost = "http://114.218.158.24:9020" +YearGiftCheckHost = "http://gy.fontree.cn/pages/check/index?id=" +BaiduMapAK = "3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ" + +[file] +ImagePath = "./runtime/images" +ProjectMapDir = "D:\GOPATH\src\github.com\fonchain-main" +[bos] +Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" +Sk = "d2ecaa9d75114d3b9f42b99014198306" +BucketName = "dci-file-new" +BosUrl = ".bj.bcebos.com" +BosBaseDir = "fonchain-main" +BosHttp = "https://" +BosDomain = "cdns.fontree.cn" +[redis] +RedisDB: +RedisAddr: 127.0.0.1:6379 +;RedisPW: kP6tW4tS3qB2dW4aE6uI5cX2 +RedisPW: "7532T6R" +RedisDBNAme: 15 +[ding] +AccessToken: 1139fa5b9ee0dab11ecff51ac107ad2e92d09c121a693bdcc32013c44de8faee +Url: https://oapi.dingtalk.com/robot/send +[holiday] +ID: o6kqk3pftihvicgm +Secret: YmkrTDVRS0xjYjNaekFhL040ZisyZz09 +SingleUrl: https://www.mxnzp.com/api/holiday/single/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v +MultiUrl: https://www.mxnzp.com/api/holiday/multi/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v + +[rabbitmq] +User: "myuser" +Password: "mypass" +Host: "localhost" +Port: 5672 +Vhost: "artist" +VhostArtwork: "artwork" +vhostCopyright: "copyright" +[shop] +ShopHost = "http://114.218.158.24:9088" +[es] +;ElasticHost: http://121.228.2.240:9026 +ElasticHost: http://172.16.100.91:9026 +;ElasticHost: "http://elstic-es.fontree.cn" +ApprovalIndex: "approval" +[api] +erpak:"tjazzvQxyVg4wZ8zECCW" +erpsk:"7eBq75ZuF7xKH34vr2DK" +SendIndexesUrl: "https://itest.tyfon.com.cn/ecmall/api/brandPoint" +chatGptHost: "http://127.0.0.1:9010" +[aliyun] +accessKeyId:"LTAI5tNjFwVMpf6RDoKkrdVF" +accessKeySecret:"oZ5yDVoLT1RiFij3xofCXkP6GZs6Tm" +[zap] +Level= "info" +Filename= "runtime/logs/zap/main.log" +MaxSize= "100" +MaxAge= "30" +MaxBackups= "30" +[oss] +AccessKeyId = "LTAI5tLz1fSK53FQAEC9uNSb" +AccessKeySecret = "oGB9chrQzQzITXR2IGv37Ji5WxZh4j" +Endpoint = "oss-cn-hangzhou.aliyuncs.com" +BucketName = "fontree-test" +BaseDir = "fonchain-main" +CdnHost = "https://cdn-test.szjixun.cn" +[pdf] +Host = "https://gotenberg.szjixun.cn" +[send] +SendTime = 3 +XMChannelId = "" +OPChannelId = "" +OPNotifyLevel = 1 +[mail_artwork];画家宝退画配置 +;EditReturnArtworkUrl = "https://artisttest.fontree.cn/api/returnArtwork/edit" +EditReturnArtworkUrl = "https://artisttest.fontree.cn/pages/transferPage/returnArtworkAddress" diff --git a/conf/dev/dubbogo.yaml b/conf/dev/dubbogo.yaml new file mode 100644 index 0000000..80a2bea --- /dev/null +++ b/conf/dev/dubbogo.yaml @@ -0,0 +1,398 @@ +dubbo: + registries: + demoZK: + protocol: zookeeper + timeout: 3s + # address: 121.229.45.214:9004 + address: 127.0.0.1:2181 + # address: 114.218.158.24:2181 + consumer: + filter: tracing + request-timeout: 30s + references: + ChainClientImpl: + timeout: 40s + protocol: tri + interface: com.fontree.microservices.common.chain + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Chain-04" + .secretAccessKey: "Al-Chain-FDF112" + methods: + - name: "UploadFile" + retries: 0 + - name: "CoWtChain" + retries: 0 + AccountClientImpl: + protocol: tri + retries: 0 + interface: com.fontree.microservices.common.Account + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + OrderClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.order # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-order-04" + .secretAccessKey: "Al-order-FDF112" + EmployeeClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.employee # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-employee-04" + .secretAccessKey: "Al-employee-FDF112" + PatentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.patent # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-patent-04" + .secretAccessKey: "Al-patent-FDF112" + DepartmentClientImpl: + interface: com.fontree.microservices.common.Department # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + PositionClientImpl: + interface: com.fontree.microservices.common.Position # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Update" + retries: 0 + RuleClientImpl: + interface: com.fontree.microservices.common.Rule # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + RuleLogClientImpl: + interface: com.fontree.microservices.common.RuleLog # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + TaskClientImpl: + interface: com.fontree.microservices.common.task # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + protocol: tri + params: + .accessKeyId: "SYD8-task-04" + .secretAccessKey: "Al-task-FDF112" + ApprovalClientImpl: + interface: com.fontree.microservices.common.Approval # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Approval-12" + .secretAccessKey: "Al-Approval-FDF1" + ArtistClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artist + # filter: authFilter + ArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artwork + # filter: authFilter + ArtworkQueryClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkQuery + # filter: authFilter + LogClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Log + NoteClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Note + ShopBrandClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ShopBrand + ArtShowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtShow + ArtworkChainClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkChain + WorkbenchClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Workbench + ArtworkThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkThirdParty + DrawClientImpl: + timeout: 100s + protocol: tri + interface: com.fontree.microservices.common.Draw + methods: + - name: "AddAccount" + retries: 0 + methods: + - name: "SetResult" + retries: 0 + BackupClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Backup + PushClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Push + SeriesClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.series + group: shop + BrandClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ShopBrand + group: shop + CollectionsClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Collections + ArtistThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistThirdParty + PaybillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Paybill + PrebookClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Prebook + OrderproductClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Orderproduct + HealthClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Health + PreorderClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Preorder + ExpressClientImpl: + timeout: 30s + retries: 0 + interface: com.fontree.microservices.common.express # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-express-04" + .secretAccessKey: "Al-express-FDF112" + #画家宝服务端6个 + ArtistInfoUserClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoUser + ArtistInfoArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtwork + ArtistInfoArtshowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtshow + ArtistInfoContractClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoContract + ArtistInfoStatementClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoStatement + InCircleArticleClientImpl: + protocol: tri + interface: com.fontree.microservices.common.InCircleArticleProvider + ArtworkShopClientImpl: + timeout: 60s + protocol: tri + interface: com.fontree.microservices.common.ArtworkShop + OAClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.OA + JournalClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Journal + MealAccountClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.account + group: meal + MealGoodsClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.goods + group: meal + MealOrderClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.order + group: meal + IndentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Indent + AppointmentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.AppointmentNew + BuyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.BuyNew + CollectionRecordClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.collection_record + RecruitClientImpl: + protocol: tri + filter: tps + interface: com.fonchain.approval.proto.IApprovalService + GoodsManagementClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.GoodsManagement + InventoryClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.inventory # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + WarehouseClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.warehouse # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + PaymentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.payment + params: + .accessKeyId: "SYD8-pay-04" + .secretAccessKey: "Al-pay-FDF112" + ExamClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Exam + CopyrightClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.digital.copyright + DciClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.chain.dci + SiteSignInClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SiteSignIn + ChainBrowserClientImpl: + protocol: tri + interface: com.fontree.microservices.chain.browser + group: chain + SoftwareCopyrightClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SoftwareCopyright + TrademarkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Trademark + CoinClientImpl: + protocol: tri + interface: com.fontree.microservices.common.coin + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + retries: 0 + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + FeedbackClientImpl: + protocol: tri + interface: com.fontree.microservices.common.feedback + ExhibitionFClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ExhibitionF + InvoiceClientImpl: + interface: com.fontree.microservices.common.Invoice + retries: 100 + BlockchainClientImpl: + interface: com.fontree.microservices.common.Blockchain + retries: 100 + EquityClientImpl: + retries: 0 + protocol: tri + timeout: 100s + interface: com.fontree.microservices.common.Equity + LoanBillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.digital.loanbill + ConferenceClientImpl: + interface: com.fontree.microservices.common.Conference + DocumentContractClientImpl: + interface: com.fontree.microservices.common.DocumentContract + ChildrenCompetitionClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ChildrenCompetition + ECardClientImpl: + interface: com.fontree.microservices.common.ECard + retries: 0 + timeout: 100s + ChatRecordClientImpl: + interface: com.fontree.microservices.common.AsChat + protocol: tri + MailArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.MailArtworkProvider + OperationRecordClientImpl: + protocol: tri + interface: com.fontree.microservices.common.OperationRecordProvider + logger: + zap-config: + level: error # 日志级别 + development: false + disableCaller: false + disableStacktrace: false + encoding: "json" + # zap encoder 配置 + encoder-config: + messageKey: "message" + levelKey: "level" + timeKey: "time" + nameKey: "logger" + callerKey: "caller" + stacktraceKey: "stacktrace" + level-encoder: "capital" + timeEncoder: "iso8601" + durationEncoder: "seconds" + callerEncoder: "short" + nameEncoder: "" + EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), + EncodeDuration: zapcore.SecondsDurationEncoder, + outputPaths: + - "stderr" + errorOutputPaths: + - "stderr" + lumberjack-config: + # 写日志的文件名称 + filename: "logs/main.log" + # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB + maxSize: 10 + # 日志保留的最大天数(只保留最近多少天的日志) + maxAge: 15 + # 只保留最近多少个日志文件,用于控制程序总日志的大小 + maxBackups: 10 + # 是否使用本地时间,默认使用 UTC 时间 + localTime: true + # 是否压缩日志文件,压缩方法 gzip + compress: false \ No newline at end of file diff --git a/conf/dubbogo.yaml b/conf/dubbogo.yaml new file mode 100644 index 0000000..a579295 --- /dev/null +++ b/conf/dubbogo.yaml @@ -0,0 +1,377 @@ +dubbo: + registries: + demoZK: + protocol: zookeeper + timeout: 3s + # address: 121.229.45.214:9004 + address: 127.0.0.1:2181 + # address: 172.16.100.93:2181 + consumer: + request-timeout: 30s + references: + ChainClientImpl: + timeout: 40s + protocol: tri + interface: com.fontree.microservices.common.chain + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Chain-04" + .secretAccessKey: "Al-Chain-FDF112" + methods: + - name: "UploadFile" + retries: 0 + - name: "CoWtChain" + retries: 0 + AccountClientImpl: + protocol: tri + retries: 0 + interface: com.fontree.microservices.common.Account + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + OrderClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.order # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-order-04" + .secretAccessKey: "Al-order-FDF112" + EmployeeClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.employee # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-employee-04" + .secretAccessKey: "Al-employee-FDF112" + PatentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.patent # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-patent-04" + .secretAccessKey: "Al-patent-FDF112" + DomainNameClientImpl: + protocol: tri + interface: com.fontree.microservices.common.domainName # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-domainName-04" + .secretAccessKey: "Al-domainName-FDF112" + DepartmentClientImpl: + interface: com.fontree.microservices.common.Department # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + PositionClientImpl: + interface: com.fontree.microservices.common.Position # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Update" + retries: 0 + RuleClientImpl: + interface: com.fontree.microservices.common.Rule # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + RuleLogClientImpl: + interface: com.fontree.microservices.common.RuleLog # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + TaskClientImpl: + interface: com.fontree.microservices.common.task # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + protocol: tri + params: + .accessKeyId: "SYD8-task-04" + .secretAccessKey: "Al-task-FDF112" + ApprovalClientImpl: + interface: com.fontree.microservices.common.Approval # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Approval-12" + .secretAccessKey: "Al-Approval-FDF1" + ArtistClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artist + # filter: authFilter + ArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artwork + # filter: authFilter + ArtworkQueryClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkQuery + # filter: authFilter + LogClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Log + NoteClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Note + ArtShowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtShow + ArtworkChainClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkChain + AppointmentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.AppointmentNew + ArtArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtArtwork + WorkbenchClientImpl: + protocol: tri + params: + max-call-send-msg-size: 70000000 + max-call-recv-msg-size: 70000000 + interface: com.fontree.microservices.common.Workbench + ArtworkThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkThirdParty + DrawClientImpl: + timeout: 200s + protocol: tri + interface: com.fontree.microservices.common.Draw + methods: + - name: "AddAccount" + retries: 0 + BackupClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Backup + SeriesClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.series + group: shop + PushClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Push + BrandClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ShopBrand + group: shop + CollectionsClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Collections + PaybillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Paybill + PrebookClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Prebook + OrderproductClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Orderproduct + HealthClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Health + PreorderClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Preorder + ExpressClientImpl: + retries: 0 + interface: com.fontree.microservices.common.express # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-express-04" + .secretAccessKey: "Al-express-FDF112" + #画家宝服务端6个 + ArtistInfoUserClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoUser + filter: fonValidateFilter + ArtistInfoArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtwork + filter: fonValidateFilter + ArtistInfoArtshowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtshow + filter: fonValidateFilter + ArtistInfoContractClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoContract + ArtistInfoStatementClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoStatement + retries: 100 + InCircleArticleClientImpl: + protocol: tri + interface: com.fontree.microservices.common.InCircleArticleProvider + OAClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.OA + JournalClientImpl: + protocol: tri + filter: tps + params: + max-call-send-msg-size: 80000000 + max-call-recv-msg-size: 80000000 + interface: com.fontree.microservices.common.Journal + IndentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Indent + + InventoryClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.inventory # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + WarehouseClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.warehouse # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + PaymentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.payment + params: + .accessKeyId: "SYD8-pay-04" + .secretAccessKey: "Al-pay-FDF112" + CollectionRecordClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.collection_record + RecruitClientImpl: + protocol: tri + filter: tps + interface: com.fonchain.approval.proto.IApprovalService + GoodsManagementClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.GoodsManagement + ExamClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Exam + SiteSignInClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SiteSignIn + BuyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.BuyNew + SoftwareCopyrightClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SoftwareCopyright + TrademarkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Trademark + CoinClientImpl: + protocol: tri + interface: com.fontree.microservices.common.coin + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + retries: 0 + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + FeedbackClientImpl: + protocol: tri + interface: com.fontree.microservices.common.feedback + ExhibitionFClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ExhibitionF + InvoiceClientImpl: + interface: com.fontree.microservices.common.Invoice + retries: 100 + BlockchainClientImpl: + interface: com.fontree.microservices.common.Blockchain + retries: 100 + EquityClientImpl: + retries: 0 + protocol: tri + timeout: 100s + interface: com.fontree.microservices.common.Equity + ConferenceClientImpl: + interface: com.fontree.microservices.common.Conference + DocumentContractClientImpl: + interface: com.fontree.microservices.common.DocumentContract + ChildrenCompetitionClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ChildrenCompetition + ECardClientImpl: + interface: com.fontree.microservices.common.ECard + retries: 0 + timeout: 100s + ChatRecordClientImpl: + interface: com.fontree.microservices.common.AsChat + protocol: tri + MailArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.MailArtworkProvider + OperationRecordClientImpl: + protocol: tri + interface: com.fontree.microservices.common.OperationRecordProvider + logger: + zap-config: + level: info # 日志级别 + development: false + disableCaller: false + disableStacktrace: false + encoding: "json" + # zap encoder 配置 + encoderConfig: + messageKey: "message" + levelKey: "level" + timeKey: "time" + nameKey: "logger" + callerKey: "caller" + stacktraceKey: "stacktrace" + lineEnding: "" + levelEncoder: "capitalColor" + timeEncoder: "iso8601" + durationEncoder: "seconds" + callerEncoder: "short" + nameEncoder: "" + EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), + EncodeDuration: zapcore.SecondsDurationEncoder, + outputPaths: + - "stderr" + errorOutputPaths: + - "stderr" + lumberjack-config: + # 写日志的文件名称 + filename: "logs/main.log" + # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB + maxSize: 10 + # 日志保留的最大天数(只保留最近多少天的日志) + maxAge: 15 + # 只保留最近多少个日志文件,用于控制程序总日志的大小 + maxBackups: 10 + # 是否使用本地时间,默认使用 UTC 时间 + localTime: true + # 是否压缩日志文件,压缩方法 gzip + compress: false \ No newline at end of file diff --git a/conf/k8s/conf.ini b/conf/k8s/conf.ini new file mode 100644 index 0000000..b212d4b --- /dev/null +++ b/conf/k8s/conf.ini @@ -0,0 +1,95 @@ +[service] +Domain = fontree +AppMode = prod +HttpPort = :9020 +Key=conf/cert/erpapi.fontree.cn.key +Cert=conf/cert/erpapi.fontree.cn.crt +RunHTTPS = false +IsHTTPS = true +OssDomain = false +ServerDM = "http://192.168.88.6:9020" +Env = prod +DriverUrl = "https://erp.fontree.cn/driver/login.html" +JaegerHost="jaeger:6831" +Cron = true +;AppointUrl = "http://appointtest2.szjixun.cn" +AppointUrl = "https://train.szjixun.cn" +MaterialHost = "https://material.szjixun.cn" +ApiHost = "https://erpapi.fontree.cn" +YearGiftCheckHost = "http://gift.fontree.cn/pages/check/index?id=" +BaiduMapAK = "3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ" +IsOut = false +OutUrl = "https://erpapi-out.szjixun.cn" +[file] +ImagePath = "./runtime/images" +ProjectMapDir = "/data/fonchain-main" +[bos] +Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" +Sk = "d2ecaa9d75114d3b9f42b99014198306" +BucketName = "dci-file-new" +BosUrl = ".bj.bcebos.com" +BosBaseDir = "fonchain-main" +BosHttp = "https://" +BosDomain = "cdns.fontree.cn" +[redis] +RedisDB = 15 +RedisAddr = "svc-fontree-redis-service:6379" +RedisPW = "fonchain_opv:kP6tW4tS3qB2dW4aE6uI5cX2" +RedisDBNAme = 15 +[ding] +AccessToken: 1139fa5b9ee0dab11ecff51ac107ad2e92d09c121a693bdcc32013c44de8faee +Url: https://oapi.dingtalk.com/robot/send +[holiday] +ID: o6kqk3pftihvicgm +Secret: YmkrTDVRS0xjYjNaekFhL040ZisyZz09 +SingleUrl: https://www.mxnzp.com/api/holiday/single/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v +MultiUrl: https://www.mxnzp.com/api/holiday/multi/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v +[rabbitmq] +User: "MjphbXFwLWNuLXBlMzM2d2ltcjAwNzpMVEFJNXRORXZGSGNTRlVBN1paMXk2RHo=" +Password: "MDM4NDBEMEEwN0NCRUQ3OTE0QzQ0M0YxQjE0MThBNzJBMEIwNTNGRDoxNjgyNTYyNzkyNzUy" +Host: "amqp-cn-pe336wimr007.cn-hangzhou.amqp-8.net.mq.amqp.aliyuncs.com" +Port: 5672 +Vhost: "artist" +VhostArtwork: "artwork" +vhostCopyright: "copyright" +[shop] +ShopHost = "https://shop.szjixun.cn" +[es] +;ElasticHost: http://121.228.2.240:9026 +ElasticHost: "http://elstic-es.fontree.cn" +ApprovalIndex: approval_in +[api] +SendIndexesUrl: "https://ivos.tyfon.com.cn/ecmall/api/brandPoint" +;chatGptHost: "http://chatgpt.fontree.cn" +;chatGptHost: "http://47.242.86.11:9010" +chatGptHost: "https://chatgpt.fontree.cn" +[aliyun] +accessKeyId:"LTAI5tNjFwVMpf6RDoKkrdVF" +accessKeySecret:"oZ5yDVoLT1RiFij3xofCXkP6GZs6Tm" +[zap] +Level= "info" +Filename= "runtime/logs/zap/main.log" +MaxSize= "100" +MaxAge= "30" +MaxBackups= "30" +[oss] +AccessKeyId = "LTAI5tHfjSmWXHqfWgaL7Uo5" +AccessKeySecret = "kOPctFZ3DHsbdSSym1fLyDK39hkzPI" +Endpoint = "oss-cn-hangzhou-internal.aliyuncs.com" +BucketName = "erp-k8s-store" +BaseDir = "fonchain-main" +CdnHost = "https://e-cdn.fontree.cn" + +[msg] +defaultSignNo= 220028 + +[pdf] +Host = "https://gotenberg.szjixun.cn" +[send] +SendTime = 3 +XMChannelId = "129831" +OPChannelId = "" +OPNotifyLevel = 1 +Route = "/moceapp" +[mail_artwork];画家宝退画配置 +EditReturnArtworkUrl = "https://artistv3.szjixun.cn/pages/transferPage/returnArtworkAddress" diff --git a/conf/k8s/dubbogo.yaml b/conf/k8s/dubbogo.yaml new file mode 100644 index 0000000..d3f15b0 --- /dev/null +++ b/conf/k8s/dubbogo.yaml @@ -0,0 +1,406 @@ +dubbo: + registries: + demoZK: + protocol: zookeeper + timeout: 3s + # address: 121.229.45.214:9004 + address: zookeeper:2181 + # address: 114.218.158.24:2181 + consumer: + filter: tracing + request-timeout: 30s + references: + ChainClientImpl: + timeout: 40s + protocol: tri + interface: com.fontree.microservices.common.chain + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Chain-04" + .secretAccessKey: "Al-Chain-FDF112" + methods: + - name: "UploadFile" + retries: 0 + - name: "CoWtChain" + retries: 0 + AccountClientImpl: + protocol: tri + retries: 0 + interface: com.fontree.microservices.common.Account + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + OrderClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.order # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-order-04" + .secretAccessKey: "Al-order-FDF112" + EmployeeClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.employee # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-employee-04" + .secretAccessKey: "Al-employee-FDF112" + PatentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.patent # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-patent-04" + .secretAccessKey: "Al-patent-FDF112" + DomainNameClientImpl: + protocol: tri + interface: com.fontree.microservices.common.domainName # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-domainName-04" + .secretAccessKey: "Al-domainName-FDF112" + DepartmentClientImpl: + interface: com.fontree.microservices.common.Department # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + PositionClientImpl: + interface: com.fontree.microservices.common.Position # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Update" + retries: 0 + RuleClientImpl: + interface: com.fontree.microservices.common.Rule # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + RuleLogClientImpl: + interface: com.fontree.microservices.common.RuleLog # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + TaskClientImpl: + interface: com.fontree.microservices.common.task # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + protocol: tri + params: + .accessKeyId: "SYD8-task-04" + .secretAccessKey: "Al-task-FDF112" + ApprovalClientImpl: + interface: com.fontree.microservices.common.Approval # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Approval-12" + .secretAccessKey: "Al-Approval-FDF1" + payload: 12582912 + ArtistClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artist + # filter: authFilter + ArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artwork + # filter: authFilter + ArtworkQueryClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkQuery + # filter: authFilter + LogClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Log + NoteClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Note + ShopBrandClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ShopBrand + ArtShowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtShow + ArtworkChainClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkChain + WorkbenchClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Workbench + ArtworkThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkThirdParty + DrawClientImpl: + timeout: 100s + protocol: tri + interface: com.fontree.microservices.common.Draw + methods: + - name: "AddAccount" + retries: 0 + methods: + - name: "SetResult" + retries: 0 + BackupClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Backup + PushClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Push + SeriesClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.series + group: shop + BrandClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ShopBrand + group: shop + CollectionsClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Collections + ArtistThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistThirdParty + PaybillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Paybill + PrebookClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Prebook + OrderproductClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Orderproduct + HealthClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Health + PreorderClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Preorder + ExpressClientImpl: + timeout: 30s + retries: 0 + interface: com.fontree.microservices.common.express # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-express-04" + .secretAccessKey: "Al-express-FDF112" + #画家宝服务端6个 + ArtistInfoUserClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoUser + ArtistInfoArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtwork + ArtistInfoArtshowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtshow + ArtistInfoContractClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoContract + ArtistInfoStatementClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoStatement + InCircleArticleClientImpl: + protocol: tri + interface: com.fontree.microservices.common.InCircleArticleProvider + ArtworkShopClientImpl: + timeout: 60s + protocol: tri + interface: com.fontree.microservices.common.ArtworkShop + OAClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.OA + JournalClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Journal + MealAccountClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.account + group: meal + MealGoodsClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.goods + group: meal + MealOrderClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.order + group: meal + IndentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Indent + AppointmentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.AppointmentNew + BuyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.BuyNew + CollectionRecordClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.collection_record + RecruitClientImpl: + protocol: tri + filter: tps + interface: com.fonchain.approval.proto.IApprovalService + GoodsManagementClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.GoodsManagement + InventoryClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.inventory # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + WarehouseClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.warehouse # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + PaymentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.payment + params: + .accessKeyId: "SYD8-pay-04" + .secretAccessKey: "Al-pay-FDF112" + ExamClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Exam + CopyrightClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.digital.copyright + DciClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.chain.dci + SiteSignInClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SiteSignIn + ChainBrowserClientImpl: + protocol: tri + interface: com.fontree.microservices.chain.browser + group: chain + SoftwareCopyrightClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SoftwareCopyright + TrademarkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Trademark + CoinClientImpl: + protocol: tri + interface: com.fontree.microservices.common.coin + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + retries: 0 + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + FeedbackClientImpl: + protocol: tri + interface: com.fontree.microservices.common.feedback + ExhibitionFClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ExhibitionF + InvoiceClientImpl: + interface: com.fontree.microservices.common.Invoice + retries: 100 + BlockchainClientImpl: + interface: com.fontree.microservices.common.Blockchain + retries: 100 + EquityClientImpl: + retries: 0 + protocol: tri + timeout: 100s + interface: com.fontree.microservices.common.Equity + LoanBillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.digital.loanbill + ConferenceClientImpl: + interface: com.fontree.microservices.common.Conference + DocumentContractClientImpl: + interface: com.fontree.microservices.common.DocumentContract + ChildrenCompetitionClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ChildrenCompetition + ECardClientImpl: + interface: com.fontree.microservices.common.ECard + retries: 0 + timeout: 100s + ChatRecordClientImpl: + interface: com.fontree.microservices.common.AsChat + protocol: tri + MailArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.MailArtworkProvider + OperationRecordClientImpl: + protocol: tri + interface: com.fontree.microservices.common.OperationRecordProvider + logger: + zap-config: + level: error # 日志级别 + development: false + disableCaller: false + disableStacktrace: false + encoding: "json" + # zap encoder 配置 + encoder-config: + messageKey: "message" + levelKey: "level" + timeKey: "time" + nameKey: "logger" + callerKey: "caller" + stacktraceKey: "stacktrace" + level-encoder: "capital" + timeEncoder: "iso8601" + durationEncoder: "seconds" + callerEncoder: "short" + nameEncoder: "" + EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), + EncodeDuration: zapcore.SecondsDurationEncoder, + outputPaths: + - "stderr" + errorOutputPaths: + - "stderr" + lumberjack-config: + # 写日志的文件名称 + filename: "logs/main.log" + # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB + maxSize: 10 + # 日志保留的最大天数(只保留最近多少天的日志) + maxAge: 15 + # 只保留最近多少个日志文件,用于控制程序总日志的大小 + maxBackups: 10 + # 是否使用本地时间,默认使用 UTC 时间 + localTime: true + # 是否压缩日志文件,压缩方法 gzip + compress: false \ No newline at end of file diff --git a/conf/test/conf.ini b/conf/test/conf.ini new file mode 100644 index 0000000..3ca9cc4 --- /dev/null +++ b/conf/test/conf.ini @@ -0,0 +1,105 @@ +[service] +Domain = fontree +AppMode = debug +HttpPort = :9020 +Key=conf/cert/shop.fontree.cn.key +Cert=conf/cert/shop.fontree.cn.crt +RunHTTPS = false +IsHTTPS = false +OssDomain = false +ServerDM = "http://114.218.158.24:9020" +Env = test +DriverUrl = "http://114.218.158.24:9010/driver/login.html" +JaegerHost="172.16.100.93:9031" +JaegerOpen = true +Cron = true +MapAppCode = 6e73489b6eaf4bbeb611e6b0fb70eab1 +;AppointUrl = "http://appointtest2.szjixun.cn" +AppointUrl = "http://172.16.100.93:8026" +MaterialHost = "http://172.16.100.93:9046" +ApiHost = "http://114.218.158.24:9020" +YearGiftCheckHost = "http://gy.fontree.cn/pages/check/index?id=" +BaiduMapAK = "3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ" +IsOut = false +OutUrl = "https://erpapi-out.szjixun.cn" +[file] +ImagePath = "./runtime/images" +ProjectMapDir = "/data/fonchain-main" +[bos] +Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" +Sk = "d2ecaa9d75114d3b9f42b99014198306" +BucketName = "dci-file-new" +BosUrl = ".bj.bcebos.com" +BosBaseDir = "fonchain-main" +BosHttp = "https://" +BosDomain = "cdns.fontree.cn" +[ding] +AccessToken: 1139fa5b9ee0dab11ecff51ac107ad2e92d09c121a693bdcc32013c44de8faee +Url: https://oapi.dingtalk.com/robot/send +[holiday] +ID: o6kqk3pftihvicgm +Secret: YmkrTDVRS0xjYjNaekFhL040ZisyZz09 +SingleUrl: https://www.mxnzp.com/api/holiday/single/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v +MultiUrl: https://www.mxnzp.com/api/holiday/multi/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v + +[rabbitmq] +User: "myuser" +Password: "mypass" +Host: "172.16.100.93" +Port: 9053 +Vhost: "artist" +VhostArtwork: "artwork" +vhostCopyright: "copyright" + +[redis] +RedisDB: +RedisAddr: 172.16.100.93:9008 +RedisPW: +RedisDBNAme: 15 +[shop] +ShopHost = "http://114.218.158.24:9088" +[es] +ElasticHost: http://172.16.100.91:9026 +;ElasticHost: "http://elstic-es.fontree.cn" +ApprovalIndex: "approval" +[api] +erpak:"tjazzvQxyVg4wZ8zECCW" +erpsk:"7eBq75ZuF7xKH34vr2DK" +SendIndexesUrl: "https://itest.tyfon.com.cn/ecmall/api/brandPoint" +;chatGptHost: "https://chatgpttest.fontree.cn" +;chatGptHost: "http://8.219.63.1:9002" +;chatGptHost: "http://47.242.86.11:9002" +chatGptHost: "https://chatgpttest.fontree.cn" +[aliyun] +accessKeyId:"LTAI5tNjFwVMpf6RDoKkrdVF" +accessKeySecret:"oZ5yDVoLT1RiFij3xofCXkP6GZs6Tm" +[zap] +Level= "info" +Filename= "runtime/logs/zap/main.log" +MaxSize= "5" +MaxAge= "30" +MaxBackups= "30" +[oss] +AccessKeyId = "LTAI5tLz1fSK53FQAEC9uNSb" +AccessKeySecret = "oGB9chrQzQzITXR2IGv37Ji5WxZh4j" +Endpoint = "oss-cn-hangzhou.aliyuncs.com" +BucketName = "fontree-test" +BaseDir = "fonchain-main" +CdnHost = "https://cdn-test.szjixun.cn" + +[pdf] +Host = "https://gotenberg.szjixun.cn" + +[msg] +defaultSignNo= 220028 + +[send] +SendTime = 3 +XMChannelId = "" +OPChannelId = "" +OPNotifyLevel = 1 + +;画家宝退画配置 +[mail_artwork] +;EditReturnArtworkUrl = "https://artisttest.fontree.cn/api/returnArtwork/edit" +EditReturnArtworkUrl = "https://artisttest.fontree.cn/pages/transferPage/returnArtworkAddress" diff --git a/conf/test/dubbogo.yaml b/conf/test/dubbogo.yaml new file mode 100644 index 0000000..d01fcec --- /dev/null +++ b/conf/test/dubbogo.yaml @@ -0,0 +1,427 @@ +dubbo: + registries: + demoZK: + protocol: zookeeper + timeout: 3s + # address: 121.229.45.214:9004 + # address: 127.0.0.1:2181 + address: 172.16.100.93:2181 + consumer: + filter: tracing + request-timeout: 30s + references: + ChainClientImpl: + timeout: 40s + protocol: tri + interface: com.fontree.microservices.common.chain + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Chain-04" + .secretAccessKey: "Al-Chain-FDF112" + methods: + - name: "UploadFile" + retries: 0 + - name: "CoWtChain" + retries: 0 + AccountClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.Account + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + OrderClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.order # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-order-04" + .secretAccessKey: "Al-order-FDF112" + PatentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.patent # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-patent-04" + .secretAccessKey: "Al-patent-FDF112" + DomainNameClientImpl: + protocol: tri + interface: com.fontree.microservices.common.domainName # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-domainName-04" + .secretAccessKey: "Al-domainName-FDF112" + DepartmentClientImpl: + interface: com.fontree.microservices.common.Department # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + PositionClientImpl: + interface: com.fontree.microservices.common.Position # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Update" + retries: 0 + RuleClientImpl: + interface: com.fontree.microservices.common.Rule # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + RuleLogClientImpl: + interface: com.fontree.microservices.common.RuleLog # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + TaskClientImpl: + interface: com.fontree.microservices.common.task # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + protocol: tri + params: + .accessKeyId: "SYD8-task-04" + .secretAccessKey: "Al-task-FDF112" + ApprovalClientImpl: + interface: com.fontree.microservices.common.Approval # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Approval-12" + .secretAccessKey: "Al-Approval-FDF1" + ArtistClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artist + # filter: authFilter + ArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artwork + # filter: authFilter + ArtworkQueryClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkQuery + # filter: authFilter + LogClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Log + NoteClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Note + ShopBrandClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ShopBrand + ArtShowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtShow + ArtworkChainClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkChain + ArtArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtArtwork + WorkbenchClientImpl: + protocol: tri + params: + max-call-send-msg-size: 70000000 + max-call-recv-msg-size: 70000000 + interface: com.fontree.microservices.common.Workbench + ArtworkThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkThirdParty + DrawClientImpl: + timeout: 200s + protocol: tri + interface: com.fontree.microservices.common.Draw + methods: + - name: "AddAccount" + retries: 0 + methods: + - name: "SetResult" + retries: 0 + BackupClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Backup + SeriesClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.series + group: shop + PushClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Push + BrandClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ShopBrand + group: shop + CollectionsClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Collections + ArtistThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistThirdParty + PaybillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Paybill + PrebookClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Prebook + OrderproductClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Orderproduct + EmployeeClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.employee # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-employee-04" + .secretAccessKey: "Al-employee-FDF112" + HealthClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Health + PreorderClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Preorder + ExpressClientImpl: + timeout: 30s + retries: 0 + interface: com.fontree.microservices.common.express # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-express-04" + .secretAccessKey: "Al-express-FDF112" + #画家宝服务端6个 + ArtistInfoUserClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoUser + filter: fonValidateFilter + ArtistInfoArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtwork + filter: fonValidateFilter + ArtistInfoArtshowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtshow + filter: fonValidateFilter + ArtistInfoContractClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoContract + ArtistInfoStatementClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoStatement + retries: 100 + InCircleArticleClientImpl: + protocol: tri + interface: com.fontree.microservices.common.InCircleArticleProvider + ArtworkShopClientImpl: + timeout: 60s + protocol: tri + interface: com.fontree.microservices.common.ArtworkShop + OAClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.OA + JournalClientImpl: + protocol: tri + filter: tps + params: + max-call-send-msg-size: 80000000 + max-call-recv-msg-size: 80000000 + interface: com.fontree.microservices.common.Journal + AppointmentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.AppointmentNew + MealAccountClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.account + group: meal + MealGoodsClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.goods + group: meal + MealOrderClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.order + group: meal + IndentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Indent + BuyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.BuyNew + InventoryClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.inventory # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + + PaymentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.payment + params: + .accessKeyId: "SYD8-pay-04" + .secretAccessKey: "Al-pay-FDF112" + CollectionRecordClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.collection_record + RecruitClientImpl: + protocol: tri + filter: tps + interface: com.fonchain.approval.proto.IApprovalService + WarehouseClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.warehouse # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + GoodsManagementClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.GoodsManagement + MeetingClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.oa.meeting + DciClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.chain.dci + ExamClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Exam + CopyrightClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.digital.copyright + SiteSignInClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SiteSignIn + ChainBrowserClientImpl: + protocol: tri + interface: com.fontree.microservices.chain.browser + group: chain + SoftwareCopyrightClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SoftwareCopyright + TrademarkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Trademark + CoinClientImpl: + protocol: tri + interface: com.fontree.microservices.common.coin + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + retries: 0 + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + FeedbackClientImpl: + protocol: tri + interface: com.fontree.microservices.common.feedback + ExhibitionFClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ExhibitionF + InvoiceClientImpl: + interface: com.fontree.microservices.common.Invoice + retries: 100 + BlockchainClientImpl: + interface: com.fontree.microservices.common.Blockchain + retries: 100 + EquityClientImpl: + retries: 0 + protocol: tri + timeout: 100s + interface: com.fontree.microservices.common.Equity + LoanBillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.digital.loanbill + ConferenceClientImpl: + interface: com.fontree.microservices.common.Conference + DocumentContractClientImpl: + interface: com.fontree.microservices.common.DocumentContract + ChildrenCompetitionClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ChildrenCompetition + ECardClientImpl: + interface: com.fontree.microservices.common.ECard + retries: 0 + timeout: 100s + ChatRecordClientImpl: + interface: com.fontree.microservices.common.AsChat + protocol: tri + MailArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.MailArtworkProvider + OperationRecordClientImpl: + protocol: tri + interface: com.fontree.microservices.common.OperationRecordProvider + logger: + zap-config: + level: error # 日志级别 + development: false + disableCaller: false + disableStacktrace: false + encoding: "json" + # zap encoder 配置 + encoder-config: + messageKey: "message" + levelKey: "level" + timeKey: "time" + nameKey: "logger" + callerKey: "caller" + stacktraceKey: "stacktrace" + lineEnding: "" + level-encoder: "capital" + timeEncoder: "iso8601" + durationEncoder: "seconds" + callerEncoder: "short" + nameEncoder: "" + EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), + EncodeDuration: zapcore.SecondsDurationEncoder, + outputPaths: + - "stderr" + errorOutputPaths: + - "stderr" + lumberjack-config: + # 写日志的文件名称 + filename: "logs/main.log" + # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB + maxSize: 10 + # 日志保留的最大天数(只保留最近多少天的日志) + maxAge: 15 + # 只保留最近多少个日志文件,用于控制程序总日志的大小 + maxBackups: 10 + # 是否使用本地时间,默认使用 UTC 时间 + localTime: true + # 是否压缩日志文件,压缩方法 gzip + compress: false + + + diff --git a/conf/xjj/conf.ini b/conf/xjj/conf.ini new file mode 100644 index 0000000..cc29144 --- /dev/null +++ b/conf/xjj/conf.ini @@ -0,0 +1,82 @@ +[service] +Domain = fontree +AppMode = debug +HttpPort = :9020 +Key=conf/cert/shop.fontree.cn.key +Cert=conf/cert/shop.fontree.cn.crt +RunHTTPS = false +IsHTTPS = false +OssDomain = false +ServerDM = "http://127.0.0.1:9020" +Env = dev +DriverUrl = "http://114.218.158.24:9010/driver/login.html" +JaegerHost="127.0.0.1:6831" +JaegerOpen = true +Cron = false +MapAppCode = 6e73489b6eaf4bbeb611e6b0fb70eab1 +;AppointUrl = "http://appointtest2.szjixun.cn" +AppointUrl = "http://172.16.100.93:8026" +MaterialHost = "http://172.16.100.93:9046" +ApiHost = "http://114.218.158.24:9020" +YearGiftCheckHost = "http://gy.fontree.cn/pages/check/index?id=" +BaiduMapAK = "3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ" + +[file] +ImagePath = "./runtime/images" +ProjectMapDir = "D:\GOPATH\src\github.com\fonchain-main" +[bos] +Ak = "ALTAKxrqOQHnAN525Tb2GX4Bhe" +Sk = "d2ecaa9d75114d3b9f42b99014198306" +BucketName = "dci-file-new" +BosUrl = ".bj.bcebos.com" +BosBaseDir = "fonchain-main" +BosHttp = "https://" +BosDomain = "cdns.fontree.cn" +[redis] +RedisDB: +RedisAddr: 127.0.0.1:6379 +;RedisPW: kP6tW4tS3qB2dW4aE6uI5cX2 +RedisPW: "" +RedisDBNAme: 15 +[ding] +AccessToken: 1139fa5b9ee0dab11ecff51ac107ad2e92d09c121a693bdcc32013c44de8faee +Url: https://oapi.dingtalk.com/robot/send +[holiday] +ID: o6kqk3pftihvicgm +Secret: YmkrTDVRS0xjYjNaekFhL040ZisyZz09 +SingleUrl: https://www.mxnzp.com/api/holiday/single/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v +MultiUrl: https://www.mxnzp.com/api/holiday/multi/%v?ignoreHoliday=%v&app_id=%v&app_secret=%v + +[rabbitmq] +User: "user123" +Password: "123456" +Host: "localhost" +Port: 5672 +Vhost: "artist" +VhostArtwork: "artwork" +[shop] +ShopHost = "http://114.218.158.24:9088" +[es] +ElasticHost: http://121.228.2.240:9026 +[api] +erpak:"tjazzvQxyVg4wZ8zECCW" +erpsk:"7eBq75ZuF7xKH34vr2DK" +SendIndexesUrl: "https://itest.tyfon.com.cn/ecmall/api/brandPoint" +chatGptHost: "http://127.0.0.1:9010" +[aliyun] +accessKeyId:"LTAI5tNjFwVMpf6RDoKkrdVF" +accessKeySecret:"oZ5yDVoLT1RiFij3xofCXkP6GZs6Tm" +[zap] +Level= "info" +Filename= "runtime/logs/zap/main.log" +MaxSize= "100" +MaxAge= "30" +MaxBackups= "30" + +[mail_artwork];画家宝退画配置 +EditReturnArtworkUrl = "https://artisttest.fontree.cn/api/v3/mail/show/address/confirm" +[send] +SendTime = 3 +XMChannelId = "" +OPChannelId = "" +OPNotifyLevel = 1 \ No newline at end of file diff --git a/conf/xjj/dubbogo.yaml b/conf/xjj/dubbogo.yaml new file mode 100644 index 0000000..24e3568 --- /dev/null +++ b/conf/xjj/dubbogo.yaml @@ -0,0 +1,459 @@ +dubbo: + registries: + demoZK: + timeout: 30s + protocol: zookeeper + address: 127.0.0.1:2181 + # protocol: nacos + # address: 127.0.0.1:8848 + # username: "dyb" + # password: "rootdyb" + # namespace: "4684d3a3-165f-4218-8ab8-f4fa03c8efe0" + # group: GROUP_AERTIST + # data_id: com.fontree.microservices.common.Artist + consumer: + filter: tracing + request-timeout: 30s + params: + max-call-send-msg-size: 8000000 + max-call-recv-msg-size: 8000000 + references: + ChainClientImpl: + timeout: 40s + protocol: tri + interface: com.fontree.microservices.common.chain + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Chain-04" + .secretAccessKey: "Al-Chain-FDF112" + methods: + - name: "UploadFile" + retries: 0 + - name: "CoWtChain" + retries: 0 + AccountClientImpl: + protocol: tri + retries: 0 + interface: com.fontree.microservices.common.Account + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + OrderClientImpl: + protocol: tri + interface: com.fontree.microservices.common.order # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-order-04" + .secretAccessKey: "Al-order-FDF112" + EmployeeClientImpl: + retries: 0 + protocol: tri + interface: com.fontree.microservices.common.employee # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-employee-04" + .secretAccessKey: "Al-employee-FDF112" + PatentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.patent # must be compatible with grpc or dubbo-java + filter: sign + params: + .accessKeyId: "SYD8-patent-04" + .secretAccessKey: "Al-patent-FDF112" + DepartmentClientImpl: + interface: com.fontree.microservices.common.Department # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + PositionClientImpl: + interface: com.fontree.microservices.common.Position # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Update" + retries: 0 + RuleClientImpl: + interface: com.fontree.microservices.common.Rule # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + RuleLogClientImpl: + interface: com.fontree.microservices.common.RuleLog # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-23DF" + .secretAccessKey: "BSDY-FDF1" + methods: + - name: "Create" + retries: 0 + TaskClientImpl: + interface: com.fontree.microservices.common.task # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + protocol: tri + params: + .accessKeyId: "SYD8-task-04" + .secretAccessKey: "Al-task-FDF112" + ApprovalClientImpl: + interface: com.fontree.microservices.common.Approval # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-Approval-12" + .secretAccessKey: "Al-Approval-FDF1" + ArtistClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artist + ArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Artwork + # filter: authFilter + ArtworkQueryClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkQuery + # filter: authFilter + LogClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Log + NoteClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Note + ShopBrandClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ShopBrand + ArtShowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtShow + ArtworkChainClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkChain + WorkbenchClientImpl: + protocol: tri + params: + max-call-send-msg-size: 8000000 + max-call-recv-msg-size: 8000000 + interface: com.fontree.microservices.common.Workbench + ArtworkThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtworkThirdParty + DrawClientImpl: + timeout: 100s + protocol: tri + interface: com.fontree.microservices.common.Draw + methods: + - name: "AddAccount" + retries: 0 + methods: + - name: "SetResult" + retries: 0 + BackupClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Backup + SeriesClientImpl: + timeout: 60s + protocol: tri + filter: tps + interface: com.fontree.microservices.common.series + group: shop + PushClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Push + BrandClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.ShopBrand + group: shop + CollectionsClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Collections + ArtistThirdPartyClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistThirdParty + PaybillClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Paybill + PrebookClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Prebook + OrderproductClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Orderproduct + HealthClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Health + PreorderClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Preorder + OpenaiClientImpl: + protocol: tri + filter: tps + retries: 0 + interface: com.fontree.microservices.common.openai + group: openai + ArtworkShopClientImpl: + timeout: 60s + protocol: tri + interface: com.fontree.microservices.common.ArtworkShop + OAClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.OA + JournalClientImpl: + protocol: tri + filter: tps + params: + max-call-send-msg-size: 80000000 + max-call-recv-msg-size: 80000000 + interface: com.fontree.microservices.common.Journal + ExpressClientImpl: + timeout: 30s + retries: 0 + interface: com.fontree.microservices.common.express # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "SYD8-express-04" + .secretAccessKey: "Al-express-FDF112" + InventoryClientImpl: + timeout: 15s + retries: 0 + interface: com.fontree.microservices.common.inventory # must be compatible with grpc or dubbo-java + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + params: + .accessKeyId: "inventoryksl" + .secretAccessKey: "BSDY-FDF1-Fontree_inventory" + #画家宝服务端6个 + ArtistInfoStatementClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoStatement + ArtistInfoUserClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoUser + filter: fonValidateFilter + ArtistInfoArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtwork + filter: fonValidateFilter + ArtistInfoArtshowClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoArtshow + filter: fonValidateFilter + ArtistInfoContractClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ArtistInfoContract + InCircleArticleClientImpl: + protocol: tri + interface: com.fontree.microservices.common.InCircleArticleProvider + AppointmentClientImpl: + protocol: tri + interface: com.fontree.microservices.common.AppointmentNew + MealAccountClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.account + group: meal + MealGoodsClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.goods + group: meal + MealOrderClientImpl: + protocol: tri + interface: com.fontree.microservices.meal.backend.order + group: meal + IndentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Indent + PaymentClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.payment + params: + .accessKeyId: "SYD8-pay-04" + .secretAccessKey: "Al-pay-FDF112" + CollectionRecordClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.collection_record + RecruitClientImpl: + protocol: tri + filter: tps + interface: com.fonchain.approval.proto.IApprovalService + MeetingClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.oa.meeting + GoodsManagementClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.GoodsManagement + ChainBrowserClientImpl: + protocol: tri + interface: com.fontree.microservices.chain.browser + group: chain + ExamClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.common.Exam + CopyrightClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.digital.copyright + DciClientImpl: + protocol: tri + filter: tps + interface: com.fontree.microservices.chain.dci + SiteSignInClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SiteSignIn + SoftwareCopyrightClientImpl: + protocol: tri + interface: com.fontree.microservices.common.SoftwareCopyright + TrademarkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.Trademark + CoinClientImpl: + protocol: tri + interface: com.fontree.microservices.common.coin + filter: cshutdown,sign,fonDomainFilter,fonValidateFilter + retries: 0 + params: + .accessKeyId: "Accountksl" + .secretAccessKey: "BSDY-FDF1-Fontree_account" + FeedbackClientImpl: + protocol: tri + interface: com.fontree.microservices.common.feedback + ExhibitionFClientImpl: + protocol: tri + interface: com.fontree.microservices.common.ExhibitionF + InvoiceClientImpl: + interface: com.fontree.microservices.common.Invoice + retries: 100 + BlockchainClientImpl: + interface: com.fontree.microservices.common.Blockchain + retries: 100 + EquityClientImpl: + retries: 0 + protocol: tri + timeout: 100s + interface: com.fontree.microservices.common.Equity + ConferenceClientImpl: + interface: com.fontree.microservices.common.Conference + DocumentContractClientImpl: + interface: com.fontree.microservices.common.DocumentContract + LoanBillClientImpl: + protocol: tri + filter: tps +<<<<<<<< HEAD:conf/xjj/dubbogo.yaml + interface: com.fontree.microservices.digital.loanbill +======== + interface: com.fontree.microservices.common.ChildrenCompetition + ECardClientImpl: + interface: com.fontree.microservices.common.ECard + retries: 0 + timeout: 100s + AsChatProvider: + interface: com.fontree.microservices.common.AsChatProvider + retries: 0 + MailArtworkProvider: + interface: com.fontree.microservices.common.MailArtworkProvider + retries: 0 +>>>>>>>> feat-xjj-artistinfo3:conf/prod/dubbogo.yaml + ChatRecordClientImpl: + interface: com.fontree.microservices.common.AsChat + protocol: tri + MailArtworkClientImpl: + protocol: tri + interface: com.fontree.microservices.common.MailArtworkProvider +<<<<<<<< HEAD:conf/xjj/dubbogo.yaml +# logger: +# zap-config: +# level: error # 日志级别 +# development: false +# disableCaller: false +# disableStacktrace: false +# encoding: "json" +# # zap encoder 配置 +# encoder-config: +# messageKey: "message" +# levelKey: "level" +# timeKey: "time" +# nameKey: "logger" +# callerKey: "caller" +# stacktraceKey: "stacktrace" +# level-encoder: "capital" +# timeEncoder: "iso8601" +# durationEncoder: "seconds" +# callerEncoder: "short" +# nameEncoder: "" +# EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), +# EncodeDuration: zapcore.SecondsDurationEncoder, +# outputPaths: +# - "stderr" +# errorOutputPaths: +# - "stderr" +# lumberjack-config: +# # 写日志的文件名称 +# filename: "logs/main.log" +# # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB +# maxSize: 10 +# # 日志保留的最大天数(只保留最近多少天的日志) +# maxAge: 15 +# # 只保留最近多少个日志文件,用于控制程序总日志的大小 +# maxBackups: 10 +# # 是否使用本地时间,默认使用 UTC 时间 +# localTime: true +# # 是否压缩日志文件,压缩方法 gzip +# compress: false + +======== + logger: + zap-config: + level: error # 日志级别 + development: false + disableCaller: false + disableStacktrace: false + encoding: "json" + # zap encoder 配置 + encoder-config: + messageKey: "message" + levelKey: "level" + timeKey: "time" + nameKey: "logger" + callerKey: "caller" + stacktraceKey: "stacktrace" + level-encoder: "capital" + timeEncoder: "iso8601" + durationEncoder: "seconds" + callerEncoder: "short" + nameEncoder: "" + EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), + EncodeDuration: zapcore.SecondsDurationEncoder, + outputPaths: + - "stderr" + errorOutputPaths: + - "stderr" + lumberjack-config: + # 写日志的文件名称 + filename: "logs/main.log" + # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB + maxSize: 10 + # 日志保留的最大天数(只保留最近多少天的日志) + maxAge: 15 + # 只保留最近多少个日志文件,用于控制程序总日志的大小 + maxBackups: 10 + # 是否使用本地时间,默认使用 UTC 时间 + localTime: true + # 是否压缩日志文件,压缩方法 gzip + compress: false +>>>>>>>> feat-xjj-artistinfo3:conf/prod/dubbogo.yaml diff --git a/logs/main.log b/logs/main.log new file mode 100644 index 0000000..597d4a4 --- /dev/null +++ b/logs/main.log @@ -0,0 +1,10092 @@ +{"level":"ERROR","time":"2024-06-03T16:11:05.129+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717402263&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717402263&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717402263&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-04T16:08:21.863+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-04T16:08:21.863+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-04T16:08:21.863+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1717488500&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1717488500&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1717488500&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:08.785+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:08.785+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:08.786+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575187&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575187&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575187&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:10.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:10.808+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:10.808+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575188&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575188&version=): @c{tri://172.17.0.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575188&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:12.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:12.833+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:12.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:12.833+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.17.0.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575190&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.17.0.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575190&version=): @c{://172.17.0.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575190&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:14.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:14.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:14.856+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:14.856+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575192&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575192&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575192&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:16.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:16.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:16.879+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:16.879+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575194&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575194&version=): @c{tri://172.17.0.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575194&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:18.908+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:18.908+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:18.908+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:18.908+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:18.908+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1717575196&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1717575196&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1717575196&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:20.936+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:20.936+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:20.936+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:20.936+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:20.936+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575198&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575198&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575198&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:22.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:22.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:22.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:22.952+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:22.952+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575200&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575200&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575200&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:24.976+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:24.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:24.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:24.977+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:24.977+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575202&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575202&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575202&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:26.993+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:26.993+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:26.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:26.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:26.994+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575204&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575204&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575204&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:29.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:29.016+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:29.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:29.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:29.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:29.016+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.17.0.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1717575206&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.17.0.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1717575206&version=): @c{://172.17.0.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1717575206&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:31.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:31.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:31.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:31.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:31.037+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:31.037+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575209&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575209&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575209&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:33.061+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:33.061+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:33.061+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:33.061+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:33.061+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575211&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575211&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575211&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:33.061+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:35.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:35.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:35.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:35.085+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:35.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:35.085+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717575213&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717575213&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717575213&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:37.108+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:37.109+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:37.109+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:37.109+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:37.109+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:37.109+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575215&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575215&version=): @c{tri://172.17.0.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575215&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:39.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:39.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:39.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:39.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:39.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:39.133+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:39.133+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.17.0.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1717575217&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.17.0.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1717575217&version=): @c{://172.17.0.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1717575217&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:41.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:41.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:41.156+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:41.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:41.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:41.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:41.156+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575219&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575219&version=): @c{tri://172.17.0.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575219&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:43.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:43.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:43.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:43.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:43.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:43.168+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:43.169+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575221&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575221&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575221&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:45.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:45.193+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:45.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:45.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:45.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:45.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:45.193+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575223&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575223&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575223&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:47.216+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:47.216+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:47.216+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:47.216+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:47.216+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:47.216+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:47.216+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575225&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575225&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575225&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:49.240+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717575227&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717575227&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717575227&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575229&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575229&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717575229&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:51.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-05T16:13:53.276+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1717575231&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1717575231&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1717575231&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-07T10:24:47.702+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T10:24:47.702+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-07T10:24:47.703+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.17.0.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717727086&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.17.0.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717727086&version=): @c{://172.17.0.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717727086&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-07T11:31:31.098+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:31.098+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-07T11:31:31.099+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.17.0.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731090&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.17.0.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731090&version=): @c{://172.17.0.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731090&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-07T11:31:33.108+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:33.108+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-07T11:31:33.108+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731091&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731091&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731091&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-07T11:31:35.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:35.135+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-07T11:31:35.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:35.135+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.17.0.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1717731093&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.17.0.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1717731093&version=): @c{://172.17.0.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1717731093&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-07T11:31:37.158+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:37.158+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:37.158+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-07T11:31:37.158+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717731095&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717731095&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1717731095&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-07T11:31:39.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:39.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-07T11:31:39.181+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-07T11:31:39.181+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.17.0.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731097&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.17.0.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731097&version=): @c{tri://172.17.0.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1717731097&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-11T10:48:06.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-11T10:48:06.197+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-11T10:48:06.197+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074085&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074085&version=): @c{tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074085&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-11T10:48:08.201+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-11T10:48:08.201+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-11T10:48:08.202+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074086&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074086&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074086&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-11T10:48:10.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-11T10:48:10.207+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-11T10:48:10.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-11T10:48:10.207+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074088&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074088&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718074088&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-11T10:48:12.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-11T10:48:12.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-11T10:48:12.229+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-11T10:48:12.229+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718074090&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718074090&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718074090&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-12T20:32:43.083+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-12T20:32:43.083+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-12T20:32:43.086+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195562&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195562&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195562&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-12T20:32:45.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-12T20:32:45.091+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-12T20:32:45.091+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718195563&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718195563&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718195563&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-12T20:32:47.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-12T20:32:47.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-12T20:32:47.095+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-12T20:32:47.095+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195565&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195565&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195565&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-12T20:32:49.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-12T20:32:49.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-12T20:32:49.100+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-12T20:32:49.100+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195567&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195567&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718195567&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-13T15:20:20.474+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-13T15:20:20.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T15:20:20.480+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263219&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263219&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263219&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-13T15:20:22.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T15:20:22.480+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-13T15:20:22.480+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718263220&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718263220&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718263220&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-13T15:20:24.495+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T15:20:24.495+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-13T15:20:24.495+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T15:20:24.495+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263222&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263222&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263222&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-13T15:20:26.524+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T15:20:26.524+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T15:20:26.524+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-13T15:20:26.524+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263224&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263224&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263224&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-13T15:21:35.995+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-13T15:21:35.995+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T15:21:35.996+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263294&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263294&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718263294&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-13T20:40:55.939+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T20:40:55.938+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.goods/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-13T20:40:55.939+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718282454&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718282454&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718282454&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-13T20:40:57.965+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-13T20:40:57.965+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-13T20:40:57.965+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718282455&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718282455&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718282455&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:19:50.876+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:19:50.876+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:50.876+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342389&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342389&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342389&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:19:52.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:52.889+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:19:52.889+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342390&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342390&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342390&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:19:54.917+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:54.917+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:54.917+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:19:54.917+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342392&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342392&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342392&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:19:56.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:56.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:56.932+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:19:56.932+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342394&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342394&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342394&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:19:58.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:58.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:19:58.952+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:19:58.952+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342396&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342396&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342396&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:20:00.966+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:00.966+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:20:00.966+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:00.966+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:00.966+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342398&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342398&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342398&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:20:02.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:02.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:02.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:02.983+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:20:02.983+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342400&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342400&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342400&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:20:05.013+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:05.013+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:05.013+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:20:05.013+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:20:05.013+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342402&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342402&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718342402&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:30:24.944+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:30:24.944+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:30:24.945+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718343023&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718343023&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718343023&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-14T13:30:26.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-14T13:30:26.957+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-14T13:30:26.957+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718343024&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718343024&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718343024&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-15T14:58:55.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-15T14:58:55.475+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-15T14:58:55.476+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718434734&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718434734&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718434734&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-15T14:58:57.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-15T14:58:57.491+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-15T14:58:57.491+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718434735&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718434735&version=): @c{tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718434735&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-16T14:15:57.039+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-16T14:15:57.040+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-16T14:15:57.041+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718518556&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718518556&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718518556&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:26.909+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:26.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:26.911+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718620165&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718620165&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718620165&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:28.926+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:28.926+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:28.926+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620166&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620166&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620166&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:30.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:30.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:30.938+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:30.938+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620168&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620168&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620168&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:32.964+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:32.964+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:32.964+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:32.964+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620170&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620170&version=): @c{tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620170&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:34.984+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:34.984+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620172&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620172&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620172&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:36.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:36.999+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:36.999+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:36.999+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:36.999+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620174&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620174&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620174&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:39.002+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:39.002+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:39.002+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:39.002+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620176&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620176&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620176&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:39.002+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:41.012+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:41.012+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:41.012+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:41.012+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:41.013+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620179&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620179&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620179&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:43.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:43.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:43.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:43.028+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:43.028+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718620181&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718620181&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718620181&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:45.034+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:45.034+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:45.034+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:45.035+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:45.035+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620183&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620183&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620183&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:47.050+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:47.051+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:47.051+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:47.051+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:47.051+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:47.051+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620185&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620185&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620185&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-17T18:29:49.065+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:49.065+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:49.065+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:49.065+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-17T18:29:49.065+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-17T18:29:49.065+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620187&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620187&version=): @c{tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718620187&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:12:33.457+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:12:33.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:12:33.458+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676752&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676752&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676752&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:14:52.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:14:52.682+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:14:52.683+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676891&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676891&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676891&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:14:54.711+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:14:54.711+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:14:54.712+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718676892&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718676892&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718676892&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:14:56.723+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:14:56.723+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:14:56.723+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:14:56.723+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676894&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676894&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676894&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:14:58.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:14:58.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:14:58.728+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:14:58.728+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676896&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676896&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676896&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:15:00.754+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:00.754+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:00.754+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:15:00.754+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676898&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676898&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676898&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:15:02.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:02.767+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:15:02.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:02.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:02.767+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676900&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676900&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676900&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:15:04.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:04.789+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:04.789+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:15:04.789+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:04.789+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676902&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676902&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676902&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:15:06.813+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:06.813+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:06.813+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:15:06.813+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:06.813+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676904&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676904&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676904&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T10:15:08.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:08.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:08.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T10:15:08.829+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T10:15:08.829+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676906&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676906&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718676906&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:24.087+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:24.087+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:24.087+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699063&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699063&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699063&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:26.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:26.102+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:26.102+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699064&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699064&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699064&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:28.129+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:28.129+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:28.129+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:28.129+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699066&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699066&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699066&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:30.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:30.145+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:30.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:30.145+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699068&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699068&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699068&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:32.166+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:32.166+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:32.166+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:32.166+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699070&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699070&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699070&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:34.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:34.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:34.180+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:34.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:34.180+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718699072&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718699072&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718699072&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:36.204+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:36.204+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Push/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:36.204+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:36.204+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:36.204+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699074&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699074&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699074&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:38.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:38.222+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:38.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:38.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:38.222+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699076&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699076&version=): @c{tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699076&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:40.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:40.240+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:40.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:40.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:40.240+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699078&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699078&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699078&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:42.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:42.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:42.257+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:42.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:42.257+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699080&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699080&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699080&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:44.281+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:44.281+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:44.281+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:44.281+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:44.281+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:44.281+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699082&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699082&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699082&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:46.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:46.296+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:46.296+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699084&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699084&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699084&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:46.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:46.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:46.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:48.307+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:48.307+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:48.307+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:48.307+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:48.307+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:48.307+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699086&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699086&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699086&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:50.327+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:50.327+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:50.327+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:50.327+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:50.327+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:50.327+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699088&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699088&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699088&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:52.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:52.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:52.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:52.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:52.353+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:52.353+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699090&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699090&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699090&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:54.368+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:54.368+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:54.368+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:54.368+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:54.368+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:54.368+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:54.368+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699092&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699092&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699092&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:56.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:56.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:56.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:56.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:56.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:56.386+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:56.386+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699094&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699094&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699094&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:24:58.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:58.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:58.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:58.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:58.411+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:24:58.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:24:58.412+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699096&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699096&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699096&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:00.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:00.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:00.427+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:00.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:00.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:00.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:00.427+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699098&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699098&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699098&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:02.449+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:02.449+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:02.449+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:02.449+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:02.449+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:02.449+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:02.449+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699100&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699100&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699100&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:04.479+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699102&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699102&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699102&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:06.498+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699104&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699104&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699104&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:08.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:08.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:08.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:08.516+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:08.516+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:08.516+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:08.516+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:08.516+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699106&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699106&version=): @c{tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699106&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:10.533+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699108&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699108&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699108&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:12.545+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699110&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699110&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699110&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:14.568+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699112&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699112&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699112&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699114&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699114&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699114&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:16.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699116&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699116&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699116&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:18.605+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:20.623+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699118&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699118&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699118&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:22.643+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:22.644+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699120&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699120&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699120&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:24.663+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699122&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699122&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699122&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:24.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699124&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699124&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699124&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:26.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:28.695+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699126&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699126&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699126&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:30.710+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699128&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699128&version=): @c{tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699128&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:32.725+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699130&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699130&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699130&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:34.749+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699132&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699132&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699132&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:36.767+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699134&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699134&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699134&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699136&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699136&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699136&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:38.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699138&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699138&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699138&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:40.797+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:42.822+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718699140&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718699140&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718699140&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:44.838+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1718699142&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1718699142&version=): @c{://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1718699142&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:46.851+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699144&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699144&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699144&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699146&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699146&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699146&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:48.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.878+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:50.878+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699148&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699148&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699148&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:50.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:52.904+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699150&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699150&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699150&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:54.916+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:54.917+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718699152&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718699152&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718699152&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:56.929+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699154&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699154&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699154&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:58.949+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.951+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:25:58.952+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699156&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699156&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699156&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:25:58.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699158&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699158&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699158&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:00.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.975+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:02.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:02.975+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699160&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699160&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699160&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:04.992+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:04.993+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699162&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699162&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699162&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:07.017+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699164&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699164&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699164&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:09.031+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699167&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699167&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699167&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699169&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699169&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699169&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:11.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699171&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699171&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699171&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:13.069+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:15.086+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1718699173&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1718699173&version=): @c{://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1718699173&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:17.099+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718699175&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718699175&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718699175&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:19.116+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699177&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699177&version=): @c{tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699177&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:21.131+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718699179&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718699179&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1718699179&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:23.145+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718699181&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718699181&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1718699181&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:25.161+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1718699183&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1718699183&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1718699183&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:27.177+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699185&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699185&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699185&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:29.195+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718699187&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718699187&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1718699187&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699189&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699189&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699189&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:31.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.237+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:33.245+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:33.245+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699191&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699191&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699191&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/artistinfo.AsCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:35.261+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:35.262+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699193&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699193&version=): @c{tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699193&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699195&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699195&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699195&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:37.275+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:39.294+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718699197&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718699197&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1718699197&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.312+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T16:26:41.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:41.312+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699199&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699199&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718699199&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-18T16:26:41.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:43.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T16:26:44.336+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.oa.meeting.please check configuration."} +{"level":"ERROR","time":"2024-06-18T23:40:24.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-18T23:40:24.277+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-18T23:40:24.277+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718725223&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718725223&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1718725223&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-06-28T13:51:57.035+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-06-28T13:51:57.035+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-06-28T13:51:57.036+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719553916&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719553916&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719553916&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:30.990+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:30.990+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:30.991+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803609&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803609&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803609&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:33.008+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:33.008+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:33.008+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803610&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803610&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803610&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:35.034+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:35.034+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:35.034+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:35.035+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1719803613&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1719803613&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1719803613&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:37.057+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:37.057+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:37.057+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:37.057+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803615&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803615&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803615&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:39.075+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:39.075+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:39.075+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:39.075+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803617&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803617&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803617&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:41.087+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:41.087+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:41.087+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:41.087+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:41.087+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803619&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803619&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803619&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:43.108+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:43.108+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:43.108+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:43.108+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:43.108+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803621&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803621&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803621&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:45.121+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:45.121+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:45.121+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:45.121+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:45.121+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803623&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803623&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803623&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:47.139+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:47.140+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:47.140+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:47.140+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:47.140+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803625&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803625&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803625&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:49.160+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:49.160+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:49.160+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:49.160+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803627&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803627&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803627&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:49.160+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:51.176+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:51.176+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:51.176+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:51.176+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:51.176+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803629&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803629&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803629&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:51.176+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:53.189+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:53.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:53.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:53.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:53.190+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:53.190+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803631&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803631&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803631&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:55.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:55.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:55.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:55.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:55.210+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:55.210+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803633&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803633&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803633&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:57.227+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:57.227+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:57.227+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:57.227+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:57.227+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:57.227+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803635&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803635&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803635&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:13:59.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:59.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:59.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:59.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:13:59.244+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:13:59.244+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803637&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803637&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803637&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:14:01.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:01.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:01.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:01.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:01.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:01.265+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:14:01.265+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803639&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803639&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803639&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:14:03.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:03.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:03.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:03.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:03.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:03.286+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:14:03.286+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803641&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803641&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803641&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-01T11:14:05.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:05.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:05.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:05.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:05.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-01T11:14:05.302+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-01T11:14:05.302+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803643&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803643&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1719803643&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-08T10:33:56.536+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-08T10:33:56.536+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:33:56.537+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406035&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406035&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406035&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-08T10:33:58.559+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-08T10:33:58.559+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:33:58.559+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406036&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406036&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406036&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-08T10:34:00.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:34:00.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:34:00.571+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-08T10:34:00.571+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406038&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406038&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406038&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-08T10:34:02.584+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:34:02.584+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-08T10:34:02.584+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:34:02.585+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1720406040&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1720406040&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1720406040&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-08T10:34:04.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:34:04.599+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-08T10:34:04.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-08T10:34:04.599+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406042&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406042&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720406042&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-10T15:04:01.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-10T15:04:01.020+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-10T15:04:01.021+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720595040&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720595040&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720595040&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-10T15:04:03.035+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-10T15:04:03.035+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-10T15:04:03.035+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720595041&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720595041&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1720595041&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:58:50.950+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:50.950+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:58:50.952+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721185129&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721185129&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721185129&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:58:52.970+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:52.970+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:58:52.970+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185130&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185130&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185130&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:58:54.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:54.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:54.986+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:58:54.986+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185132&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185132&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185132&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:58:57.009+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:57.009+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:58:57.009+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:57.009+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185134&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185134&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185134&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:58:59.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:59.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:58:59.028+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:58:59.028+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185137&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185137&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185137&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:01.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:01.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:01.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:01.049+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:01.049+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185139&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185139&version=): @c{tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185139&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:03.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:03.073+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:03.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:03.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:03.073+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185141&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185141&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185141&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:05.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:05.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:05.085+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:05.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:05.085+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185143&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185143&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185143&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:07.107+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:07.107+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:07.107+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:07.107+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:07.107+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185145&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185145&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185145&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:09.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:09.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:09.128+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:09.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:09.128+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185147&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185147&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185147&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:11.140+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:11.140+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:11.140+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:11.140+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:11.140+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:11.140+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185149&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185149&version=): @c{tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185149&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:13.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:13.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:13.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:13.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:13.155+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:13.155+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185151&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185151&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185151&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:15.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:15.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:15.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:15.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:15.161+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:15.161+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185153&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185153&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185153&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:17.184+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:17.184+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:17.184+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:17.184+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:17.184+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:17.184+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185155&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185155&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185155&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:19.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:19.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:19.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:19.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:19.212+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:19.212+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185157&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185157&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185157&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:21.230+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:21.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:21.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:21.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:21.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:21.231+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:21.231+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185159&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185159&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185159&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:23.251+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:23.251+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:23.251+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:23.251+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:23.251+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:23.251+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:23.251+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185161&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185161&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185161&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:25.272+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:25.272+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:25.272+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:25.272+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:25.272+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:25.272+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:25.272+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721185163&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721185163&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721185163&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:27.284+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:27.284+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:27.284+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:27.285+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185165&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185165&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185165&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:27.284+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:27.284+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:27.284+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:29.300+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:29.300+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:29.300+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:29.300+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:29.300+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:29.300+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:29.300+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185167&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185167&version=): @c{tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185167&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:31.314+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185169&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185169&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185169&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185171&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185171&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185171&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:33.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185173&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185173&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185173&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:35.341+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:37.343+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:37.343+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:37.343+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:37.343+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:37.343+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:37.343+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:37.343+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:37.344+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185175&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185175&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185175&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:39.370+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185177&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185177&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185177&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185179&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185179&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185179&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:41.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:43.408+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185181&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185181&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185181&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:45.425+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185183&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185183&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185183&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:47.440+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185185&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185185&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185185&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:49.457+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185187&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185187&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185187&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:51.481+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:51.482+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185189&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185189&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185189&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721185191&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721185191&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721185191&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:53.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:55.513+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721185193&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721185193&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721185193&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185195&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185195&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185195&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:57.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T10:59:59.546+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185197&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185197&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185197&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:01.556+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.556+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.556+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.556+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:01.557+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:01.557+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185199&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185199&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185199&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:03.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:03.574+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721185201&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721185201&version=): @c{://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721185201&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721185203&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721185203&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721185203&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:05.592+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:07.599+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185205&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185205&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185205&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:09.621+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185207&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185207&version=): @c{tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185207&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:11.631+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185209&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185209&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185209&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/artistinfo.AsCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:13.646+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185211&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185211&version=): @c{tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185211&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:15.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:15.666+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721185213&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721185213&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721185213&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185215&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185215&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185215&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:17.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:19.707+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:19.708+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185217&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185217&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185217&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:21.733+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185219&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185219&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185219&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185221&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185221&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185221&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:23.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.776+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:25.777+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185223&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185223&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185223&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:27.793+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:27.794+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185225&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185225&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185225&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:29.809+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:29.810+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185227&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185227&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185227&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:31.830+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721185229&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721185229&version=): @c{://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721185229&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185231&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185231&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185231&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:33.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:35.866+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185233&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185233&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185233&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.882+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185235&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185235&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185235&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:37.881+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:39.900+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185237&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185237&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185237&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:41.919+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185239&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185239&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185239&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:43.945+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185241&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185241&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185241&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:45.956+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185243&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185243&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185243&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:47.980+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.980+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:47.980+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.980+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.980+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.980+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.980+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721185245&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721185245&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721185245&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:47.981+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:49.998+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185247&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185247&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185247&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185249&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185249&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185249&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:52.016+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721185252&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721185252&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721185252&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:54.033+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:56.046+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185254&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185254&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185254&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T11:00:58.066+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185256&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185256&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721185256&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:34.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:34.807+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:34.808+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206053&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206053&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206053&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:36.823+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:36.823+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:36.823+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206054&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206054&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206054&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:38.848+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:38.848+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:38.848+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:38.848+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206056&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206056&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206056&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:40.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:40.867+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:40.867+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:40.867+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206058&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206058&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206058&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:42.887+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:42.887+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:42.887+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:42.887+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206060&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206060&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206060&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:44.907+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:44.907+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:44.907+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:44.907+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206062&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206062&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206062&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:44.907+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:46.928+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:46.928+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:46.928+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:46.928+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:46.928+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206064&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206064&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206064&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:48.950+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:48.950+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:48.950+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:48.950+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:48.951+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206066&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206066&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206066&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:50.967+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:50.967+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:50.967+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:50.967+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:50.967+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206068&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206068&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206068&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:52.988+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:52.988+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:52.988+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:52.988+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:52.989+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206070&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206070&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206070&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:54.995+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:54.995+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:54.995+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:54.995+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:54.995+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:54.996+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206072&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206072&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206072&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:57.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:57.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:57.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:57.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:57.023+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:57.023+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206074&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206074&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206074&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:47:59.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:59.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:59.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:59.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:47:59.038+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:47:59.038+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206077&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206077&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206077&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:01.055+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:01.055+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:01.055+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:01.055+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:01.055+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206079&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206079&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206079&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:01.055+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:03.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:03.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:03.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:03.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:03.074+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:03.074+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721206081&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721206081&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721206081&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:05.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:05.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:05.097+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:05.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:05.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:05.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:05.097+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206083&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206083&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206083&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:07.118+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:07.118+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:07.118+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:07.118+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:07.118+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:07.118+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:07.118+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206085&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206085&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206085&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:09.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:09.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:09.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:09.135+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:09.135+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721206087&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721206087&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721206087&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:09.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:09.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:11.151+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:11.151+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:11.151+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:11.151+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:11.151+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:11.151+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:11.151+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206089&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206089&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206089&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:13.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:13.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:13.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:13.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:13.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:13.168+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:13.168+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206091&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206091&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206091&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:15.192+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206093&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206093&version=): @c{tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206093&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:17.213+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206095&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206095&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206095&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:19.232+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206097&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206097&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206097&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:21.243+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206099&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206099&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206099&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:23.263+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206101&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206101&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206101&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:25.276+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206103&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206103&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206103&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:27.290+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206105&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206105&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206105&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:29.315+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206107&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206107&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206107&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:31.335+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721206109&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721206109&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721206109&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:33.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:33.348+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206111&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206111&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206111&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:35.371+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206113&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206113&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206113&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:37.382+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206115&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206115&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206115&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:39.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206117&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206117&version=): @c{tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206117&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:39.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.452+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.452+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.452+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.452+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:41.452+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:41.452+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721206119&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721206119&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721206119&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:43.529+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206121&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206121&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206121&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:45.579+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.goods/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:45.609+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206123&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206123&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206123&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:47.600+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.602+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:47.603+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721206125&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721206125&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721206125&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:49.618+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206127&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206127&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206127&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:51.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.633+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:51.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:51.634+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206129&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206129&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206129&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:53.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.646+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Push/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:53.647+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206131&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206131&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206131&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:55.657+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206133&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206133&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206133&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:57.682+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206135&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206135&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206135&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:48:59.705+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206137&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206137&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206137&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:01.720+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206139&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206139&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206139&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:03.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.752+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.755+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.755+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.755+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.755+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.755+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.756+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.756+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:03.779+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:03.780+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206141&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206141&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206141&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:03.787+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:05.772+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206143&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206143&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206143&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:07.783+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206145&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206145&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206145&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206147&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206147&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206147&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:09.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:11.825+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206149&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206149&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206149&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206151&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206151&version=): @c{tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206151&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:13.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:15.851+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:15.852+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206153&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206153&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206153&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:17.860+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721206155&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721206155&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721206155&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:19.884+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721206157&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721206157&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721206157&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:21.899+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206159&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206159&version=): @c{tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206159&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206161&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206161&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206161&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:23.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206163&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206163&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206163&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:25.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:27.961+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206165&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206165&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206165&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:29.983+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206167&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206167&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206167&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:31.995+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206169&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206169&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206169&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:31.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206171&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206171&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206171&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:34.010+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:36.016+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721206174&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721206174&version=): @c{://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721206174&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206176&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206176&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206176&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:38.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.065+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721206178&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721206178&version=): @c{://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721206178&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:40.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:42.086+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721206180&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721206180&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721206180&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:44.101+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206182&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206182&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206182&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:46.113+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206184&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206184&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206184&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:48.125+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206186&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206186&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206186&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:50.146+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206188&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206188&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206188&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206190&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206190&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206190&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:52.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.200+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721206192&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721206192&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721206192&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:54.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.226+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206194&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206194&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721206194&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.226+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:56.226+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:58.233+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-17T16:49:59.241+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Position.please check configuration."} +{"level":"ERROR","time":"2024-07-18T11:20:32.488+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:32.488+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:32.489+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272831&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272831&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272831&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:34.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:34.508+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:34.508+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272832&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272832&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272832&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:36.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:36.530+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:36.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:36.530+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272834&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272834&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272834&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:38.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:38.551+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:38.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:38.551+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272836&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272836&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272836&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:40.574+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:40.574+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:40.574+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:40.574+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272838&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272838&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272838&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:42.591+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:42.591+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:42.591+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:42.591+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:42.591+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272840&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272840&version=): @c{tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272840&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:44.608+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:44.608+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:44.608+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:44.608+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:44.608+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272842&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272842&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272842&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:46.637+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:46.637+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:46.637+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:46.637+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:46.638+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272844&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272844&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272844&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:48.668+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:48.668+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:48.668+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:48.668+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:48.668+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272846&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272846&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272846&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:50.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:50.688+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:50.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:50.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:50.688+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721272848&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721272848&version=): @c{://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721272848&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T11:20:52.714+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:52.714+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:52.714+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:52.714+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T11:20:52.714+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T11:20:52.714+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272850&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272850&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721272850&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T18:18:26.536+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:26.566+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T18:18:26.566+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297905&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297905&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297905&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T18:18:28.556+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:28.556+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T18:18:28.556+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721297906&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721297906&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721297906&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T18:18:30.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:30.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:30.610+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T18:18:30.610+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297908&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297908&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297908&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T18:18:32.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:32.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:32.634+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T18:18:32.635+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297910&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297910&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297910&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-18T18:18:34.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:34.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-18T18:18:34.647+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-18T18:18:34.647+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297912&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297912&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721297912&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-20T14:55:06.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-20T14:55:09.910+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-20T14:55:09.955+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.OA.please check configuration."} +{"level":"ERROR","time":"2024-07-20T15:00:11.825+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:00:11.825+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:00:11.859+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:33.6556ms"} +{"level":"ERROR","time":"2024-07-20T15:00:11.955+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:129.5614ms"} +{"level":"ERROR","time":"2024-07-20T15:00:11.959+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:134.0713ms"} +{"level":"ERROR","time":"2024-07-20T15:03:22.208+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:03:22.209+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:03:22.217+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:8.0625ms"} +{"level":"ERROR","time":"2024-07-20T15:03:22.268+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:58.7407ms"} +{"level":"ERROR","time":"2024-07-20T15:03:22.272+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:62.5316ms"} +{"level":"ERROR","time":"2024-07-20T15:04:22.564+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:04:22.565+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:04:22.573+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:7.5953ms"} +{"level":"ERROR","time":"2024-07-20T15:04:22.670+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:104.3987ms"} +{"level":"ERROR","time":"2024-07-20T15:04:22.674+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:108.8165ms"} +{"level":"ERROR","time":"2024-07-20T15:05:30.519+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:05:30.519+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:05:30.528+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:9.0276ms"} +{"level":"ERROR","time":"2024-07-20T15:05:30.626+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:106.1608ms"} +{"level":"ERROR","time":"2024-07-20T15:05:30.630+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:110.2256ms"} +{"level":"ERROR","time":"2024-07-20T15:07:10.936+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:07:10.936+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:07:10.952+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:16.2356ms"} +{"level":"ERROR","time":"2024-07-20T15:07:11.024+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:88.2224ms"} +{"level":"ERROR","time":"2024-07-20T15:07:11.029+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:93.2668ms"} +{"level":"ERROR","time":"2024-07-20T15:08:20.076+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:08:20.076+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:08:20.084+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:7.9082ms"} +{"level":"ERROR","time":"2024-07-20T15:08:20.152+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:75.3926ms"} +{"level":"ERROR","time":"2024-07-20T15:08:20.158+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:81.5499ms"} +{"level":"ERROR","time":"2024-07-20T15:09:16.512+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:09:58.914+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-07-20T15:10:00.809+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-07-20T15:10:00.809+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:00.809+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:00.809+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:00.809+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:47.854+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:47.854+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:47.854+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:47.854+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:47.854+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:10:47.854+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:11:10.066+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:11:10.067+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:11:10.080+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:12.8483ms"} +{"level":"ERROR","time":"2024-07-20T15:11:10.173+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:106.041ms"} +{"level":"ERROR","time":"2024-07-20T15:11:10.177+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:110.0797ms"} +{"level":"ERROR","time":"2024-07-20T15:11:49.373+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:11:49.373+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:11:49.386+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:12.9469ms"} +{"level":"ERROR","time":"2024-07-20T15:11:49.454+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:80.1782ms"} +{"level":"ERROR","time":"2024-07-20T15:11:49.458+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:84.3622ms"} +{"level":"ERROR","time":"2024-07-20T15:12:40.633+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:12:40.634+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:12:40.650+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:15.9208ms"} +{"level":"ERROR","time":"2024-07-20T15:12:40.718+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:84.2885ms"} +{"level":"ERROR","time":"2024-07-20T15:12:40.723+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:88.7951ms"} +{"level":"ERROR","time":"2024-07-20T15:13:11.174+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:14:29.651+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:29.651+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:29.651+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:29.651+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:29.651+0800","caller":"middleware/logging.go:80","message":"[Recovery from panic]{error 26 0 interface conversion: interface {} is nil, not login.Info} {request 15 0 POST /oa/collection/detail HTTP/1.1\r\nHost: 127.0.0.1:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: cbaab09f0e314f99171742d1402d68c8604e88afb7d71b4975003cf13ce89afa411c8ab706e966d3c30243a2b070fc9571b4b5bcc2bea5da1b6446e67d1c76bad6febb008866433c31e5215145a1aaf9d73e02b7c1919f9265c4dd0670ae3bb9e95095f5d0755a29185222ffbf45467a85e34d18e1850271f2fb92e5f6a5b73d3922c43ffac6d608057b4ee7c5eaa573822c7888e7c1e5026d58c8a279d98077ae6c086a468fdc09686899429f04af6558010395c7b4cd6b43cb46ddd2d8a5a1052406ac756c0d85f59b15c1e692de3a6677dbaf0526830959590bbd01292090b655ab7e0f0b7a123bbd286bd77d7adf0788646d57f5a4c18b647ed43b4827f351976e67aadcc0a8b42c18011320f2e74509981c13130d86621e2a90d435b3962771b68d58691bcd02b0c84ebf81ae73ea3ff2de2907caf165f32951f0e54517\r\nConnection: keep-alive\r\nContent-Length: 39\r\nContent-Type: application/json\r\nUser-Agent: ApiPOST Runtime +https://www.apipost.cn\r\n\r\n } {stack 15 0 goroutine 133 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x7a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:83 +0x6dc\npanic({0x3b45ba0, 0xc0015e2f30})\n\tD:/Go/src/runtime/panic.go:844 +0x25a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/model/login.GetUserInfoFromC(0xc001c80300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/model/login/login.go:25 +0x18f\ngithub.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new.StaffCollectionDetail(0xc001c80300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/service/oa_new/collection.go:49 +0x448\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc001c80300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:102 +0x8c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc001c80300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x585\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc001c80300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:46 +0xbf6\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001d50180, 0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x4e5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0xb8\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xf2\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc001261860, 0xc001c80300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x429\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc001261860, {0x4696bf8, 0xc00107c0e0}, 0xc001c80100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xbb\nnet/http.serverHandler.ServeHTTP({0xc0002a2620}, {0x4696bf8, 0xc00107c0e0}, 0xc001c80100)\n\tD:/Go/src/net/http/server.go:2916 +0x474\nnet/http.(*conn).serve(0xc00042f9a0, {0x46981a0, 0xc0015a0b00})\n\tD:/Go/src/net/http/server.go:1966 +0x193c\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x9cf\n }"} +{"level":"ERROR","time":"2024-07-20T15:14:29.651+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:29.651+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:30.673+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:30.673+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:30.673+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:30.673+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:30.673+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:14:30.673+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:15:37.126+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:15:37.126+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:15:37.134+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:8.262ms"} +{"level":"ERROR","time":"2024-07-20T15:15:37.171+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:45.408ms"} +{"level":"ERROR","time":"2024-07-20T15:15:37.175+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:49.0521ms"} +{"level":"ERROR","time":"2024-07-20T15:18:48.164+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:18:48.164+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:18:48.172+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:8.0191ms"} +{"level":"ERROR","time":"2024-07-20T15:18:48.207+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:42.942ms"} +{"level":"ERROR","time":"2024-07-20T15:18:48.211+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:46.7572ms"} +{"level":"ERROR","time":"2024-07-20T15:19:10.295+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:19:10.295+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:19:10.304+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:8.2296ms"} +{"level":"ERROR","time":"2024-07-20T15:19:10.319+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:24.0039ms"} +{"level":"ERROR","time":"2024-07-20T15:19:10.324+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:28.4128ms"} +{"level":"ERROR","time":"2024-07-20T15:23:57.195+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:23:57.195+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:23:57.207+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:12.2539ms"} +{"level":"ERROR","time":"2024-07-20T15:23:57.278+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:83.1779ms"} +{"level":"ERROR","time":"2024-07-20T15:23:57.283+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:88.0485ms"} +{"level":"ERROR","time":"2024-07-20T15:24:46.401+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:24:46.402+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:24:46.411+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:8.9343ms"} +{"level":"ERROR","time":"2024-07-20T15:24:46.448+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:46.4492ms"} +{"level":"ERROR","time":"2024-07-20T15:24:46.452+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:50.0853ms"} +{"level":"ERROR","time":"2024-07-20T15:25:17.158+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:25:17.158+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:25:17.167+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:8.956ms"} +{"level":"ERROR","time":"2024-07-20T15:25:17.208+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:50.2426ms"} +{"level":"ERROR","time":"2024-07-20T15:25:17.212+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:53.507ms"} +{"level":"ERROR","time":"2024-07-20T15:26:10.718+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:26:10.718+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:26:10.718+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:26:33.668+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:26:33.668+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:523.7µs"} +{"level":"ERROR","time":"2024-07-20T15:26:33.681+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:13.3592ms"} +{"level":"ERROR","time":"2024-07-20T15:26:33.734+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:66.4736ms"} +{"level":"ERROR","time":"2024-07-20T15:26:33.739+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:71.2544ms"} +{"level":"ERROR","time":"2024-07-20T15:26:56.060+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:26:56.060+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:26:56.073+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:13.0099ms"} +{"level":"ERROR","time":"2024-07-20T15:26:56.122+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:61.6865ms"} +{"level":"ERROR","time":"2024-07-20T15:26:56.126+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:65.6765ms"} +{"level":"ERROR","time":"2024-07-20T15:27:18.360+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:27:18.360+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:27:18.367+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:7.0659ms"} +{"level":"ERROR","time":"2024-07-20T15:27:34.105+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:15.7448601s"} +{"level":"ERROR","time":"2024-07-20T15:27:34.111+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:15.7507886s"} +{"level":"ERROR","time":"2024-07-20T15:28:00.276+0800","caller":"middleware/logging.go:35","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/detail } {query 15 0 } {body 15 0 {\"staffUID\":1455,\"collectionType\":23,\"month\":\"2024-07\"} } {ip 15 0 127.0.0.1 } {user-agent 15 0 ApiPOST Runtime +https://www.apipost.cn } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-07-20T15:28:00.277+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-07-20T15:28:00.298+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:20.9918ms"} +{"level":"ERROR","time":"2024-07-20T15:28:03.131+0800","caller":"middleware/check_login.go:62","message":"---------end帐号info时间:2.8533478s"} +{"level":"ERROR","time":"2024-07-20T15:28:03.134+0800","caller":"middleware/check_login.go:76","message":"---------end帐号,rule的userInfo:时间:2.8567558s"} +{"level":"ERROR","time":"2024-07-20T15:34:50.713+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-07-20T15:34:50.713+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-07-20T15:34:50.713+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:34:50.713+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:34:50.713+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:34:50.713+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:46:24.153+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:46:24.154+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:46:24.154+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:46:24.154+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:46:24.154+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-20T15:46:24.154+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T14:21:02.321+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T14:21:02.321+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T14:21:02.322+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715661&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715661&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715661&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T14:21:04.345+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T14:21:04.345+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T14:21:04.345+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715662&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715662&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715662&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T14:21:06.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T14:21:06.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T14:21:06.356+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T14:21:06.356+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715664&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715664&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715664&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T14:21:08.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T14:21:08.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T14:21:08.377+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T14:21:08.377+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715666&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715666&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721715666&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:01.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:01.634+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:01.635+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721719200&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721719200&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721719200&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:03.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:03.650+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:03.650+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719201&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719201&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719201&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:05.658+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:05.658+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:05.658+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:05.658+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721719203&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721719203&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721719203&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:07.672+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:07.672+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:07.672+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:07.672+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719205&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719205&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719205&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:09.684+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:09.684+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:09.684+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:09.684+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719207&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719207&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719207&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:11.712+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:11.712+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:11.712+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:11.712+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:11.712+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719209&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719209&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719209&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:13.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:13.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:13.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:13.732+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:13.732+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719211&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719211&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719211&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:15.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:15.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:15.744+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:15.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:15.744+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721719213&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721719213&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721719213&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:17.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:17.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:17.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:17.773+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:17.773+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721719215&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721719215&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1721719215&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:19.782+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:19.782+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:19.782+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:19.782+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:19.782+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719217&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719217&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719217&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:21.790+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:21.790+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:21.790+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:21.790+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:21.790+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:21.790+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719219&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719219&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719219&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:23.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:23.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:23.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:23.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:23.794+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:23.794+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719221&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719221&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719221&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:25.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:25.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:25.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:25.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:25.799+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:25.799+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719223&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719223&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719223&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:27.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:27.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:27.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:27.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:27.818+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:27.818+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721719225&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721719225&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1721719225&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:29.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:29.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:29.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:29.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:29.825+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:29.826+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719227&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719227&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719227&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:31.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:31.830+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:31.830+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719229&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719229&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719229&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:33.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:33.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:33.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:33.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:33.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:33.839+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:33.839+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719231&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719231&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719231&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:35.854+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:35.854+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:35.854+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:35.854+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:35.854+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:35.854+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:35.854+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719233&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719233&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719233&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:37.872+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:37.872+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:37.872+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:37.872+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:37.872+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:37.872+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:37.872+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719235&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719235&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719235&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:39.875+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:39.875+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:39.875+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:39.875+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:39.875+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:39.875+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:39.875+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719237&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719237&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719237&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719239&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719239&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721719239&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:41.892+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-23T15:20:43.894+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721719241&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721719241&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1721719241&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:45:48.594+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:48.594+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:45:48.595+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965547&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965547&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965547&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:45:50.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:50.610+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:45:50.610+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965548&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965548&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965548&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:45:52.625+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:52.625+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:52.625+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:45:52.625+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965550&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965550&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965550&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:45:54.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:54.640+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:45:54.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:54.640+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965552&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965552&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965552&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:45:56.669+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:56.670+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:56.670+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:45:56.670+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721965554&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721965554&version=): @c{://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721965554&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:45:58.671+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:58.671+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:58.671+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:45:58.671+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:45:58.671+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965556&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965556&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965556&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:00.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:00.678+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:00.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:00.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:00.678+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721965558&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721965558&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1721965558&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:02.692+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:02.692+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965560&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965560&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965560&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:04.696+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:04.696+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:04.697+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:04.696+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:04.697+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965562&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965562&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965562&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:06.699+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:06.699+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:06.699+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:06.699+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:06.699+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965564&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965564&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965564&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:08.706+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:08.706+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:08.706+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:08.706+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:08.706+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:08.706+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965566&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965566&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965566&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:10.723+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:10.723+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:10.723+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:10.723+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:10.723+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:10.723+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721965568&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721965568&version=): @c{://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1721965568&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:12.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:12.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:12.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:12.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:12.744+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:12.744+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965570&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965570&version=): @c{tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965570&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:14.760+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:14.760+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965572&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965572&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965572&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:16.774+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:16.774+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:16.774+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:16.774+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965574&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965574&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965574&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:16.774+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:16.774+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:18.791+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:18.791+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:18.791+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:18.791+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:18.791+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:18.791+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:18.791+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965576&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965576&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965576&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:20.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:20.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:20.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:20.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:20.807+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:20.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:20.807+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965578&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965578&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965578&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:22.826+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:22.826+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965580&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965580&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965580&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:24.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:24.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:24.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:24.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:24.829+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:24.829+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:24.830+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965582&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965582&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965582&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:26.846+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:26.846+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:26.846+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:26.846+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:26.846+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:26.846+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:26.846+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965584&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965584&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965584&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:28.861+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:28.861+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:28.861+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:28.861+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:28.861+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:28.861+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:28.861+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:28.862+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721965586&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721965586&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1721965586&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:30.870+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965588&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965588&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965588&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:32.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:32.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:32.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:32.884+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:32.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:32.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:32.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:32.885+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965590&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965590&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965590&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:34.902+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965592&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965592&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965592&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:36.912+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965594&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965594&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965594&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965596&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965596&version=): @c{tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965596&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:38.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T11:46:40.932+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965598&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965598&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721965598&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T14:42:40.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T14:42:40.358+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T14:42:40.358+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721976159&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721976159&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721976159&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T14:42:42.366+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T14:42:42.366+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T14:42:42.366+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721976160&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721976160&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1721976160&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-07-26T14:42:44.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T14:42:44.383+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-07-26T14:42:44.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-07-26T14:42:44.383+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721976162&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721976162&version=): @c{://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1721976162&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:10.903+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:10.903+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:10.905+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825549&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825549&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825549&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:12.928+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:12.928+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:12.928+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825550&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825550&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825550&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:14.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:14.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:14.948+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:14.948+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825552&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825552&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825552&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:16.977+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:16.977+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825554&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825554&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825554&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:18.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:18.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:18.994+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:18.994+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825556&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825556&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825556&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:21.004+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:21.004+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:21.004+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:21.004+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:21.004+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825558&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825558&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825558&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:23.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:23.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:23.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:23.020+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:23.021+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825561&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825561&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825561&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:25.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:25.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:25.047+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:25.047+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:25.047+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825563&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825563&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825563&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:27.067+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:27.067+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:27.067+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:27.067+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:27.067+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825565&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825565&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825565&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:29.093+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:29.093+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:29.093+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:29.093+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:29.093+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1722825567&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1722825567&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1722825567&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:31.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:31.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:31.104+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:31.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:31.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:31.104+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825569&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825569&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825569&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:33.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:33.128+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:33.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:33.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:33.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:33.128+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825571&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825571&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825571&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:35.153+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:35.153+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:35.153+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:35.153+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:35.153+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:35.153+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1722825573&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1722825573&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1722825573&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:37.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:37.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:37.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:37.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:37.181+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:37.181+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825575&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825575&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825575&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:39.202+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:39.202+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:39.202+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:39.202+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:39.202+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:39.202+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825577&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825577&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825577&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:41.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:41.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:41.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:41.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:41.213+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:41.214+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:41.214+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1722825579&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1722825579&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1722825579&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:43.239+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:43.239+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:43.239+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:43.239+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:43.239+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:43.239+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:43.240+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825581&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825581&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825581&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:45.266+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:45.266+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:45.266+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:45.266+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:45.266+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:45.266+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:45.266+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825583&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825583&version=): @c{tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825583&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:47.292+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:47.292+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:47.292+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:47.292+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:47.292+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:47.292+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:47.292+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825585&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825585&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825585&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:49.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:49.310+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:49.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:49.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:49.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:49.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:49.310+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825587&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825587&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825587&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825589&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825589&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825589&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:51.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825591&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825591&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825591&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:53.342+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:55.361+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1722825593&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1722825593&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1722825593&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825595&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825595&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722825595&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-05T10:39:57.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-06T09:22:51.105+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-06T09:22:51.105+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-06T09:22:51.106+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722907370&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722907370&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1722907370&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:21.274+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:21.274+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:21.275+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1723168940&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1723168940&version=): @c{://192.168.88.129:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1723168940&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:23.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:23.299+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:23.299+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168941&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168941&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168941&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:25.318+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:25.318+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:25.318+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:25.318+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1723168943&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1723168943&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1723168943&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:27.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:27.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:27.340+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:27.340+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168945&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168945&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168945&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:29.357+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:29.357+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:29.357+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:29.357+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168947&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168947&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168947&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:31.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:31.365+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:31.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:31.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:31.365+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168949&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168949&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168949&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:33.385+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:33.385+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:33.385+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:33.385+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:33.385+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168951&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168951&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168951&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:35.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:35.410+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:35.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:35.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:35.410+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168953&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168953&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168953&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:37.432+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:37.432+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:37.432+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:37.432+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:37.432+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168955&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168955&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168955&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:39.448+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:39.448+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:39.448+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:39.448+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:39.448+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168957&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168957&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168957&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:41.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:41.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:41.463+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:41.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:41.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:41.463+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168959&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168959&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168959&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:43.488+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:43.488+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:43.488+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:43.488+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:43.488+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:43.488+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168961&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168961&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168961&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:45.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:45.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:45.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:45.503+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:45.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:45.503+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168963&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168963&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168963&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:47.524+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:47.524+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:47.524+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:47.524+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:47.524+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:47.524+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723168965&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723168965&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723168965&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:49.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:49.538+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:49.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:49.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:49.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:49.538+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723168967&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723168967&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723168967&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:51.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:51.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:51.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:51.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:51.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:51.565+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:51.565+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168969&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168969&version=): @c{tri://192.168.88.129:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168969&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:53.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:53.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:53.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:53.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:53.586+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:53.586+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:53.586+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168971&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168971&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168971&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:55.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:55.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:55.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:55.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:55.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:55.609+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:55.609+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168973&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168973&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168973&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:57.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:57.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:57.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:57.633+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:57.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:57.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:57.633+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168975&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168975&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168975&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:02:59.660+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:59.660+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:59.660+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:59.660+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:59.660+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:02:59.660+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:02:59.660+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168977&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168977&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168977&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:01.673+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168979&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168979&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168979&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:03.690+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168981&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168981&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168981&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:05.708+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168983&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168983&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168983&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:07.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:07.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:07.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:07.733+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:07.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:07.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:07.733+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168985&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168985&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168985&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:07.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:09.741+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:09.741+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:09.741+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:09.740+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:09.741+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:09.741+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723168987&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723168987&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723168987&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:09.740+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:09.741+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168989&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168989&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168989&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:11.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:13.771+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168991&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168991&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168991&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168993&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168993&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168993&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:15.799+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:17.810+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168995&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168995&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168995&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:19.830+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:19.831+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168997&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168997&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168997&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:21.843+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:21.844+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168999&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168999&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723168999&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:23.869+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169001&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169001&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169001&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:25.877+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169003&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169003&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169003&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:27.889+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169005&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169005&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169005&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:29.912+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:29.913+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169007&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169007&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169007&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:31.931+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169009&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169009&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169009&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723169011&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723169011&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723169011&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:33.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:35.963+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169013&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169013&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169013&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:37.985+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169015&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169015&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169015&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:37.986+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:40.006+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169017&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169017&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169017&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.024+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.024+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169020&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169020&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169020&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:42.024+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:44.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:44.049+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169022&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169022&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169022&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:46.071+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169024&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169024&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169024&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:48.094+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723169026&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723169026&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723169026&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169028&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169028&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169028&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:50.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:52.141+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169030&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169030&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169030&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:54.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.goods/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169032&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169032&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169032&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:54.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.191+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169034&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169034&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169034&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:56.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:03:58.211+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:03:58.212+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169036&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169036&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169036&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Push/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:00.217+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169038&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169038&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169038&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:02.240+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:02.241+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169040&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169040&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169040&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169042&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169042&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169042&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:04.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:06.277+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169044&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169044&version=): @c{tri://192.168.88.129:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169044&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:08.303+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169046&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169046&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169046&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:10.323+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723169048&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723169048&version=): @c{://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723169048&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:12.346+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169050&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169050&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169050&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:14.373+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169052&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169052&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723169052&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169054&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169054&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169054&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:16.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:18.405+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169056&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169056&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169056&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:20.418+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169058&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169058&version=): @c{tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169058&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:22.436+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:22.437+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723169060&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723169060&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723169060&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:24.454+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:24.455+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169062&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169062&version=): @c{tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169062&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:26.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.469+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169064&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169064&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169064&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:26.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.486+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.485+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:28.486+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.486+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.486+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169066&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169066&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169066&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:28.486+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.486+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:28.486+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:30.508+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169068&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169068&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169068&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:32.533+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169070&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169070&version=): @c{tri://192.168.88.129:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169070&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:34.547+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169072&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169072&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169072&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:34.546+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:36.570+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169074&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169074&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169074&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169076&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169076&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169076&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:38.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:40.607+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169078&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169078&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169078&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:42.629+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169080&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169080&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169080&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:44.650+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169082&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169082&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723169082&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:46.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-09T10:04:47.677+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.task.please check configuration."} +{"level":"ERROR","time":"2024-08-13T11:15:13.436+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:13.436+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:13.445+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.1.188:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518912&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.1.188:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518912&version=): @c{://192.168.1.188:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518912&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:15.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:15.454+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:15.454+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518913&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518913&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518913&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:17.458+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:17.458+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:17.458+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:17.458+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518915&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518915&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518915&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:19.468+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:19.468+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:19.468+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:19.468+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518917&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518917&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518917&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:21.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:21.485+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:21.485+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:21.485+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518919&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518919&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518919&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:23.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:23.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:23.513+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:23.513+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:23.514+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518921&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518921&version=): @c{tri://192.168.1.188:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518921&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:25.518+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:25.518+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:25.518+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:25.518+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:25.518+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723518923&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723518923&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723518923&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:27.528+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:27.528+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:27.528+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:27.528+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:27.528+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723518925&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723518925&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723518925&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:29.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:29.537+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:29.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:29.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:29.538+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.1.188:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723518927&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.1.188:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723518927&version=): @c{://192.168.1.188:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723518927&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:31.548+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:31.548+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:31.548+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:31.548+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:31.550+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518929&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518929&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518929&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:33.566+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:33.566+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:33.566+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:33.566+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:33.566+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:33.567+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518931&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518931&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518931&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:35.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:35.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:35.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:35.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:35.587+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:35.587+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518933&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518933&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518933&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:37.612+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:37.612+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:37.612+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:37.612+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:37.612+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ChildrenCompetition/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:37.612+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518935&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518935&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518935&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:39.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:39.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:39.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:39.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:39.640+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:39.640+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518937&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518937&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518937&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:41.641+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:41.641+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:41.641+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:41.641+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:41.641+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:41.641+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518939&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518939&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518939&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:43.644+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:43.644+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:43.644+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:43.644+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:43.644+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:43.644+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:43.645+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518941&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518941&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518941&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:45.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:45.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:45.664+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:45.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:45.664+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518943&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518943&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518943&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:45.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:45.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:47.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:47.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:47.681+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:47.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:47.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:47.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:47.682+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518945&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518945&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518945&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:49.698+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:49.698+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:49.698+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:49.698+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:49.698+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:49.698+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:49.698+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518947&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518947&version=): @c{tri://192.168.1.188:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518947&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:51.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:51.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:51.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:51.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:51.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:51.701+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:51.702+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.1.188:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518949&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.1.188:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518949&version=): @c{://192.168.1.188:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518949&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:53.709+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:53.709+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:53.709+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:53.709+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:53.709+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:53.710+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.1.188:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518951&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.1.188:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518951&version=): @c{://192.168.1.188:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518951&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:53.709+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:53.709+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:55.728+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723518953&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723518953&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723518953&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:57.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:57.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:57.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:57.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:57.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:57.733+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:57.733+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:57.734+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518955&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518955&version=): @c{tri://192.168.1.188:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518955&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.1.188:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518957&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.1.188:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518957&version=): @c{tri://192.168.1.188:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723518957&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T11:15:59.749+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:27.815+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:27.815+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/artistinfo.AsCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:27.816+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536986&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536986&version=): @c{tri://192.168.31.133:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536986&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:29.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:29.822+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:29.822+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536987&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536987&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536987&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:31.837+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:31.837+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:31.837+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:31.838+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536989&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536989&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536989&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:33.857+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:33.857+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:33.857+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:33.857+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536991&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536991&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536991&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:35.864+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:35.864+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:35.864+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536993&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536993&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536993&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:35.864+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:37.895+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:37.895+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:37.895+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:37.895+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:37.895+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536995&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536995&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536995&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:39.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:39.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:39.904+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:39.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:39.904+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536997&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536997&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536997&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:41.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:41.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:41.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:41.913+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:41.913+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536999&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536999&version=): @c{tri://192.168.31.133:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723536999&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:43.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:43.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:43.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:43.922+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:43.922+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537001&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537001&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537001&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:45.933+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:45.933+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:45.933+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:45.933+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:45.933+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537003&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537003&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537003&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:47.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:47.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:47.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:47.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:47.956+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:47.957+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537005&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537005&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537005&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:49.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:49.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:49.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:49.974+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:49.974+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ChildrenCompetition/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:49.974+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537007&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537007&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537007&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:51.991+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:51.991+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:51.991+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:51.991+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:51.991+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:51.991+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1723537009&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1723537009&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1723537009&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:54.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:54.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:54.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:54.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:54.005+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:54.005+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537011&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537011&version=): @c{://192.168.31.133:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537011&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:56.014+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:56.014+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:56.014+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:56.014+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:56.014+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:56.014+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537014&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537014&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537014&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:16:58.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:58.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:58.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:58.018+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:16:58.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:58.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:16:58.018+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537016&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537016&version=): @c{tri://192.168.31.133:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537016&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:00.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:00.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:00.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:00.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:00.045+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:00.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:00.045+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537018&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537018&version=): @c{://192.168.31.133:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537018&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:02.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:02.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:02.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:02.064+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:02.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:02.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:02.064+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537020&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537020&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537020&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:04.070+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:04.070+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723537022&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723537022&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723537022&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:06.077+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:06.077+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:06.077+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:06.077+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:06.077+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:06.077+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:06.077+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537024&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537024&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537024&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:08.095+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537026&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537026&version=): @c{tri://192.168.31.133:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537026&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:10.102+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537028&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537028&version=): @c{tri://192.168.31.133:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537028&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:12.127+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537030&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537030&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537030&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:14.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:14.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:14.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:14.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:14.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:14.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:14.133+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:14.134+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537032&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537032&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537032&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:16.134+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:16.134+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:16.134+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:16.134+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:16.134+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:16.134+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:16.134+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:16.135+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537034&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537034&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537034&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:18.138+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:18.139+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537036&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537036&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537036&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:20.156+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723537038&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723537038&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723537038&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537040&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537040&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537040&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:22.163+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:24.172+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537042&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537042&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537042&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:26.177+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537044&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537044&version=): @c{://192.168.31.133:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537044&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:28.180+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537046&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537046&version=): @c{://192.168.31.133:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537046&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.192+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:30.193+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537048&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537048&version=): @c{://192.168.31.133:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537048&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:32.196+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537050&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537050&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537050&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:34.212+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537052&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537052&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537052&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:36.231+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537054&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537054&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537054&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537056&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537056&version=): @c{tri://192.168.31.133:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537056&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:38.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:40.270+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537058&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537058&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537058&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:42.282+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537060&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537060&version=): @c{tri://192.168.31.133:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537060&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:44.299+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537062&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537062&version=): @c{://192.168.31.133:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537062&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:46.326+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537064&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537064&version=): @c{tri://192.168.31.133:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537064&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:48.328+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537066&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537066&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537066&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:50.340+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537068&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537068&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537068&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:52.358+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537070&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537070&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537070&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723537072&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723537072&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1723537072&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:54.363+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723537074&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723537074&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1723537074&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:56.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:17:58.405+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723537076&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723537076&version=): @c{://192.168.31.133:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1723537076&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:00.421+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537078&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537078&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537078&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:02.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:02.425+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:02.425+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537080&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537080&version=): @c{tri://192.168.31.133:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537080&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537082&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537082&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537082&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:04.445+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537084&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537084&version=): @c{tri://192.168.31.133:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537084&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:06.463+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.471+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:08.472+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537086&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537086&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537086&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537088&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537088&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537088&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:10.475+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:12.484+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537090&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537090&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537090&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:14.501+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537092&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537092&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537092&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537094&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537094&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537094&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:16.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:18.545+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1723537096&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1723537096&version=): @c{://192.168.31.133:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1723537096&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537098&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537098&version=): @c{://192.168.31.133:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537098&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:20.561+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:22.578+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537100&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537100&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537100&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:22.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:24.603+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537102&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537102&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537102&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:26.617+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537104&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537104&version=): @c{tri://192.168.31.133:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537104&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723537106&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723537106&version=): @c{://192.168.31.133:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723537106&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:28.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.31.133:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723537108&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.31.133:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723537108&version=): @c{://192.168.31.133:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1723537108&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:30.647+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537110&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537110&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537110&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:32.648+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.662+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537112&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537112&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1723537112&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:34.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.679+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.679+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.679+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.679+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.679+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.31.133:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537114&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.31.133:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537114&version=): @c{tri://192.168.31.133:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1723537114&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-13T16:18:36.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:34.558+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:34.558+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:34.561+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296053&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296053&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296053&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:36.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:36.572+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:36.572+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296054&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296054&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296054&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:38.584+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:38.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:38.585+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:38.585+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724296056&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724296056&version=): @c{://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724296056&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:40.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:40.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:40.606+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:40.606+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724296058&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724296058&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724296058&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:42.628+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:42.628+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:42.628+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:42.628+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296060&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296060&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296060&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:44.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:44.654+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:44.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:44.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:44.654+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724296062&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724296062&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724296062&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:46.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:46.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:46.674+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:46.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:46.675+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296064&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296064&version=): @c{tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296064&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:48.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:48.696+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:48.696+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:48.696+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:48.696+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296066&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296066&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296066&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:50.719+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:50.719+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:50.719+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:50.719+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:50.720+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296068&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296068&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296068&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:52.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:52.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:52.729+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:52.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:52.729+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296070&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296070&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296070&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:54.753+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:54.753+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:54.753+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:54.753+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:54.753+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:54.753+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296072&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296072&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296072&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:56.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:56.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:56.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:56.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:56.773+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:56.773+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296074&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296074&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296074&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:07:58.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:58.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:58.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:58.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:07:58.800+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:07:58.800+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296076&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296076&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296076&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:00.802+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:00.802+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:00.802+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:00.802+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:00.802+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:00.802+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296078&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296078&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296078&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:02.827+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:02.828+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:02.828+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:02.828+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:02.828+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:02.828+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296080&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296080&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296080&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:04.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:04.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:04.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:04.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:04.838+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:04.838+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:04.838+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296082&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296082&version=): @c{tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296082&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:06.868+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:06.868+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:06.868+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:06.868+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:06.868+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:06.868+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:06.868+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296084&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296084&version=): @c{tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296084&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:08.887+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:08.887+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:08.887+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:08.887+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:08.887+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:08.887+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:08.887+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296086&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296086&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296086&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:10.910+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:10.910+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:10.910+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:10.910+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:10.910+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:10.910+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:10.910+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296088&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296088&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296088&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:12.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:12.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:12.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:12.935+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:12.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:12.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:12.936+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296090&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296090&version=): @c{tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296090&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:14.954+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296092&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296092&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296092&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:16.977+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296094&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296094&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296094&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296096&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296096&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296096&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:19.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:21.025+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296099&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296099&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296099&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:23.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:23.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:23.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:23.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:23.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:23.049+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:23.049+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:23.049+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296101&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296101&version=): @c{tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296101&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:25.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:25.071+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296103&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296103&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296103&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:27.082+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296105&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296105&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296105&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:29.104+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296107&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296107&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296107&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:31.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:31.123+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296109&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296109&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296109&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:33.142+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:33.142+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:33.142+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:33.143+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:33.143+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:33.143+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:33.143+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:33.143+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:33.143+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296111&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296111&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296111&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.162+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:35.163+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296113&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296113&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296113&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:37.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:37.186+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296115&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296115&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296115&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:39.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:39.208+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724296117&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724296117&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724296117&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ChildrenCompetition/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:41.230+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296119&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296119&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296119&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:41.229+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:43.244+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296121&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296121&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296121&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:45.258+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724296123&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724296123&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724296123&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296125&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296125&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296125&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:47.283+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.301+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.301+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:49.303+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296127&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296127&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296127&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:49.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.327+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296129&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296129&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296129&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:51.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:53.356+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296131&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296131&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296131&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.362+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296133&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296133&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724296133&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:55.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:57.382+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296135&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296135&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296135&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:08:57.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:08:59.397+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296137&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296137&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296137&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:01.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:01.426+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296139&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296139&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296139&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:03.451+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296141&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296141&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296141&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:05.477+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296143&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296143&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296143&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:05.476+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:07.496+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296145&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296145&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296145&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:09.522+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/artistinfo.AsCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:09.523+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296147&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296147&version=): @c{tri://172.31.128.1:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296147&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.544+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:11.546+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724296149&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724296149&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724296149&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:13.572+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296151&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296151&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296151&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296153&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296153&version=): @c{://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296153&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:15.596+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:17.618+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296155&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296155&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296155&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296157&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296157&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296157&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:19.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:21.665+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296159&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296159&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296159&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:23.681+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:23.682+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296161&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296161&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296161&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:25.695+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296163&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296163&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296163&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:27.721+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:27.722+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296165&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296165&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724296165&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724296167&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724296167&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724296167&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T11:09:29.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T16:31:29.966+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T16:31:29.966+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T16:31:29.968+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724315488&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724315488&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724315488&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-22T16:31:31.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-22T16:31:31.983+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-22T16:31:31.983+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724315489&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724315489&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724315489&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-23T11:54:52.294+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-23T11:54:52.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:54:52.296+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385291&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385291&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385291&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-23T11:54:54.320+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:54:54.320+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-23T11:54:54.320+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724385292&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724385292&version=): @c{://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724385292&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-23T11:54:56.331+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:54:56.332+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-23T11:54:56.332+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:54:56.332+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385294&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385294&version=): @c{tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385294&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-23T11:54:58.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:54:58.361+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-23T11:54:58.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:54:58.361+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385296&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385296&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385296&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-23T11:55:00.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:55:00.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-23T11:55:00.387+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-23T11:55:00.387+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385298&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385298&version=): @c{tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724385298&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-26T11:59:19.634+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-26T11:59:19.634+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-26T11:59:19.637+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724644758&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724644758&version=): @c{://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724644758&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-26T11:59:21.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-26T11:59:21.658+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-26T11:59:21.658+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724644759&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724644759&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724644759&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-26T11:59:23.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-26T11:59:23.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-26T11:59:23.682+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-26T11:59:23.683+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724644761&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724644761&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724644761&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T16:39:01.175+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T16:39:01.175+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T16:39:01.177+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724834340&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724834340&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724834340&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:52:27.064+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:52:27.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:52:27.065+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849546&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849546&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849546&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:31.898+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Push/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:31.898+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:31.899+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849670&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849670&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849670&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:33.925+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:33.925+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:33.925+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849671&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849671&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849671&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:35.936+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:35.936+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:35.936+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:35.936+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849673&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849673&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849673&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:37.951+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:37.951+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:37.952+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:37.952+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849675&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849675&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849675&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:39.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:39.977+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:39.977+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:39.977+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849677&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849677&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849677&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:41.990+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:41.990+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:41.990+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:41.990+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:41.990+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849679&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849679&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849679&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:44.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:44.018+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:44.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:44.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:44.018+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849681&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849681&version=): @c{tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849681&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:46.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:46.028+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:46.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:46.028+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:46.028+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849684&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849684&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849684&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:48.052+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:48.052+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:48.052+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:48.052+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:48.052+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849686&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849686&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849686&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:50.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:50.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:50.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:50.066+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:50.066+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849688&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849688&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849688&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:52.088+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:52.088+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:52.088+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:52.088+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:52.088+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:52.088+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849690&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849690&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849690&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:54.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:54.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:54.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:54.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:54.114+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.goods/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:54.114+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849692&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849692&version=): @c{tri://172.31.128.1:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849692&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:56.130+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:56.130+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:56.130+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:56.130+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:56.130+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:56.130+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849694&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849694&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849694&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:54:58.142+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:58.142+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:58.142+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:58.142+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:54:58.142+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:54:58.142+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849696&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849696&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849696&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:00.152+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:00.152+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:00.152+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:00.152+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:00.152+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849698&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849698&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849698&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:00.152+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:02.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:02.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:02.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:02.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:02.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:02.181+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:02.181+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849700&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849700&version=): @c{tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849700&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:04.201+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:04.201+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:04.201+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:04.201+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:04.201+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:04.201+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:04.203+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849702&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849702&version=): @c{tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849702&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:06.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:06.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:06.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:06.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:06.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:06.220+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:06.220+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849704&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849704&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849704&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:08.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:08.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:08.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:08.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:08.241+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:08.241+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:08.242+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849706&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849706&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849706&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:10.256+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:10.256+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:10.256+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:10.256+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:10.256+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:10.256+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:10.256+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849708&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849708&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849708&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:12.271+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849710&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849710&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849710&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:14.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:14.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:14.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:14.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:14.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:14.296+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:14.296+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:14.297+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849712&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849712&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849712&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:16.324+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724849714&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724849714&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724849714&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:18.339+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849716&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849716&version=): @c{tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849716&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849718&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849718&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849718&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:20.367+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:22.376+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849720&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849720&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849720&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:24.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:24.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:24.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:24.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:24.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:24.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:24.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:24.384+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:24.384+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849722&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849722&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849722&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:26.404+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849724&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849724&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849724&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:28.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:28.425+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849726&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849726&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849726&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:30.451+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849728&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849728&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849728&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849730&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849730&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724849730&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:32.467+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:34.474+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849732&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849732&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849732&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:36.509+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849734&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849734&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849734&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:38.511+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724849736&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724849736&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724849736&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:40.535+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724849738&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724849738&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724849738&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:42.537+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849740&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849740&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849740&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:44.553+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849742&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849742&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849742&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:46.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849744&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849744&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849744&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:46.571+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:48.580+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849746&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849746&version=): @c{tri://172.31.128.1:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849746&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:50.588+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:50.589+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849748&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849748&version=): @c{://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849748&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:52.614+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849750&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849750&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849750&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:54.629+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724849752&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724849752&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724849752&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:56.640+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849754&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849754&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849754&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849756&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849756&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849756&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:55:58.654+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:00.674+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849758&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849758&version=): @c{tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849758&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849760&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849760&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849760&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:02.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:04.710+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849762&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849762&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849762&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:06.729+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849764&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849764&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849764&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:06.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:08.747+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849766&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849766&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849766&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849768&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849768&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849768&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:10.766+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:12.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:12.793+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724849770&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724849770&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724849770&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:14.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.807+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:14.808+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849772&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849772&version=): @c{tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849772&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:16.822+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:16.823+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724849774&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724849774&version=): @c{://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724849774&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:18.830+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849776&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849776&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849776&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849778&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849778&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849778&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:20.852+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:22.873+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849780&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849780&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849780&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724849782&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724849782&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724849782&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:24.897+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:26.920+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849784&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849784&version=): @c{://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849784&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:28.935+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849786&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849786&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849786&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.953+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:30.954+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849788&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849788&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849788&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849790&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849790&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849790&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:32.969+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:34.983+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849792&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849792&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849792&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:36.996+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849794&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849794&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849794&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849796&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849796&version=): @c{tri://172.31.128.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849796&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:39.017+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:41.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:41.021+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849799&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849799&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849799&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:43.037+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849801&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849801&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849801&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.046+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849803&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849803&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849803&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:45.045+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:47.066+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724849805&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724849805&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724849805&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:49.087+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:49.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:49.090+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724849807&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724849807&version=): @c{://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724849807&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849809&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849809&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849809&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:51.097+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849811&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849811&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849811&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:53.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849813&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849813&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724849813&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:55.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:57.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T20:56:58.167+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Blockchain.please check configuration."} +{"level":"ERROR","time":"2024-08-28T22:54:03.420+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:03.420+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:03.421+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856842&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856842&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856842&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:05.446+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:05.447+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:05.447+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856843&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856843&version=): @c{tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856843&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:07.462+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:07.462+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:07.462+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:07.462+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856845&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856845&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856845&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:09.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:09.491+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:09.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:09.491+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856847&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856847&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856847&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:11.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:11.516+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:11.516+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:11.516+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724856849&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724856849&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724856849&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:13.543+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:13.543+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:13.543+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:13.543+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:13.543+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856851&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856851&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856851&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:15.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:15.568+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:15.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:15.568+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856853&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856853&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856853&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:15.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:17.595+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:17.595+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.goods/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:17.595+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:17.595+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:17.595+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856855&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856855&version=): @c{tri://172.31.128.1:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856855&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:19.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:19.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:19.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:19.617+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:19.617+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856857&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856857&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856857&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:21.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:21.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:21.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:21.633+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:21.633+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856859&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856859&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856859&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:23.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:23.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:23.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:23.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:23.643+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:23.643+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856861&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856861&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856861&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:25.669+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:25.669+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:25.669+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:25.669+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:25.669+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:25.669+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724856863&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724856863&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1724856863&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:27.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:27.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:27.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:27.715+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:27.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:27.715+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856865&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856865&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856865&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:29.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:29.729+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:29.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:29.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:29.729+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856867&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856867&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856867&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:29.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:31.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:31.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:31.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:31.744+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:31.744+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:31.744+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724856869&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724856869&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724856869&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:33.761+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:33.761+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:33.761+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:33.761+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:33.761+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:33.761+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:33.761+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856871&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856871&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856871&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:35.780+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:35.780+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:35.780+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:35.780+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:35.780+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:35.780+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856873&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856873&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856873&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:35.780+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:37.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:37.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:37.800+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:37.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:37.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:37.800+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:37.800+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856875&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856875&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856875&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:39.824+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:39.824+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:39.824+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:39.824+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:39.824+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:39.824+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:39.824+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856877&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856877&version=): @c{tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856877&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:41.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:41.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:41.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:41.840+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:41.840+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:41.840+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:41.840+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856879&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856879&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856879&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:43.865+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856881&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856881&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856881&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:45.888+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856883&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856883&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856883&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:47.913+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856885&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856885&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856885&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:49.938+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856887&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856887&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856887&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:51.956+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856889&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856889&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856889&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:53.979+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856891&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856891&version=): @c{tri://172.31.128.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856891&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:56.005+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724856893&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724856893&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724856893&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856896&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856896&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856896&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:54:58.020+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ChildrenCompetition/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:00.037+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856898&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856898&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856898&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856900&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856900&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1724856900&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:02.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.074+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.074+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.073+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:04.074+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.074+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:04.074+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856902&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856902&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856902&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:06.101+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856904&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856904&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856904&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:08.127+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856906&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856906&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856906&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:10.135+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856908&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856908&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856908&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:12.168+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.169+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.169+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.169+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.169+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.169+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.169+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:12.185+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:12.185+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856910&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856910&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856910&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856912&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856912&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856912&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:14.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:16.212+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856914&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856914&version=): @c{tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856914&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724856916&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724856916&version=): @c{://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1724856916&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:18.235+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.257+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856918&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856918&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856918&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:20.258+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:22.273+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856920&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856920&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856920&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:24.298+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:24.299+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856922&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856922&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856922&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:26.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.309+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:26.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.310+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856924&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856924&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856924&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:26.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:26.310+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:28.337+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856926&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856926&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856926&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856928&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856928&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856928&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:30.349+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856930&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856930&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856930&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:32.362+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:34.387+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856932&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856932&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856932&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:36.401+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856934&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856934&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856934&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724856936&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724856936&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1724856936&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:38.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:40.439+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856938&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856938&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856938&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.464+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:42.465+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856940&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856940&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856940&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.488+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856942&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856942&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856942&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.493+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724856944&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724856944&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1724856944&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856946&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856946&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856946&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:48.517+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.530+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:50.531+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856948&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856948&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856948&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:52.557+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856950&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856950&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856950&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.573+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856952&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856952&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856952&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856954&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856954&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856954&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:56.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:55:58.613+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856956&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856956&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856956&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:00.616+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856958&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856958&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856958&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:02.633+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856960&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856960&version=): @c{://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856960&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.660+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856962&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856962&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856962&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.659+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:04.660+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.678+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.677+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:06.678+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856964&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856964&version=): @c{tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856964&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:08.702+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856966&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856966&version=): @c{tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856966&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:10.715+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724856968&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724856968&version=): @c{://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1724856968&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:12.732+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856970&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856970&version=): @c{://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856970&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Draw/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:14.747+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724856972&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724856972&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Draw?app.version=&application=dubbo.io&async=false&bean.name=DrawClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Draw&loadbalance=&metadata-type=local&methods.SetResult.loadbalance=&methods.SetResult.retries=0&methods.SetResult.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1724856972&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856974&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856974&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856974&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:16.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:18.789+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856976&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856976&version=): @c{tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856976&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:18.788+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856978&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856978&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856978&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:20.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:22.826+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856980&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856980&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856980&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Draw/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Draw/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Push/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:24.853+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856982&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856982&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856982&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856984&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856984&version=): @c{tri://172.31.128.1:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856984&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:26.879+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856986&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856986&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724856986&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:28.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:30.934+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-28T22:56:31.940+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.ArtworkThirdParty.please check configuration."} +{"level":"ERROR","time":"2024-08-29T10:32:59.111+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-29T10:32:59.111+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-29T10:32:59.112+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724898778&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724898778&version=): @c{tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724898778&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-08-29T10:33:01.137+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-08-29T10:33:01.137+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-08-29T10:33:01.137+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724898779&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724898779&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1724898779&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:14.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:14.180+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:14.184+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428653&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428653&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428653&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:16.205+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:16.205+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:16.205+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428654&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428654&version=): @c{tri://172.31.128.1:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428654&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:18.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:18.222+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:18.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:18.222+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428656&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428656&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428656&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:20.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:20.234+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:20.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:20.234+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428658&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428658&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428658&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:22.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:22.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:22.260+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:22.260+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428660&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428660&version=): @c{tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428660&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:24.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:24.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:24.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:24.289+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:24.289+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428662&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428662&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428662&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:26.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:26.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:26.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:26.309+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:26.309+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428664&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428664&version=): @c{://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428664&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:28.326+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:28.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:28.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:28.326+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:28.326+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428666&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428666&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428666&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:30.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:30.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:30.347+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:30.347+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:30.347+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428668&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428668&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428668&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:32.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:32.358+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:32.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:32.358+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:32.358+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428670&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428670&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428670&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:34.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:34.387+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:34.387+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428672&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428672&version=): @c{tri://172.31.128.1:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428672&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:34.388+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:34.388+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:34.388+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:36.400+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:36.400+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:36.400+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:36.400+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:36.400+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:36.400+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428674&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428674&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428674&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:38.412+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:38.412+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:38.412+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:38.412+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:38.412+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:38.412+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428676&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428676&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428676&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:40.442+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:40.442+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:40.442+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:40.442+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:40.442+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:40.442+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428678&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428678&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428678&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:42.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:42.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:42.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:42.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:42.470+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:42.470+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428680&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428680&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428680&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:44.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:44.491+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/artistinfo.AsCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:44.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:44.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:44.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:44.491+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:44.491+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428682&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428682&version=): @c{tri://172.31.128.1:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428682&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:46.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:46.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:46.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:46.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:46.515+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:46.515+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:46.515+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428684&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428684&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428684&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:48.525+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:48.525+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:48.525+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:48.525+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:48.525+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:48.525+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:48.525+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428686&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428686&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428686&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:50.539+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:50.539+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:50.539+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:50.539+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:50.539+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:50.539+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:50.539+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428688&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428688&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428688&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:52.567+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:52.567+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:52.567+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:52.567+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:52.567+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:52.567+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:52.567+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428690&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428690&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428690&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:54.587+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428692&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428692&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428692&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:56.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:56.612+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:56.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:56.612+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:56.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:56.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:56.616+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ExhibitionF/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:56.616+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428694&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428694&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ExhibitionF?app.version=&application=dubbo.io&async=false&bean.name=ExhibitionFClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ExhibitionF&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428694&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:44:58.724+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428696&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428696&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428696&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:00.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:00.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:00.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:00.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:00.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:00.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:00.747+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:00.748+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1725428698&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1725428698&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1725428698&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:02.770+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:02.770+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:02.770+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428700&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428700&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428700&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:02.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:02.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:02.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:02.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:02.771+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.794+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:04.795+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428702&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428702&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428702&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:06.811+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428704&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428704&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428704&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:08.825+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428706&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428706&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428706&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:10.839+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428708&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428708&version=): @c{tri://172.31.128.1:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428708&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428710&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428710&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725428710&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:12.865+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:14.894+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1725428712&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1725428712&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1725428712&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:16.915+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.915+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:16.916+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428714&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428714&version=): @c{://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428714&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:18.942+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:18.943+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428716&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428716&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428716&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:20.952+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428718&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428718&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428718&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:22.979+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428720&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428720&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428720&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:25.003+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428722&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428722&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428722&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.019+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1725428725&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1725428725&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1725428725&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:27.018+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.039+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.038+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:29.039+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:29.039+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428727&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428727&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428727&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:31.066+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428729&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428729&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428729&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:33.091+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1725428731&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1725428731&version=): @c{://172.31.128.1:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1725428731&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:35.117+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:35.118+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1725428733&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1725428733&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1725428733&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:37.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:37.134+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428735&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428735&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428735&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ChildrenCompetition/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:39.156+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428737&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428737&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428737&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:41.169+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.169+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428739&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428739&version=): @c{tri://172.31.128.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428739&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:41.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428741&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428741&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428741&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:43.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:45.187+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:45.188+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1725428743&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1725428743&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1725428743&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:47.213+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428745&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428745&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428745&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:49.231+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428747&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428747&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428747&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:51.249+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428749&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428749&version=): @c{tri://172.31.128.1:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428749&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:53.265+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428751&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428751&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428751&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:55.280+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:55.281+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428753&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428753&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428753&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:57.302+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1725428755&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1725428755&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1725428755&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:45:59.317+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428757&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428757&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428757&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428759&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428759&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428759&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:01.334+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:03.354+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428761&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428761&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428761&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:05.369+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:05.370+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428763&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428763&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428763&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428765&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428765&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428765&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:07.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.419+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.418+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:09.419+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:09.419+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428767&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428767&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428767&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:11.430+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428769&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428769&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428769&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:13.444+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428771&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428771&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428771&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428773&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428773&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428773&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:15.455+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1725428775&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1725428775&version=): @c{://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1725428775&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:17.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.498+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428777&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428777&version=): @c{tri://172.31.128.1:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428777&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:19.497+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:21.520+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428779&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428779&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428779&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:23.541+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428781&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428781&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428781&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:25.565+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:25.566+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428783&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428783&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428783&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:27.588+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428785&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428785&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725428785&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:29.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T13:46:30.621+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.order.please check configuration."} +{"level":"ERROR","time":"2024-09-04T14:19:08.221+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-04T14:19:08.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-04T14:19:08.222+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1725430747&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1725430747&version=): @c{://172.31.128.1:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1725430747&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:08:51.959+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:08:51.959+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:08:52.313+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847730&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847730&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847730&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:08:53.976+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:08:53.976+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:08:53.976+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847732&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847732&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847732&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:08:55.988+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:08:55.990+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:08:55.990+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:08:55.990+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725847733&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725847733&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1725847733&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:08:58.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:08:58.003+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:08:58.003+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:08:58.003+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847735&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847735&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847735&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:00.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:00.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:00.022+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:00.023+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1725847738&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1725847738&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1725847738&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:02.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:02.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:02.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:02.043+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:02.044+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847740&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847740&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847740&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:04.070+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:04.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:04.070+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847742&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847742&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847742&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:06.088+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:06.089+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:06.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:06.089+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:06.089+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847744&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847744&version=): @c{://172.31.128.1:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847744&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:08.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:08.114+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:08.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:08.114+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:08.114+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847746&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847746&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847746&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:10.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:10.128+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:10.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:10.128+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:10.128+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847748&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847748&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847748&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:12.136+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:12.136+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:12.136+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:12.136+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:12.136+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:12.136+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847750&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847750&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847750&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:14.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:14.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:14.161+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:14.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:14.161+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:14.161+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847752&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847752&version=): @c{://172.31.128.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847752&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:16.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:16.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:16.181+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:16.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:16.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:16.181+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847754&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847754&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847754&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:18.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:18.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:18.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:18.193+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:18.193+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:18.193+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847756&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847756&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847756&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:20.206+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:20.206+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:20.206+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:20.206+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:20.206+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:20.206+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847758&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847758&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847758&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:22.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:22.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:22.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:22.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:22.221+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:22.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:22.221+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847760&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847760&version=): @c{tri://172.31.128.1:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847760&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:24.248+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:24.248+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:24.248+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:24.248+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:24.248+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:24.248+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:24.248+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1725847762&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1725847762&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1725847762&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-09T10:09:26.274+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:26.274+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:26.274+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:26.274+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:26.274+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-09T10:09:26.274+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-09T10:09:26.274+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847764&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847764&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1725847764&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-13T16:26:37.610+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-13T16:26:37.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-13T16:26:37.611+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726215996&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726215996&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726215996&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-13T16:28:38.869+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-13T16:28:38.869+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-13T16:28:38.870+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216117&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216117&version=): @c{://172.31.128.1:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216117&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-13T16:28:40.893+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-13T16:28:40.893+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-13T16:28:40.893+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216118&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216118&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216118&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-13T16:28:42.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-13T16:28:42.916+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-13T16:28:42.916+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-13T16:28:42.916+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1726216120&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1726216120&version=): @c{tri://172.31.128.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1726216120&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-13T16:28:44.928+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-13T16:28:44.928+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-13T16:28:44.928+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-13T16:28:44.928+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216122&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216122&version=): @c{tri://172.31.128.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726216122&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-14T11:43:45.791+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-14T11:43:45.791+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-14T11:43:45.803+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726285424&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726285424&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1726285424&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-14T11:43:47.796+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-14T11:43:47.796+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-14T11:43:47.796+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1726285425&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1726285425&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1726285425&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:05.048+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:05.048+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:05.049+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162284&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162284&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162284&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:07.068+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:07.068+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:07.068+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162285&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162285&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162285&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:09.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:09.085+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:09.085+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:09.085+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162287&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162287&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162287&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:11.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:11.094+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:11.094+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727162289&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727162289&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727162289&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:11.094+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:13.112+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:13.112+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:13.112+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:13.113+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162291&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162291&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162291&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:15.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:15.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:15.133+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:15.133+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:15.133+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162293&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162293&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162293&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:17.146+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:17.146+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:17.146+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:17.146+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:17.146+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162295&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162295&version=): @c{tri://192.168.88.34:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162295&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:19.165+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:19.165+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:19.165+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:19.165+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:19.166+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727162297&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727162297&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727162297&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:21.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:21.182+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:21.182+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:21.182+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:21.182+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1727162299&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1727162299&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1727162299&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:23.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:23.199+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:23.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:23.199+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:23.199+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162301&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162301&version=): @c{://192.168.88.34:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162301&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:25.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:25.222+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:25.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:25.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:25.222+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:25.222+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162303&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162303&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162303&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:27.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:27.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:27.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:27.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:27.250+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:27.250+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162305&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162305&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162305&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:29.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:29.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:29.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:29.270+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:29.270+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:29.270+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162307&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162307&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162307&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:31.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:31.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:31.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:31.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:31.289+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:31.290+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162309&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162309&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162309&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:33.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:33.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:33.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:33.309+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:33.309+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:33.309+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162311&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162311&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162311&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:35.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:35.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:35.325+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:35.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:35.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:35.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:35.327+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162313&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162313&version=): @c{tri://192.168.88.34:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162313&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:37.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:37.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:37.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:37.346+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:37.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:37.347+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162315&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162315&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162315&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:37.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:39.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:39.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:39.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:39.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:39.353+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:39.353+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:39.354+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162317&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162317&version=): @c{tri://192.168.88.34:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162317&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:41.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:41.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:41.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:41.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:41.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:41.364+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:41.365+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162319&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162319&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162319&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:43.378+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:43.378+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:43.378+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:43.378+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:43.378+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:43.378+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:43.379+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1727162321&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1727162321&version=): @c{://192.168.88.34:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1727162321&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:45.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:45.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:45.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:45.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:45.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:45.393+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:45.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:45.394+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162323&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162323&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162323&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:47.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:47.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:47.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:47.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:47.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:47.411+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:47.411+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:47.413+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162325&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162325&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162325&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:49.419+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:49.419+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:49.419+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:49.419+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:49.419+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:49.419+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:49.419+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:49.421+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162327&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162327&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162327&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:51.433+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:51.433+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:51.433+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:51.433+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:51.433+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:51.434+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162329&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162329&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162329&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:51.433+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:51.433+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:53.456+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1727162331&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1727162331&version=): @c{://192.168.88.34:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1727162331&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:55.461+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162333&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162333&version=): @c{://192.168.88.34:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162333&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:57.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:57.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:57.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:57.481+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:57.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:57.483+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:57.483+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162335&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162335&version=): @c{tri://192.168.88.34:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162335&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:18:57.483+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:57.483+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/artistinfo.AsCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:18:59.503+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162337&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162337&version=): @c{tri://192.168.88.34:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162337&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:01.521+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:19:01.523+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162339&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162339&version=): @c{://192.168.88.34:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162339&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:03.537+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162341&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162341&version=): @c{://192.168.88.34:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162341&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:05.553+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162343&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162343&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162343&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:05.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:07.573+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162345&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162345&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162345&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162347&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162347&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727162347&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-24T15:19:09.597+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.610+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-24T15:19:11.611+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1727162349&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1727162349&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1727162349&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:41.447+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:41.447+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:41.448+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1727229040&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1727229040&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1727229040&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:43.453+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:43.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:43.453+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229041&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229041&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229041&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:45.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:45.470+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:45.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:45.470+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229043&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229043&version=): @c{tri://192.168.88.34:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229043&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:47.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:47.494+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:47.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:47.495+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229045&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229045&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229045&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:49.514+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:49.514+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229047&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229047&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229047&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:49.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:49.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:51.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:51.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:51.538+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:51.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:51.538+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229049&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229049&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229049&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:53.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:53.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:53.552+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:53.552+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:53.552+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1727229051&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1727229051&version=): @c{://192.168.88.34:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1727229051&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:55.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:55.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:55.577+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:55.577+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:55.577+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229053&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229053&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229053&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:57.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:57.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:57.585+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:57.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:57.585+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229055&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229055&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229055&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:50:59.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:59.615+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:50:59.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:59.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:50:59.616+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229057&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229057&version=): @c{://192.168.88.34:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229057&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:51:01.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:01.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:01.640+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:51:01.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:01.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:01.640+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229059&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229059&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229059&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:51:03.661+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:03.661+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:03.661+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:03.661+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:03.661+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:51:03.661+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229061&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229061&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727229061&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-25T09:51:05.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:05.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:05.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:05.678+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-25T09:51:05.678+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-25T09:51:05.678+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.34:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727229063&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.34:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727229063&version=): @c{tri://192.168.88.34:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1727229063&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-27T18:07:18.323+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-27T18:07:18.323+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-27T18:07:18.324+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727431637&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727431637&version=): @c{://192.168.88.34:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727431637&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-27T18:07:21.359+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Approval.please check configuration."} +{"level":"ERROR","time":"2024-09-27T18:08:09.130+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-09-27T18:08:09.130+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-09-27T18:08:09.131+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.34:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727431688&version= register registry zookeeper://172.16.100.91:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-172.16.100.91%3A2181&simplified=false error, error message is register(url:://192.168.88.34:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727431688&version=): @c{://192.168.88.34:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1727431688&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-09-27T18:08:12.158+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Approval.please check configuration."} +{"level":"ERROR","time":"2024-10-11T10:27:57.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-11T10:27:57.480+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T10:27:57.492+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.26.176.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728613676&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.26.176.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728613676&version=): @c{://172.26.176.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728613676&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-11T10:28:00.517+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Approval.please check configuration."} +{"level":"ERROR","time":"2024-10-11T10:53:16.391+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-11T10:53:16.391+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T10:53:16.394+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.26.176.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728615195&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.26.176.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728615195&version=): @c{://172.26.176.1:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728615195&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-11T10:53:19.426+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Approval.please check configuration."} +{"level":"ERROR","time":"2024-10-11T14:07:45.811+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-11T14:10:11.576+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-11T14:10:11.576+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:10:20.991+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:10:20.991+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:34:36.527+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-11T14:34:49.235+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:35:35.147+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:51:18.506+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:51:28.624+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:51:38.728+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:51:48.826+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:51:58.932+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:52:09.039+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:52:19.152+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:52:29.237+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:52:39.339+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:52:49.478+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:52:59.553+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:53:09.640+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:53:19.732+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T14:53:29.842+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T15:28:25.400+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-11T15:29:05.988+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T15:33:47.784+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-11T15:36:40.509+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-11T15:36:40.509+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-11T15:38:59.268+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-11T15:38:59.269+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T15:39:00.387+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T15:41:49.688+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-11T15:41:49.688+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Approval/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:41.342+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:41.342+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:41.343+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1728889420&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1728889420&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1728889420&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T15:03:43.357+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:43.357+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:43.357+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889421&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889421&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889421&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T15:03:45.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:45.381+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:45.381+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:45.382+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728889423&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728889423&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728889423&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T15:03:47.409+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:47.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:47.410+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:47.410+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889425&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889425&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889425&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T15:03:49.435+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:49.435+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:49.435+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:49.436+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889427&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889427&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889427&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T15:03:51.446+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:51.446+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:51.446+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:51.446+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:51.446+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889429&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889429&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728889429&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T15:03:53.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:53.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:53.470+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T15:03:53.470+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T15:03:53.470+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1728889431&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1728889431&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1728889431&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:31:45.947+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:45.947+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:31:45.948+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898304&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898304&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898304&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:31:47.972+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:47.972+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:31:47.972+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898305&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898305&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&max-call-recv-msg-size=80000000&max-call-send-msg-size=80000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898305&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:31:49.987+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:49.987+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:31:49.987+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:49.987+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898307&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898307&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898307&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:31:51.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:51.998+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:31:51.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:51.998+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1728898309&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1728898309&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1728898309&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:31:54.021+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:54.022+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:31:54.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:54.022+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898311&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898311&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898311&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:31:56.040+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:56.040+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:56.040+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:31:56.040+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:56.040+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728898314&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728898314&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728898314&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:31:58.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:58.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:58.070+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:31:58.070+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:31:58.070+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898316&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898316&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898316&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:00.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:00.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:00.073+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:00.074+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:00.074+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898318&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898318&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898318&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:02.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:02.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:02.086+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:02.086+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:02.086+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898320&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898320&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898320&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:04.108+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:04.109+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:04.109+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:04.108+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:04.109+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898322&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898322&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898322&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:06.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:06.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:06.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:06.122+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:06.122+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.oa.meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:06.122+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898324&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898324&version=): @c{tri://192.168.88.129:/com.fontree.microservices.oa.meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.oa.meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898324&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:08.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:08.139+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:08.139+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:08.139+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:08.139+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:08.139+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898326&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898326&version=): @c{://192.168.88.129:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898326&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:10.154+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:10.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:10.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:10.155+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:10.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:10.155+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1728898328&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1728898328&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1728898328&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:12.167+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:12.167+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:12.167+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:12.167+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:12.167+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:12.167+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1728898330&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1728898330&version=): @c{://192.168.88.129:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1728898330&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:14.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:14.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:14.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:14.181+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:14.181+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:14.181+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898332&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898332&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898332&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:16.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:16.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:16.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:16.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:16.196+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:16.197+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ECard/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:16.197+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1728898334&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1728898334&version=): @c{://192.168.88.129:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1728898334&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:18.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:18.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:18.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:18.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:18.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:18.208+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:18.209+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898336&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898336&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898336&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:20.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:20.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:20.225+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:20.225+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:20.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:20.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:20.225+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1728898338&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1728898338&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1728898338&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:22.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:22.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:22.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:22.250+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:22.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:22.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:22.250+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898340&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898340&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898340&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:24.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:24.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:24.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:24.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:24.273+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:24.273+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:24.275+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898342&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898342&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898342&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:26.286+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898344&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898344&version=): @c{tri://192.168.88.129:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898344&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:28.316+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:28.316+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:28.316+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:28.316+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:28.316+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:28.316+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:28.316+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:28.317+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1728898346&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1728898346&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1728898346&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:30.321+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:30.322+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:30.321+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:30.322+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:30.322+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:30.322+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:30.322+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:30.322+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898348&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898348&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898348&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:32.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:32.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:32.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:32.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:32.337+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:32.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:32.337+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:32.338+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898350&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898350&version=): @c{tri://192.168.88.129:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898350&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:34.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:34.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:34.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:34.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:34.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:34.365+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:34.367+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898352&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898352&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898352&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:34.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:36.378+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898354&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898354&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898354&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:36.376+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898356&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898356&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898356&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:38.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:40.427+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:40.428+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898358&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898358&version=): @c{://192.168.88.129:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898358&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:42.443+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898360&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898360&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898360&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:44.469+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898362&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898362&version=): @c{://192.168.88.129:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898362&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:46.492+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.492+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:46.494+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898364&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898364&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&max-call-recv-msg-size=8000000&max-call-send-msg-size=8000000&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898364&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.512+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:48.511+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:48.513+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898366&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898366&version=): @c{tri://192.168.88.129:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898366&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/warehouse.Warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:50.538+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898368&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898368&version=): @c{tri://192.168.88.129:/warehouse.Warehouse?app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=warehouse.Warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898368&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:52.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/buy.buy/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:52.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898370&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898370&version=): @c{tri://192.168.88.129:/buy.buy?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=buy.buy&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898370&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:52.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.589+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:54.589+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898372&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898372&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898372&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:56.615+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898374&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898374&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898374&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/artistinfo.AsCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:32:58.640+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898376&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898376&version=): @c{tri://192.168.88.129:/artistinfo.AsCopyright?app.version=&application=dubbo.io&async=false&bean.name=AsCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=artistinfo.AsCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898376&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:33:00.664+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728898378&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728898378&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1728898378&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T17:33:02.691+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.691+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.691+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T17:33:02.692+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898380&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898380&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728898380&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-14T18:25:34.417+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-14T18:25:34.417+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-14T18:25:34.424+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728901533&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728901533&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1728901533&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-17T14:21:11.564+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-17T14:21:11.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-17T14:21:11.565+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146070&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146070&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146070&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-17T14:21:13.591+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-17T14:21:13.591+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-17T14:21:13.591+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146071&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146071&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146071&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-17T14:21:15.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-17T14:21:15.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-17T14:21:15.609+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ChildrenCompetition/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-17T14:21:15.609+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146073&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146073&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1729146073&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-17T14:21:17.618+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-17T14:21:17.618+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-17T14:21:17.618+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-17T14:21:17.618+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.129:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1729146075&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=30s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.129:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1729146075&version=): @c{tri://192.168.88.129:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1729146075&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-10-18T11:35:05.006+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-18T11:35:05.102+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-18T11:35:05.228+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-18T11:35:05.649+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-18T11:35:05.757+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-18T11:35:05.845+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-18T11:35:05.936+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-18T11:35:09.387+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.InCircleArticleProvider.please check configuration."} +{"level":"ERROR","time":"2024-10-18T11:41:21.848+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/all } {query 15 0 } {body 15 0 \n\n\n\n\n\n\n\n\n\n\n\n\r\n{\r\n \"page\": 1,\r\n \"pageSize\": 10,\r\n \"staffName\": null,\r\n \"departmentUID\": null,\r\n \"month\": null,\r\n \"status\": null,\r\n \"startDate\": \"2024-08-26\",\r\n \"endDate\": \"2024-09-25\"\r\n} } {ip 15 0 ::1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-10-18T11:41:21.850+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-10-18T11:41:21.952+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:101.7822ms"} +{"level":"ERROR","time":"2024-10-18T11:41:21.974+0800","caller":"middleware/check_login.go:67","message":"---------end帐号info时间:124.1598ms"} +{"level":"ERROR","time":"2024-10-18T11:41:22.089+0800","caller":"middleware/check_login.go:81","message":"---------end帐号,rule的userInfo:时间:239.4506ms"} +{"level":"ERROR","time":"2024-10-18T11:41:22.089+0800","caller":"middleware/check_login.go:115","message":"---------check_login:总时间239.4506ms"} +{"level":"ERROR","time":"2024-10-18T11:41:22.141+0800","caller":"middleware/check_auth.go:82","message":"---------end 权限总时间:51.9863ms"} +{"level":"ERROR","time":"2024-10-18T11:41:22.174+0800","caller":"middleware/check_auth.go:82","message":"---------end 权限总时间:32.7432ms"} +{"level":"ERROR","time":"2024-10-18T11:41:22.769+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: invalid memory address or nil pointer dereference} {request 15 0 POST /oa/collection/all HTTP/1.1\r\nHost: localhost:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 46d71a72d8d845ad7ed23eba9bdde260e635407190c2ce1bf7fd22088e41682ea07773ec65cae8946d2003f264d55961f96e0fc5da10eb96d3a348c1664e9644f6c82e1f49c0e5df9fe80044b05dd80e2cb2b43d4167cf3f2b50f74770249ae9ed440effee11e9458117f09285342f823dc7ad8d45c8912a4b0eb31b35546646b31bce9727eb443bb90eb8cfd7d13177889da27058794d94eb7a05681caedc254913b918c5bea65621ca29c61b4a2cbe9777e026b6cf806458a8832f49081c572b176bf2a7dbc1a3cdc27f41c63f0eaabb2ad9b0fdad3b7165f64ce793ad32fa2665626a44e0cfc54be6a2312bef3da2bc0bb1d021f7fe77d536fce074e7c348e1d3b710e0d7c268e52b0bb443815348d155cac1aa183c79c4571b2d35bad0997708f773eddaf1088a6430ab12744580365852a02553fc066d7c9cef70df05f6\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 209\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 264 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x65\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x30c\npanic({0x32460e0, 0x60b7770})\n\tD:/Go/src/runtime/panic.go:838 +0x207\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.AutoLog.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/record_rule.go:184 +0x7f0\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.CheckAuth.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/check_auth.go:83 +0x642\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.AutoLog.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/record_rule.go:119 +0x1e4\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.CheckAuth.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/check_auth.go:83 +0x642\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.CheckLogin.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/check_login.go:116 +0xa7f\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.AutoLog.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/record_rule.go:119 +0x1e4\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x76\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x38c\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc0006a6100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xa4e\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001324510, 0xc0006a6100)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x2f0\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc0006a6100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x82\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc0006a6100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xe7\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0006a9860, 0xc0006a6100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x671\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0006a9860, {0x41662d0?, 0xc000368380}, 0xc000142c00)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1dd\nnet/http.serverHandler.ServeHTTP({0x415d930?}, {0x41662d0, 0xc000368380}, 0xc000142c00)\n\tD:/Go/src/net/http/server.go:2916 +0x43b\nnet/http.(*conn).serve(0xc0000bc820, {0x41679d0, 0xc001443410})\n\tD:/Go/src/net/http/server.go:1966 +0x5d7\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x4db\n }"} +{"level":"ERROR","time":"2024-10-18T11:43:32.100+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/collection/all } {query 15 0 } {body 15 0 \n\n\n\n\n\n\n\n\n\n\n\n\r\n{\r\n \"page\": 1,\r\n \"pageSize\": 10,\r\n \"staffName\": null,\r\n \"departmentUID\": null,\r\n \"month\": null,\r\n \"status\": null,\r\n \"startDate\": \"2024-08-26\",\r\n \"endDate\": \"2024-09-25\"\r\n} } {ip 15 0 ::1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-10-18T11:43:32.102+0800","caller":"middleware/check_login.go:30","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2024-10-18T11:43:32.180+0800","caller":"middleware/check_login.go:42","message":"---------end帐号微服务解密:时间:78.105ms"} +{"level":"ERROR","time":"2024-10-18T11:43:32.200+0800","caller":"middleware/check_login.go:67","message":"---------end帐号info时间:98.5919ms"} +{"level":"ERROR","time":"2024-10-18T11:43:32.219+0800","caller":"middleware/check_login.go:81","message":"---------end帐号,rule的userInfo:时间:117.2897ms"} +{"level":"ERROR","time":"2024-10-18T11:43:32.219+0800","caller":"middleware/check_login.go:115","message":"---------check_login:总时间117.2897ms"} +{"level":"ERROR","time":"2024-10-18T11:43:32.268+0800","caller":"middleware/check_auth.go:82","message":"---------end 权限总时间:49.4911ms"} +{"level":"ERROR","time":"2024-10-18T11:43:32.295+0800","caller":"middleware/check_auth.go:82","message":"---------end 权限总时间:26.7118ms"} +{"level":"ERROR","time":"2024-10-18T11:43:41.880+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-18T11:43:41.880+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:43:41.880+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:43:41.880+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:43:41.880+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:43:41.880+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-10-18T11:43:41.880+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:47:00.572+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: invalid memory address or nil pointer dereference} {request 15 0 POST /oa/collection/all HTTP/1.1\r\nHost: localhost:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 46d71a72d8d845ad7ed23eba9bdde260e635407190c2ce1bf7fd22088e41682ea07773ec65cae8946d2003f264d55961f96e0fc5da10eb96d3a348c1664e9644f6c82e1f49c0e5df9fe80044b05dd80e2cb2b43d4167cf3f2b50f74770249ae9ed440effee11e9458117f09285342f823dc7ad8d45c8912a4b0eb31b35546646b31bce9727eb443bb90eb8cfd7d13177889da27058794d94eb7a05681caedc254913b918c5bea65621ca29c61b4a2cbe9777e026b6cf806458a8832f49081c572b176bf2a7dbc1a3cdc27f41c63f0eaabb2ad9b0fdad3b7165f64ce793ad32fa2665626a44e0cfc54be6a2312bef3da2bc0bb1d021f7fe77d536fce074e7c348e1d3b710e0d7c268e52b0bb443815348d155cac1aa183c79c4571b2d35bad0997708f773eddaf1088a6430ab12744580365852a02553fc066d7c9cef70df05f6\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 209\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 108 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x7a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x729\npanic({0x44929a0, 0x6eb9790})\n\tD:/Go/src/runtime/panic.go:844 +0x25a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.AutoLog.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/record_rule.go:184 +0xc9e\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.CheckAuth.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/check_auth.go:83 +0xa32\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.AutoLog.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/record_rule.go:119 +0x2a5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.CheckAuth.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/check_auth.go:83 +0xa32\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.CheckLogin.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/check_login.go:116 +0x1112\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.AutoLog.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/record_rule.go:119 +0x2a5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x8c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x545\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc001508100)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xbf6\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001d17110, 0xc001508100)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x4e5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0xb8\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xf2\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc001cae4e0, 0xc001508100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x429\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc001cae4e0, {0x5290390, 0xc000308380}, 0xc001354100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xbb\nnet/http.serverHandler.ServeHTTP({0xc00141c1c0}, {0x5290390, 0xc000308380}, 0xc001354100)\n\tD:/Go/src/net/http/server.go:2916 +0x474\nnet/http.(*conn).serve(0xc001792820, {0x5291a20, 0xc001cf8400})\n\tD:/Go/src/net/http/server.go:1966 +0x193c\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x9cf\n }"} +{"level":"ERROR","time":"2024-10-18T11:47:00.574+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Account/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:47:00.574+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Rule/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:47:00.574+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:47:00.574+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Department/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:47:00.574+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.RuleLog/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:47:00.574+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.Position/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-18T11:47:00.574+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-10-21T09:47:37.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.286+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.300+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.311+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.355+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/warehouse.Warehouse/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/warehouse.Warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.395+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.420+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.444+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.457+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.495+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.511+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.528+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.543+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.559+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.657+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.687+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.714+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.729+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ExhibitionF/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ExhibitionF/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.758+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.773+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.789+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.830+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.843+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.928+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.941+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.966+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.oa.meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.oa.meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:37.994+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.008+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.023+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.036+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.067+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.095+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.111+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.125+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.150+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.167+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.179+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/buy.buy/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/buy.buy/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.204+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:38.231+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-21T09:47:41.255+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Journal.please check configuration."} +{"level":"ERROR","time":"2024-10-22T17:09:45.699+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-22T17:09:45.880+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-22T17:09:45.964+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-22T17:09:46.090+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-22T17:09:46.203+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-22T17:09:46.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-22T17:09:46.385+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-10-22T17:09:49.602+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.oa.meeting.please check configuration."} +{"level":"ERROR","time":"2024-10-25T10:28:14.574+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Invoice.please check configuration."} +{"level":"ERROR","time":"2024-11-19T09:48:03.230+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Workbench.please check configuration."} +{"level":"ERROR","time":"2024-11-19T09:49:52.643+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T09:49:53.043+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: index out of range [0] with length 0} {request 15 0 POST /oa/v2/record/miss HTTP/1.1\r\nHost: 127.0.0.1:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 24b2498637d7171a5c9ff0673374f8927d710b7fa17859f9e578817a45d5594e0b5caab3afe0adb0c5fdb67fe208cb6e17d33eb25ae7fa4960208455d5c18b71d692a103149c0c0796ac79d3b61a89cc2d3cd7a9cd12a160ca0c1096e2afc562d2794171ba409b84487110aa05e35c6b09c81e6e394add8ad5b03db6bf4a04032a10528d104d437d36fae4ffd4f8c228e8dcf29db494b8a6596b488db81ee10f50e6dcf3c1c6388084be6903acbfcc0273554e763e9d91ce8b78174fbb07663d5852b31e0e3d7f8a6f1b566d548a4c6580700598703c01148a43d5f66138c4edf9d23962176490772f7c61266d5a6d25133c9ac8193b8e05ecb99b3a8bf2654305e42b004b9679f71ba2ac6a67d8155054cd3a3dceea2cf223b6aece9254d78a2472d4f02417bb123c5019f4468ac07be260af50e84bf3a7d8663948618800a3\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 10\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 74 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x65\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x30c\npanic({0x39fd4e0, 0xc0004513f8})\n\tD:/Go/src/runtime/panic.go:838 +0x207\ngithub.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new.MissRecordForMakeUp(0xa6?)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/service/oa_new/makeUp.go:340 +0x286c\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc001cae200)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x76\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc001cae200)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x447\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc001cae200)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xa4e\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001513680, 0xc001cae200)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x2f0\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc001cae200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0x82\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc001cae200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xe7\ngithub.com/gin-gonic/gin.(*Context).Next(...)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0011c9ba0, 0xc001cae200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x671\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0011c9ba0, {0x45922b8?, 0xc00060c0e0}, 0xc001cae000)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0x1dd\nnet/http.serverHandler.ServeHTTP({0x4589888?}, {0x45922b8, 0xc00060c0e0}, 0xc001cae000)\n\tD:/Go/src/net/http/server.go:2916 +0x43b\nnet/http.(*conn).serve(0xc001ca6000, {0x45939b0, 0xc001742f30})\n\tD:/Go/src/net/http/server.go:1966 +0x5d7\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x4db\n }"} +{"level":"ERROR","time":"2024-11-19T09:52:49.912+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T09:53:16.487+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:53:16.487+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:53:32.121+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:53:32.121+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:53:59.837+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:53:59.837+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:54:17.626+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:54:17.626+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:54:29.133+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:54:29.133+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:54:53.617+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: connection closed\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-19T09:54:53.617+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T09:54:53.617+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:54:53.617+0800","caller":"registry/base_registry.go:187","message":"failed to re-register service :tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1731981147&version=, error{@c{tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1731981147&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T09:55:36.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-19T09:55:36.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-19T09:56:07.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-19T09:56:07.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-19T09:56:07.325+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: index out of range [0] with length 0} {request 15 0 POST /oa/v2/record/miss HTTP/1.1\r\nHost: 127.0.0.1:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 24b2498637d7171a5c9ff0673374f8927d710b7fa17859f9e578817a45d5594e0b5caab3afe0adb0c5fdb67fe208cb6e17d33eb25ae7fa4960208455d5c18b71d692a103149c0c0796ac79d3b61a89cc2d3cd7a9cd12a160ca0c1096e2afc562d2794171ba409b84487110aa05e35c6b09c81e6e394add8ad5b03db6bf4a04032a10528d104d437d36fae4ffd4f8c228e8dcf29db494b8a6596b488db81ee10f50e6dcf3c1c6388084be6903acbfcc0273554e763e9d91ce8b78174fbb07663d5852b31e0e3d7f8a6f1b566d548a4c6580700598703c01148a43d5f66138c4edf9d23962176490772f7c61266d5a6d25133c9ac8193b8e05ecb99b3a8bf2654305e42b004b9679f71ba2ac6a67d8155054cd3a3dceea2cf223b6aece9254d78a2472d4f02417bb123c5019f4468ac07be260af50e84bf3a7d8663948618800a3\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 10\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 130 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x7a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x729\npanic({0x5178780, 0xc0004c8018})\n\tD:/Go/src/runtime/panic.go:844 +0x25a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new.MissRecordForMakeUp(0xc001835800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/service/oa_new/makeUp.go:340 +0x466c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc001835800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x8c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc001835800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x585\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc001835800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xbf6\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001593d10, 0xc001835800)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x4e5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0xb8\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xf2\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc00181d6c0, 0xc001835800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x429\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc00181d6c0, {0x5c0d138, 0xc000762380}, 0xc001835600)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xbb\nnet/http.serverHandler.ServeHTTP({0xc0007622a0}, {0x5c0d138, 0xc000762380}, 0xc001835600)\n\tD:/Go/src/net/http/server.go:2916 +0x474\nnet/http.(*conn).serve(0xc0007a4aa0, {0x5c0e7c0, 0xc001ca0fc0})\n\tD:/Go/src/net/http/server.go:1966 +0x193c\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x9cf\n }"} +{"level":"ERROR","time":"2024-11-19T09:57:41.332+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T09:57:58.081+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:02:17.859+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:02:17.859+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: index out of range [0] with length 0} {request 15 0 POST /oa/v2/record/miss HTTP/1.1\r\nHost: 127.0.0.1:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 24b2498637d7171a5c9ff0673374f8927d710b7fa17859f9e578817a45d5594e0b5caab3afe0adb0c5fdb67fe208cb6e17d33eb25ae7fa4960208455d5c18b71d692a103149c0c0796ac79d3b61a89cc2d3cd7a9cd12a160ca0c1096e2afc562d2794171ba409b84487110aa05e35c6b09c81e6e394add8ad5b03db6bf4a04032a10528d104d437d36fae4ffd4f8c228e8dcf29db494b8a6596b488db81ee10f50e6dcf3c1c6388084be6903acbfcc0273554e763e9d91ce8b78174fbb07663d5852b31e0e3d7f8a6f1b566d548a4c6580700598703c01148a43d5f66138c4edf9d23962176490772f7c61266d5a6d25133c9ac8193b8e05ecb99b3a8bf2654305e42b004b9679f71ba2ac6a67d8155054cd3a3dceea2cf223b6aece9254d78a2472d4f02417bb123c5019f4468ac07be260af50e84bf3a7d8663948618800a3\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 10\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 132 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x7a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x729\npanic({0x5178780, 0xc000068858})\n\tD:/Go/src/runtime/panic.go:844 +0x25a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new.MissRecordForMakeUp(0xc0012a8300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/service/oa_new/makeUp.go:340 +0x466c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc0012a8300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x8c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc0012a8300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x585\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc0012a8300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xbf6\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001c0e1e0, 0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x4e5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0xb8\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xf2\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc001441040, 0xc0012a8300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x429\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc001441040, {0x5c0d138, 0xc001574000}, 0xc0012a8100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xbb\nnet/http.serverHandler.ServeHTTP({0xc0017be000}, {0x5c0d138, 0xc001574000}, 0xc0012a8100)\n\tD:/Go/src/net/http/server.go:2916 +0x474\nnet/http.(*conn).serve(0xc0003f6780, {0x5c0e7c0, 0xc0003e2600})\n\tD:/Go/src/net/http/server.go:1966 +0x193c\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x9cf\n }"} +{"level":"ERROR","time":"2024-11-19T09:58:34.955+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:02:17.868+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:02:17.868+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:02:18.188+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: index out of range [0] with length 0} {request 15 0 POST /oa/v2/record/miss HTTP/1.1\r\nHost: 127.0.0.1:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 24b2498637d7171a5c9ff0673374f8927d710b7fa17859f9e578817a45d5594e0b5caab3afe0adb0c5fdb67fe208cb6e17d33eb25ae7fa4960208455d5c18b71d692a103149c0c0796ac79d3b61a89cc2d3cd7a9cd12a160ca0c1096e2afc562d2794171ba409b84487110aa05e35c6b09c81e6e394add8ad5b03db6bf4a04032a10528d104d437d36fae4ffd4f8c228e8dcf29db494b8a6596b488db81ee10f50e6dcf3c1c6388084be6903acbfcc0273554e763e9d91ce8b78174fbb07663d5852b31e0e3d7f8a6f1b566d548a4c6580700598703c01148a43d5f66138c4edf9d23962176490772f7c61266d5a6d25133c9ac8193b8e05ecb99b3a8bf2654305e42b004b9679f71ba2ac6a67d8155054cd3a3dceea2cf223b6aece9254d78a2472d4f02417bb123c5019f4468ac07be260af50e84bf3a7d8663948618800a3\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 10\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 162 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x7a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x729\npanic({0x5178780, 0xc000068b10})\n\tD:/Go/src/runtime/panic.go:844 +0x25a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new.MissRecordForMakeUp(0xc00055c300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/service/oa_new/makeUp.go:340 +0x466c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc00055c300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x8c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc00055c300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x585\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc00055c300)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xbf6\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001c0e1e0, 0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x4e5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0xb8\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xf2\ngithub.com/gin-gonic/gin.(*Context).Next(0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc001441040, 0xc00055c300)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x429\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc001441040, {0x5c0d138, 0xc000574000}, 0xc00055c100)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xbb\nnet/http.serverHandler.ServeHTTP({0xc0017be000}, {0x5c0d138, 0xc000574000}, 0xc00055c100)\n\tD:/Go/src/net/http/server.go:2916 +0x474\nnet/http.(*conn).serve(0xc0000ba3c0, {0x5c0e7c0, 0xc000148000})\n\tD:/Go/src/net/http/server.go:1966 +0x193c\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x9cf\n }"} +{"level":"ERROR","time":"2024-11-19T10:02:31.157+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:11:26.174+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:11:26.175+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: index out of range [0] with length 0} {request 15 0 POST /oa/v2/record/miss HTTP/1.1\r\nHost: 127.0.0.1:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 24b2498637d7171a5c9ff0673374f8927d710b7fa17859f9e578817a45d5594e0b5caab3afe0adb0c5fdb67fe208cb6e17d33eb25ae7fa4960208455d5c18b71d692a103149c0c0796ac79d3b61a89cc2d3cd7a9cd12a160ca0c1096e2afc562d2794171ba409b84487110aa05e35c6b09c81e6e394add8ad5b03db6bf4a04032a10528d104d437d36fae4ffd4f8c228e8dcf29db494b8a6596b488db81ee10f50e6dcf3c1c6388084be6903acbfcc0273554e763e9d91ce8b78174fbb07663d5852b31e0e3d7f8a6f1b566d548a4c6580700598703c01148a43d5f66138c4edf9d23962176490772f7c61266d5a6d25133c9ac8193b8e05ecb99b3a8bf2654305e42b004b9679f71ba2ac6a67d8155054cd3a3dceea2cf223b6aece9254d78a2472d4f02417bb123c5019f4468ac07be260af50e84bf3a7d8663948618800a3\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 10\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 104 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x7a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x729\npanic({0x5178780, 0xc000381320})\n\tD:/Go/src/runtime/panic.go:844 +0x25a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new.MissRecordForMakeUp(0xc001c02200)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/service/oa_new/makeUp.go:340 +0x466c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc001c02200)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x8c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc001c02200)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x585\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc001c02200)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xbf6\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc0013f7a70, 0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x4e5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0xb8\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xf2\ngithub.com/gin-gonic/gin.(*Context).Next(0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc001364820, 0xc001c02200)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x429\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc001364820, {0x5c0d138, 0xc001c06000}, 0xc001c02000)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xbb\nnet/http.serverHandler.ServeHTTP({0xc00183c1c0}, {0x5c0d138, 0xc001c06000}, 0xc001c02000)\n\tD:/Go/src/net/http/server.go:2916 +0x474\nnet/http.(*conn).serve(0xc0012d2640, {0x5c0e7c0, 0xc00002cf40})\n\tD:/Go/src/net/http/server.go:1966 +0x193c\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x9cf\n }"} +{"level":"ERROR","time":"2024-11-19T10:11:26.177+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:11:26.177+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:11:27.195+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:11:48.915+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:12:02.881+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:12:02.881+0800","caller":"middleware/logging.go:82","message":"[Recovery from panic]{error 26 0 runtime error: index out of range [0] with length 0} {request 15 0 POST /oa/v2/record/miss HTTP/1.1\r\nHost: 127.0.0.1:8084\r\nAccept: */*\r\nAccept-Encoding: gzip, deflate, br\r\nAuthorization: 24b2498637d7171a5c9ff0673374f8927d710b7fa17859f9e578817a45d5594e0b5caab3afe0adb0c5fdb67fe208cb6e17d33eb25ae7fa4960208455d5c18b71d692a103149c0c0796ac79d3b61a89cc2d3cd7a9cd12a160ca0c1096e2afc562d2794171ba409b84487110aa05e35c6b09c81e6e394add8ad5b03db6bf4a04032a10528d104d437d36fae4ffd4f8c228e8dcf29db494b8a6596b488db81ee10f50e6dcf3c1c6388084be6903acbfcc0273554e763e9d91ce8b78174fbb07663d5852b31e0e3d7f8a6f1b566d548a4c6580700598703c01148a43d5f66138c4edf9d23962176490772f7c61266d5a6d25133c9ac8193b8e05ecb99b3a8bf2654305e42b004b9679f71ba2ac6a67d8155054cd3a3dceea2cf223b6aece9254d78a2472d4f02417bb123c5019f4468ac07be260af50e84bf3a7d8663948618800a3\r\nCache-Control: no-cache\r\nConnection: keep-alive\r\nContent-Length: 10\r\nContent-Type: application/json\r\nUser-Agent: PostmanRuntime-ApipostRuntime/1.1.0\r\n\r\n } {stack 15 0 goroutine 39 [running]:\nruntime/debug.Stack()\n\tD:/Go/src/runtime/debug/stack.go:24 +0x7a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1.1()\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:85 +0x729\npanic({0x5588780, 0xc00124a078})\n\tD:/Go/src/runtime/panic.go:844 +0x25a\ngithub.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new.MissRecordForMakeUp(0xc0000c2800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/service/oa_new/makeUp.go:344 +0x484c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.GinRecovery.func1(0xc0000c2800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:106 +0x8c\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.Cors.func1(0xc0000c2800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/cors.go:46 +0x585\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/fonchain_enterprise/fonchain-main/pkg/middleware.NewLogger.func1(0xc0000c2800)\n\tC:/Users/lenovo/Desktop/tyfon-新/fonchain-main/pkg/middleware/logging.go:47 +0xbf6\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-contrib/gzip.(*gzipHandler).Handle(0xc001014780, 0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-contrib/gzip@v0.0.5/handler.go:60 +0x4e5\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.CustomRecoveryWithWriter.func1(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 +0xb8\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.LoggerWithConfig.func1(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/logger.go:240 +0xf2\ngithub.com/gin-gonic/gin.(*Context).Next(0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/context.go:174 +0x7d\ngithub.com/gin-gonic/gin.(*Engine).handleHTTPRequest(0xc0005224e0, 0xc0000c2800)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:620 +0x429\ngithub.com/gin-gonic/gin.(*Engine).ServeHTTP(0xc0005224e0, {0x601d178, 0xc00047e2a0}, 0xc0000c2600)\n\tD:/go_workspace/src/github.com/gin-gonic/gin@v1.9.1/gin.go:576 +0xbb\nnet/http.serverHandler.ServeHTTP({0xc0012860e0}, {0x601d178, 0xc00047e2a0}, 0xc0000c2600)\n\tD:/Go/src/net/http/server.go:2916 +0x474\nnet/http.(*conn).serve(0xc0000225a0, {0x601e800, 0xc00121ecc0})\n\tD:/Go/src/net/http/server.go:1966 +0x193c\ncreated by net/http.(*Server).Serve\n\tD:/Go/src/net/http/server.go:3071 +0x9cf\n }"} +{"level":"ERROR","time":"2024-11-19T10:12:02.881+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:12:03.887+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:12:03.887+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:12:22.191+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:12:38.712+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:12:38.713+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:12:53.757+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:12:53.757+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:23:16.665+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:25:24.135+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:25:24.136+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:24.136+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:24.136+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:24.136+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:25.142+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:25.142+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:25.142+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:27.041+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:25:38.697+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:25:38.697+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:25:38.697+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:25:38.697+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:25:38.697+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:25:38.697+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:27:33.360+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:28:17.130+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:28:26.846+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:28:26.846+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: connection closed}"} +{"level":"ERROR","time":"2024-11-19T10:31:27.134+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/v2/record/miss } {query 15 0 } {body 15 0 {\r\n \r\n} } {ip 15 0 127.0.0.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2024-11-19T10:31:35.100+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.employee/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-19T10:31:35.099+0800","caller":"zookeeper/listener.go:200","message":"[ZkEventListener handleZkNodeEvent]Path{/dubbo/com.fontree.microservices.common.OA/providers} child nodes changed, zk.Children() = error{Error while invoking zk.Children(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:49:59.264+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:49:59.264+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:49:59.270+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732675798&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732675798&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732675798&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:01.284+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:01.284+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:01.285+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675799&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675799&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675799&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:03.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:03.299+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:03.299+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:03.300+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732675801&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732675801&version=): @c{://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732675801&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:05.305+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:05.305+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:05.305+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:05.305+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732675803&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732675803&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732675803&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:07.318+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:07.319+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:07.319+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:07.319+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675805&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675805&version=): @c{://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675805&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:09.344+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:09.344+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:09.344+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:09.344+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:09.346+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675807&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675807&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675807&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:11.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:11.361+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:11.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:11.361+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675809&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675809&version=): @c{tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675809&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:11.361+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:13.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:13.377+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:13.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:13.377+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:13.377+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675811&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675811&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675811&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:15.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:15.393+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:15.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:15.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:15.393+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675813&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675813&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675813&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:17.422+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:17.422+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:17.422+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/meeting.Meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:17.422+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:17.422+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675815&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675815&version=): @c{tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675815&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:19.438+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:19.438+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:19.438+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:19.438+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:19.438+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:19.440+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675817&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675817&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675817&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:21.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:21.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:21.466+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Push/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:21.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:21.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:21.466+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675819&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675819&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675819&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-27T10:50:23.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:23.480+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-27T10:50:23.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:23.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:23.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-27T10:50:23.480+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675821&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675821&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732675821&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:35:56.117+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:35:56.117+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:35:56.118+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844155&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844155&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844155&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:35:58.132+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:35:58.132+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ShopBrand/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:35:58.132+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844156&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844156&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ShopBrand?app.version=&application=dubbo.io&async=false&bean.name=BrandClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.ShopBrand&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844156&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:00.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:00.138+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:00.138+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Orderproduct/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:00.138+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844158&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844158&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Orderproduct?app.version=&application=dubbo.io&async=false&bean.name=OrderproductClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Orderproduct&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844158&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:02.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:02.155+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:02.155+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoStatement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:02.155+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844160&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844160&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoStatement?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoStatementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoStatement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844160&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:04.164+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:04.164+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:04.164+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:04.164+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844162&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844162&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844162&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:06.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:06.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:06.180+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:06.180+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SiteSignIn/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:06.180+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844164&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844164&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.SiteSignIn?app.version=&application=dubbo.io&async=false&bean.name=SiteSignInClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SiteSignIn&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844164&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:08.197+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:08.197+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:08.197+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:08.197+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:08.197+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844166&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844166&version=): @c{://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844166&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:10.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:10.221+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Artartwork.Artartwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:10.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:10.221+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:10.221+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844168&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844168&version=): @c{tri://192.168.88.42:/Artartwork.Artartwork?app.version=&application=dubbo.io&async=false&bean.name=ArtartworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Artartwork.Artartwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844168&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:12.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:12.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:12.243+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:12.243+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844170&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844170&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844170&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:12.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:14.254+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:14.254+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:14.254+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:14.254+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:14.254+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844172&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844172&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844172&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:16.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:16.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:16.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:16.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:16.269+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:16.269+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1732844174&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1732844174&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1732844174&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:18.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:18.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:18.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:18.294+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:18.294+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artist/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:18.294+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844176&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844176&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Artist?app.version=&application=dubbo.io&async=false&bean.name=ArtistClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artist&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844176&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:20.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:20.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:20.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:20.314+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:20.314+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:20.314+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1732844178&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1732844178&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1732844178&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:22.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:22.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:22.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:22.324+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:22.324+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Push/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:22.325+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844180&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844180&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Push?app.version=&application=dubbo.io&async=false&bean.name=PushClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Push&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844180&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:24.345+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:24.345+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:24.345+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:24.345+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:24.345+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:24.347+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844182&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844182&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844182&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:26.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:26.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:26.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:26.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:26.365+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:26.365+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:26.365+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732844184&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732844184&version=): @c{://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732844184&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:28.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:28.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:28.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:28.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:28.384+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:28.384+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Equity/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:28.384+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1732844186&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1732844186&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Equity?app.version=&application=dubbo.io&async=false&bean.name=EquityClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Equity&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1732844186&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:30.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:30.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:30.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:30.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:30.402+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Note/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:30.402+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:30.402+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844188&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844188&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Note?app.version=&application=dubbo.io&async=false&bean.name=NoteClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Note&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844188&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:32.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:32.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:32.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:32.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:32.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:32.410+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:32.410+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844190&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844190&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844190&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:34.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:34.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:34.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:34.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:34.424+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:34.424+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.goods/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:34.424+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844192&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844192&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844192&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:36.440+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844194&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844194&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844194&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:38.453+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844196&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844196&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844196&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:40.466+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844198&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844198&version=): @c{tri://192.168.88.42:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844198&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Conference/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:42.477+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844200&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844200&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Conference?app.version=&application=dubbo.io&async=false&bean.name=ConferenceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Conference&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844200&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:44.487+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844202&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844202&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844202&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:46.507+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:46.508+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844204&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844204&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844204&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.express/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:48.514+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1732844206&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1732844206&version=): @c{://192.168.88.42:/com.fontree.microservices.common.express?.accessKeyId=SYD8-express-04&.secretAccessKey=Al-express-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ExpressClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.express&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=30s×tamp=1732844206&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:50.535+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844208&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844208&version=): @c{://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844208&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ECard/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:52.551+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1732844210&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1732844210&version=): @c{://192.168.88.42:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1732844210&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoUser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:54.565+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844212&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844212&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoUser?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoUserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoUser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844212&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:56.583+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844214&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844214&version=): @c{tri://192.168.88.42:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844214&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.coin/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:36:58.606+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844216&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844216&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.coin?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=CoinClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.coin&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844216&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.loanbill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:00.636+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844218&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844218&version=): @c{tri://192.168.88.42:/com.fontree.microservices.digital.loanbill?app.version=&application=dubbo.io&async=false&bean.name=LoanBillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.loanbill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844218&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.BuyNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:02.643+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.BuyNew?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.BuyNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844220&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.BuyNew?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.BuyNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844220&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.BuyNew?app.version=&application=dubbo.io&async=false&bean.name=BuyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.BuyNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844220&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844222&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844222&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844222&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:04.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.679+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.679+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:06.680+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtShow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:06.682+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844224&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844224&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtShow?app.version=&application=dubbo.io&async=false&bean.name=ArtShowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtShow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844224&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:08.718+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.718+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:08.731+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:08.731+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844226&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844226&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844226&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:10.732+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.736+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.736+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.736+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.736+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.740+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.740+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.740+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.736+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:10.744+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.feedback/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:10.744+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844228&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844228&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.feedback?app.version=&application=dubbo.io&async=false&bean.name=FeedbackClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.feedback&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844228&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:12.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.748+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.748+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.748+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.748+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.748+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.750+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.750+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.750+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:12.750+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:12.750+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844230&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844230&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844230&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:14.760+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844232&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844232&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844232&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Journal/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844234&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844234&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Journal?app.version=&application=dubbo.io&async=false&bean.name=JournalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Journal&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844234&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:16.779+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844236&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844236&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844236&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:18.803+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.817+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:20.818+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Backup/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:20.818+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844238&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844238&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Backup?app.version=&application=dubbo.io&async=false&bean.name=BackupClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Backup&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844238&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.834+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:22.834+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844240&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844240&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844240&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:24.841+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:24.842+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844242&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844242&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844242&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Artwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844244&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844244&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Artwork?app.version=&application=dubbo.io&async=false&bean.name=ArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Artwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844244&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:26.856+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844246&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844246&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844246&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:28.878+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:30.894+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844248&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844248&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844248&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:32.904+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.909+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:32.910+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Exam/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:32.910+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844250&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844250&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Exam?app.version=&application=dubbo.io&async=false&bean.name=ExamClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Exam&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844250&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:34.922+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844252&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844252&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtistThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtistThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844252&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:36.942+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844254&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844254&version=): @c{tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844254&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/meeting.Meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:38.948+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844256&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844256&version=): @c{tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844256&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:40.957+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732844258&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732844258&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732844258&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.979+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:42.980+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844260&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844260&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844260&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:44.997+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:44.999+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844262&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844262&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844262&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.InCircleArticleProvider/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:47.022+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844264&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844264&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.InCircleArticleProvider?app.version=&application=dubbo.io&async=false&bean.name=InCircleArticleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.InCircleArticleProvider&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844264&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:49.043+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732844267&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732844267&version=): @c{://192.168.88.42:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732844267&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.064+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:51.065+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:51.065+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844269&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844269&version=): @c{tri://192.168.88.42:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844269&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844271&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844271&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844271&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:53.084+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844273&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844273&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844273&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:55.103+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:57.124+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkQuery/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:57.126+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844275&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844275&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtworkQuery?app.version=&application=dubbo.io&async=false&bean.name=ArtworkQueryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkQuery&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844275&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844277&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844277&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844277&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:37:59.148+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844279&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844279&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844279&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:01.173+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.191+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:03.193+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732844281&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732844281&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732844281&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.208+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:05.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.210+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:05.210+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844283&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844283&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844283&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Paybill/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844285&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844285&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Paybill?app.version=&application=dubbo.io&async=false&bean.name=PaybillClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Paybill&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844285&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:07.224+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844287&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844287&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844287&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:09.234+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.249+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:11.251+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844289&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844289&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoContract?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844289&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:13.270+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844291&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844291&version=): @c{tri://192.168.88.42:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844291&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.291+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844293&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844293&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844293&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoUser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:15.289+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Journal/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Journal/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Paybill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Paybill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.InCircleArticleProvider/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkQuery/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkQuery/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtShow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtShow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SiteSignIn/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SiteSignIn/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:17.312+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:17.314+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844295&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844295&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844295&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ShopBrand/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ShopBrand/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ChildrenCompetition/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Artist/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Artist/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.express/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.express/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Equity/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Equity/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.coin/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.coin/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:19.338+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844297&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844297&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ChildrenCompetition?app.version=&application=dubbo.io&async=false&bean.name=ChildrenCompetitionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ChildrenCompetition&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732844297&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.feedback/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.feedback/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Orderproduct/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Orderproduct/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Backup/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Backup/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844299&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844299&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732844299&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.loanbill/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.loanbill/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Note/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Note/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:21.359+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.BuyNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.BuyNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Push/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Push/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Exam/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Exam/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoStatement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Conference/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Conference/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:23.370+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ChildrenCompetition/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T09:38:24.385+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.common.Rule.please check configuration."} +{"level":"ERROR","time":"2024-11-29T11:17:24.170+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:24.170+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.GoodsManagement/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:17:24.179+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850243&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850243&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.GoodsManagement?app.version=&application=dubbo.io&async=false&bean.name=GoodsManagementClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.GoodsManagement&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850243&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:17:26.185+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:26.185+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:17:26.185+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732850244&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732850244&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732850244&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:17:28.205+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:28.205+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:17:28.205+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850246&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850246&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850246&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:17:28.206+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:30.230+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:30.230+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:17:30.230+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:30.230+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732850248&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732850248&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732850248&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:17:32.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:32.250+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:32.250+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:17:32.250+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850250&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850250&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850250&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:17:34.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.GoodsManagement/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.GoodsManagement/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:34.265+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Invoice/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:17:34.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Invoice/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Invoice/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:17:34.265+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732850252&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732850252&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Invoice?app.version=&application=dubbo.io&async=false&bean.name=InvoiceClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Invoice&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1732850252&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:17:34.265+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:19.708+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:24:19.708+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:19.709+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850658&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850658&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850658&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:24:21.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:21.721+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:24:21.721+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732850659&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732850659&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1732850659&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:24:23.738+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:23.738+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:23.738+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:24:23.738+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850661&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850661&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850661&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:24:25.757+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:25.757+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Prebook/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Prebook/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:25.757+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Prebook/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:24:25.757+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850663&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850663&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Prebook?app.version=&application=dubbo.io&async=false&bean.name=PrebookClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Prebook&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1732850663&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:24:27.770+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:27.770+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-11-29T11:24:27.770+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:24:27.770+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732850665&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732850665&version=): @c{://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1732850665&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-11-29T11:32:28.394+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:32:29.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:32:30.886+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:32:31.408+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-11-29T11:32:32.454+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:14:52.568+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:14:52.568+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.digital.copyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:14:52.569+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714091&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714091&version=): @c{tri://172.25.16.1:/com.fontree.microservices.digital.copyright?app.version=&application=dubbo.io&async=false&bean.name=CopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.digital.copyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714091&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:14:54.572+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:14:54.572+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:14:54.572+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714092&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714092&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714092&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:14:56.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:14:56.573+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:14:56.573+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.task/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:14:56.573+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714094&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714094&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.task?.accessKeyId=SYD8-task-04&.secretAccessKey=Al-task-FDF112&app.version=&application=dubbo.io&async=false&bean.name=TaskClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.task&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714094&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:14:58.575+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:14:58.575+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:14:58.575+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fonchain.approval.proto.IApprovalService/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:14:58.575+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714096&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714096&version=): @c{tri://172.25.16.1:/com.fonchain.approval.proto.IApprovalService?app.version=&application=dubbo.io&async=false&bean.name=RecruitClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fonchain.approval.proto.IApprovalService&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714096&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:00.576+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:00.576+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:00.576+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:00.576+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714098&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714098&version=): @c{tri://172.25.16.1:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714098&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:02.579+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:02.579+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.AppointmentNew/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:02.579+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:02.579+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714100&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714100&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.AppointmentNew?app.version=&application=dubbo.io&async=false&bean.name=AppointmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.AppointmentNew&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714100&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:02.579+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:04.581+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:04.581+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:04.581+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:04.581+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:04.581+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714102&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714102&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.ArtistInfoArtshow?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtshowClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtshow&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714102&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:06.583+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:06.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:06.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:06.583+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:06.583+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714104&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714104&version=): @c{tri://172.25.16.1:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714104&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:08.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fonchain.approval.proto.IApprovalService/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fonchain.approval.proto.IApprovalService/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:08.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:08.585+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.series/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:08.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:08.585+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714106&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714106&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.series?app.version=&application=dubbo.io&async=false&bean.name=SeriesClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=shop&interface=com.fontree.microservices.common.series&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714106&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:10.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:10.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:10.585+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:10.585+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714108&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714108&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714108&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:10.585+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:12.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.AppointmentNew/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.AppointmentNew/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:12.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:12.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.digital.copyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.digital.copyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:12.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.series/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.series/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:12.588+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:12.588+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.25.16.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714110&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.25.16.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714110&version=): @c{://172.25.16.1:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714110&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:14.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtshow/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:14.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:14.588+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:14.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:14.588+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:14.588+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1733714112&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1733714112&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1733714112&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:15:16.590+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:16.590+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.task/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.task/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:16.590+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:16.590+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:15:16.590+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-09T11:15:16.590+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714114&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714114&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733714114&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-09T11:16:52.383+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:16:52.775+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:16:54.611+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:16:54.998+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:16:55.389+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-09T11:16:55.780+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-10T14:28:46.496+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.chain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-10T14:28:46.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-10T14:28:46.496+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1733812125&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1733812125&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.chain?.accessKeyId=SYD8-Chain-04&.secretAccessKey=Al-Chain-FDF112&app.version=&application=dubbo.io&async=false&bean.name=ChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.chain&loadbalance=&metadata-type=local&methods.CoWtChain.loadbalance=&methods.CoWtChain.retries=0&methods.CoWtChain.sticky=false&methods.UploadFile.loadbalance=&methods.UploadFile.retries=0&methods.UploadFile.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=40s×tamp=1733812125&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-10T14:28:48.496+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-10T14:28:48.496+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Department/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-10T14:28:48.496+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.25.16.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812126&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.25.16.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812126&version=): @c{://172.25.16.1:/com.fontree.microservices.common.Department?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=DepartmentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Department&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812126&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-10T14:28:50.499+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.chain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.chain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-10T14:28:50.499+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-10T14:28:50.499+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-10T14:28:50.499+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://172.25.16.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812128&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://172.25.16.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812128&version=): @c{tri://172.25.16.1:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812128&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-10T14:28:52.500+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Department/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Department/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-10T14:28:52.500+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-10T14:28:52.500+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-10T14:28:52.500+0800","caller":"protocol/protocol.go:160","message":"consumer service ://172.25.16.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812130&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://172.25.16.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812130&version=): @c{://172.25.16.1:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1733812130&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-13T13:43:14.207+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-13T13:43:14.207+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-13T13:43:14.216+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1734068593&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1734068593&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Account?.accessKeyId=Accountksl&.secretAccessKey=BSDY-FDF1-Fontree_account&app.version=&application=dubbo.io&async=false&bean.name=AccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1734068593&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-13T13:43:16.226+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-13T13:43:16.226+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-13T13:43:16.226+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1734068594&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1734068594&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1734068594&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-13T13:43:18.245+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-13T13:43:18.245+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Log/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Log/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-13T13:43:18.245+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Log/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-13T13:43:18.245+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734068596&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734068596&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Log?app.version=&application=dubbo.io&async=false&bean.name=LogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Log&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734068596&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-13T13:43:20.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-13T13:43:20.269+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Health/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Health/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-13T13:43:20.269+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Health/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-13T13:43:20.269+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734068598&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734068598&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Health?app.version=&application=dubbo.io&async=false&bean.name=HealthClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Health&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734068598&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:12.398+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:12.398+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:12.400+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406271&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406271&version=): @c{tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406271&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:14.415+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:14.415+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.dci/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:14.415+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406272&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406272&version=): @c{tri://192.168.88.42:/com.fontree.microservices.chain.dci?app.version=&application=dubbo.io&async=false&bean.name=DciClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.chain.dci&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406272&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:16.432+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:16.432+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:16.432+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.SoftwareCopyright/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:16.432+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406274&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406274&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.SoftwareCopyright?app.version=&application=dubbo.io&async=false&bean.name=SoftwareCopyrightClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.SoftwareCopyright&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406274&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:18.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:18.453+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:18.453+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:18.453+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406276&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406276&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406276&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:20.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:20.480+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:20.480+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkChain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:20.480+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406278&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406278&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtworkChain?app.version=&application=dubbo.io&async=false&bean.name=ArtworkChainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkChain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406278&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:22.490+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:22.490+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:22.490+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:22.490+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkShop/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:22.490+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1734406280&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1734406280&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtworkShop?app.version=&application=dubbo.io&async=false&bean.name=ArtworkShopClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkShop&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false&timeout=60s×tamp=1734406280&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:24.506+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.dci/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.dci/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:24.506+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.chain.browser/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:24.506+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:24.506+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:24.506+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406282&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406282&version=): @c{tri://192.168.88.42:/com.fontree.microservices.chain.browser?app.version=&application=dubbo.io&async=false&bean.name=ChainBrowserClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=chain&interface=com.fontree.microservices.chain.browser&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406282&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:26.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.SoftwareCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:26.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkShop/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkShop/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:26.532+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/domainName.DomainName/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:26.532+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:26.532+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/domainName.DomainName?app.version=&application=dubbo.io&async=false&bean.name=DomainNameClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=domainName.DomainName&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406284&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/domainName.DomainName?app.version=&application=dubbo.io&async=false&bean.name=DomainNameClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=domainName.DomainName&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406284&version=): @c{tri://192.168.88.42:/domainName.DomainName?app.version=&application=dubbo.io&async=false&bean.name=DomainNameClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=domainName.DomainName&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406284&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:28.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:28.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.chain.browser/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.chain.browser/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:28.551+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Blockchain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Blockchain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:28.551+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Blockchain/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:28.551+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1734406286&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1734406286&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Blockchain?app.version=&application=dubbo.io&async=false&bean.name=BlockchainClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Blockchain&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=100&serialization=&side=consumer&sticky=false×tamp=1734406286&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-17T11:31:30.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:30.564+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2024-12-17T11:31:30.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:30.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkChain/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkChain/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-17T11:31:30.564+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406288&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406288&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1734406288&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2024-12-27T11:56:37.575+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T11:56:37.613+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T11:56:37.719+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T11:56:37.796+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T11:56:40.593+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T11:56:40.621+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T11:56:40.730+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T11:56:40.806+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T16:11:47.995+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T16:11:49.300+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T16:11:49.757+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T16:11:50.357+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T16:11:51.015+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2024-12-27T16:11:52.308+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:44.831+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:45.059+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:45.693+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:46.380+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:47.839+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:48.077+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:48.710+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T10:09:49.390+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T13:29:28.594+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-06T13:29:28.594+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T13:29:28.594+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736141367&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736141367&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736141367&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-06T13:29:30.615+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ECard/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ECard/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-06T13:29:30.615+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ECard/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-06T13:29:30.615+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1736141368&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1736141368&version=): @c{://192.168.88.42:/com.fontree.microservices.common.ECard?app.version=&application=dubbo.io&async=false&bean.name=ECardClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ECard&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=100s×tamp=1736141368&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:20:54.859+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:20:54.889+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:20:55.319+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:20:55.456+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:20:57.863+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:20:57.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:20:58.325+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:34:13.317+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:34:13.386+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:34:13.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:34:15.775+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:34:16.321+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:34:16.400+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:34:16.553+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:10.631+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:10.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:10.631+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736304429&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736304429&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736304429&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:47:12.652+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:12.652+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:12.652+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304430&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304430&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304430&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:47:14.674+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:14.674+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:14.675+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:14.675+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304432&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304432&version=): @c{://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304432&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:47:16.701+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:16.701+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:16.702+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:16.702+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304434&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304434&version=): @c{tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304434&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:47:18.727+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:18.728+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:18.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:18.728+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304436&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304436&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304436&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:47:20.747+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:20.748+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.goods/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:20.748+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:20.748+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:20.748+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304438&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304438&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.goods?app.version=&application=dubbo.io&async=false&bean.name=MealGoodsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.goods&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304438&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:47:22.769+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:22.769+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:22.769+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:22.769+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:22.769+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304440&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304440&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736304440&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T10:47:24.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:24.792+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T10:47:24.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:24.792+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.goods/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.goods/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T10:47:24.792+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1736304442&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1736304442&version=): @c{://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1736304442&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:23.609+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:23.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:23.610+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330962&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330962&version=): @c{://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330962&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:25.627+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:25.627+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Workbench/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:25.628+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330963&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330963&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Workbench?app.version=&application=dubbo.io&async=false&bean.name=WorkbenchClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Workbench&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330963&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:27.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:27.656+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:27.656+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Collections/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:27.656+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330965&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330965&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Collections?app.version=&application=dubbo.io&async=false&bean.name=CollectionsClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Collections&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330965&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:29.670+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:29.670+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/Contract.Contract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:29.670+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:29.670+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330967&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330967&version=): @c{tri://192.168.88.42:/Contract.Contract?app.version=&application=dubbo.io&async=false&bean.name=ContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=Contract.Contract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330967&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:31.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:31.683+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:31.683+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Preorder/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:31.683+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330969&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330969&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Preorder?app.version=&application=dubbo.io&async=false&bean.name=PreorderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Preorder&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330969&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:33.697+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:33.697+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:33.697+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:33.697+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.OA/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:33.698+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330971&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330971&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.OA?app.version=&application=dubbo.io&async=false&bean.name=OAClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.OA&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330971&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:35.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:35.722+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.account/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:35.722+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:35.722+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:35.722+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330973&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330973&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.account?app.version=&application=dubbo.io&async=false&bean.name=MealAccountClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.account&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330973&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:37.737+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.collection_record/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:37.737+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:37.737+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Collections/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Collections/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:37.737+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:37.737+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330975&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330975&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.collection_record?app.version=&application=dubbo.io&async=false&bean.name=CollectionRecordClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.collection_record&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330975&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:39.765+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Contract.Contract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/Contract.Contract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:39.765+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:39.765+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:39.765+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:39.765+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736330977&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736330977&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736330977&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:41.795+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Preorder/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Preorder/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:41.795+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:41.795+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:41.795+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.collection_record/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.collection_record/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:41.795+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330979&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330979&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtistInfoArtwork?app.version=&application=dubbo.io&async=false&bean.name=ArtistInfoArtworkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtistInfoArtwork&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330979&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:43.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.OA/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.OA/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:43.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.inventory/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.inventory/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:43.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:43.818+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:43.818+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.inventory/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:43.818+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1736330981&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1736330981&version=): @c{://192.168.88.42:/com.fontree.microservices.common.inventory?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=InventoryClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.inventory&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1736330981&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:09:45.840+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Trademark/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Trademark/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:45.840+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Workbench/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Workbench/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:45.840+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtistInfoArtwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:45.840+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.account/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.account/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:09:45.840+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Trademark/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:09:45.840+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330983&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330983&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Trademark?app.version=&application=dubbo.io&async=false&bean.name=TrademarkClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Trademark&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736330983&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:11:34.861+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.RuleLog/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:11:34.861+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.RuleLog/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.RuleLog/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:11:34.862+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736331093&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736331093&version=): @c{://192.168.88.42:/com.fontree.microservices.common.RuleLog?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleLogClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.RuleLog&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1736331093&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-08T18:11:36.884+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-08T18:11:36.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-08T18:11:36.884+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736331094&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736331094&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1736331094&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-09T14:01:46.655+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-09T14:01:47.688+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-09T14:01:47.770+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-09T14:01:49.253+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-09T14:01:49.661+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-09T14:01:50.706+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-09T14:01:50.782+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:26.465+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:26.731+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:27.335+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:28.113+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:29.484+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:29.745+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:30.346+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-16T16:37:31.132+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:54:48.100+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:54:48.100+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-22T17:54:48.106+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1737539687&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1737539687&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.order?.accessKeyId=SYD8-order-04&.secretAccessKey=Al-order-FDF112&app.version=&application=dubbo.io&async=false&bean.name=OrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1737539687&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-22T17:54:50.123+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.ArtworkThirdParty/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:54:50.123+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.ArtworkThirdParty/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-22T17:54:50.123+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737539688&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737539688&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.ArtworkThirdParty?app.version=&application=dubbo.io&async=false&bean.name=ArtworkThirdPartyClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.ArtworkThirdParty&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737539688&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-22T17:54:52.137+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:54:52.137+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/meeting.Meeting/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-22T17:54:52.137+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:54:52.137+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737539690&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737539690&version=): @c{tri://192.168.88.42:/meeting.Meeting?app.version=&application=dubbo.io&async=false&bean.name=MeetingClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=meeting.Meeting&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737539690&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-22T17:59:35.063+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:59:35.668+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:59:36.067+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:59:36.407+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:59:38.074+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:59:38.682+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-22T17:59:39.071+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:39.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:39.364+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.meal.backend.order/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-23T09:35:39.365+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596138&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596138&version=): @c{tri://192.168.88.42:/com.fontree.microservices.meal.backend.order?app.version=&application=dubbo.io&async=false&bean.name=MealOrderClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=meal&interface=com.fontree.microservices.meal.backend.order&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596138&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-23T09:35:41.387+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Indent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-23T09:35:41.387+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:41.387+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596139&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596139&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.Indent?app.version=&application=dubbo.io&async=false&bean.name=IndentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Indent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596139&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-23T09:35:43.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:43.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:43.413+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.warehouse/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-23T09:35:43.413+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1737596141&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1737596141&version=): @c{://192.168.88.42:/com.fontree.microservices.common.warehouse?.accessKeyId=inventoryksl&.secretAccessKey=BSDY-FDF1-Fontree_inventory&app.version=&application=dubbo.io&async=false&bean.name=WarehouseClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.warehouse&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false&timeout=15s×tamp=1737596141&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-23T09:35:45.442+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:45.442+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:45.442+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.employee/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-23T09:35:45.442+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1737596143&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1737596143&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.employee?.accessKeyId=SYD8-employee-04&.secretAccessKey=Al-employee-FDF112&app.version=&application=dubbo.io&async=false&bean.name=EmployeeClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.employee&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=0&serialization=&side=consumer&sticky=false×tamp=1737596143&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-23T09:35:47.465+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:47.465+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Position/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-23T09:35:47.465+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596145&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596145&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Position?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=PositionClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Position&loadbalance=&metadata-type=local&methods.Update.loadbalance=&methods.Update.retries=0&methods.Update.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596145&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-23T09:35:47.465+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:49.481+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Rule/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-23T09:35:49.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.employee/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.employee/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:49.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.meal.backend.order/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.meal.backend.order/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:49.481+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Rule/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Rule/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:49.481+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596147&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596147&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Rule?.accessKeyId=SYD8-23DF&.secretAccessKey=BSDY-FDF1&app.version=&application=dubbo.io&async=false&bean.name=RuleClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Rule&loadbalance=&metadata-type=local&methods.Create.loadbalance=&methods.Create.retries=0&methods.Create.sticky=false&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596147&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-23T09:35:51.504+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Indent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Indent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:51.504+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Position/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Position/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:51.504+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.Approval/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-01-23T09:35:51.504+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.Approval/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.Approval/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T09:35:51.504+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596149&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596149&version=): @c{://192.168.88.42:/com.fontree.microservices.common.Approval?.accessKeyId=SYD8-Approval-12&.secretAccessKey=Al-Approval-FDF1&app.version=&application=dubbo.io&async=false&bean.name=ApprovalClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.Approval&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ccshutdown%2Csign%2CfonDomainFilter%2CfonValidateFilter®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1737596149&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-01-23T14:06:49.340+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:08:39.104+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:08:42.112+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:08:48.126+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:08:57.135+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:09:06.139+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:09:15.159+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:09:24.188+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:09:33.204+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:09:42.215+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:09:51.239+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:10:00.274+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:10:09.301+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:10:18.443+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:10:27.450+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:10:36.469+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:10:45.479+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:10:54.494+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:11:03.505+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:11:12.516+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:11:21.521+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:11:30.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:11:39.550+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:11:48.555+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:11:57.574+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:12:06.579+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:12:15.603+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:12:24.618+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:12:33.625+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:12:42.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:12:51.649+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:13:00.667+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:13:09.691+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:13:18.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:13:27.721+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:13:36.737+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:13:45.751+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:13:54.772+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:14:03.780+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:14:12.802+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:14:21.816+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:14:30.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:14:39.842+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:14:48.858+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:14:57.872+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:15:06.894+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:15:15.905+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:15:24.914+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:15:33.930+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:15:42.949+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:15:51.955+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:16:00.961+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:16:09.975+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:16:19.000+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:16:28.024+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:16:37.041+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:16:46.051+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:16:55.057+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:17:04.074+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:17:13.108+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:17:22.136+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:17:31.145+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:17:40.159+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:17:49.175+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:17:58.197+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:18:07.217+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:18:16.243+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:18:25.264+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:18:34.413+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:18:43.466+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:18:52.486+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:19:01.499+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:19:10.512+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:19:19.525+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:19:28.537+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:19:37.545+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:19:46.557+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:19:55.564+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:20:04.587+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:20:13.591+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:20:22.609+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:20:31.622+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:20:40.642+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:20:49.651+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:20:58.663+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:21:07.680+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:21:16.699+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:21:25.715+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:21:34.728+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:21:43.746+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:21:52.761+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:22:01.777+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:22:10.789+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:22:19.801+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:22:28.809+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:22:37.816+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:22:46.826+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:22:55.833+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:23:04.848+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:23:13.860+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:23:15.562+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/leave/check } {query 15 0 } {body 15 0 {\r\n \"ApplyType\": \"dayOff\"\r\n} } {ip 15 0 172.25.16.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2025-01-23T14:23:15.562+0800","caller":"middleware/check_login.go:31","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2025-01-23T14:23:20.571+0800","caller":"middleware/check_login.go:43","message":"---------end帐号微服务解密:时间:5.0084724s"} +{"level":"ERROR","time":"2025-01-23T14:23:22.872+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:23:31.892+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:23:40.919+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:27:25.332+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:27:28.348+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:27:34.356+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:27:43.364+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:27:47.471+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/leave/check } {query 15 0 } {body 15 0 {\r\n \"ApplyType\": \"dayOff\"\r\n} } {ip 15 0 172.25.16.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2025-01-23T14:27:47.471+0800","caller":"middleware/check_login.go:31","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2025-01-23T14:27:52.382+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:27:52.486+0800","caller":"middleware/check_login.go:43","message":"---------end帐号微服务解密:时间:5.0149314s"} +{"level":"ERROR","time":"2025-01-23T14:28:01.393+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:28:10.410+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:28:19.423+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:28:28.446+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:28:37.460+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:28:46.468+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:28:55.474+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:29:04.488+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:29:13.505+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:29:22.522+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:29:31.540+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:29:40.543+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:29:45.832+0800","caller":"middleware/logging.go:36","message":"path{status 11 200 } {method 15 0 POST } {path 15 0 /oa/leave/check } {query 15 0 } {body 15 0 {\r\n \"ApplyType\": \"dayOff\"\r\n} } {ip 15 0 172.25.16.1 } {user-agent 15 0 PostmanRuntime-ApipostRuntime/1.1.0 } {errors 15 0 } {latencyTime 8 0 }"} +{"level":"ERROR","time":"2025-01-23T14:29:45.832+0800","caller":"middleware/check_login.go:31","message":"---------end帐号转jwt:时间:0s"} +{"level":"ERROR","time":"2025-01-23T14:29:49.562+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:29:50.837+0800","caller":"middleware/check_login.go:43","message":"---------end帐号微服务解密:时间:5.0050782s"} +{"level":"ERROR","time":"2025-01-23T14:29:58.570+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:30:07.578+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:30:16.599+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:30:25.614+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:30:34.631+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:30:43.645+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:30:52.664+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:31:01.671+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:31:10.676+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-23T14:31:19.686+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-24T09:36:54.949+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.warehouse/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.warehouse/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-24T09:36:55.144+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-01-24T09:36:58.412+0800","caller":"config/consumer_config.go:157","message":"No provider available of the service com.fontree.microservices.meal.backend.goods.please check configuration."} +{"level":"ERROR","time":"2025-02-06T14:22:40.898+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:41.175+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:41.212+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:42.244+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:43.914+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:44.190+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:44.220+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:45.259+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:49.929+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:50.198+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:50.230+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:51.268+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-06T14:22:52.974+0800","caller":"cache/redis.go:37","message":"connRedis err%!(EXTRA *net.OpError=dial tcp 127.0.0.1:6379: connectex: No connection could be made because the target machine actively refused it.)"} +{"level":"ERROR","time":"2025-02-11T10:40:17.884+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-11T10:40:17.884+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.payment/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-02-11T10:40:17.885+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241616&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241616&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.payment?.accessKeyId=SYD8-pay-04&.secretAccessKey=Al-pay-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PaymentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.payment&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctps®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241616&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-02-11T10:40:19.906+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.patent/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-02-11T10:40:19.906+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.patent/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.patent/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-11T10:40:19.907+0800","caller":"protocol/protocol.go:160","message":"consumer service tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241617&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241617&version=): @c{tri://192.168.88.42:/com.fontree.microservices.common.patent?.accessKeyId=SYD8-patent-04&.secretAccessKey=Al-patent-FDF112&app.version=&application=dubbo.io&async=false&bean.name=PatentClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.patent&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Csign®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241617&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-02-11T10:40:21.926+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.payment/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.payment/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-11T10:40:21.926+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/com.fontree.microservices.common.DocumentContract/providers} with watcher failed, the error is zk: could not connect to a server\nError while invoking zk.ChildrenW(path:/dubbo/com.fontree.microservices.common.DocumentContract/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-11T10:40:21.926+0800","caller":"registry/base_registry.go:324","message":"facadeBasedRegistry.CreatePath(path{/dubbo/com.fontree.microservices.common.DocumentContract/consumers}) = error{Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server}"} +{"level":"ERROR","time":"2025-02-11T10:40:21.926+0800","caller":"protocol/protocol.go:160","message":"consumer service ://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241619&version= register registry zookeeper://127.0.0.1:2181?registry=zookeeper®istry.group=®istry.label=true®istry.namespace=®istry.preferred=false®istry.role=0®istry.timeout=3s®istry.ttl=10s®istry.weight=0®istry.zone=&remote-client-name=dubbo.registries-zookeeper-127.0.0.1%3A2181&simplified=false error, error message is register(url:://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241619&version=): @c{://192.168.88.42:/com.fontree.microservices.common.DocumentContract?app.version=&application=dubbo.io&async=false&bean.name=DocumentContractClientImpl&cluster=failover&config.tracing=&environment=&generic=&group=&interface=com.fontree.microservices.common.DocumentContract&loadbalance=&metadata-type=local&module=sample&name=dubbo.io&organization=dubbo-go&owner=dubbo-go&provided-by=&reference.filter=cshutdown%2Ctracing®istry.role=0®istry.ttl=10s&release=dubbo-golang-3.0.0&retries=&serialization=&side=consumer&sticky=false×tamp=1739241619&version=} registry fail: Error while invoking zk.Create(path:/dubbo), the reason maybe is: : zk: could not connect to a server"} +{"level":"ERROR","time":"2025-02-11T14:56:33.391+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/artistinfo.AsCopyright/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/artistinfo.AsCopyright/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-11T14:56:33.559+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/domainName.DomainName/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/domainName.DomainName/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-11T14:56:34.328+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/meeting.Meeting/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/meeting.Meeting/providers), the reason maybe is: "} +{"level":"ERROR","time":"2025-02-11T14:56:34.473+0800","caller":"zookeeper/listener.go:273","message":"[Zookeeper EventListener][listenDirEvent] Get children of path {/dubbo/Artartwork.Artartwork/providers} with watcher failed, the error is zk: node does not exist\nError while invoking zk.ChildrenW(path:/dubbo/Artartwork.Artartwork/providers), the reason maybe is: "} diff --git a/pkg/config/config.go b/pkg/config/config.go new file mode 100644 index 0000000..ab716a9 --- /dev/null +++ b/pkg/config/config.go @@ -0,0 +1,256 @@ +package config + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/spf13/viper" + "gopkg.in/ini.v1" + "os" + "strconv" +) + +var ( + AppMode string + HttpPort string + Key string + Cert string + IsHttps bool + RunHttps bool + Domain string + OssDomain string + ServerDM string + Env string + DriverUrl string + AppointUrl string + MaterialHost string + //TODO + //BosAk string + //BosSk string + //BosBucketName string + //BosBaseDir string + //BosUrl string + //BosHttp string + //BosDomain string + //TODO + ProjectMapDir string + JaegerHost string + JaegerOpen bool + Cron bool + DingAccessToken string + DingUrl string + HolidayID string + HolidaySecret string + HolidaySingleUrl string + HolidayMultiUrl string + + ErpAk string + ErpSk string + + // rabbitmq + RabbitmqUser string + RabbitmqPassword string + RabbitmqHost string + RabbitmqPort int + RabbitmqVhost string + RabbitmqVhostArtwork string + + RedisDB int + RedisAddr string + RedisPw string + + //shop配置 + ShopHost string + //ShopDetail string + + // 地图 + MapAppCode string + + //百度地图的ak + BaiduMapAK string + + // es + ElasticHost string + SendIndexesUrl string + ChatGptHost string + + ApiHost string + + Level string + Filename string + MaxSize string + MaxAge string + MaxBackups string + + YearGiftCheckHost string + IsOut bool + OutUrl string + Aliyun struct { + AccessKeyId string + AccessKeySecret string + } + SendTime int + XMChannelId string + OPChannelId string + OPNotifyLevel int + Route string + + PdfHost string + + DefaultSignNo uint64 + + // 审批 es index + ApprovalIndex string +) + +var ConfigData = new(AppConfig) + +type AppConfig struct { + Oss struct { + AccessKeyId string + AccessKeySecret string + Endpoint string + BucketName string + BaseDir string + CdnHost string + } + Rabbitmq struct { + User string + Password string + Host string + Port int + Vhost string + VhostArtwork string + VhostCopyright string + } +} + +func GetOptions() { + iniConf, err := common.GetConf() + if err != nil { + panic("iniConf error") + } + file, err := ini.Load(iniConf) + if err != nil { + fmt.Println("服务器配置文件读取错误,请检查文件路径:", err) + } + _ = os.MkdirAll("runtime", os.ModePerm) + LoadServer(file) + _ = Viper(iniConf) +} + +func LoadServer(file *ini.File) { + AppMode = file.Section("service").Key("AppMode").String() + IsHttps, _ = file.Section("service").Key("IsHTTPS").Bool() + RunHttps, _ = file.Section("service").Key("RunHTTPS").Bool() + Key = file.Section("service").Key("Key").String() + Cert = file.Section("service").Key("Cert").String() + HttpPort = file.Section("service").Key("HttpPort").String() + Domain = file.Section("service").Key("Domain").String() + OssDomain = file.Section("service").Key("OssDomain").String() + ServerDM = file.Section("service").Key("ServerDM").String() + DriverUrl = file.Section("service").Key("DriverUrl").String() + Env = file.Section("service").Key("Env").String() + JaegerHost = file.Section("service").Key("JaegerHost").String() + JaegerOpen, _ = file.Section("service").Key("JaegerOpen").Bool() + Cron, _ = file.Section("service").Key("Cron").Bool() + YearGiftCheckHost = file.Section("service").Key("YearGiftCheckHost").String() + IsOut, _ = file.Section("service").Key("IsOut").Bool() + OutUrl = file.Section("service").Key("OutUrl").String() + + ProjectMapDir = file.Section("file").Key("ProjectMapDir").String() + + AppointUrl = file.Section("service").Key("AppointUrl").String() + MaterialHost = file.Section("service").Key("MaterialHost").String() + + //TODO + //BosAk = file.Section("bos").Key("Ak").String() + //BosSk = file.Section("bos").Key("Sk").String() + //BosBucketName = file.Section("bos").Key("BucketName").String() + //BosBaseDir = file.Section("bos").Key("BosBaseDir").String() + + //BosUrl = file.Section("bos").Key("BosUrl").String() + //BosHttp = file.Section("bos").Key("BosHttp").String() + //BosDomain = file.Section("bos").Key("BosDomain").String() + + //TODO + + DingUrl = file.Section("ding").Key("Url").String() + DingAccessToken = file.Section("ding").Key("AccessToken").String() + + //加载获取万年历配置 + HolidayID = file.Section("holiday").Key("ID").String() + HolidaySecret = file.Section("holiday").Key("Secret").String() + HolidaySingleUrl = file.Section("holiday").Key("SingleUrl").String() + HolidayMultiUrl = file.Section("holiday").Key("MultiUrl").String() + + // 加载 rabbitmq 配置 + RabbitmqUser = file.Section("rabbitmq").Key("User").String() + RabbitmqPassword = file.Section("rabbitmq").Key("Password").String() + RabbitmqHost = file.Section("rabbitmq").Key("Host").String() + RabbitmqPort, _ = file.Section("rabbitmq").Key("Port").Int() + RabbitmqVhost = file.Section("rabbitmq").Key("Vhost").String() + RabbitmqVhostArtwork = file.Section("rabbitmq").Key("VhostArtwork").String() + + //加载 redis + dbStr := file.Section("redis").Key("RedisDBNAme").String() + RedisDB, _ = strconv.Atoi(dbStr) + RedisAddr = file.Section("redis").Key("RedisAddr").String() + RedisPw = file.Section("redis").Key("RedisPW").String() + + ShopHost = file.Section("shop").Key("ShopHost").String() + //ShopDetail = file.Section("shop").Key("ShopDetail").String() + + // 地图 + MapAppCode = file.Section("service").Key("MapAppCode").String() + BaiduMapAK = file.Section("service").Key("BaiduMapAK").String() + + // 地图 + ElasticHost = file.Section("es").Key("ElasticHost").String() + SendIndexesUrl = file.Section("api").Key("SendIndexesUrl").String() + ChatGptHost = file.Section("api").Key("chatGptHost").String() + ErpAk = file.Section("api").Key("erpak").String() + ErpSk = file.Section("api").Key("erpsk").String() + ApiHost = file.Section("service").Key("ApiHost").String() + + // zap + Level = file.Section("zap").Key("Level").String() + Filename = file.Section("zap").Key("Filename").String() + MaxSize = file.Section("zap").Key("MaxSize").String() + MaxAge = file.Section("zap").Key("MaxAge").String() + MaxBackups = file.Section("zap").Key("MaxBackups").String() + Aliyun.AccessKeyId = file.Section("aliyun").Key("accessKeyId").String() + Aliyun.AccessKeySecret = file.Section("aliyun").Key("accessKeySecret").String() + + Aliyun.AccessKeySecret = file.Section("aliyun").Key("accessKeySecret").String() + + //发送次数 + SendTime, _ = file.Section("send").Key("SendTime").Int() + OPNotifyLevel, _ = file.Section("send").Key("OPNotifyLevel").Int() + XMChannelId = file.Section("send").Key("XMChannelId").String() + OPChannelId = file.Section("send").Key("OPChannelId").String() + PdfHost = file.Section("pdf").Key("Host").String() + DefaultSignNo, _ = file.Section("msg").Key("defaultSignNo").Uint64() + Route = file.Section("send").Key("Route").String() + + // 审批 es index + ApprovalIndex = file.Section("es").Key("ApprovalIndex").String() +} + +func Viper(iniConf string) (err error) { + viper.SetConfigFile(iniConf) + err = viper.ReadInConfig() + if err != nil { + panic("viper.ReadInConfig failed" + err.Error()) + return + } + if err = viper.Unmarshal(ConfigData); err != nil { + panic("viper.Unmarshal failed" + err.Error()) + return + } + if err = viper.UnmarshalKey("mail_artwork.EditReturnArtworkUrl", &MailArtwork.EditReturnArtworkUrl); err != nil { + panic("viper.Unmarshal 'mail_artwork' config failed" + err.Error()) + return + } + fmt.Printf("mailartwork:%+v\n", MailArtwork) + return +} diff --git a/pkg/config/mailArtwork.go b/pkg/config/mailArtwork.go new file mode 100644 index 0000000..aab011c --- /dev/null +++ b/pkg/config/mailArtwork.go @@ -0,0 +1,17 @@ +// Package config ----------------------------- +// @file : mailArtwork.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/11/4 下午1:22 +// ------------------------------------------- +package config + +var MailArtwork = new(MailArtworkConfig) + +type MailArtworkConfig struct { + EditReturnArtworkUrl string +} + +func (MailArtworkConfig) KeyName() string { + return "mail_artwork" +} diff --git a/pkg/e/approval_type.go b/pkg/e/approval_type.go new file mode 100644 index 0000000..78815b5 --- /dev/null +++ b/pkg/e/approval_type.go @@ -0,0 +1,146 @@ +package e + +var TypeMap = map[string]string{ + "content": "", + "work": "", + "exhibition": "exhibition", + "bundle": "", + "show": "", + + "leave": "oa", // 事假 + "sick": "oa", // 病假 + "annualLeave": "oa", // 年假 + "dayOff": "oa", // 调休 + "maritalLeave": "oa", // 婚假 + "matingCheckLeave": "oa", // 孕检假 + "maternityLeave": "oa", // 产假 + "paternityLeave": "oa", // 陪产假 + "parentalLeave": "oa", // 育儿假 + "nursingLeave": "oa", // 独生子女护理假 + "funeralLeave": "oa", // 丧假 + "abortLeave": "oa", // 流产假 + "breastFeedingLeave": "oa", // 哺乳假 + "makeUp": "oa", // 补卡 + "overTime": "oa", // 加班 + "outWork": "oa", // 外勤 + "turnover": "oa", // 离职 + "turnover-1": "oa", // 离职 + "turnover-2": "oa", // 离职 + "turnover-3": "oa", // 离职 + "turnover-4": "oa", // 离职 + "turnover-5": "oa", // 离职 + "turnover-6": "oa", // 离职 + "turnover-7": "oa", // 离职 + "turnover-8": "oa", // 离职 + "turnover-9": "oa", // 离职 + "turnover-10": "oa", // 离职 + "turnover-11": "oa", // 离职 + "turnover-12": "oa", // 离职 + "turnover-13": "oa", // 离职 + "turnover-14": "oa", // 离职 + "turnover-15": "oa", // 离职 + "turnover-16": "oa", // 离职 + "turnover-17": "oa", // 离职 + "turnover-18": "oa", // 离职 + "turnover-19": "oa", // 离职 + "turnover-20": "oa", // 离职 + "turnover-21": "oa", // 离职 + "turnover-22": "oa", // 离职 + "turnover-23": "oa", // 离职 + "turnover-24": "oa", // 离职 + "turnover-25": "oa", // 离职 + "turnover-26": "oa", // 离职 + "turnover-27": "oa", // 离职 + "turnover-28": "oa", // 离职 + "businessTrip": "oa", // 出差 + "goOut": "oa", // 外出 + + "annualLeaveApply": "oa", // 年假申请 + "maritalLeaveApply": "oa", // 婚假申请 + "matingCheckLeaveApply": "oa", // 孕检假申请 + "maternityLeaveApply": "oa", // 产假申请 + "paternityLeaveApply": "oa", // 陪产假申请 + "parentalLeaveApply": "oa", // 育儿假申请 + "nursingLeaveApply": "oa", // 独生子女护理假申请 + "funeralLeaveApply": "oa", // 丧假 + + "financialFormApply": "", // 财务表单审批 + +} + +var CheckLeaveApplyMap = map[string]string{ + "annualLeave": "annualLeaveApply", // 年假 + "maritalLeave": "maritalLeaveApply", // 婚假 + "matingCheckLeave": "matingCheckLeaveApply", // 孕检假 + "maternityLeave": "maternityLeaveApply", // 产假 + "paternityLeave": "paternityLeaveApply", // 陪产假 + "parentalLeave": "parentalLeaveApply", // 育儿假 + "nursingLeave": "nursingLeaveApply", // 独生子女护理假 + "funeralLeave": "funeralLeaveApply", // 丧假 +} + +var TitleMap = map[string]string{ + "content": "", + "work": "", + "exhibition": "exhibition", + "bundle": "", + "show": "", + + "事假": "oa", // 事假 + "病假": "oa", // 病假 + "年假": "oa", // 年假 + "调休": "oa", // 调休 + "婚假": "oa", // 婚假 + "孕检假": "oa", // 孕检假 + "产假": "oa", // 产假 + "陪产假": "oa", // 陪产假 + "育儿假": "oa", // 育儿假 + "独生子女护理假": "oa", // 独生子女护理假 + "丧假": "oa", // 丧假 + + "补卡": "oa", // 补卡 + "加班": "oa", // 加班 + "外勤": "oa", // 外勤 + "离职": "oa", // 离职 + "出差": "oa", // 出差 + "外出": "oa", // 外出 + + "年假申请": "oa", // 年假申请 + "婚假申请": "oa", // 婚假申请 + "孕检假申请": "oa", // 孕检假申请 + "产假申请": "oa", // 产假申请 + "陪产假申请": "oa", // 陪产假申请 + "育儿假申请": "oa", // 育儿假申请 + "独生子女护理假申请": "oa", // 独生子女护理假申请 + "丧假申请": "oa", // 丧假申请 + + "financialFormApply": "", // 财务表单审批 + +} + +var MakeUp = "makeUp" + +const ( + MakeUpNum = "makeUpNum" + CheckChickIn = "checkChickIn" + LeaveApplyTypes = "leaveApplyTypes" + ChickInWifi = "chickInWifi" + MaritalLeaveBalance = "maritalLeaveBalance" +) + +const ( + IsNotOver = iota + 1 + IsOver +) + +const ( + OutWorkOut = "out" + OutWorkBack = "back" +) + +// 或签 会签 +const ( + AndSignType = "AND" + OrSignType = "OR" + ErrorSignType = "签核类型错误" +) diff --git a/pkg/e/artistinfoMsg.go b/pkg/e/artistinfoMsg.go new file mode 100644 index 0000000..bbb9251 --- /dev/null +++ b/pkg/e/artistinfoMsg.go @@ -0,0 +1,95 @@ +// Package e ----------------------------- +// @file : artistinfoMsg.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/10/24 14:58 +// ------------------------------------------- +package e + +import "fmt" + +type ErrorCode int + +// String 使用 fmt.Sprintf(Err13ArtistUidIsNull) 返回 "画家UID不能为空" +func (e ErrorCode) String() string { + if v, ok := MsgFlags[e]; ok { + return v + } else { + return fmt.Sprintf("未知错误:[%d]", e) + } +} + +const ( + Err13IDIsNull = 130001 + Err13DuplicateData = 130002 + Err13ScriptIsRunning = 130003 + //用户相关错误 + Err13ArtistUidIsNull = 130101 + Err13ArtistTnumIsnull = 130102 + Err13UserIsUnLock = 130103 + Err13UserNotFound = 130104 + Err13IDNumISNULL = 130105 + Err13TelNumISNull = 130106 + Err13NoOperationAfterUnlock = 130107 + Err13RealNameIsNull = 130108 + Err13OriginIsNull = 130109 + ErrorTelNumInBlackList = 130110 + ErrorIdCardInBlackList = 130111 + //画作相关错误 + Err13ArtworkUidIsNull = 130201 + Err13ArtworkTfnumIsNull = 130202 + Err13UnknownAuditNode = 130203 + Err13ArtworkNotFound = 130204 + Err13BaseAuditNotFinish = 130205 + //画家指数 + Err13DuplicateTile = 130301 + //经纪人补充信息 + Err13ArtPackageUidIsNull = 130701 + Err13AgentNotExist = 130702 + Err13AgentNotSpecified = 130703 + Err13AgentHasSpecified = 130704 + Err13DataHaventGenerate = 130705 + //合同 + Err13ContractDuplicate = 130801 + Err13IllegalContract = 130802 +) + +var err13Msg = map[ErrorCode]string{ + Error13ArtistInfoCodeStart: "画家宝模块错误", + Error13ArtistInfoCodeEnd: "画家宝模块错误", + Err13IDIsNull: "ID不能为空", + Err13DuplicateData: "数据已存在", + Err13ScriptIsRunning: "脚本正在运行,不可重复操作", + Err13ArtistUidIsNull: "画家UID不能为空", + Err13ArtistTnumIsnull: "画家编号不能为空", + Err13UserIsUnLock: "未锁定该用户,操作取消", + Err13UserNotFound: "找不到此用户", + Err13IDNumISNULL: "身份证号不能为空", + Err13TelNumISNull: "手机号不能为空", + Err13RealNameIsNull: "真实姓名不能为空", + Err13OriginIsNull: "数据来源不能为空", + Err13NoOperationAfterUnlock: "未做任何操作,无法解锁", + Err13AgentNotExist: "经纪人不存在", + Err13ArtworkUidIsNull: "画作UID不能为空", + Err13ArtworkTfnumIsNull: "画作编号不能为空", + Err13ArtworkNotFound: "画作不存在", + Err13BaseAuditNotFinish: "画作基本信息未审批完成,操作取消", + Err13UnknownAuditNode: "未知的审批节点", + Err13DuplicateTile: "标题重复", + Err13ArtPackageUidIsNull: "画展包Uid为必填", + Err13AgentNotSpecified: "用户尚未指定经纪人", + Err13AgentHasSpecified: "您已指定经纪人,不可重复操作", + Err13DataHaventGenerate: "数据尚未生成", + Err13ContractDuplicate: "合同已存在,请勿重复操作", + Err13IllegalContract: "存在非法的合同", +} + +func init() { + for k, v := range err13Msg { + if _, ok := MsgFlags[k]; ok { + panic(fmt.Sprintf("错误代码%d冲突,请检查pkg/e目录下的代码", k)) + } else { + MsgFlags[k] = v + } + } +} diff --git a/pkg/e/auth_msg.go b/pkg/e/auth_msg.go new file mode 100644 index 0000000..fd95101 --- /dev/null +++ b/pkg/e/auth_msg.go @@ -0,0 +1,7 @@ +package e + +const ( + DEFAULT_PWD = "Aa.123456" + DateFormatting = "2006-01-02" + UserFailure = "更新用户信息失败" +) diff --git a/pkg/e/code.go b/pkg/e/code.go new file mode 100644 index 0000000..8bf94fe --- /dev/null +++ b/pkg/e/code.go @@ -0,0 +1,394 @@ +package e + +var ( + JWTSecret = []byte("asdfqwer1234") +) + +const ( + AddUser = "addUser" //下发人员信息 + EditUser = "editUser" //修改人员信息 + DelUser = "delUser" //删除人员信息 + DelMultiUser = "delMultiUser" //批量删除人员 + DelAllUserRet = "delAllUserRet" //删除全部人员 + AddVisitRet = "addVisitRet" //下发人证对比 + OnlineAuthorization = "onlineAuthorization" //抓拍现场照片 + Reboot = "reboot" //重启设备 + VerifyPhoto = "verifyPhoto" //检测图片质量 + AddPassRule = "addPassRule" //下发人员通行规则 + GetPassRule = "getPassRule" //获取通行规则 + DelPassRule = "delPassRule" //删除通行规则 + SetPasswordVerify = "setPasswordVerify" //设备密码开门开关 + SetOpenDoorPassword = "setOpenDoorPassword" //设置设备开门密码 + UploadFaceInfo = "uploadFaceInfo" //通知设备同步人员数据 + GetUserInfo = "getUserInfo" //查询设备人员数量和id + GetUserDetails = "getUserDetails" //根据userid读取用户数据 + GetDeviceSettings = "getDeviceSettings" //获取设备设置 + CustomHomeLogo = "customHomeLogo" //设置设备 logo + AetAd = "setAd" //设置广告语 + SetTime = "setTime" //设置时间 + SetDoor = "setDoor" //设置开关门 + SetRecognitionInterval = "setRecognitionInterval" //设置识别间隔 + SetRecognitionDistance = "setRecognitionDistance" //设置识别距离 + SetMaskDetection = "setMaskDetection" //口罩检测开关 + SetLivenessDetection = "setLivenessDetection" //活体检测 + SetLivenessLevel = "setLivenessLevel" //活体检测等级 + SetStrangerRecognition = "setStrangerRecognition" //陌生人识别 + SetVolume = "setVolume" //设置设备音量 + SetPlayUserName = "setPlayUserName" //播放用户名 + SetVoice = "setVoice" //设置设备提示语音 + SetPassword = "setPassword" //修改进入设置页面密码 + SetRelayState = "setRelayState" //设置继电器状态-常开/正常 + SetRecordPictureQuality = "setRecordPictureQuality" //设置设备识别照片抓拍的质量 + SetVisitorCallStatus = "setVisitorCallStatus" //访问呼叫开关 + SetPrinterStatus = "setPrinterStatus" //打印机开关 + //SetVisitorApplyValue = "setVisitorApplyValue" //首页访客申请入库内容 + SetHttpToken = "setHttpToken" //设置http请求的token + SetVerifyTimeout = "setVerifyTimeout" //设置验证接口超时时长 + SetOpenDoorDelay = "setOpenDoorDelay" //设置设备开门延迟 + SetAdminLongPressTime = "setAdminLongPressTime" //进入设置页面长按时间 + SetDesensitizationName = "setDesensitizationName" //姓名脱敏显示 + SetReadCardInfo = "setReadCardInfo" //设置读卡扇区 + SetGeofence = "setGeofence" //设置设备位置围栏 + SetScreensaverState = "setScreensaverState" //设备节能屏保开关 + AddCarousePicture = "addCarousePicture" //设置设备屏保 + DelCarouselPic = "delCarouselPic" //删除屏保 + SetScreensaverInterval = "setScreensaverInterval" //设置屏保显示时长 + SetTemperatureDetection = "setTemperatureDetection" //体温检测开关 + SetTemperatureMode = "setTemperatureMode" //体温检测模式 + SetPreliminaryScreeningStandard = "setPreliminaryScreeningStandard" //初筛模式标准 + SetTemperatureCalibrationMode = "setTemperatureCalibrationMode" //设置体温校准模式 + SetLowTemperaturePass = "setLowTemperaturePass" //低温可通行开关 + SetPlayTemperature = "setPlayTemperature" //播报体温开关 + SetReflectivity = "setReflectivity" //设置体温反射率 + SetTemperatureCorrection = "setTemperatureCorrection" //设置体温校准值 + SetTemperatureDetectDistance = "setTemperatureDetectDistance" //设置设备体温检测距离 + SetMeasureTemperatureTime = "setMeasureTemperatureTime" //设置测温时间段 + SetAutoUpdate = "setAutoUpdate" //开机自动更新 + GetVersionInfo = "getVersionInfo" //获取设备版本信息 + PushVersionInfo = "pushVersionInfo" //发送设备版本信息给服务端 + CheckForUpdates = "checkForUpdates" //通知设备在线检查更新 + SetVisitorApplyValue = "setVisitorApplyValue" //设置设备首页二维码 + SetVisitorQRCodePrefix = "setVisitorQRCodePrefix" //设置访客二维码前缀 + SetPanoramicCamera = "setPanoramicCamera" //全景相机开关 + SetPanoramicCameraParams = "setPanoramicCameraParams" //设置全景相机的参数 + SetRecognitionResultStyle = "setRecognitionResultStyle" //识别结果样式 + SetOnlineVerifyAfterRecognition = "setOnlineVerifyAfterRecognition" //识别后在线验证 + SetOnlineVerifyCard = "setOnlineVerifyCard" //在线验证卡号 + SetOnlineVerifyIdCard = "setOnlineVerifyIdCard" //在线验证身份证号 + SetOnlineRecognitionInterval = "setOnlineRecognitionInterval" //设置在线识别间隔 + SetOnlineRecognitionState = "setOnlineRecognitionState" //在线识别开关 + SetOnlineRecognition = "setOnlineRecognition" //临时启用在线识别 + SetPassType = "setPassType" //设置可通行人员类型 + SetRecognitionLevel = "setRecognitionLevel" //设置设备识别置信度 + SetSwitch = "setSwitch" //开启/关闭设备识别 + SetDisablePass = "setDisablePass" //停用状态通行人数 + AddImageAd = "addImageAd" //下发广告 - 图片 + DelAd = "delAd" //删除广告 + ChangeADStatus = "changeADStatus" //启用停用广告 + GetDoorLockState = "getDoorLockState" //获取(上报)门锁状态 + SetDoorLockListener = "setDoorLockListener" //设置门锁实时监听开关 +) +const ( + AuthFinanceKey = "auth_search_finance" //财务 + AuthTrainingKey = "auth_search_training" //教培 + AuthPublicizeKey = "auth_search_publicize" //宣传 + AuthWarehouseKey = "auth_search_warehouse" //仓库 + AuthDriveKey = "ge_diver_auth" + AuthEmployeeAllKey = "auth_search_employee" //员工档案查看权限 + AuthEmployeeMaiKey = "auth_search_mai_employee" //员工档案查看权限 + AuthDriveSupervisorKey = "ge_driver_supervisor_auth" + SellerBossKey = "seller_mobile_boss_auth" + SellerStaffKey = "seller_mobile_staff_auth" + SellerTellerKey = "seller_teller_auth" + DepartmentKey = "department_boss_auth" + ExhibitionInsideKey = "exhibition_inside_key" //画展包内部 + ExhibitionShowKey = "exhibition_show_key" //画展包画展数据 + QueryCanShow = "can_show_exh" //查看可画展画展包 + SecretDataBoss = "secret_data_boss" //查看可画展画展包加密数据 + AuthArtworkFix = "artwork-fix-button-mobile-auth" + AUthOnlySiteLogin = "only-site-login" + AuthCollectionAllDetailKey = "auth_collection_all_detail" //员工考勤查看权限 + AuthCollectionMaiDetailKey = "auth_collection_mai_detail" //员工考勤亿麦查看权限 +) + +const ( + ErrNotLogin = "ErrNotLogin" + ErrOffline = "ErrOffline" + ErrOfflineSqueeze = "您的账号已在其他设备登录" + ErrAccountNotExist = "当前手机号不在系统中,请您确认手机号码正确性" +) + +var LoginMap = map[string]string{ + "ErrNotLoginZhCN": "请先登录", + "ErrNotLoginEN": "Please login first", + "ErrNotLoginZhTW": "請先登錄", +} + +var OfflineMap = map[string]string{ + "ErrOfflineZhCN": "您已经下线", + "ErrOfflineEN": "You have been offline", + "ErrOfflineZhTW": "您已經下線", +} + +const ( + Authorization = "Authorization" +) + +const ( + ApprovalWorkStatusDoing = 1 + ApprovalWorkStatusOk = 2 + ApprovalWorkStatusFail = 3 + + ApprovalWorkStatusRevoking = 6 + ApprovalWorkStatusRevokeOk = 7 +) + +const ( + TypeContent = "content" + TypeWork = "work" + TypeExhibition = "exhibition" + TypeShow = "show" + TypeBundle = "bundle" +) + +const ( + Success = 200 + Error = 500 + ParamsError = 400 + InvalidToken = 501 +) + +const ( + Domain_Mall = "mall" +) + +const ( + RULE_TYPE_MENU = "menu" + RULE_TYPE_BUTTON = "button" + RULE_TYPE_INTERFACE = "interface" +) + +const ( + Auth_Artwork_Task = "Auth_Artwork_Task" + Task_Type_Feedback = "feedback" + Task_Type_Art = "art" + CreateQrUrl = "https://common.szjixun.cn/api/image/qr/url?url=" +) + +// 订单状态参数 +const ( + ORDER_STATUS_NEED_PUBLIC = iota + 1 //待发布 + ORDER_STATUS_NEED_CONFIRM //待确认 + ORDER_STATUS_APPEAL //申诉状态 + ORDER_STATUS_CONFIRMED //已确认 +) + +const ( + Pay_Need_Pay = iota + 1 + Pay_Success + Pay_Fail + Pay_Express + Pay_Express_Agree +) + +const ( + REPORT_STATUS_NEED_PUBLIC = iota + 1 //待发布 + REPORT_PUBLISH //已发布 + REPORT_NEED_CASHIER_SURE //待出纳补充 + REPORT_NEED_BOSS_SURE //带最后总价确认 + REPORT_CASHIER_FINAL_OPTION //待出纳确认 重置 +) + +const ( + Transaction_Doing = iota + 1 //待总监确认 + Transaction_Need_Seller_Sure //待销售确认 + Transaction_Question //申诉订单 + Transaction_Done //完成 + Transaction_Need_Cashier_Sure //待出纳确认 + Transaction_Need_Control_Sure //待内控确认 + Transaction_Need_Finance_Sure //待财务确认 +) + +const ( + Order_Doing = iota + 1 //待总监确认 待发布 + Order_Need_Seller_Sure //待销售确认 + Order_Status_Question //申诉订单 + Order_Done //完成 + Order_Need_Cashier_Sure //待出纳确认 + Order_Need_Control_Sure //待内控确认 + Order_Need_Finance_Sure //待财务确认 +) + +const ( + Pay_Type_Zhi = iota + 1 //支付宝 + Pay_Type_Transer //转账 + Pay_Type_Pos //Pos机支付 + Pay_Type_Zhi_Transer //支付宝转账 + Pay_Type_Transer_Pos //转账和pos机 + Pay_Type_Pos_Zhi //pos和支付宝 + Pay_Type_All //pos和支付宝和转账 +) + +// 画展包及画展包申请状态码定义 +const ( + ARTSHOW_INSIDE = iota + 1 // 内部 + ARTSHOW_PASS // 可展 + //ARTSHOW_SHOW_PASS // 画展包的画展地址和时间 审批 + ARTSHOW_SALE_ADDRESS_PASS // 画展包中画作的销售地址 审批 + ARTSHOW_REWARD_PASS // 润格 审批 +) + +// 审批人的状态码 +const ( + IsLive = iota // 是否有效 0 有效 1 无效 + IsLiveInvalid +) + +// 可画展画展包状态 +const ( + NotCanShow = 1 // 不可画展 + CanShow = 2 // 可画展 +) + +const ( + Failed = 1 + Ok = 0 + BindError = 2 + JsonUnmarshal = 3 + NOTDATA = 4 + ErrorHttp = 5 + ErrorBody = 6 + NotLogin = 401 + OffLine = 402 + NotLoginSqueeze = 409 + SUCCESS = 200 + UpdatePasswordSuccess = 201 + DeleteSuccess = 204 + NotExistInentifier = 202 + ERROR = 500 + InvalidParams = 400 + + //成员错误 + ErrorExistNick = 10001 + ErrorExistUser = 10002 + ErrorNotExistUser = 10003 + ErrorNotCompare = 10004 + ErrorNotComparePassword = 10005 + ErrorFailEncryption = 10006 + ErrorNotExistProduct = 10007 + ErrorNotExistAddress = 10008 + ErrorExistFavorite = 10009 + ErrorGetUserInfo = 10010 + ErrorGetDepart = 10011 + ErrorUpdateAw = 10012 + ErrorGetArtShow = 10013 + ErrorPriceRunFailed = 10014 + ErrorArtistNotLock = 10015 + ErrorArtistCardId = 10016 + ErrorIndexes = 10017 + ErrorNoArtist = 10018 + + //店家错误 + ErrorBossCheckTokenFail = 20001 + ErrorBossCheckTokenTimeout = 20002 + ErrorBossToken = 20003 + ErrorBoss = 20004 + ErrorBossInsufficientAuthority = 20005 + ErrorBossProduct = 20006 + + //管理员错误 + ErrorAuthCheckTokenFail = 30001 //token 错误 + ErrorAuthCheckTokenTimeout = 30002 //token 过期 + ErrorAuthToken = 30003 + ErrorAuth = 30004 + ErrorAuthInsufficientAuthority = 30005 + ErrorReadFile = 30006 + ErrorSendEmail = 30007 + ErrorCallApi = 30008 + ErrorUnmarshalJson = 30009 + ErrorAdminFindUser = 30010 + //数据库错误 + ErrorDatabase = 40001 + + //对象存储错误 + ErrorOss = 50001 + ErrorUploadFile = 50002 + ErrorSelect = 50003 + + //店铺错误 + ErrorExistShopName = 60001 + ErrorNotExistShopName = 60002 + ErrorNotAdmin = 60003 + + ErrNoDomain = 70001 + ErrTelNum = 70002 + ErrNoCode = 70003 + ErrNoID = 70004 + ErrNickName = 70005 + InvalidID = 70006 + InvalidPas = 70007 + ErrStatus = 70008 + ErrNoType = 70009 + ErrNoUserID = 70010 + ErrNoName = 70011 + ErrNoDepCode = 70012 + ErrNoTitle = 70013 + ErrNoUrl = 70014 + ErrNoMethod = 70015 + ErrNotDep = 70016 + ErrCreateQr = 70017 + ErrNotSellerBoss = 70018 + + //上传 + ErrorUploadVideoCover = 80001 + ErrorUploadValidParam = 80002 + ErrorFileReadErr = 80003 + ErrorFileNotExists = 80004 + ErrorChunkNotGt = 80005 + ErrorChunk = 80006 + ErrorUploadBos = 80007 + ErrorFileCreate = 80008 + ERROR_UID = 80009 + ERROR_NOT_ZIP = 80010 + ERROR_EMPTY_ZIP = 80011 + ERROR_COPYRIGHT_CHUNK = 80012 + ERROR_EMPTY_FILE = 80013 + ERROR_OPEN_FILE = 80014 + ERROR_READ_DIR = 80015 + ERROR_ZIP = 80016 + ERROR_NO_FILE = 80017 + ERROR_ROTATE_IMG = 80018 + ERROR_BAIDU_IMAGE = 80019 + ERROR_BAIDU_FAIL = 80020 + ERROR_DOWNLOAD_FILE = 80021 + ERROR_INVALID_FILE_EXT = 80022 + ERROR_ALIYUN_DOC_SUBMIT = 80023 + ERROR_ALIYUN_DOC_PARSE = 80024 + ERROR_DECODE_IMAGE = 80025 + ErrorUpdateEmployee = 80026 + + //画作 + ErrorAllotUids = 90001 + + ErrorBrandList = 11001 + ErrorStoreNTF = 11002 + + //品牌方助记词注册失败 + ErrorCreateAccount = 11010 + + ErrorUpdateVideo = 12001 + + //画家宝服务错误代码 130000 ~ 139999 + Error13ArtistInfoCodeStart = 130000 + Error13ArtistInfoCodeEnd = 139999 +) + +const ( + SendPromotionMsgSuccess = 2 +) + +const ( + NotHasFormula = 1 // 不存在 公式 + HasFormula = 2 // 存在 公式 + NotCare = 3 // 忽略 公式 +) diff --git a/pkg/e/dci/amendType.go b/pkg/e/dci/amendType.go new file mode 100644 index 0000000..51d2ed1 --- /dev/null +++ b/pkg/e/dci/amendType.go @@ -0,0 +1,8 @@ +package err + +var AmendType = map[string]string{ + "TOBE_AMEND": "待补正", + "AMEND_CHECK_FAIL": "待补正审核不通过", + "REPLACE_DCI": "需要替换DCI补正", + "NO_NEED_REPLACE_DCI": "不需要替换DCI补正", +} diff --git a/pkg/e/dci/areaCode.go b/pkg/e/dci/areaCode.go new file mode 100644 index 0000000..6d97cea --- /dev/null +++ b/pkg/e/dci/areaCode.go @@ -0,0 +1,48 @@ +package err + +/*var ProMunRegCode = map[string][]struct{}{ + "北京市": "11", + "天津市": "12", + "河北省": "13", + "山西省": "14", + "内蒙古自治区": "15", + "辽宁省": "21", + "吉林省": "22", + "黑龙江省": "23", + "上海市": "31", + "江苏省": "32", + "浙江省": "33", + "安徽省": "34", + "福建省": "35", + "江西省": "36", + "山东省": "37", + "河南省": "41", + "湖北省": "42", + "湖南省": "43", + "广东省": "44", + "广西壮族自治区": "45", + "海南省": "46", + "重庆市": "50", + "四川省": "51", + "贵州省": "52", + "云南省": "53", + "西藏自治区": "54", + "陕西省": "61", + "甘肃省": "62", + "青海省": "63", + "宁夏回族自治区": "64", + "新疆维吾尔自治区": "65", +} + +var BeiJing = map[string]string{} + +var TianJin = map[string]string{} + +var HeBei = map[string]string{} + +var ShanXi14 = map[string]string{} + +var NeiMeng = map[string]string{} + +var ShanXi61 = map[string]string{} +*/ diff --git a/pkg/e/dci/certType.go b/pkg/e/dci/certType.go new file mode 100644 index 0000000..9829c75 --- /dev/null +++ b/pkg/e/dci/certType.go @@ -0,0 +1,6 @@ +package err + +var CertTypeMap = map[string]string{ + "IDENTITY_CARD": "身份证", + "NATIONAL_LEGAL_MERGE": "统⼀社会信⽤代码", +} diff --git a/pkg/e/dci/dciDigitalRegStatusEnum.go b/pkg/e/dci/dciDigitalRegStatusEnum.go new file mode 100644 index 0000000..d0b4951 --- /dev/null +++ b/pkg/e/dci/dciDigitalRegStatusEnum.go @@ -0,0 +1,13 @@ +package err + +var DciDigitalRegStatusEnum = map[string]string{ + "CHECK": "初审中", + "CHECK_FAIL": "初审不通过", + "PAY": "待支付", + "REVIEW": "复审中", + "TOBE_AMEND": "待补正", + "AMEND_CHECK_FAIL": "待补正审核失败", + "FINISH": "数登完成", + "DISREGARD": "不予处理", + "REGISTRATION_STOP": "申请停止", +} diff --git a/pkg/e/dci/failDetail.go b/pkg/e/dci/failDetail.go new file mode 100644 index 0000000..18ddc49 --- /dev/null +++ b/pkg/e/dci/failDetail.go @@ -0,0 +1,8 @@ +package err + +var FailDetail = map[string]string{ + "CHECK_FAIL": "初审不通过", + "TOBE_AMEND": "待补正", + "AMEND_CHECK_FAIL": "待补正审核不通过", + "DISREGARD": "不予受理", +} diff --git a/pkg/e/dci/fileType.go b/pkg/e/dci/fileType.go new file mode 100644 index 0000000..fa816cc --- /dev/null +++ b/pkg/e/dci/fileType.go @@ -0,0 +1,9 @@ +package err + +var FileType = map[string]string{ + "TEXT": "文本(限制pdf类型)(限制文件大小10M)", + "IMAGE": "图片(限制jpg、jpeg、png类型)(限制文件大小5M)", + "AUDIO": "音频(限制mp3、wav类型)(限制文件大小50M)", + "VIDEO": "视频(限制mp4、avi、wmv类型)(限制文件大小200M)", + "PDF_IMAGE": "系列图(限制pdf类型)(限制文件大小10M)(限制子图数量2-30)", +} diff --git a/pkg/e/dci/fontCopyrightEnum.go b/pkg/e/dci/fontCopyrightEnum.go new file mode 100644 index 0000000..ffeaf22 --- /dev/null +++ b/pkg/e/dci/fontCopyrightEnum.go @@ -0,0 +1,8 @@ +package err + +var FontCopyrightEnum = map[string]string{ + "NO_NEED": "不涉及字体版权", + "FREE_FONT": "公共免费字体", + "ORIGINAL_FONT": "原创字体", + "AUTHORIZED_FONT": "商用字体已授权", +} diff --git a/pkg/e/dci/invoiceTypeEnum.go b/pkg/e/dci/invoiceTypeEnum.go new file mode 100644 index 0000000..dac5cbb --- /dev/null +++ b/pkg/e/dci/invoiceTypeEnum.go @@ -0,0 +1,6 @@ +package err + +var InvoiceTypeEnum = map[string]string{ + "NORMAL": "普票", + "SPECIAL": "专票", +} diff --git a/pkg/e/dci/ownershipWay.go b/pkg/e/dci/ownershipWay.go new file mode 100644 index 0000000..d213481 --- /dev/null +++ b/pkg/e/dci/ownershipWay.go @@ -0,0 +1,6 @@ +package err + +var OwnershipWay = map[string]string{ + "PERSON": "个人作品", + "ENTERPRISE": "法人作品", +} diff --git a/pkg/e/dci/payStatus.go b/pkg/e/dci/payStatus.go new file mode 100644 index 0000000..502af6b --- /dev/null +++ b/pkg/e/dci/payStatus.go @@ -0,0 +1,7 @@ +package err + +var PayStatus = map[string]string{ + "PAY_SUCCESS": "支付成功", + "PAY_FAIL": "支付失败", + "UNPAID": "待支付", +} diff --git a/pkg/e/dci/preRegistrationTrueWill.go b/pkg/e/dci/preRegistrationTrueWill.go new file mode 100644 index 0000000..5d3d796 --- /dev/null +++ b/pkg/e/dci/preRegistrationTrueWill.go @@ -0,0 +1,8 @@ +package err + +var PreRegistrationTrueWill = map[string]string{ + "PASSWORD": "密码验证", + "CONFIRM_SMS": "用户短信验证", + "LIVE_SMS": "指纹或视频人脸验证", + "CERTIFICATE": "电子签名验证", +} diff --git a/pkg/e/dci/publicationStatus.go b/pkg/e/dci/publicationStatus.go new file mode 100644 index 0000000..c988f83 --- /dev/null +++ b/pkg/e/dci/publicationStatus.go @@ -0,0 +1,5 @@ +package err + +var PublicationStatus = map[string]string{ + "PUBLISHED": "作品已发表", +} diff --git a/pkg/e/dci/resultCode.go b/pkg/e/dci/resultCode.go new file mode 100644 index 0000000..0dbc735 --- /dev/null +++ b/pkg/e/dci/resultCode.go @@ -0,0 +1,9 @@ +package err + +var ResultCode = map[string]string{ + "OK": "正常返回", + "BAD_REQUEST": "请求参数错误", + "PERMISSION_ERROR": "权限错误", + "BUSINESS_ERROR": "业务内容错误", + "SERVER_ERROR": "服务器错误", +} diff --git a/pkg/e/dci/resultMsg.go b/pkg/e/dci/resultMsg.go new file mode 100644 index 0000000..843c33c --- /dev/null +++ b/pkg/e/dci/resultMsg.go @@ -0,0 +1,66 @@ +package err + +var ResultMsg = map[string]string{ + "PERMISSION_IS_NOT_EXIST": "权限未开通", + "WORK_NAME_IS_NULL": "作品名称为空", + "WORK_NAME_INVALID_LENGTH": "作品名称长度错误", + "WORK_CATEGORY_INVALID": "作品类型错误", + "WORK_FILE_ID_IS_NULL": "作品fileId为空", + "WORK_FILE_NOT_EXIST": "作品文件不存在", + "WORK_CREATION_INFO_IS_NULL": "作品创作信息为空", + "WORK_CREATION_NATURE_INVALID": "作品创作性质错误", + "WORK_CREATION_DATE_INVALID": "作品创作时间错误", + "WORK_CREATION_CODE_IS_NULL": "作品创作地点为空", + "WORK_PUBLICATION_INFO_IS_NULL": "作品发表信息为空", + "WORK_PUBLICATION_STATUS_INVALID": "作品发表状态错误", + "WORK_PUBLICATION_DATE_INVALID": "作品发表时间错误", + "WORK_PUBLICATION_CODE_INVALID": "作品发表地点错误", + "WORK_AUTHOR_NAME_IS_NULL": "作品作者名称为空", + "WORK_RIGHT_INFO_IS_NULL": "作品权利信息为空", + "WORK_RIGHT_SCOPE_INVALID": "作品权利范围错误", + "WORK_RIGHT_OBTAIN_WAY_INVALID": "作品权利获取方式错误", + "WORK_OWNERSHIP_WAY_INVALID": "作品权利归属方式错误", + "PREREGISTRATION_TRUE_WILL_INVALID": "真实意愿表达错误", + "ACCOUNT_BALANCE_STATUS_INVALID": "账号余额不足", + "DCI_FILE_TYPE_INVALID": "dci文件类型错误", + "DCI_COPYRIGHT_OWNER_ID_IS_NULL": "著作权人用户id为空", + "DCI_COPYRIGHT_OWNER_ID_INVALID": "著作权人用户id无效", + "DCI_CATEGORY_NOT_OPTIONAL": "DCI作品类型不可选", + "DCI_FILE_SIZE_INVALID": "dci作品文件大小超限", + "DCI_FILE_INVALID": "dci作品文件异常", + "DCI_FILE_NAME_INVALID": "dci作品文件为空", + "WORK_FILE_ID_INVALID": "dci作品文件id异常", + "WORK_CREATION_CODE_INVALID": "作品创作地点无效", + "CHANNEL_TERMINAL_INVALID": "渠道标签无效", + "DCI_CONTENT_ALREADY_EXIST": "相同文件已发起过dci申领", + "DCI_USER_ID_IS_NULL": "dci用户id为空", + "DCI_USER_ID_INVALID": "dci用户id有误", + "DCI_USER_CERT_FRONT_FILE_EMPTY": "dci证件正面文件入参为空", + "DCI_USER_CERT_BACK_FILE_EMPTY": "dci证件背面文件入参为空", + "DCI_USER_CERT_FRONT_FILE_NOT_EXIST": "dci证件正面文件不存在", + "DCI_USER_CERT_BACK_FILE_NOT_EXIST": "dci用户证件背面文件不存在", + "DCI_USER_PHONE_INVALID": "dci用户手机号无效", + "DCI_USER_NAME_INVALID": "dci用户名错误", + "DCI_USER_LEGAL_PERSON_CERT_NAME_EMPTY": "dci用户法人姓名无效", + "DCI_USER_LEGAL_PERSON_CERT_TYPE_EMPTY": "dci用户法人证件类型无效", + "DCI_USER_LEGAL_PERSON_CERT_NO_EMPTY": "dci用户法人证件号无效", + "DCI_USER_LEGAL_PERSON_CERT_NO_INVALID": "dci用户法人证件号错误", + "DCI_CERTIFICATE_START_TIME_INVALID": "dci证件开始时间错误", + "DCI_CERTIFICATE_END_TIME_INVALID": "dci证件结束时间错误", + "DCI_CERTIFICATE_FRONT_ID_INVALID": "dci证件正面文件d为空", + "DCI_CERTIFICATE_FRONT_NOT_EXIST": "dci证件正面文件不存在", + "DCI_CERTIFICATE_BACK_NOT_EXIST": "dci证件背面文件不存在", + "DCI_IDENTITY_START_TIME_INVALID": "dci证件开始时间错误", + "DCI_USER_AREA_INVALID": "dci用户所属地区错误,当前只支持CHINA_MAINLAND", + "DCI_USER_ALREADY_EXIST": "已注册过dci用户", + "DCI_CERTIFICATE_TYPE_INVALID": "dci证件类型错误", + "DCI_CERTIFICATE_NUMBER_INVALID": "dci证件号错误", + "DCI_CERTIFICATE_NUMBER_IS_NULL": "dci证件号为空", + "DCI_USER_PHONE_IS_NULL": "dci用户手机号为空", + "REPEAT_REQUEST_INTERCEPTION": "重复请求", + "DCI_CONTENT_NOT_EXIST": "DCI作品不存在", + "DCI_CONTENT_ID_INVALID": "dci申领id有误", + "DCI_CONTENT_ID_IS_NULL": "dci申领id为空", + "DCI_USER_NOT_EXIST": "dci用户不存在", + "DCI_USER_NOT_MATCH": "dci用户不匹配", +} diff --git a/pkg/e/dci/rightObtainWay.go b/pkg/e/dci/rightObtainWay.go new file mode 100644 index 0000000..56d6672 --- /dev/null +++ b/pkg/e/dci/rightObtainWay.go @@ -0,0 +1,5 @@ +package err + +var RightObtainWay = map[string]string{ + "ORIGINAL": "原创", +} diff --git a/pkg/e/dci/rightScope.go b/pkg/e/dci/rightScope.go new file mode 100644 index 0000000..e80b6c9 --- /dev/null +++ b/pkg/e/dci/rightScope.go @@ -0,0 +1,5 @@ +package err + +var RightScope = map[string]string{ + "ALL": "全选", +} diff --git a/pkg/e/dci/userStatus.go b/pkg/e/dci/userStatus.go new file mode 100644 index 0000000..c070332 --- /dev/null +++ b/pkg/e/dci/userStatus.go @@ -0,0 +1,6 @@ +package err + +var UserStatus = map[string]string{ + "NORMAL": "正常", + "DISABLE": "停用", +} diff --git a/pkg/e/dci/workCategory.go b/pkg/e/dci/workCategory.go new file mode 100644 index 0000000..e9d03c3 --- /dev/null +++ b/pkg/e/dci/workCategory.go @@ -0,0 +1,19 @@ +package err + +var WorkCategory = map[string]string{ + "WORD": "文字作品,支持文件类型TEXT", + "ORAL": "口述作品,支持文件类型AUDIO", + "MUSIC": "音乐作品,支持文件类型AUDIO", + "DRAMA": "戏剧作品,支持文件类型TEXT", + "QUYI": "曲艺作品,支持文件类型TEXT", + "DANCE": "舞蹈作品,支持文件类型VIDEO", + "ACRABATICS": "杂技作品,支持文件类型VIDEO", + "ART": "美术作品,支持文件类型IMAGE", + "ARCHITECTURE": "建筑作品,支持文件类型IMAGE", + "PHOTOGRAPHY": "摄影作品,支持文件类型IMAGE", + "MOVIE": "电影作品,支持文件类型VIDEO", + "AUDIOVISUAL": "类似摄制电影方法创作作品,支持文件类型VIDEO", + "DESIGN": "工程设计图、产品设计图,支持文件类型IMAGE", + "DIAGRAM": "示意图,支持文件类型IMAGE", + "MODEL": "模型,支持文件类型IMAGE", +} diff --git a/pkg/e/dci/workCreationNature.go b/pkg/e/dci/workCreationNature.go new file mode 100644 index 0000000..b85e6dc --- /dev/null +++ b/pkg/e/dci/workCreationNature.go @@ -0,0 +1,5 @@ +package err + +var WorkCreationNature = map[string]string{ + "ORIGINAL": "原创", +} diff --git a/pkg/e/dci/workStatus.go b/pkg/e/dci/workStatus.go new file mode 100644 index 0000000..e0ca737 --- /dev/null +++ b/pkg/e/dci/workStatus.go @@ -0,0 +1,9 @@ +package err + +var WorkStatus = map[string]string{ + "DCI_PRE_REG_AUDITING": "申领审核中", + "DCI_PRE_REG_FINISH": "申领成功", + "DCI_PRE_REG_FAIL": "申领失败", + "DCI_PRE_REG_CANCEL": "dci撤销", + "DCI_PRE_REG_TOBE_CONFIRM": "申领待确认,账户余额不足", +} diff --git a/pkg/e/msg.go b/pkg/e/msg.go new file mode 100644 index 0000000..8925a38 --- /dev/null +++ b/pkg/e/msg.go @@ -0,0 +1,247 @@ +package e + +const ( + SERVER_CONFIG = "conf.ini" + SERVER_DUBBOGO_CONFIG = "dubbogo.yaml" + MODE_ENV = "MODE_ENV" + LoginFromPC = "pc" + OfflineSqueeze = "squeeze" +) + +const ( + ErrorOutputReward = "润格审批未通过,无法导出润格信息" + ErrorCreateApproval = "请勿重复提交" + ErrorExport = "无数据可导出" + ErrorExportNotAllowed = "未被允许的数据,不可导出" + ErrorSaveFile = "文件保存错误" + ErrorQueryArtistData = "查询画家基础信息失败" + ErrorNotAllow = "暂无权限" + ErrorZip = "文件压缩失败" + ErrorNotFoundArtwork = "画作数据缺失" + ErrorQueryRules = "获取权限失败" + ErrorReadTemp = "模板文件获取错误" + ErrorEncodeImage = "图片解码失败" + ErrorOVerSendBossMsg = "您今天已经对该审批人同类的审批发送过短信!" + + ErrorCreateTalents = "创建岗位审核审批失败" + ErrorRollbackTalents = "回滚岗位审核审批失败" + ErrorCreateOffer = "创建入职审核审批失败" + ErrorRollbackOffer = "回滚入职审核审批失败" + ErrorResumeHireJudge = "录用申请确认失败" + ErrorResumeID = "无效的简历ID" + + // 同步信息到站点签到 + ErrorSendInfoToSiteSignIn = "同步信息到站点签到失败" + + // 查询审批内容失败 + ErrorQueryApprovalContent = "查询审批内容失败" + + // 画展包ID不能为空 + ErrorShowUidIsEmpty = "画展包ID不能为空" + + // 获取用户状态信息失败 + ErrorGetUserStatus = "获取用户状态信息失败" + ErrorLoanMoney = "借款金额错误" + ErrorImgExt = "图片格式错误" + ErrorImgDecode = "图片解析错误" +) + +const ( + ErrorQueryHonorInfo = "获取画家荣誉信息失败" + ErrorQueryArtShowInfo = "获取画展包信息失败" + ErrorUpdateCanShowStatus = "更新画展包可画展状态失败" +) + +const ( + ErrNotSameApprovalBossId = "当前审批人不一致" + ErrorApprovalUser = "获取审批人错误" + InvalidApprovalAndCopy = "无效的审批人" + ErrorQueryDirectOrDepartmentApprovalUser = "获取直属上级或部门审批人错误" + ErrorCurrentApprovalIsNotUsed = "审批设置无效,当前审批不可用" + + ErrorNotSelectDepartment = "未选择所属部门" + + // 任命审批 + ErrorNotCatchUserDepartmentBoss = "未获取到任命的用户部门负责人" + ErrorEmptyPromotionStaffUid = "未获取到任命的员工信息" + ErrorEmptyHiredStaffUid = "未获取到录用的员工信息" +) + +// 更新 销售站点信息提示 +const ( + FailedUpdateArtworkPriceSaleAddress = "更新画展包画作销售站点失败" + FailedUpdateArtworkSaleAddress = "更新画作销售站点失败" +) + +// 画展包撤销提示 +const ( + FailedQueryArtShowInfo = "查询画展包信息失败" + ErrorNotAllowedRevokeArtShowApply = "当前审批中的画展包的状态不符合撤销条件" + + ErrorShowInvoiceMiss = "缺少单据信息" + ErrorNoPrice = "当前画展包无价格信息" +) + +const ( + ErrorUserDisabled = "用户已停用" + ErrorNoArtworkLicense = "画作未授权" + ErrorNoWorkFile = "缺少作品文件" + ErrorNoDigitalRegisterId = "数登未申请" + ErrorNoArtworkUuid = "未选择画作" + ErrorArtworkAlreadyDci = "画作已经dci" + ErrorArtworkAlreadyDigital = "画作已经数登" + ErrorArtworkNotDci = "Dci尚未申请" + ErrorUnknown = "未知错误" + ErrorReplaceArtwork = "不能更换画作" + ErrorCreateAddressCode = "创作地址编码为空" + ErrorGetPayUrl = "获取支付链接失败" + ErrorRightAuthFile = "肖像权文件错误" + ErrorDciUserNoReg = "dci用户未注册" + ErrorDciUpload = "dci上传失败" + ErrorDciNoNeedUpdate = "dci用户无需更新" + ErrorNotEmpty = "不能为空" + ErrorDownloadFile = "下载文件错误" + ErrorBaiduChainError = "百度链错误" + ErrorBaiduChainAlreadyDone = "百度链已完成" + ErrorBaiduChaining = "百度链未完成" + ErrorOcr = "ocr错误" + ErrorArtworkEditNo = "画作属性不可修改" + ErrorDataNil = "数据为空" + ErrorDciUserNOFinish = "dci用户状态未完结" + ErrorNoCreationCompletionDate = "创作完成日期错误" + COPYRIGHT_NOT_IN_ARTIST_INFO_USER = "画家不在画家宝" + ERROR_CARDID_OCR = "身份证OCR失败" + ERROR_ARTIST_BLACKLIST = "画家已加入黑名单" + ERROR_EDIT_LIMIT = "编辑限制" + ERROR_DCI_USER_QUERY = "dci用户查询失败" + ErrorFileOverSize = "文件过大" +) +const ( + CountSimilarIng = "相似度计算中" +) + +var MsgFlags = map[ErrorCode]string{ + SUCCESS: "操作成功", + UpdatePasswordSuccess: "修改密码成功", + NotExistInentifier: "该第三方账号未绑定", + ERROR: "fail", + NOTDATA: "没有数据", + InvalidParams: "请求参数错误", + BindError: "参数绑定错误,类型不一致", + JsonUnmarshal: "Json解析错误", + ErrorHttp: "请求错误", + ErrorBody: "响应错误", + + ErrorExistNick: "已存在该昵称", + ErrorExistUser: "已存在该用户名", + ErrorNotExistUser: "该用户不存在", + ErrorNotCompare: "账号密码错误", + ErrorNotComparePassword: "两次密码输入不一致", + ErrorFailEncryption: "加密失败", + ErrorNotExistProduct: "该商品不存在", + ErrorNotExistAddress: "该收获地址不存在", + ErrorExistFavorite: "已收藏该商品", + ErrorGetUserInfo: "获取用户信息错误", + ErrorGetDepart: "获取部门信息错误", + ErrorUpdateAw: "同步画作信息错误", + ErrorGetArtShow: "获取画展包信息错误", + ErrorPriceRunFailed: "润格审批不通过", + ErrorArtistNotLock: "画家不是锁定状态", + ErrorArtistCardId: "画家身份证错误", + ErrorIndexes: "画家指数错误", + ErrorNoArtist: "没有该画家", + + ErrorBossCheckTokenFail: "商家的Token鉴权失败", + ErrorBossCheckTokenTimeout: "商家TOken已超时", + ErrorBossToken: "商家的Token生成失败", + ErrorBoss: "商家Token错误", + ErrorBossInsufficientAuthority: "商家权限不足", + ErrorBossProduct: "商家读文件错误", + + ErrorAuthCheckTokenFail: "Token鉴权失败", + ErrorAuthCheckTokenTimeout: "TOken已超时", + ErrorAuthToken: "Token生成失败", + ErrorAuth: "Token错误", + ErrorAuthInsufficientAuthority: "权限不足", + ErrorReadFile: "读文件失败", + ErrorSendEmail: "发送邮件失败", + ErrorCallApi: "调用接口失败", + ErrorUnmarshalJson: "解码JSON失败", + + ErrorUploadFile: "上传失败", + ErrorAdminFindUser: "管理员查询用户失败", + ErrorSelect: "查询失败", + + ErrorDatabase: "数据库操作出错,请重试", + + ErrorOss: "OSS配置错误", + + ErrorExistShopName: "店铺已被注册,请检查店铺名称和统一社会信用码", + ErrorNotExistShopName: "店铺不存在", + ErrorNotAdmin: "非管理员", + + InvalidToken: "Token验证失败", + + ErrorUploadVideoCover: "视频截取封面错误", + ErrorUploadValidParam: "上传参数非法", + ErrorFileReadErr: "读取文件错误", + ErrorFileNotExists: "文件不存在", + ErrorChunkNotGt: "分块数量不一致", + ErrorChunk: "读取分块错误", + ErrorUploadBos: "上传bos错误", + ErrorFileCreate: "文件创建错误", + ERROR_UID: "uid创建错误", + ERROR_NOT_ZIP: "压缩文件不是zip格式", + ERROR_EMPTY_ZIP: "压缩文件为空", + ERROR_COPYRIGHT_CHUNK: "批量上传不支持版权图", + ERROR_EMPTY_FILE: "文件为空", + ERROR_OPEN_FILE: "打开文件错误", + ERROR_READ_DIR: "读取文件夹错误", + ERROR_ZIP: "zip压缩错误", + ERROR_NO_FILE: "没有文件", + ERROR_ROTATE_IMG: "旋转图片出错", + ERROR_BAIDU_IMAGE: "图片审核不通过", + ERROR_BAIDU_FAIL: "图片审核失败", + ERROR_DOWNLOAD_FILE: "下载文件错误", + ERROR_INVALID_FILE_EXT: "不支持的文件格式", + ERROR_ALIYUN_DOC_SUBMIT: "文档提交错误", + ERROR_ALIYUN_DOC_PARSE: "文档解析错误", + ERROR_DECODE_IMAGE: "图片解析错误", + + ErrNoDomain: "环境变量必须要有", + ErrTelNum: "手机号码错误", + ErrNoCode: "验证码必须要有", + ErrNoID: "ID缺少", + ErrNickName: "请正确填写姓名项", + InvalidID: "身份证长度18位", + InvalidPas: "密码不小于6位", + + ErrStatus: "状态非法", + ErrNoType: "缺少类型", + ErrNoUserID: "缺少用户ID", + ErrNoName: "缺少名称", + ErrNoDepCode: "缺少部门code", + ErrNoTitle: "缺少标题", + ErrNoUrl: "缺少url", + ErrNoMethod: "缺少method", + ErrNotDep: "缺少部门", + ErrCreateQr: "生成二维码错误", + ErrNotSellerBoss: "当前人员身份非销售总监,不能操作", + + ErrorAllotUids: "分配人员错误", + + ErrorBrandList: "获取品牌方列表错误", + ErrorStoreNTF: "系列上链错误", + + ErrorUpdateVideo: "保存成功,同步画家宝错误", + ErrorUpdateEmployee: "更新员工档案错误", +} + +// GetMsg 获取状态码对应信息 +func GetMsg(code int) string { + msg, ok := MsgFlags[ErrorCode(code)] + if ok { + return msg + } + return MsgFlags[ERROR] +} diff --git a/pkg/e/oa_msg.go b/pkg/e/oa_msg.go new file mode 100644 index 0000000..47fc7f7 --- /dev/null +++ b/pkg/e/oa_msg.go @@ -0,0 +1,1093 @@ +package e + +/*const ( + ErrAttendanceMiss = "考勤规则缺失" + ErrAttendanceWeekMiss = "考勤规则周期错误" + ErrApplytimeDisagreement = "请假时间不合规" + ErrOvertimeDisagreement = "加班时间不合规" + + ErrConfirmactiontype = "打卡规则确认错误" + ErrConfirmweek = "获取工作周期失败" + NotNeedUseLeave = "无需使用余额的请假申请" + + ErrQueryMultiData = "获取日期错误" + + ErrQueryOaRecord = "查询考勤记录失败" + ErrQueryAbnormalOaRecord = "查询考勤异常记录失败" + + ErrQueryOaApply = "查询OA申请记录失败" + ErrQueryOaLeaveApply = "查询OA余额申请记录失败" + ERR_QUERY_OA_APPLY_OVERTIME = "查询加班申请记录失败" + ErrNotHaveBalance = "未申请假期余额" + ErrHaveBalanceApply = "当前已存在相应的余额申请" + + ErrQueryUser = "查询用户信息失败" + + ErrQueryOaSetting = "查询设置失败" + + ErrQueryOaMonth = "查询考勤信息失败" + + ERR_NOT_NEED_BALANCE = "无需查询余额" + + ErrNoBalance = "假期余额不足" + ErrHourNoBalance = "请假时长超出范围" + + ErrApplyTime = "无效的请假时间" + ERR_EMPTY_APPLY_TIME = "请假时长不能为0" + ErrSelectTimeRepeat = "所选时间段已有申请" + + ErrNotInCurrentYear = "该请假类型申请时间不在本年度" + ErrNotInCurrentMonth = "该请假类型申请时间不在本月" + + ErrNotNeedRecordOutworkcheck = "无需确认是否出外勤" + + ErrIsUsed = "该余额申请无法撤销" + + ErrTimeOrder = "开始时间不应晚于结束时间" + + ErrDayoffNotLessOneHour = "调休时长不得少于1小时" + + ErrOvertimeIsZero = "加班时长不得为0" + + ErrOvertimeIsRep = "加班开始时间和结束时间重复" + + ErrLeaveDurationIsZero = "时长不得为0" + + ErrHolidayMiss = "节假日信息缺失" + + ErrIpMiss = "暂无IP信息" + + ErrWifiIsNotIn = "当前不在公司内网" + + ERR_GETIP = "获取IP信息失败" + + ErrLatLog = "当前定位不能为空" + + ErrChickInMap = "打卡地址坐标缺失" + + ErrDbChickInMap = "查询打卡地址坐标失败" + + ErrCacheChickInMap = "缓存打卡地址坐标失败" + + ErrConfirmChickInMap = "打卡地址确认失败" + + ErrNotInChickInMap = "当前不在打卡范围内" + + ErrMissSystemMakeUpParam = "系统补卡参数缺失" + + ErrQueryWorkingTimeList = "查询考勤列表失败" + + ErrorWorkingTimeFindUser = "查询用户失败" + + ErrorWorkingTimeFindUserPosition = "查询用户岗位信息失败" + + ErrorQueryOaProfile = "查询用户考勤信息失败" + + ErrorQueryHoliday = "查询节假日失败" + + ErrorQueryWorkingTime = "查询考勤信息失败" + + ErrorMissWorkingTime = "未设置考勤信息" + + ErrorDelCacheGeo = "删除缓存的打卡经纬度失败" + + ErrorQueryRangeGeo = "查询打卡范围错误" + + ErrorSaveCacheGeo = "缓存打卡经纬度失败" + + ErrorSaveCacheActualGeo = "缓存实际打卡经纬度失败" + + ErrorCheckWorkTime = "判断考勤时间失败" + + ErrorQueryOutWorkCheck = "查询外出回归记录失败" + + ErrorCheckNextClockInTime = "判断下次打卡时间失败" + + ErrorClockIn = "打卡失败" + + SuccessClockIn = "打卡成功" + + ErrorNotAllowedClockIn = "不允许打卡" + + ErrorMissBreakOption = "缺少休息时间信息" + + ErrNotHadWorkingTime = "未关联考勤信息,无法打卡" + + ErrMissMakeUpRule = "缺少补卡规则" + + ErrCanNotCalcOverTimeBehindTwoDays = "当前不支持提交多日期的加班申请" + + ErrWritePDF = "写入PDF文件失败" + + ErrQueryPositionInfo = "查询部门岗位信息失败" + + ErrSystemCommonParam = "系统修改异常参数缺失" + + ErrTimeIsZero = "时长不得为0" + + ErrQueryEmployeeAttendance = "查询员工考勤绑定的考勤信息失败" + + ErrWorkingTimeNotInUse = "考勤设置将于 a 生效" + + ErrActionTimeNotBeforeNextDateFour = "最后一班下班卡的系统补卡时间不得晚于次日凌晨四点" + + ErrorIsNotBeforeOrEqualCollectionMonth = "仅支持查看当前及历史月考勤数据" + + ErrorEmployFindUser = "查询员工档案失败" +)*/ + +var errorMessagesZhCN = map[string]string{ + "ErrAttendanceMissZhCN": "考勤规则缺失", + "ErrAttendanceWeekMissZhCN": "考勤规则周期错误", + "ErrApplytimeDisagreementZhCN": "请假时间不合规", + "ErrOvertimeDisagreementZhCN": "加班时间不合规", + + "ErrConfirmactiontypeZhCN": "打卡规则确认错误", + "ErrConfirmweekZhCN": "获取工作周期失败", + "NotNeedUseLeaveZhCN": "无需使用余额的请假申请", + + "ErrQueryMultiDataZhCN": "获取日期错误", + + "ErrQueryOaRecordZhCN": "查询考勤记录失败", + "ErrQueryAbnormalOaRecordZhCN": "查询考勤异常记录失败", + + "ErrQueryOaApplyZhCN": "查询OA申请记录失败", + "ErrQueryOaLeaveApplyZhCN": "查询OA余额申请记录失败", + "ERR_QUERY_OA_APPLY_OVERTIMEZhCN": "查询加班申请记录失败", + "ErrNotHaveBalanceZhCN": "未申请假期余额", + "ErrHaveBalanceApplyZhCN": "当前已存在相应的余额申请", + + "ErrQueryUserZhCN": "查询用户信息失败", + + "ErrQueryOaSettingZhCN": "查询设置失败", + + "ErrQueryOaMonthZhCN": "查询考勤信息失败", + + "ERR_NOT_NEED_BALANCEZhCN": "无需查询余额", + + "ErrNoBalanceZhCN": "假期余额不足", + "ErrHourNoBalanceZhCN": "请假时长超出范围", + + "ErrApplyTimeZhCN": "无效的请假时间", + "ERR_EMPTY_APPLY_TIMEZhCN": "请假时长不能为0", + "ErrSelectTimeRepeatZhCN": "所选时间段已有申请", + + "ErrNotInCurrentYearZhCN": "该请假类型申请时间不在本年度", + "ErrNotInCurrentMonthZhCN": "该请假类型申请时间不在本月", + + "ErrNotNeedRecordOutworkcheckZhCN": "无需确认是否出外勤", + + "ErrIsUsedZhCN": "该余额申请无法撤销", + + "ErrTimeOrderZhCN": "开始时间不应晚于结束时间", + + "ErrDayoffNotLessOneHourZhCN": "调休时长不得少于1小时", + + "ErrOvertimeIsZeroZhCN": "加班时长不得为0", + + "ErrOvertimeIsRepZhCN": "加班开始时间和结束时间重复", + + "ErrLeaveDurationIsZeroZhCN": "时长不得为0", + + "ErrHolidayMissZhCN": "节假日信息缺失", + + "ErrIpMissZhCN": "暂无IP信息", + + "ErrWifiIsNotInZhCN": "当前不在公司内网", + + "ERR_GETIPZhCN": "获取IP信息失败", + + "ErrLatLogZhCN": "当前定位不能为空", + + "ErrChickInMapZhCN": "打卡地址坐标缺失", + + "ErrDbChickInMapZhCN": "查询打卡地址坐标失败", + + "ErrCacheChickInMapZhCN": "缓存打卡地址坐标失败", + + "ErrConfirmChickInMapZhCN": "打卡地址确认失败", + + "ErrNotInChickInMapZhCN": "当前不在打卡范围内", + + "ErrMissSystemMakeUpParamZhCN": "系统补卡参数缺失", + + "ErrQueryWorkingTimeListZhCN": "查询考勤列表失败", + + "ErrorWorkingTimeFindUserZhCN": "查询用户失败", + + "ErrorWorkingTimeFindUserPositionZhCN": "查询用户岗位信息失败", + + "ErrorQueryOaProfileZhCN": "查询用户考勤信息失败", + + "ErrorQueryHolidayZhCN": "查询节假日失败", + + "ErrorQueryWorkingTimeZhCN": "查询考勤信息失败", + + "ErrorMissWorkingTimeZhCN": "未设置考勤信息", + + "ErrorDelCacheGeoZhCN": "删除缓存的打卡经纬度失败", + + "ErrorQueryRangeGeoZhCN": "查询打卡范围错误", + + "ErrorSaveCacheGeoZhCN": "缓存打卡经纬度失败", + + "ErrorSaveCacheActualGeoZhCN": "缓存实际打卡经纬度失败", + + "ErrorCheckWorkTimeZhCN": "判断考勤时间失败", + + "ErrorQueryOutWorkCheckZhCN": "查询外出回归记录失败", + + "ErrorCheckNextClockInTimeZhCN": "判断下次打卡时间失败", + + "ErrorClockInZhCN": "打卡失败", + + "SuccessClockInZhCN": "打卡成功", + + "ErrorNotAllowedClockInZhCN": "不允许打卡", + + "ErrorMissBreakOptionZhCN": "缺少休息时间信息", + + "ErrCheckAddressLimitZhCN": "检查地址失败", + + "ErrUserMissZhCN": "用户信息缺失", + + "ErrNoDataZhCN": "无数据", + + "ErrNotApplyUuidZhCN": "申请UUID不能为空", + + "ErrNotHadWorkingTimeZhCN": "未关联考勤信息,无法打卡", + + "ErrMissMakeUpRuleZhCN": "缺少补卡规则", + + "ErrCanNotCalcOverTimeBehindTwoDaysZhCN": "当前不支持提交多日期的加班申请", + + "ErrorQueryApprovalContentZhCN": "查询审批内容失败", + + "ErrorOverTimeNotInWorkTimeZhCN": "申请加班时间不得在工作时间内", + + "ErrorMissOutBackZhCN": "缺少外出或回公司标识", + + "ErrorMissLngLatZhCN": "缺少经纬度信息", + + "SuccessCreateOutWorkCheckZhCN": "创建外出或回公司记录成功", + + "ErrorCreateOutWorkCheckZhCN": "创建外出或回公司记录失败", + + "ErrorFrequentClockInZhCN": "15秒内只能提交一次", + + "ErrorNoFaceImgZhCN": "用户缺少近照信息", + + "ErrorNoCatchFaceImgZhCN": "未获取到打卡时近照", + + "ErrorFaceCompareZhCN": "人脸比对失败", + + "ErrorFaceCompareNotPassZhCN": "人脸比对不通过", + + "ErrorInvalidChickInMapZhCN": "无效的打卡地址", + + "ErrorTimeIsZeroZhCN": "时长不得为0", + + "ErrQueryEmployeeAttendanceZhCN": "查询员工考勤绑定的考勤信息失败", + + "ErrorWorkingTimeNotInUseZhCN": "考勤设置生效于", + + "ErrorAddressEmptyZhCN": "打卡地址经纬度不能为空", + + "ErrorQueryVersionHistoryZhCN": "查询版本历史失败", +} + +var errorMessagesZhTW = map[string]string{ + "ErrAttendanceMissZhTW": "考勤規則缺失", + "ErrAttendanceWeekMissZhTW": "考勤規則週期錯誤", + "ErrApplytimeDisagreementZhTW": "請假時間不合規", + "ErrOvertimeDisagreementZhTW": "加班時間不合規", + + "ErrConfirmactiontypeZhTW": "打卡規則確認錯誤", + "ErrConfirmweekZhTW": "獲取工作週期失敗", + "NotNeedUseLeaveZhTW": "無需使用餘額的請假申請", + + "ErrQueryMultiDataZhTW": "獲取日期錯誤", + + "ErrQueryOaRecordZhTW": "查詢考勤記錄失敗", + "ErrQueryAbnormalOaRecordZhTW": "查詢考勤異常記錄失敗", + + "ErrQueryOaApplyZhTW": "查詢OA申請記錄失敗", + "ErrQueryOaLeaveApplyZhTW": "查詢OA餘額申請記錄失敗", + "ERR_QUERY_OA_APPLY_OVERTIMEZhTW": "查詢加班申請記錄失敗", + "ErrNotHaveBalanceZhTW": "未申請假期餘額", + "ErrHaveBalanceApplyZhTW": "當前已存在相應的餘額申請", + + "ErrQueryUserZhTW": "查詢用戶信息失敗", + + "ErrQueryOaSettingZhTW": "查詢設置失敗", + + "ErrQueryOaMonthZhTW": "查詢考勤信息失敗", + + "ERR_NOT_NEED_BALANCEZhTW": "無需查詢餘額", + + "ErrNoBalanceZhTW": "假期餘額不足", + "ErrHourNoBalanceZhTW": "請假時長超出範圍", + + "ErrApplyTimeZhTW": "無效的請假時間", + "ERR_EMPTY_APPLY_TIMEZhTW": "請假時長不能為0", + "ErrSelectTimeRepeatZhTW": "所選時間段已有申請", + + "ErrNotInCurrentYearZhTW": "該請假類型申請時間不在本年度", + "ErrNotInCurrentMonthZhTW": "該請假類型申請時間不在本月", + + "ErrNotNeedRecordOutworkcheckZhTW": "無需確認是否出外勤", + + "ErrIsUsedZhTW": "該餘額申請無法撤銷", + + "ErrTimeOrderZhTW": "開始時間不應晚於結束時間", + + "ErrDayoffNotLessOneHourZhTW": "調休時長不得少於1小時", + + "ErrOvertimeIsZeroZhTW": "加班時長不得為0", + + "ErrOvertimeIsRepZhTW": "加班開始時間和結束時間重複", + + "ErrLeaveDurationIsZeroZhTW": "時長不得為0", + + "ErrHolidayMissZhTW": "節假日信息缺失", + + "ErrIpMissZhTW": "暫無IP信息", + + "ErrWifiIsNotInZhTW": "當前不在公司內網", + + "ERR_GETIPZhTW": "獲取IP信息失敗", + + "ErrLatLogZhTW": "當前定位不能為空", + + "ErrChickInMapZhTW": "打卡地址坐標缺失", + + "ErrDbChickInMapZhTW": "查詢打卡地址坐標失敗", + + "ErrCacheChickInMapZhTW": "緩存打卡地址坐標失敗", + + "ErrConfirmChickInMapZhTW": "打卡地址確認失敗", + + "ErrNotInChickInMapZhTW": "當前不在打卡範圍內", + + "ErrMissSystemMakeUpParamZhTW": "系統補卡參數缺失", + + "ErrQueryWorkingTimeListZhTW": "查詢考勤列表失敗", + + "ErrorWorkingTimeFindUserZhTW": "查詢用戶失敗", + + "ErrorWorkingTimeFindUserPositionZhTW": "查詢用戶崗位信息失敗", + + "ErrorQueryOaProfileZhTW": "查詢用戶考勤信息失敗", + + "ErrorQueryHolidayZhTW": "查詢節假日失敗", + + "ErrorQueryWorkingTimeZhTW": "查詢考勤信息失敗", + + "ErrorMissWorkingTimeZhTW": "未設置考勤信息", + + "ErrorDelCacheGeoZhTW": "刪除緩存的打卡經緯度失敗", + + "ErrorQueryRangeGeoZhTW": "查詢打卡範圍錯誤", + + "ErrorSaveCacheGeoZhTW": "緩存打卡經緯度失敗", + + "ErrorSaveCacheActualGeoZhTW": "緩存實際打卡經緯度失敗", + + "ErrorCheckWorkTimeZhTW": "判斷考勤時間失敗", + + "ErrorQueryOutWorkCheckZhTW": "查詢外出回歸記錄失敗", + + "ErrorCheckNextClockInTimeZhTW": "判斷下次打卡時間失敗", + + "ErrorClockInZhTW": "打卡失敗", + + "SuccessClockInZhTW": "打卡成功", + + "ErrorNotAllowedClockInZhTW": "不允許打卡", + + "ErrorMissBreakOptionZhTW": "缺少休息時間信息", + + "ErrCheckAddressLimitZhTW": "檢查地址失敗", + + "ErrUserMissZhTW": "用戶信息缺失", + + "ErrNoDataZhTW": "無數據", + + "ErrNotApplyUuidZhTW": "申請UUID不能為空", + + "ErrNotHadWorkingTimeZhTW": "未關聯考勤信息,無法打卡", + + "ErrMissMakeUpRuleZhTW": "缺少補卡規則", + + "ErrCanNotCalcOverTimeBehindTwoDaysZhTW": "當前不支持提交多日期的加班申請", + + "ErrorQueryApprovalContentZhTW": "查詢審批內容失敗", + + "ErrorOverTimeNotInWorkTimeZhTW": "申請加班時間不得在工作時間內", + + "ErrorMissOutBackZhTW": "缺少外出或回公司標識", + + "ErrorMissLngLatZhTW": "缺少經緯度信息", + + "SuccessCreateOutWorkCheckZhTW": "創建外出或回公司記錄成功", + + "ErrorCreateOutWorkCheckZhTW": "創建外出或回公司記錄失敗", + + "ErrorFrequentClockInZhTW": "15秒內只能提交一次", + + "ErrorNoFaceImgZhTW": "用戶缺少近照信息", + + "ErrorNoCatchFaceImgZhTW": "未獲取到打卡時近照", + + "ErrorFaceCompareZhTW": "人臉比對失敗", + + "ErrorFaceCompareNotPassZhTW": "人臉比對不通過", + + "ErrorInvalidChickInMapZhTW": "無效的打卡地址", + + "ErrorTimeIsZeroZhTW": "時長不得為0", + + "ErrQueryEmployeeAttendanceZhTW": "查詢員工考勤綁定的考勤信息失敗", + + "ErrorWorkingTimeNotInUseZhTW": "考勤設置生效於 ", + + "ErrorAddressEmptyZhTW": "打卡地址經緯度不能為空", + + "ErrorQueryVersionHistoryZhTW": "查詢版本歷史失敗", +} + +var errorMessagesEN = map[string]string{ + "ErrAttendanceMissEN": "Attendance rule missing", + "ErrAttendanceWeekMissEN": "Attendance rule period error", + "ErrApplytimeDisagreementEN": "Leave time non-compliant", + "ErrOvertimeDisagreementEN": "Overtime non-compliant", + + "ErrConfirmactiontypeEN": "Attendance rule confirmation error", + "ErrConfirmweekEN": "Failed to get work week", + "NotNeedUseLeaveEN": "Leave application without balance required", + + "ErrQueryMultiDataEN": "Date retrieval error", + + "ErrQueryOaRecordEN": "Failed to query attendance record", + "ErrQueryAbnormalOaRecordEN": "Failed to query abnormal attendance record", + + "ErrQueryOaApplyEN": "Failed to query OA application record", + "ErrQueryOaLeaveApplyEN": "Failed to query OA balance application record", + "ERR_QUERY_OA_APPLY_OVERTIMEEN": "Failed to query overtime application record", + "ErrNotHaveBalanceEN": "No leave balance applied", + "ErrHaveBalanceApplyEN": "Existing balance application already present", + + "ErrQueryUserEN": "Failed to query user information", + + "ErrQueryOaSettingEN": "Failed to query settings", + + "ErrQueryOaMonthEN": "Failed to query attendance information", + + "ERR_NOT_NEED_BALANCEEN": "No need to query balance", + + "ErrNoBalanceEN": "Insufficient leave balance", + "ErrHourNoBalanceEN": "Leave duration out of range", + + "ErrApplyTimeEN": "Invalid leave time", + "ERR_EMPTY_APPLY_TIMEEN": "Leave duration cannot be zero", + "ErrSelectTimeRepeatEN": "Application already exists for the selected time period", + + "ErrNotInCurrentYearEN": "Leave type application time not in current year", + "ErrNotInCurrentMonthEN": "Leave type application time not in current month", + + "ErrNotNeedRecordOutworkcheckEN": "No need to confirm outwork", + + "ErrIsUsedEN": "This balance application cannot be revoked", + + "ErrTimeOrderEN": "Start time should not be later than end time", + + "ErrDayoffNotLessOneHourEN": "Compensatory leave duration should not be less than 1 hour", + + "ErrOvertimeIsZeroEN": "Overtime duration cannot be zero", + + "ErrOvertimeIsRepEN": "Overtime start and end times are repeated", + + "ErrLeaveDurationIsZeroEN": "Duration cannot be zero", + + "ErrHolidayMissEN": "Holiday information missing", + + "ErrIpMissEN": "No IP information available", + + "ErrWifiIsNotInEN": "Not in company intranet", + + "ERR_GETIPEN": "Failed to get IP information", + + "ErrLatLogEN": "Current location cannot be empty", + + "ErrChickInMapEN": "Attendance address coordinates missing", + + "ErrDbChickInMapEN": "Failed to query attendance address coordinates", + + "ErrCacheChickInMapEN": "Failed to cache attendance address coordinates", + + "ErrConfirmChickInMapEN": "Attendance address confirmation failed", + + "ErrNotInChickInMapEN": "Not within attendance range", + + "ErrMissSystemMakeUpParamEN": "System make-up parameters missing", + + "ErrQueryWorkingTimeListEN": "Failed to query attendance list", + + "ErrorWorkingTimeFindUserEN": "Failed to query user", + + "ErrorWorkingTimeFindUserPositionEN": "Failed to query user position information", + + "ErrorQueryOaProfileEN": "Failed to query user attendance information", + + "ErrorQueryHolidayEN": "Failed to query holiday", + + "ErrorQueryWorkingTimeEN": "Failed to query attendance information", + + "ErrorMissWorkingTimeEN": "Attendance information not set", + + "ErrorDelCacheGeoEN": "Failed to delete cached attendance coordinates", + + "ErrorQueryRangeGeoEN": "Attendance range query error", + + "ErrorSaveCacheGeoEN": "Failed to cache attendance coordinates", + + "ErrorSaveCacheActualGeoEN": "Failed to cache actual attendance coordinates", + + "ErrorCheckWorkTimeEN": "Failed to determine attendance time", + + "ErrorQueryOutWorkCheckEN": "Failed to query outwork return records", + + "ErrorCheckNextClockInTimeEN": "Failed to determine next attendance time", + + "ErrorClockInEN": "Attendance failed", + + "SuccessClockInEN": "Attendance successful", + + "ErrorNotAllowedClockInEN": "Attendance not allowed", + + "ErrorMissBreakOptionEN": "Missing break time information", + + "ErrCheckAddressLimitEN": "Address check failed", + + "ErrUserMissEN": "User information missing", + + "ErrNoDataEN": "No data", + + "ErrNotApplyUuidEN": "Application UUID cannot be empty", + + "ErrNotHadWorkingTimeEN": "No associated attendance information, unable to attendance", + + "ErrMissMakeUpRuleEN": "Make-up rule missing", + + "ErrCanNotCalcOverTimeBehindTwoDaysEN": "Multi-date overtime application not supported", + + "ErrorQueryApprovalContentEN": "Failed to query approval content", + + "ErrorOverTimeNotInWorkTimeEN": "Overtime application time should not be within work hours", + + "ErrorMissOutBackEN": "Missing outwork or return to company identifier", + + "ErrorMissLngLatEN": "Missing longitude and latitude information", + + "SuccessCreateOutWorkCheckEN": "Successfully created outwork or return to company record", + + "ErrorCreateOutWorkCheckEN": "Failed to create outwork or return to company record", + + "ErrorFrequentClockInEN": "Can only submit once every 15 seconds", + + "ErrorNoFaceImgEN": "User missing recent photo", + + "ErrorNoCatchFaceImgEN": "Failed to capture recent photo during attendance", + + "ErrorFaceCompareEN": "Face comparison failed", + + "ErrorFaceCompareNotPassEN": "Face comparison not passed", + + "ErrorInvalidChickInMapEN": "Invalid attendance address", + + "ErrorTimeIsZeroEN": "Duration cannot be zero", + + "ErrQueryEmployeeAttendanceEN": "Failed to query employee attendance binding information", + + "ErrorWorkingTimeNotInUseEN": "Attendance settings will take effect on a", + + "ErrorAddressEmptyEN": "Attendance address coordinates cannot be empty", + + "ErrorQueryVersionHistoryEN": "Failed to query version history", +} + +const ( + ErrAttendanceMissEN = "Attendance rule missing" + ErrAttendanceWeekMissEN = "Attendance rule period error" + ErrApplytimeDisagreementEN = "Leave time non-compliant" + ErrOvertimeDisagreementEN = "Overtime non-compliant" + + ErrConfirmactiontypeEN = "Attendance rule confirmation error" + ErrConfirmweekEN = "Failed to get work week" + NotNeedUseLeaveEN = "Leave application without balance required" + + ErrQueryMultiDataEN = "Date retrieval error" + + ErrQueryOaRecordEN = "Failed to query attendance record" + ErrQueryAbnormalOaRecordEN = "Failed to query abnormal attendance record" + + ErrQueryOaApplyEN = "Failed to query OA application record" + ErrQueryOaLeaveApplyEN = "Failed to query OA balance application record" + ERR_QUERY_OA_APPLY_OVERTIMEEN = "Failed to query overtime application record" + ErrNotHaveBalanceEN = "No leave balance applied" + ErrHaveBalanceApplyEN = "Existing balance application already present" + + ErrQueryUserEN = "Failed to query user information" + + ErrQueryOaSettingEN = "Failed to query settings" + + ErrQueryOaMonthEN = "Failed to query attendance information" + + ERR_NOT_NEED_BALANCEEN = "No need to query balance" + + ErrNoBalanceEN = "Insufficient leave balance" + ErrHourNoBalanceEN = "Leave duration out of range" + + ErrApplyTimeEN = "Invalid leave time" + ERR_EMPTY_APPLY_TIMEEN = "Leave duration cannot be zero" + ErrSelectTimeRepeatEN = "Application already exists for the selected time period" + + ErrNotInCurrentYearEN = "Leave type application time not in current year" + ErrNotInCurrentMonthEN = "Leave type application time not in current month" + + ErrNotNeedRecordOutworkcheckEN = "No need to confirm outwork" + + ErrIsUsedEN = "This balance application cannot be revoked" + + ErrTimeOrderEN = "Start time should not be later than end time" + + ErrDayoffNotLessOneHourEN = "Compensatory leave duration should not be less than 1 hour" + + ErrOvertimeIsZeroEN = "Overtime duration cannot be zero" + + ErrOvertimeIsRepEN = "Overtime start and end times are repeated" + + ErrLeaveDurationIsZeroEN = "Duration cannot be zero" + + ErrHolidayMissEN = "Holiday information missing" + + ErrIpMissEN = "No IP information available" + + ErrWifiIsNotInEN = "Not in company intranet" + + ERR_GETIPEN = "Failed to get IP information" + + ErrLatLogEN = "Current location cannot be empty" + + ErrChickInMapEN = "Attendance address coordinates missing" + + ErrDbChickInMapEN = "Failed to query attendance address coordinates" + + ErrCacheChickInMapEN = "Failed to cache attendance address coordinates" + + ErrConfirmChickInMapEN = "Attendance address confirmation failed" + + ErrNotInChickInMapEN = "Not within attendance range" + + ErrMissSystemMakeUpParamEN = "System make-up parameters missing" + + ErrQueryWorkingTimeListEN = "Failed to query attendance list" + + ErrorWorkingTimeFindUserEN = "Failed to query user" + + ErrorWorkingTimeFindUserPositionEN = "Failed to query user position information" + + ErrorQueryOaProfileEN = "Failed to query user attendance information" + + ErrorQueryHolidayEN = "Failed to query holiday" + + ErrorQueryWorkingTimeEN = "Failed to query attendance information" + + ErrorMissWorkingTimeEN = "Attendance information not set" + + ErrorDelCacheGeoEN = "Failed to delete cached attendance coordinates" + + ErrorQueryRangeGeoEN = "Attendance range query error" + + ErrorSaveCacheGeoEN = "Failed to cache attendance coordinates" + + ErrorSaveCacheActualGeoEN = "Failed to cache actual attendance coordinates" + + ErrorCheckWorkTimeEN = "Failed to determine attendance time" + + ErrorQueryOutWorkCheckEN = "Failed to query outwork return records" + + ErrorCheckNextClockInTimeEN = "Failed to determine next attendance time" + + ErrorClockInEN = "Attendance failed" + + SuccessClockInEN = "Attendance successful" + + ErrorNotAllowedClockInEN = "Attendance not allowed" + + ErrorMissBreakOptionEN = "Missing break time information" + + ErrCheckAddressLimitEN = "Address check failed" + + ErrUserMissEN = "User information missing" + + ErrNoDataEN = "No data" + + ErrNotApplyUuidEN = "Application UUID cannot be empty" + + ErrNotHadWorkingTimeEN = "No associated attendance information, unable to attendance" + + ErrMissMakeUpRuleEN = "Make-up rule missing" + + ErrCanNotCalcOverTimeBehindTwoDaysEN = "Multi-date overtime application not supported" + + // Failed to query approval content + ErrorQueryApprovalContentEN = "Failed to query approval content" + + // Overtime application time should not be within work hours + ErrorOverTimeNotInWorkTimeEN = "Overtime application time should not be within work hours" + + ErrorMissOutBackEN = "Missing outwork or return to company identifier" + + ErrorMissLngLatEN = "Missing longitude and latitude information" + + SuccessCreateOutWorkCheckEN = "Successfully created outwork or return to company record" + + ErrorCreateOutWorkCheckEN = "Failed to create outwork or return to company record" + + ErrorFrequentClockInEN = "Can only submit once every 15 seconds" + + ErrorNoFaceImgEN = "User missing recent photo" + + ErrorNoCatchFaceImgEN = "Failed to capture recent photo during attendance" + + ErrorFaceCompareEN = "Face comparison failed" + + ErrorFaceCompareNotPassEN = "Face comparison not passed" + + // Invalid Attendance address + ErrorInvalidChickInMapEN = "Invalid attendance address" + + ErrorTimeIsZeroEN = "Duration cannot be zero" + + ErrQueryEmployeeAttendanceEN = "Failed to query employee attendance binding information" + + ErrorWorkingTimeNotInUseEN = "Attendance settings will take effect on a" + + ErrorAddressEmptyEN = "Attendance address coordinates cannot be empty" + + ErrorQueryVersionHistoryEN = "Failed to query version history" +) + +var errorMessages = map[string]string{ + "ErrAttendanceMiss": "ErrAttendanceMiss", + "ErrAttendanceWeekMiss": "ErrAttendanceWeekMiss", + "ErrApplytimeDisagreement": "ErrApplytimeDisagreement", + "ErrOvertimeDisagreement": "ErrOvertimeDisagreement", + "ErrConfirmactiontype": "ErrConfirmactiontype", + "ErrConfirmweek": "ErrConfirmweek", + "NotNeedUseLeave": "NotNeedUseLeave", + "ErrQueryMultiData": "ErrQueryMultiData", + "ErrQueryOaRecord": "ErrQueryOaRecord", + "ErrQueryAbnormalOaRecord": "ErrQueryAbnormalOaRecord", + "ErrQueryOaApply": "ErrQueryOaApply", + "ErrQueryOaLeaveApply": "ErrQueryOaLeaveApply", + "ERR_QUERY_OA_APPLY_OVERTIME": "ERR_QUERY_OA_APPLY_OVERTIME", + "ErrNotHaveBalance": "ErrNotHaveBalance", + "ErrHaveBalanceApply": "ErrHaveBalanceApply", + "ErrQueryUser": "ErrQueryUser", + "ErrQueryOaSetting": "ErrQueryOaSetting", + "ErrQueryOaMonth": "ErrQueryOaMonth", + "ERR_NOT_NEED_BALANCE": "ERR_NOT_NEED_BALANCE", + "ErrNoBalance": "ErrNoBalance", + "ErrHourNoBalance": "ErrHourNoBalance", + "ErrApplyTime": "ErrApplyTime", + "ERR_EMPTY_APPLY_TIME": "ERR_EMPTY_APPLY_TIME", + "ErrSelectTimeRepeat": "ErrSelectTimeRepeat", + "ErrNotInCurrentYear": "ErrNotInCurrentYear", + "ErrNotInCurrentMonth": "ErrNotInCurrentMonth", + "ErrNotNeedRecordOutworkcheck": "ErrNotNeedRecordOutworkcheck", + "ErrIsUsed": "ErrIsUsed", + "ErrTimeOrder": "ErrTimeOrder", + "ErrDayoffNotLessOneHour": "ErrDayoffNotLessOneHour", + "ErrOvertimeIsZero": "ErrOvertimeIsZero", + "ErrOvertimeIsRep": "ErrOvertimeIsRep", + "ErrLeaveDurationIsZero": "ErrLeaveDurationIsZero", + "ErrHolidayMiss": "ErrHolidayMiss", + "ErrIpMiss": "ErrIpMiss", + "ErrWifiIsNotIn": "ErrWifiIsNotIn", + "ERR_GETIP": "ERR_GETIP", + "ErrLatLog": "ErrLatLog", + "ErrChickInMap": "ErrChickInMap", + "ErrDbChickInMap": "ErrDbChickInMap", + "ErrCacheChickInMap": "ErrCacheChickInMap", + "ErrConfirmChickInMap": "ErrConfirmChickInMap", + "ErrNotInChickInMap": "ErrNotInChickInMap", + "ErrMissSystemMakeUpParam": "ErrMissSystemMakeUpParam", + "ErrQueryWorkingTimeList": "ErrQueryWorkingTimeList", + "ErrorWorkingTimeFindUser": "ErrorWorkingTimeFindUser", + "ErrorWorkingTimeFindUserPosition": "ErrorWorkingTimeFindUserPosition", + "ErrorQueryOaProfile": "ErrorQueryOaProfile", + "ErrorQueryHoliday": "ErrorQueryHoliday", + "ErrorQueryWorkingTime": "ErrorQueryWorkingTime", + "ErrorMissWorkingTime": "ErrorMissWorkingTime", + "ErrorDelCacheGeo": "ErrorDelCacheGeo", + "ErrorQueryRangeGeo": "ErrorQueryRangeGeo", + "ErrorSaveCacheGeo": "ErrorSaveCacheGeo", + "ErrorSaveCacheActualGeo": "ErrorSaveCacheActualGeo", + "ErrorCheckWorkTime": "ErrorCheckWorkTime", + "ErrorQueryOutWorkCheck": "ErrorQueryOutWorkCheck", + "ErrorCheckNextClockInTime": "ErrorCheckNextClockInTime", + "ErrorClockIn": "ErrorClockIn", + "SuccessClockIn": "SuccessClockIn", + "ErrorNotAllowedClockIn": "ErrorNotAllowedClockIn", + "ErrorMissBreakOption": "ErrorMissBreakOption", + "ErrCheckAddressLimit": "ErrCheckAddressLimit", + "ErrUserMiss": "ErrUserMiss", + "ErrNoData": "ErrNoData", + "ErrNotApplyUuid": "ErrNotApplyUuid", + "ErrNotHadWorkingTime": "ErrNotHadWorkingTime", + "ErrMissMakeUpRule": "ErrMissMakeUpRule", + "ErrCanNotCalcOverTimeBehindTwoDays": "ErrCanNotCalcOverTimeBehindTwoDays", + "ErrorQueryApprovalContent": "ErrorQueryApprovalContent", + "ErrorOverTimeNotInWorkTime": "ErrorOverTimeNotInWorkTime", + "ErrorMissOutBack": "ErrorMissOutBack", + "ErrorMissLngLat": "ErrorMissLngLat", + "SuccessCreateOutWorkCheck": "SuccessCreateOutWorkCheck", + "ErrorCreateOutWorkCheck": "ErrorCreateOutWorkCheck", + "ErrorFrequentClockIn": "ErrorFrequentClockIn", + "ErrorNoFaceImg": "ErrorNoFaceImg", + "ErrorNoCatchFaceImg": "ErrorNoCatchFaceImg", + "ErrorFaceCompare": "ErrorFaceCompare", + "ErrorFaceCompareNotPass": "ErrorFaceCompareNotPass", + "ErrorInvalidChickInMap": "ErrorInvalidChickInMap", + "ErrorTimeIsZero": "ErrorTimeIsZero", + "ErrQueryEmployeeAttendance": "ErrQueryEmployeeAttendance", + "ErrorWorkingTimeNotInUse": "ErrorWorkingTimeNotInUse", + "ErrorAddressEmpty": "ErrorAddressEmpty", + "ErrorQueryVersionHistory": "ErrorQueryVersionHistory", +} + +const ( + ErrAttendanceMiss = "ErrAttendanceMiss" + ErrAttendanceWeekMiss = "ErrAttendanceWeekMiss" + ErrApplytimeDisagreement = "ErrApplytimeDisagreement" + ErrOvertimeDisagreement = "ErrOvertimeDisagreement" + + ErrConfirmactiontype = "ErrConfirmactiontype" + ErrConfirmweek = "ErrConfirmweek" + NotNeedUseLeave = "NotNeedUseLeave" + + ErrQueryMultiData = "ErrQueryMultiData" + + ErrQueryOaRecord = "ErrQueryOaRecord" + ErrQueryAbnormalOaRecord = "ErrQueryAbnormalOaRecord" + + ErrQueryOaApply = "ErrQueryOaApply" + ErrQueryOaLeaveApply = "ErrQueryOaLeaveApply" + ERR_QUERY_OA_APPLY_OVERTIME = "ERR_QUERY_OA_APPLY_OVERTIME" + ErrNotHaveBalance = "ErrNotHaveBalance" + ErrHaveBalanceApply = "ErrHaveBalanceApply" + + ErrQueryUser = "ErrQueryUser" + + ErrQueryOaSetting = "ErrQueryOaSetting" + + ErrQueryOaMonth = "ErrQueryOaMonth" + ErrQueryLeaveBalance = "ErrQueryLeaveBalance" + + ERR_NOT_NEED_BALANCE = "ERR_NOT_NEED_BALANCE" + + ErrNoBalance = "ErrNoBalance" + ErrHourNoBalance = "ErrHourNoBalance" + + ErrApplyTime = "ErrApplyTime" + ERR_EMPTY_APPLY_TIME = "ERR_EMPTY_APPLY_TIME" + ErrSelectTimeRepeat = "ErrSelectTimeRepeat" + + ErrNotInCurrentYear = "ErrNotInCurrentYear" + ErrNotInCurrentMonth = "ErrNotInCurrentMonth" + + ErrNotNeedRecordOutworkcheck = "ErrNotNeedRecordOutworkcheck" + + ErrIsUsed = "ErrIsUsed" + + ErrTimeOrder = "ErrTimeOrder" + + ErrDayoffNotLessOneHour = "ErrDayoffNotLessOneHour" + + ErrOvertimeIsZero = "ErrOvertimeIsZero" + + ErrOvertimeIsRep = "ErrOvertimeIsRep" + + ErrLeaveDurationIsZero = "ErrLeaveDurationIsZero" + + ErrHolidayMiss = "ErrHolidayMiss" + + ErrIpMiss = "ErrIpMiss" + + ErrWifiIsNotIn = "ErrWifiIsNotIn" + + ERR_GETIP = "ERR_GETIP" + + ErrLatLog = "ErrLatLog" + + ErrChickInMap = "ErrChickInMap" + + ErrDbChickInMap = "ErrDbChickInMap" + + ErrCacheChickInMap = "ErrCacheChickInMap" + + ErrConfirmChickInMap = "ErrConfirmChickInMap" + + ErrNotInChickInMap = "ErrNotInChickInMap" + + ErrMissSystemMakeUpParam = "ErrMissSystemMakeUpParam" + + ErrQueryWorkingTimeList = "ErrQueryWorkingTimeList" + + ErrorWorkingTimeFindUser = "ErrorWorkingTimeFindUser" + + ErrorWorkingTimeFindUserPosition = "ErrorWorkingTimeFindUserPosition" + + ErrorQueryOaProfile = "ErrorQueryOaProfile" + + ErrorQueryHoliday = "ErrorQueryHoliday" + + ErrorQueryWorkingTime = "ErrorQueryWorkingTime" + + ErrorMissWorkingTime = "ErrorMissWorkingTime" + + ErrorDelCacheGeo = "ErrorDelCacheGeo" + + ErrorQueryRangeGeo = "ErrorQueryRangeGeo" + + ErrorSaveCacheGeo = "ErrorSaveCacheGeo" + + ErrorSaveCacheActualGeo = "ErrorSaveCacheActualGeo" + + ErrorCheckWorkTime = "ErrorCheckWorkTime" + + ErrorQueryOutWorkCheck = "ErrorQueryOutWorkCheck" + + ErrorCheckNextClockInTime = "ErrorCheckNextClockInTime" + + ErrorClockIn = "ErrorClockIn" + + SuccessClockIn = "SuccessClockIn" + + ErrorNotAllowedClockIn = "ErrorNotAllowedClockIn" + + ErrorMissBreakOption = "ErrorMissBreakOption" + + ErrCheckAddressLimit = "ErrCheckAddressLimit" + + ErrUserMiss = "ErrUserMiss" + + ErrNoData = "ErrNoData" + + ErrNotApplyUuid = "ErrNotApplyUuid" + + ErrNotHadWorkingTime = "ErrNotHadWorkingTime" + + ErrMissMakeUpRule = "ErrMissMakeUpRule" + + ErrCanNotCalcOverTimeBehindTwoDays = "ErrCanNotCalcOverTimeBehindTwoDays" + + ErrorOverTimeNotInWorkTime = "ErrorOverTimeNotInWorkTime" + + ErrorMissOutBack = "ErrorMissOutBack" + + ErrorMissLngLat = "ErrorMissLngLat" + + SuccessCreateOutWorkCheck = "SuccessCreateOutWorkCheck" + + ErrorCreateOutWorkCheck = "ErrorCreateOutWorkCheck" + + ErrorFrequentClockIn = "ErrorFrequentClockIn" + + ErrorNoFaceImg = "ErrorNoFaceImg" + + ErrorNoCatchFaceImg = "ErrorNoCatchFaceImg" + + ErrorFaceCompare = "ErrorFaceCompare" + + ErrorFaceCompareNotPass = "ErrorFaceCompareNotPass" + + ErrorInvalidChickInMap = "ErrorInvalidChickInMap" + + ErrorTimeIsZero = "ErrorTimeIsZero" + + ErrQueryEmployeeAttendance = "ErrQueryEmployeeAttendance" + + ErrorWorkingTimeNotInUse = "ErrorWorkingTimeNotInUse" + + ErrorAddressEmpty = "ErrorAddressEmpty" + + ErrorQueryVersionHistory = "ErrorQueryVersionHistory" +) + +const ( + ErrSystemCommonParam = "系统修改异常参数缺失" + + ErrActionTimeNotBeforeNextDateFour = "最后一班下班卡的系统补卡时间不得晚于次日凌晨四点" + + ErrorIsNotBeforeOrEqualCollectionMonth = "仅支持查看当前及历史月考勤数据" + + ErrorEmployFindUser = "查询员工档案失败" + + ErrQueryPositionInfo = "查询部门岗位信息失败" + + ErrWorkingTimeNotInUse = "考勤设置将于 a 生效" + + ErrWritePDF = "写入PDF文件失败" +) + +// export +const ( + ErrorCreateLocalFile = "创建本地文件失败" + ErrorWriteLocalFile = "写入本地文件失败" + ErrorCloseLocalFile = "关闭本地文件失败" + ErrorPutOos = "上传文件失败" + ErrorWriteExcel = "写入excel失败" + + ErrorCreateExportTask = "创建导出任务失败" + + ErrParamWithoutWorkDate = "缺少工作日信息" +) + +const ( + InUse = iota + 1 + NotInUse + InUseAndEffectiveDateIsNextDate +) + +const ( + IsNotWorkDay = iota + 1 + IsWorkDay +) + +const ( + NotAllowOutWork = iota + 1 + AllowOutWork +) + +func VerifyMsgKey(key string) bool { + msg := errorMessages[key] + if msg == "" { + return false + } + return true +} + +func GetMsgZhCN(key string) string { + return errorMessagesZhCN[key] +} + +func GetMsgZhTW(key string) string { + return errorMessagesZhTW[key] +} + +func GetMsgEN(key string) string { + return errorMessagesEN[key] +} diff --git a/pkg/router/ai_images.go b/pkg/router/ai_images.go new file mode 100644 index 0000000..f05e67e --- /dev/null +++ b/pkg/router/ai_images.go @@ -0,0 +1,38 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/ai_images" + "github.com/gin-gonic/gin" +) + +func AiImageRoute(r *gin.RouterGroup) { + + aiRoute := r.Group("api/ai") + + //帐号 + useRoute := aiRoute.Group("user") + useRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + useRoute.POST("list", ai_images.CoinAccounts) //帐号列表 + } + + //积分 + coinRoute := aiRoute.Group("coin") + coinRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + coinRoute.POST("/acquire/list", ai_images.AcquireList) //获取积分列表 + coinRoute.POST("/custom/list", ai_images.CustomList) //使用列表 + } + //浏览器 + feed := aiRoute.Group("feedback") + feed.Use(middleware.CheckLogin(service.AccountProvider)) + { + feed.POST("create", ai_images.Create) + feed.POST("remove", ai_images.Remove) + feed.POST("detail", ai_images.Detail) + feed.POST("list", ai_images.List) + feed.POST("update", ai_images.Update) + } +} diff --git a/pkg/router/artist.go b/pkg/router/artist.go new file mode 100644 index 0000000..448544e --- /dev/null +++ b/pkg/router/artist.go @@ -0,0 +1,65 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + serviceArtist "github.com/fonchain_enterprise/fonchain-main/pkg/service/artist" + "github.com/gin-gonic/gin" +) + +func ArtistRoute(r *gin.RouterGroup) { + noAuth := r.Group("") + auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + //需要登陆保护 + artist := auth.Group("artist") + { + artist.POST("add", service.CreateProfile) + artist.PUT("edit", service.UpdateProfile) + artist.POST("edit-limit", serviceArtist.EditLimit) + artist.POST("detail", service.Detail) + artist.POST("list", service.List) + artist.PUT("media", service.Media) + artist.PUT("indexs", service.Indexs) + artist.PUT("honor", service.Honor) + artist.DELETE("honor-del", service.HonorDel) + artist.POST("list-export", service.ListExport) + artist.POST("export-field-list", service.ExportArtistField) + artist.POST("contract-add", service.ContractAdd) + artist.PUT("contract", service.ContractEdit) + artist.POST("contract-list", service.ContractList) + artist.DELETE("del", service.DelArtist) + artist.POST("idname", service.IdName) + artist.POST("invitation-add", service.InvitationAdd) + artist.POST("invitation-list", service.InvitationList) + artist.POST("invitation-update", service.InvitationUpdate) + artist.POST("invitation-update2", service.InvitationUpdate2) + artist.POST("invitation-del", service.InvitationDel) + artist.POST("invitation-reAdd", service.InvitationReAdd) //重新发起邀请函 + artist.POST("download", service.DownloadArtist) + artist.POST("get-cardid-withimg", service.GetCardIdWithImg) + artist.POST("del-contract", service.DelContract) + artist.POST("one-query-list", service.ArtistOneQueryList) + artist.POST("one-query-export", service.ArtistOneQueryExport) + artist.POST("one-query-audit", service.ArtistOneQueryAudit) + artist.POST("one-query-show-time-point", service.ArtistOneQueryShowTimePoint) //未核验的画展再画展时间组件标记红点 + artist.POST("send-indexes", service.SendIndexes) + artist.POST("indexes-log", service.IndexesLog) + artist.POST("sync-low-artist", service.BatchUpdLowArtist) + artist.POST("save-low-artist", service.SaveLowArtist) + artist.POST("low-artist-list", service.LowArtistList) + artist.POST("base-info", service.ArtistBaseInfo) + artist.POST("base-info-list", service.ArtistBaseList) + artist.POST("black-list-update", serviceArtist.BlackListUpdate) + artist.POST("black-list", serviceArtist.BlackList) + artist.POST("search-list", service.SearchList) + artist.POST("update-contract", serviceArtist.UpdateContract) + } + // 画作服不需要登录的接口 + artistNoLogin := noAuth.Group("artist") + { + artistNoLogin.POST("invitation-info", service.InvitationInfo) + artistNoLogin.POST("invitation-detail", service.InvitationDetail) //查看邀请函详情 + artistNoLogin.GET("list-export", service.ListExport) + } +} diff --git a/pkg/router/artistinfoRouter.go b/pkg/router/artistinfoRouter.go new file mode 100644 index 0000000..5cd34dd --- /dev/null +++ b/pkg/router/artistinfoRouter.go @@ -0,0 +1,330 @@ +// Package router ----------------------------- +// @file : artistinfoRouter.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/6 16:45 +// ------------------------------------------- +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/area" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asArtist" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asContract" + //"github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asCopyright" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asStatement" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/authPayment" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/blackList" + inCircleArticle "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/inCricleArticle" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/mailArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/backend" + "github.com/gin-gonic/gin" +) + +func NewAuditRouter(r *gin.Engine) { + // 后端 + v1 := r.Group("api") + v1.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + v2 := r.Group("api/v2") + v2.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + noAuth := r.Group("api") + // + //======================================================================================== + // 画家 + authGroup := v1.Group("") + { + noCheckLoginRouter := r.Group("api") + //cacheUserCheckLoginRouter := v1.Use(new(middleware.ApiCache).ApiCacheMiddleware(30 * time.Second)) + //cacheUserCheckLoginRouter.POST("user/view/list/get", asArtist.GetArtistProfileList) + v1.POST("user/view/list/get", asArtist.GetArtistProfileList) + v1.POST("artist/supplement/getSupplementDetail", asArtshow.ArtistSupplement.GetSupplementDetail) + v1.POST("user/lock", asUser.LockUser) + v1.POST("user/lockRollback", asUser.LockRollBack) //取消解锁 + v1.POST("user/getInvitedList", asUser.GetInvitedListByBackendSide2) // 获取接受邀请的画家列表(邀请了哪些人) + noCheckLoginRouter.POST("user/getInvitedList2", asUser.GetInvitedListByBackendSide2) // 获取接受邀请的画家列表(邀请了哪些人),无身份校验 + v1.POST("user/getInviterUserList", asUser.GetInviterUserList) // 获取邀请人列表(被哪些人邀请过) + v1.POST("user/inviteStatic", asUser.InviteStatic) // 邀请人数统计列表(只统计邀请人数大于1的画家列表) + v1.POST("user/batchCreateQrCode", asUser.BatchCreateQrCode) // 批量生成二维码 + v1.POST("artist/import", asArtist.ImportUserToArtistService) // 导入画家宝画家到画家服务 + v1.POST("artist/importArtistToArtistinfo", asArtist.ImportArtistToArtistinfo) //画家导入画家宝 + v1.POST("realNameAudit/query", asUser.GetRealNameAuditList) //获取实名审批列表 + v1.POST("realNameAudit/edit", asUser.EditRealNameAudit) //编辑实名审批信息 + //------------------------------User + v1.POST("user/User/create", asUser.Handler.CreateUser) + v1.POST("user/User/delete", asUser.Handler.DeleteUser) + v1.POST("user/User/update", asUser.Handler.UpdateUser) + v1.POST("user/User/detail", asUser.Handler.GetUserDetail) + v1.POST("user/User/query", asUser.Handler.GetUserList) + + v1.POST("artistInfoUser/export/view", asUser.GetBackendUserViewList) + v1.POST("artistInfoUser/export/excel", asUser.ExportBackendUserViewList) + v1.POST("artistInfoUser/export/static", asUser.ExportBackendUserStatic) + } + //======================================================================================== + // 画作 + { + //v1.POST("artwork/profile/create", asArtwork.CreateWorkProfile) //创建画作首选项 + //v1.POST("artwork/profile/update", asArtwork.UpdateArtwork) //更新画作首选项 + //v1.POST("artwork/profile/update2", asArtwork.UpdateArtwork2) //更新画作首选项(根据页面进行了优化) + v1.POST("artwork/profile/get", asArtwork.GetArtworkProfile) //查询画作详情 + //v1.POST("artwork/profile/preview/get", asArtwork.GetArtworkPreviewListAtUserSide) //查询画作预览列表(画作管理中的列表) + v1.POST("artwork/profile/preview/history", asArtwork.GetArtworkHistoryList) //查询画作历史记录 + //v1.POST("artwork/list/query", asArtwork.GetArtworkList) //查询画作列表 todo(暂时弃用) + v1.POST("artwork/delete", asArtwork.DelArtwork) //删除画作 + //v1.POST("artwork/supplement/UnsupplementedList", asArtwork.Supplement.GetSupplementDataListAtUserSide) //获取当前的画作信息补充列表(用户端) //GetUnsupplementedDataList + //v1.POST("artwork/supplement/update", asArtwork.Supplement.UpdateSupplement) //画作信息补充 + v1.POST("artwork/supplement/detail", asArtwork.Supplement.Detail) //获取画作补充信息详情 + v1.POST("artwork/getArtistArtworkList", asArtwork.GetArtworkList2) //获取指定画家的画作列表 + v1.POST("artwork/import", asArtwork.ImportArtowrkToArtworkService) //导入画作到画作服务 + } + //======================================================================================== + // 画展 + { + v1.POST("artshow/UnfinishedAuditStatistics", asArtshow.GetAuditUnfinishedStatistics) //获取画展模块未完成审批统计 + v1.POST("artshow/video/getvideos", asArtshow.ArtshowVideo.GetArtshowVideoListAtUserSide) //获取画展视频列表 + v1.POST("artshow/video/updateVideo", asArtshow.ArtshowVideo.UpdateArtshowVideo) //更新视频信息 + v1.POST("artshow/video/getVideoDetail", asArtshow.ArtshowVideo.GetVideoDetail) //获取视频详情 + + v1.POST("artshow/artistIndex/getArtistIndexList", asArtshow.ArtshowIndex.GetArtistIndexListAtUserSide) //用户端获取画家指数列表 + v1.POST("artshow/artistIndex/updateArtistIndex", asArtshow.ArtshowIndex.UpdateArtistIndex) //更新画家指数 + + v1.POST("artshow/artistSupplement/getSupplementList", asArtshow.ArtistSupplement.GetArtistSupplementListAtUserSide) //用户端获取画家补充信息列表 + v1.POST("artshow/artistSupplement/updateSupplement", asArtshow.ArtistSupplement.UpdateArtistSupplement) //更新画家补充信息 + + v1.POST("artshow/artshowHistoryGroup", asArtshow.ArtshowHistoryGroup) //获取画家的画展历史记录 + v1.POST("artshow/list", asArtshow.ArtshowList) //获取画家的画展历史记录 + v1.POST("artshow/update-recommend", asArtshow.UpdateRecomend) //获取画家的画展历史记录 + + } + { + + v1.POST("backend/artwork/auditFlow/audit", asArtwork.Supplement.AuditSupplement) //画作审批(基本信息和补充信息共用一个接口) + v1.POST("backend/artwork/auditFlow/reAudit", asArtwork.Supplement.ReAuditBaseInfo) //重新审批(目前只有基本信息审批有这功能) Deprecated 此逻辑由前端控制,后台不需要处理 + v1.POST("backend/artwork/preview/list", asArtwork.GetArtworkPreviewListAtBackendSide2) //画作基本信息列表(后端) + v1.POST("backend/artwork/preview/detail", asArtwork.GetArtworkPreviewDetailAtBackendSide2) //画作基本信息详情 + //v1.POST("backend/artwork/supplement/list", asArtwork.Supplement.GetSupplementDataListAtBackendSide3) //画作信息补充列表(后端) + v1.POST("backend/artwork/supplement/list", asArtwork.Supplement.GetViewArtworkSupplementDetailList) + + v1.POST("backend/artwork/viewReviewArtistStatic/query", asArtwork.Supplement.GetViewReviewArtistStaticList) + v1.POST("backend/artwork/auditFlow/baseReviewAudit", asArtwork.Supplement.ReviewBaseArtworkV2) //基本画作复审 + v1.POST("backend/artwork/auditFlow/baseReviewList", asArtwork.Supplement.ReviewBaseArtworkList) //复审画作列表 + v1.POST("backend/artwork/review/export/excel", asArtwork.Supplement.ExportArtworkReviewList) //导出基本画作复审数据 + v1.POST("backend/artwork/review/export/static", asArtwork.Supplement.ExportArtworkReviewStatic) //导出复审静态资源 + v1.POST("backend/artwork/auditFlow/baseReviewAudit/save", asArtwork.Supplement.TempSaveReviewStatus) + v1.POST("backend/artwork/auditFlow/baseReviewAudit/list", asArtwork.Supplement.TempSaveReviewStatusList) + v1.POST("artistInfoArtwork/artworkBaseAuditHistory/query", asArtwork.Supplement.GetArtworkBaseAuditHistoryList) + v1.POST("artistInfoArtwork/reviewAuditMessage/query", asArtwork.Supplement.GetReviewAuditMessageList) //复审消息查询 + v1.POST("artistInfoArtwork/reviewAuditMessage/static", asArtwork.Supplement.GetReviewAuditMessageStatic) //复审消息阅读状态统计 + v1.POST("artistInfoArtwork/reviewAuditMessage/update", asArtwork.Supplement.UpdateReviewAuditMessage) //更新复审消息,一键审批 + v1.POST("artistInfoArtwork/reviewAuditMessage/delete", asArtwork.Supplement.DeleteReviewAuditMessage) //删除复审消息,一键删除已读消息 + + v1.POST("backend/artwork/supplement/generate", asArtwork.Supplement.GenerateSupplementInfo) //生成画作补充信息 + v1.POST("backend/menus/get", backend.MenusGet) //画作信息补充列表(后端) + v1.POST("backend/artist/UnfinishedArtworkBase", backend.GetArtistListUnfinishedArtworkBase) //获取未完成画作基本信息审批的艺术家列表 + v1.POST("backend/artist/UnfinishedArtworkSupplement", backend.GetArtistListOfUnfinishedArtworkSupplement) //获取未完成画作补充信息审批的艺术家列表 + v1.POST("backend/artist/ArtistsArtworkStaticList", asArtist.ArtistsArtworkStaticList) //画家的画作数据统计 + v1.POST("backend/export-field-list", backend.ExportFieldList) + authGroup.Use(middleware.CheckLogin(service.AccountProvider)) + //获取导出信息 + //authGroup.POST("backend/artwork/preview/list-export", asArtwork.GetArtworkPreviewListAtBackendSideExport2) //画作基本信息列表(后端) + v1.POST("backend/artwork/preview/list-export", asArtwork.GetArtworkPreviewListAtBackendSideExport2) //画作基本信息列表(后端) + + v1.POST("backend/artshow/video/generateVideoRecord", asArtshow.ArtshowVideo.GenerateArtshowVideoRecord) //生成画展视频记录 + v1.POST("backend/artshow/video/getVideoRecords", asArtshow.ArtshowVideo.GetArtshowVideoListAtBackendSide) //获取待审批画展视频列表 + v1.POST("backend/artshow/video/auditVideo", asArtshow.ArtshowVideo.AuditArtshowVideo) //审批画展视频资料 + v1.POST("backend/artshow/video/getLockedArtistList", asArtshow.ArtshowVideo.GetLockedArtistList) //获取锁定的画家列表(视频) + + v1.POST("backend/artshow/artistIndex/createArtistIndex", asArtshow.ArtshowIndex.GenerateArtistIndexRecords) //生成画家指数记录 + v1.POST("backend/artshow/artistIndex/getArtistIndexRecords", asArtshow.ArtshowIndex.GetArtistIndexListAtBackendSide) //获取画家指数审批列表 + v1.POST("backend/artshow/artistIndex/auditArtistIndex", asArtshow.ArtshowIndex.AuditArtistIndex) //审批画家指数数据 + v1.POST("backend/artshow/artistIndex/getLockedArtistList", asArtshow.ArtshowIndex.GetLockedArtistList) //获取锁定的画家列表(画家指数) + v1.POST("backend/artshow/artistIndex/getArtistIndexDetail", asArtshow.ArtshowIndex.GetArtistIndexDetail) //获取画家指数详情 + v1.POST("backend/artshow/artistIndex/staticDetail", asArtshow.ArtshowIndex.GetViewArtistIndexStaticDetail) //锁定画家画家指数统计详情 + v1.POST("backend/artshow/artistIndex/staticList", asArtshow.ArtshowIndex.GetViewArtistIndexStaticList) //锁定画家画家指数统计列表 + + v1.POST("backend/artshow/artistSupplement/createSupplement", asArtshow.ArtistSupplement.GenerateArtistSupplementRecords) //生成画家补充信息记录 + v1.POST("backend/artshow/artistSupplement/getSupplementRecords", asArtshow.ArtistSupplement.GetArtistSupplementListAtBackendSide) //获取成画家补充信息审批列表 + v1.POST("backend/artshow/artistSupplement/auditSupplement", asArtshow.ArtistSupplement.AuditArtistSupplement) //审批成画家补充信息数据 + //v1.POST("backend/artshow/artistSupplement/getSupplementList", asArtshow.ArtistSupplement.GetLockedArtistList) //获取锁定的画家列表(画家信息补充) + + v1.POST("artshow/broker/getItemList", asArtshow.BrokerSupplement.GetItemList) //获取经纪人下拉菜单列表 + v1.POST("artshow/broker/updateRecord", asArtshow.BrokerSupplement.UpdateBrokerSupplementRecord) //更新经纪人补充信息 + v1.POST("artshow/broker/getSupplementDetail", asArtshow.BrokerSupplement.GetSupplementDetail) //获取经纪人补充信息详情 + v1.POST("artshow/broker/getSupplementList", asArtshow.BrokerSupplement.GetSupplementList) //获取经纪人补充信息列表s + v1.POST("backend/artshow/broker/createBrokerSupplementRecord", asArtshow.BrokerSupplement.CreateBrokerSupplementRecord) //创建经纪人补充信息 + v1.POST("backend/artshow/broker/bindAndGetBroker", asArtshow.BrokerSupplement.BindAndGetArtPackageAndBrokerSupplement) //绑定并获取画展包经纪人 + + v1.POST("backend/artshow/generateAllSupplement", asArtshow.ArtshowIndex.GenerateAllSupplement) //生成所有画家补充信息(画展视频资料、画家指数、画家补充信息、经纪人补充信息) + } + // 经纪人画展 + { + v1.POST("artshow/broker/updateArtistSupplement", asArtshow.ArtistSupplement.AuditArtistSupplement) //审批成画家补充信息数据 + } + //======================================================================================== + // 经纪人代补充画展信息 + { + v1.POST("artshow/broker/getArtistSupplementStatus", asArtshow.BrokerOperationControl.GetArtistSupplementStatus) //获取画家信息的补充状态 + v1.POST("artshow/broker/getArtistSupplementDetail", asArtshow.BrokerOperationControl.GetArtistSupplementDetail) //获取画家简介补充信息 + v1.POST("artshow/broker/getArtworkSupplementStatusList", asArtshow.BrokerOperationControl.GetArtworkSupplementStatusList) //获取画作补充状态列表 + v1.POST("artshow/broker/getArtistIndexSupplementList", asArtshow.BrokerOperationControl.GetArtistIndexSupplementList) //获取画家指数列表 + v1.POST("artshow/broker/getArtistVideo", asArtshow.BrokerOperationControl.GetArtistVideo) //获取画家视频 + v1.POST("artshow/broker/getArtworkSupplementDetail", asArtshow.BrokerOperationControl.GetArtworkSupplementDetail) //获取画作补充信息 + v1.POST("artshow/broker/updateArtistInfo", asArtshow.BrokerOperationControl.UpdateArtistInfo) //更新画家信息 + v1.POST("artshow/broker/updateArtistVideoSupplement", asArtshow.BrokerOperationControl.UpdateArtistVideoSupplement) //更新画家视频信息 + v1.POST("artshow/broker/createArtistIndexSupplement", asArtshow.BrokerOperationControl.CreateArtistIndexSupplement) //更新画家指数 + v1.POST("artshow/broker/updateArtworkSupplement", asArtshow.BrokerOperationControl.UpdateArtworkSupplement) //更新画作补充信息 + v2.POST("artshow/broker/getArtistSupplementDetail", asArtshow.BrokerOperationControl.GetArtistSupplementDetailV2) //获取画家简介补充信息V2 + v2.POST("artshow/broker/updateArtistInfo", asArtshow.BrokerOperationControl.UpdateArtistInfoV2) //更新画家信息V2 + v1.POST("artshow/broker/getArtshowFlowPrice", asArtshow.BrokerOperationControl.GetArtshowFlowPrice) //获取平尺数底价详情 + v1.POST("artshow/broker/createArtshowFlowPrice", asArtshow.BrokerOperationControl.CreateArtshowFlowPrice) //获取平尺数底价详情 + v1.POST("artshow/broker/getSupplementFromArtistSystem", asArtshow.BrokerOperationControl.GetArtistSupplementFromSystem) //从画家系统获取补充信息 + v1.POST("artshow/bankInfo/update", asArtshow.BrokerOperationControl.UpdateBankInfo) //从画家系统获取补充信息 + v1.POST("artshow/bankInfo/get", asArtshow.BrokerOperationControl.GetBankInfo) //从画家系统获取补充信息 + v1.POST("artshow/copyrightComment/list", asArtshow.BrokerOperationControl.GetCopyrightCommentList) + v1.POST("artshow/copyrightComment/update", asArtshow.BrokerOperationControl.UpdateCopyrightComment) + v1.POST("artshow/copyrightComment/detail", asArtshow.BrokerOperationControl.GetCopyrightCommentDetail) + } + //======================================================================================== + // 合同 + { + v1.POST("contract/createContractMgmt", asContract.CreateContractMgmt) //创建合同 + v1.POST("contract/contractListMgmt", asContract.ContractListMgmt) //画家合同列表 + v1.POST("contract/contractListMgmt2", asContract.ContractListMgmtV2) //画家合同列表v2 + v1.POST("contract/contractArtistStatList", asContract.GetContractArtistStatList) //画家合同统计列表 + v1.POST("contract/batchCreate", asContract.BatchCreateContract) //批量创建合同 + v1.POST("contract/reBatchCreate", asContract.ReBatchCreateContract) //重新一键发起合同 + v1.POST("contract/artworkList", asContract.ContractArtworkList) //合同画作列表 + } + //======================================================================================== + // 对账单 + { + v1.POST("statement/uploadExcelOneTx", asStatement.UploadExcelOneTx) //导入物权附件一 + v1.POST("statement/uploadExcelTwoTx", asStatement.UploadExcelTwoTx) //导入物权附件二 + v1.POST("statement/uploadExcelOneCopy", asStatement.UploadExcelOneCopy) //导入版权附件一 + v1.POST("statement/uploadExcelTwoCopy", asStatement.UploadExcelTwoCopy) //导入版权附件二 + v1.POST("statement/getAllBatchTimeTx", asStatement.GetAllBatchTimeTx) //获取物权所有批次时间 + v1.POST("statement/getAllBatchTimeCopy", asStatement.GetAllBatchTimeCopy) //获取版权所有批次时间 + v1.POST("statement/getArtworkSoldTxList", asStatement.GetArtworkSoldTxList) //按要求获取画家列表(物权) + v1.POST("statement/getArtworkSoldTxDetailList", asStatement.GetArtworkSoldTxDetailList) //根据批次uid获取画家已售的画作物权列表 + v1.POST("statement/getArtworkSoldCopyList", asStatement.GetArtworkSoldCopyList) //按要求获取画家列表(版权) + v1.POST("statement/getArtworkSoldCopyDetailList", asStatement.GetArtworkSoldCopyDetailList) //根据批次uid获取画家已售的画作版权列表 + } + //======================================================================================== + // 黑名单 + { + v1.POST("blackList/create", blackList.Service.Create) + v1.POST("blackList/delete", blackList.Service.Delete) + v1.POST("blackList/search", blackList.Service.Search) + v1.POST("blackList/update", blackList.Service.Update) + } + //======================================================================================== + // 展讯 + { + //--------------------------------展讯文章内容 + v1.POST("inCircleArticle/InCircleArticle/create", inCircleArticle.Handler.CreateInCircleArticle) + v1.POST("inCircleArticle/InCircleArticle/delete", inCircleArticle.Handler.DeleteInCircleArticle) + v1.POST("inCircleArticle/InCircleArticle/update", inCircleArticle.Handler.UpdateInCircleArticle) + v1.POST("inCircleArticle/InCircleArticle/detail", inCircleArticle.Handler.GetInCircleArticleDetail) + v1.POST("inCircleArticle/InCircleArticle/query", inCircleArticle.Handler.GetInCircleArticleList) + v1.POST("inCircleArticle/InCircleArticle/like", inCircleArticle.Handler.SetLike) //点赞 + v1.POST("inCircleArticle/InCircleArticle/sync", inCircleArticle.Handler.SyncInCircleArticle) //点赞 + //--------------------------------展讯用户信息 + v1.POST("inCircleArticle/InCircleUser/create", inCircleArticle.Handler.CreateInCircleUser) + v1.POST("inCircleArticle/InCircleUser/delete", inCircleArticle.Handler.DeleteInCircleUser) + v1.POST("inCircleArticle/InCircleUser/update", inCircleArticle.Handler.UpdateInCircleUser) + v1.POST("inCircleArticle/InCircleUser/detail", inCircleArticle.Handler.GetInCircleUserDetail) + v1.POST("inCircleArticle/InCircleUser/query", inCircleArticle.Handler.GetInCircleUserList) + //--------------------------------展讯文章评论 + v1.POST("inCircleArticle/Comment/create", inCircleArticle.Handler.CreateComment) + v1.POST("inCircleArticle/Comment/delete", inCircleArticle.Handler.DeleteComment) + v1.POST("inCircleArticle/Comment/update", inCircleArticle.Handler.UpdateComment) + v1.POST("inCircleArticle/Comment/detail", inCircleArticle.Handler.GetCommentDetail) + v1.POST("inCircleArticle/Comment/query", inCircleArticle.Handler.GetCommentList) + //------------------------------Swiper轮播图 + v1.POST("inCircleArticle/Swiper/create", inCircleArticle.Handler.CreateSwiper) + v1.POST("inCircleArticle/Swiper/delete", inCircleArticle.Handler.DeleteSwiper) + v1.POST("inCircleArticle/Swiper/update", inCircleArticle.Handler.UpdateSwiper) + v1.POST("inCircleArticle/Swiper/detail", inCircleArticle.Handler.GetSwiperDetail) + v1.POST("inCircleArticle/Swiper/query", inCircleArticle.Handler.GetSwiperList) + } + { + //------------------------------ExportField + v1.POST("artistInfoUser/exportField/create", asUser.Handler.CreateExportField) + v1.POST("artistInfoUser/exportField/delete", asUser.Handler.DeleteExportField) + v1.POST("artistInfoUser/exportField/update", asUser.Handler.UpdateExportField) + v1.POST("artistInfoUser/exportField/detail", asUser.Handler.GetExportFieldDetail) + v1.POST("artistInfoUser/exportField/query", asUser.Handler.GetExportFieldList) + } + { + //------------------------------省市区,银行网点查询 + v1.POST("area/queryBankList", area.GetBankListHandler) //获取银行列表 + v1.POST("area/queryMainBankList", area.GetMainBankListHandler) //获取总行列表 + v1.POST("area/getTree", area.GetAreaTreeHandler) //获取省市区树 + } + //----------------------------------其它 + { + noAuth.POST("tmp/uploadpic", service.UploadImg) + v1.POST("test/microErr", service.MicroErr) + v1.POST("script/syncLowerArtist", asUser.SyncLowArtistHandler) //同步低优先级画家 + noAuth.POST("fake/login", asUser.FakeLogin) //模拟登录 + noAuth.POST("unipush2v0/test", asPush.Test) + } + //======================================================================================== + //// asCopyright + //{ + // //------------------------------CopyrightReg + // v1.POST("copyright/artwork/update", asCopyright.Handler.UpdateCopyrightReg) + // v1.POST("copyright/artwork/updateStatus", asCopyright.Handler.UpdateCopyrightRegStatus) + // v1.POST("copyright/artwork/detail", asCopyright.Handler.GetCopyrightRegDetail) + // v1.POST("copyright/artwork/query", asCopyright.Handler.GetCopyrightRegList) + // v1.POST("copyright/artwork/record/query", asCopyright.Handler.GetCopyrightRegRecordList) + // v1.POST("copyright/artwork/getDciPayUrl", asCopyright.Handler.GetDciPayUrl) //获取支付链接 + // //v1.GET("copyright/artwork/dciPayWs", asCopyright.DigitPayService.ConnDciPayWebsocket) + // v1.POST("copyright/status/static", asCopyright.Handler.GetCopyrightStatusStatic) + // v1.POST("copyright/sync/dciData", asCopyright.Handler.SyncDciData) //同步初审数据 + // v1.POST("copyright/startSecondReview", asCopyright.Handler.StartSecondReview) //开始复审 + // v1.POST("copyright/syncPaymentStatus", asCopyright.Handler.SyncPaymentStatusFromThirdParty) //同步支付状态 + //} + //======================================================================================== + // authPayment + { + paymentRouter := v1.Group("") + paymentRouter.Use(middleware.InitBody(), middleware.RecordOperation()) + //------------------------------AuthPayment + //v1.POST("authPayment/detail", authPayment.Handler.GetAuthPaymentDetail) + //v1.POST("authPayment/query", authPayment.Handler.GetAuthPaymentList) + paymentRouter.POST("authArtshow/view/query", authPayment.Handler.GetAuthPaymentArtShowList) //可发起支付画展包视图列表(一级) + paymentRouter.POST("authPayment/view/query", authPayment.Handler.GetViewAuthPaymentList) //发起支付记录视图列表(二级) + paymentRouter.POST("authPayment/update/per", authPayment.Handler.UpdateAuthPaymentPercent) //更新比例 + paymentRouter.POST("authPayment/create", authPayment.Handler.CreateAuthPaymentSend) //发起支付 + paymentRouter.POST("authPayment/update", authPayment.Handler.UpdateAuthPayment) //更新支付 + paymentRouter.POST("authPayment/delete", authPayment.Handler.DeleteAuthPayment) //删除支付 + paymentRouter.POST("authPayment/stat", authPayment.Handler.GetAuthPaymentStat) //鉴证支付统计 + } + //======================================================================================== + // mailArtwork 寄画退画 + { + //寄画 + v1.POST("mailArtwork/viewArtistMailStat/query", mailArtwork.Handler.GetViewArtistMailStatList) //一级列表,画家寄画统计列表 + v1.POST("mailArtwork/viewMailArtworkData/query", mailArtwork.Handler.GetViewMailArtworkDataList) //二级列表 , 寄画的画作列表,包含画作信息 + v1.POST("mailArtwork/cansend/query", mailArtwork.Handler.GetCanSendMailArtworkList) //查询可寄出的画作列表 + v1.POST("mailArtwork/confirm", mailArtwork.Handler.ConfirmMailArtwork) //发起寄画/退画 + v1.POST("mailArtwork/courierEdit", mailArtwork.Handler.CourierEdit) //快递信息填写 + v1.POST("mailArtwork/courierDetail", mailArtwork.Handler.CourierDetail) //快递信息查询 + v1.POST("mailArtwork/putInStorage", mailArtwork.Handler.PutInStorage) //入库 + v1.POST("mailArtwork/artworkCourierGroup", mailArtwork.Handler.ArtworkCourierGroup) //通过uid查询画作和快递信息,并按照寄出状态分组 + //退画 + v1.POST("returnArtwork/artistReturnStat/query", mailArtwork.Handler.GetArtistReturnStatDataList) //一级列表,画家退画统计列表 + v1.POST("returnArtwork/viewReturnArtwork/query", mailArtwork.Handler.GetViewReturnArtworkDataList) //二级列表,查询已发起退回的画作列表 + v1.POST("returnArtwork/canreturn/query", mailArtwork.Handler.GetCanReturnArtworkList) //查询可退回的画作列表 + + v1.POST("mailArtwork/mailArtwork/delete", mailArtwork.Handler.DeleteMailArtwork) //删除寄画信息 + v1.POST("mailArtwork/mailArtwork/update", mailArtwork.Handler.UpdateMailArtwork) //更新寄画信息 + v1.POST("mailArtwork/mailArtwork/shortUrlTest", mailArtwork.Handler.ShortUrlTest) + } +} diff --git a/pkg/router/artwork.go b/pkg/router/artwork.go new file mode 100644 index 0000000..a8400e1 --- /dev/null +++ b/pkg/router/artwork.go @@ -0,0 +1,136 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + service_artwork "github.com/fonchain_enterprise/fonchain-main/pkg/service/artwork" + "github.com/gin-gonic/gin" +) + +func ArtworkRoute(r *gin.RouterGroup) { + noAuth := r.Group("") + auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + artwork := auth.Group("artwork") + { + artwork.POST("add", service.CreateAwProfile) + artwork.PUT("edit", service.UpdateAwProfile) + artwork.DELETE("del", service.DelAwProfile) + artwork.PUT("market-edit", service.UpdateMarketInfo) + artwork.PUT("ext-data", service.UpdateExtInfo) + artwork.PUT("digi-info", service.DigiInfo) + artwork.PUT("tags", service.AwTags) + artwork.PUT("auth-data", service.AuthData) + artwork.POST("verify-data", service.VerifyData) + artwork.PUT("auth-img", service.AuthImg) + artwork.PUT("storage", service.Storage) // 更新仓储数据 + artwork.POST("detail", service.AwDetail) + artwork.POST("storage-info", service.StorageInfo) + artwork.POST("market-info", service.MarketInfo) + artwork.POST("list", service.AwList) + artwork.GET("tag-list", service.AwTagList) + artwork.DELETE("auth-del", service.DelAuthData) + artwork.DELETE("market-del", service.DelMarketData) + artwork.DELETE("storage-del", service.DelStorageData) + artwork.GET("random-hash", service.RandomHash) + artwork.POST("cat-list", service.CatList) + artwork.POST("get-chunk-list", service.GetFileChunkInfo) + artwork.POST("upload-chunk", service.UploadChunk) + artwork.PUT("third-party-edit", service.UpdateThirdParty) + artwork.DELETE("third-party-del", service.DelThirdParty) + artwork.POST("third-party-list", service.ThirdPartyList) + artwork.POST("my-aw-list", service.MyAwList) + artwork.PUT("edit-aw-status", service.EditAwStatus) + artwork.POST("allot-artwork", service.AllotArtwork) + artwork.POST("shelf-no-list", service.ShelfNoList) + artwork.POST("update-copyright", service.UpdateCopyright) + artwork.POST("export-artwork", service.ExportArtwork) + artwork.POST("export-field-list", service.ExportArtworkField) + artwork.POST("update-copyright-info", service.UpdateCopyrightInfo) + artwork.POST("update-transfer-info", service.UpdateTransferInfo) + artwork.POST("transfer-info-list", service.TransferInfoList) + artwork.POST("update-price-run", service.UpdateAwPriceRun) + artwork.POST("download", service.DownloadArtwork) + artwork.POST("download-hash", service.DownloadHash) + artwork.POST("sync-aw-signdate", service.SyncAwSignDate) + artwork.POST("sync-aw-storage", service.SyncAwStorage) + artwork.POST("auth-img-batch", service.AuthImgBatch) + artwork.POST("update-info-with-kv", service.UpdateAwInfoWithKey) + artwork.POST("add-brand", service.AddBrand) + artwork.POST("update-aw-batch", service.UpdateAwBatch) + artwork.POST("verify-list", service.VerifyList) + artwork.POST("sync-artwork-data", service.SyncArtworkData) + artwork.POST("update-aw-comment", service.UpdateAwComment) + artwork.POST("download-tf-image", service.DownloadTfImage) + artwork.POST("count-verify-similar", service.CountVerifySimilar) + artwork.POST("one-query-list", service.OneQueryList) + artwork.POST("one-query-export", service.OneQueryExport) + artwork.POST("one-query-audit", service.ArtworkOneQueryAudit) + artwork.POST("one-query-audit-syncTest", service.SyncArtworkTest) + artwork.POST("filter-list", service.ArtworkFilterList) + artwork.POST("edit-filter", service.ArtworkEditFilter) + artwork.POST("batch-dci-list", service.BatchDciList) + artwork.POST("second-list", service_artwork.SecondArtworkList) + artwork.POST("traditional-to-simplified", service_artwork.TraditionalToSimplified) + artwork.POST("generate-supplement", service_artwork.GenerateSupplement) + } + // 画作服不需要登录的接口 + artworkNoLogin := noAuth.Group("artwork") + { + //artworkNoLogin.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + artworkNoLogin.GET("export-artwork", service.ExportArtwork) + artworkNoLogin.POST("nfc-list", service.NfcList) + artworkNoLogin.Any("load-data", service.LoadData) + artworkNoLogin.POST("add-collector", service.AddCollector) + } + + { + artwork.POST("rate-list", service_artwork.RateList) + artwork.POST("update-rate-status", service_artwork.UpdateRateStatus) + artwork.POST("scale-info", service_artwork.ScaleInfo) + } + + // 比率 + { + artwork.POST("repair-list", service_artwork.RepairList) + artwork.POST("repair-update", service_artwork.RepairUpdate) + artwork.POST("repair-del", service_artwork.RepairDel) + artwork.POST("repair-detail", service_artwork.RepairDetail) + artwork.POST("repair-export", service_artwork.RepairExport) + } + //工作台 + workbench := auth.Group("workbench") + { + workbench.POST("index-count", service.IndexCount) + workbench.POST("add-shelf", service.AddShelf) + workbench.POST("del-shelf", service.DelShelf) + workbench.POST("shelf-list", service.ShelfList) + workbench.POST("shelf-detail", service.ShelfDetail) + workbench.POST("shelf-add-artwork", service.ShelfAddArtwork) + workbench.POST("artwork-list", service.SimpleArtworkList) + workbench.POST("shelf-drag-artwork", service.ShelfDragArtwork) + workbench.POST("update-aw-shelf", service.UpdateAwShelf) + workbench.POST("exportby-showid", service.ExportByShowId) + workbench.POST("artshow-done", service.ArtShowDone) + workbench.POST("list-show", service.ListShow) + workbench.PUT("aws-storage", service.AwsStorage) //批量更新画作仓储 + workbench.POST("schedule-add", service.ScheduleAdd) + workbench.POST("schedule-info", service.ScheduleInfo) + workbench.POST("schedule-list", service.ScheduleList) + workbench.POST("schedule-read", service.ScheduleRead) + workbench.POST("common-seal-list", service.CommonSealList) + workbench.POST("post-batch-art", service.PostBatchArt) + workbench.POST("recheck-artist-list", service.RecheckArtistList) + workbench.POST("recheck-artwork-list", service.RecheckArtworkList) + workbench.POST("recheck-edit", service.RecheckEdit) + workbench.POST("recheck-submit", service.RecheckSubmit) + workbench.POST("submit-info", service.SubmitInfo) + } + + artworkShop := auth.Group("artwork-shop") + { + artworkShop.POST("artwork-list", service.AwShopList) + artworkShop.POST("sync-order", service.SyncOrder) + } + +} diff --git a/pkg/router/auth.go b/pkg/router/auth.go new file mode 100644 index 0000000..23a6cfb --- /dev/null +++ b/pkg/router/auth.go @@ -0,0 +1,95 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/department" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/deliver" + "github.com/gin-gonic/gin" + "net/http" +) + +func AuthRoute(router *gin.RouterGroup) { + r := router.Group("") + r.StaticFS("/pdfst/print_model", http.Dir("./data/print_model")) + positionV2Route := r.Group("/position/v2") + positionV2Route.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + positionV2Route.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + positionV2Route.POST("create", position.CreateV2) + positionV2Route.POST("update", position.UpdateV2) + positionV2Route.POST("detail", position.DetailV2) + positionV2Route.POST("list", position.ListV2) + positionV2Route.POST("batch/remove", position.BatchRemove) + positionV2Route.POST("batch/bind/auth", position.BatchBindAuth) + positionV2Route.POST("model/create", position.CreateModel) //创建模版 + positionV2Route.POST("model/remove", position.DeleteModel) //删除模版 + positionV2Route.POST("model/list", position.ListModel) //模版列表 + positionV2Route.POST("model/detail", position.DetailModel) //模版详情 + positionV2Route.POST("log/list", position.LogList) //日志列表 + } + + deliverV2Route := r.Group("/api/deliver") + deliverV2Route.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + deliverV2Route.POST("create", deliver.Create) + deliverV2Route.POST("update", deliver.Update) + deliverV2Route.POST("detail", deliver.Detail) + deliverV2Route.POST("list", deliver.List) + deliverV2Route.POST("remove", deliver.Remove) + } + + departmentRoute := r.Group("/department/v2") + departmentRoute.Use(middleware.CheckLogin(service.AccountProvider)) + departmentRoute.POST("tree/filter", department.FilterTree) + departmentRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + departmentRoute.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + departmentRoute.POST("boss/level", department.LevelBoss) //绑定部门 + departmentRoute.POST("boss/direct", department.DirectBoss) //绑定部门 + departmentRoute.POST("create", department.CreateV2) + departmentRoute.POST("update", department.UpdateV2) + departmentRoute.POST("detail", department.DetailV2) + departmentRoute.POST("tree/my", department.MyTree) + departmentRoute.POST("tree/all", department.AllTree) + departmentRoute.POST("tree/all/position", department.AllTreeWithPosition) + departmentRoute.POST("remove", department.Remove) //删除部门 + departmentRoute.POST("bind", department.Bind) //绑定部门 + departmentRoute.POST("unbind", department.UnBind) //绑定部门 + departmentRoute.POST("list/key", department.ListByAuth) //绑定部门 + departmentRoute.POST("position", department.DetailsV2) //绑定部门 + departmentRoute.POST("base/all/list", department.BaseListV2) //绑定部门 + } + + ruleV2Route := r.Group("/rule/v2") + ruleV2Route.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + ruleV2Route.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + ruleV2Route.POST("update", rule.UpdateV2) + ruleV2Route.POST("detail", rule.DetailV2) + ruleV2Route.POST("menu/list", rule.ListV2) + } + + userV2Route := r.Group("/user/v2") + userV2Route.POST("sample/account", account.SampleAccount) //登陆-校验这是否有其他人有登陆信息 + userV2Route.POST("login", account.UserLoginSqueezeOther) //新登陆,挤掉其他人 + userV2Route.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + userV2Route.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + userV2Route.POST("create", account.UserRegisterV2) //注册 + userV2Route.POST("update", account.UpdateV2) //更新 + userV2Route.POST("reset/pwd", account.ResetPwd) //更新 + userV2Route.POST("detail", account.DetailV2) //获取详情 + userV2Route.POST("boss/staff/detail", account.DetailNowDepartmentV2) // 部门领导获取该员工信息 (部门岗位仅仅限制领导可见的岗位) + userV2Route.POST("boss/staff/update", account.BossDetailUpdate) // 部门领导获取该员工信息 (部门岗位仅仅限制领导可见的岗位) + userV2Route.POST("my/info", account.MyInfo) //获取详情 + userV2Route.POST("list", account.ListV2) //获取详情 + userV2Route.POST("batch/remove", account.BatchRemoveV2) //删除 + userV2Route.POST("remove", account.RemoveV2) //删除 + userV2Route.POST("check/register", account.CheckBeforeRegister) //删除 + userV2Route.POST("/face", account.Face) + } +} diff --git a/pkg/router/chainbrowser.go b/pkg/router/chainbrowser.go new file mode 100644 index 0000000..9666c36 --- /dev/null +++ b/pkg/router/chainbrowser.go @@ -0,0 +1,92 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/blockchain" + service_chainbrowser "github.com/fonchain_enterprise/fonchain-main/pkg/service/chainbrowser" + service_invoice "github.com/fonchain_enterprise/fonchain-main/pkg/service/invoice" + "github.com/gin-gonic/gin" +) + +func ChainBrowserRoute(r *gin.RouterGroup) { + //noAuth := r.Group("") + auth := r.Group("") + eCardErpAuth := r.Group("eCard") + eCardAuth := r.Group("e_card") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + browser := auth.Group("browser") + { + browser.POST("home-data", service_chainbrowser.HomeData) + browser.POST("block-list", service_chainbrowser.BlockList) + browser.POST("tx-list", service_chainbrowser.TxList) + browser.POST("blockhash-detail", service_chainbrowser.BlockHashDetail) + browser.POST("txhash-detail", service_chainbrowser.TxHashDetail) + browser.POST("filehash-list", service_chainbrowser.FileHashList) + browser.POST("file-add-chain", service_chainbrowser.FileAddChain) + browser.POST("filehash-detail", service_chainbrowser.FileHashDetail) + browser.POST("refresh-file-chain", service_chainbrowser.RefreshFileChain) + + browser.POST("hash-detail", service_chainbrowser.HashDetail) + } + + equity := auth.Group("equity") + { + equity.POST("update/free/resources", service_chainbrowser.UpdateFreeResources) // 修改系统赠送权益值 + equity.POST("get/all/free/resources", service_chainbrowser.GetAllFreeResources) // 获取所有的系统赠送权益值 + equity.POST("update/consume/resources", service_chainbrowser.UpdateConsumeResources) // 修改消费权益值的存证消费值 + equity.POST("get/all/consume/resources", service_chainbrowser.GetAllConsumeResources) // 获取消费权益值的存证的消费值 + equity.POST("update/conversion/ratio", service_chainbrowser.UpdateConversionRatio) // 更新权益兑换比例表 + equity.POST("get/all/refill/card/status", service_chainbrowser.GetAllRefillCardStatus) // 获取未删除的充值卡金额的状态 + equity.POST("create/refill/card/amount/info", service_chainbrowser.CreateRefillCardAmountInfo) // 新增充值金额信息 + equity.POST("get/refill/card/amount/info", service_chainbrowser.GetRefillCardAmountInfo) // 获取所有的充值卡金额信息 + equity.POST("stop/refill/card/amount/info", service_chainbrowser.StopRefillCardAmountInfo) // 停用充值金额 + equity.POST("open/refill/card/amount/info", service_chainbrowser.OpenRefillCardAmountInfo) // 启用充值金额信息 + equity.POST("delete/refill/card/amount/info", service_chainbrowser.DeleteRefillCardAmountInfo) // 删除充值金额信息 + + equity.POST("get/all/pay/status", service_chainbrowser.GetAllPayStatus) // 获取所有的支付状态 + equity.POST("recharge/record/manage", service_chainbrowser.RechargeRecordManage) // 充值卡订单管理 + equity.POST("recharge/record/manage/export/form", service_chainbrowser.RechargeRecordManageExportForm) // 充值卡订单管理表导出 + equity.POST("get/all/refund/status", service_chainbrowser.GetAllRefundStatus) // 获取所有的退款状态 + equity.POST("refund/apply/manage", service_chainbrowser.RefundApplyManage) // 充值卡退款申请管理 + equity.POST("refund/apply/manage/export/form", service_chainbrowser.RefundApplyManageExportForm) // 充值卡退款申请管理表导出 + equity.POST("wx/refund", service_chainbrowser.WxRefund) // 退款允许 + equity.POST("ali/refund", service_chainbrowser.AliRefund) // 退款允许 + equity.POST("refund/refuse", service_chainbrowser.RefundRefuse) // 退款驳回 + equity.POST("get/all/add/type", service_chainbrowser.GetAllAddType) // 获取所有的增加权益值的类型 + equity.POST("resource/usage/detail/add/manage", service_chainbrowser.ResourceUsageDetailAddManage) // 资源权益使用(充值) + equity.POST("resource/usage/detail/add/manage/export/form", service_chainbrowser.ResourceUsageDetailAddManageExportForm) // 资源权益使用表(充值)导出 + equity.POST("get/all/reduce/type", service_chainbrowser.GetAllReduceType) // 获取所有的消费权益值的类型 + equity.POST("resource/usage/detail/reduce/manage", service_chainbrowser.ResourceUsageDetailReduceManage) // 资源权益使用(消费) + equity.POST("resource/usage/detail/reduce/manage/export/form", service_chainbrowser.ResourceUsageDetailReduceManageExportForm) // 资源权益使用(消费)导出 + + equity.POST("get/resources/by/user/ids", service_chainbrowser.GetResourcesByUserIds) // 根据用户id列表查询资源 + + equity.Use(middleware.CheckLogin(service.AccountProvider)) + equity.POST("refund/allow", service_chainbrowser.RefundAllow) // 退款允许 + equity.POST("admin/top/up/resource", service_chainbrowser.AdminTopUpResource) // 管理员赠送丰值 + + invoice := auth.Group("invoice") + invoice.Use(middleware.CheckLogin(service.AccountProvider)) + { + invoice.POST("list", service_invoice.FindInvoice) //发票列表 + invoice.POST("handle", service_invoice.HandelInvoice) //发票处理 + } + BlockUser := auth.Group("block-user") + BlockUser.Use(middleware.CheckLogin(service.AccountProvider)) + { + BlockUser.POST("list", blockchain.BlockUserList) + BlockUser.POST("setting", blockchain.BlockUserSetting) + } + + { + eCardErpAuth.POST("eCard-user-manage", blockchain.ECardUserManage) + eCardErpAuth.POST("chain-record", blockchain.ChainRecord) + eCardAuth.POST("save-info", blockchain.SaveInfo) + eCardAuth.POST("exist", blockchain.UserExist) + eCardAuth.POST("send", blockchain.Send) + eCardAuth.POST("login", blockchain.Login) + eCardAuth.POST("check", blockchain.Check) + } + } +} diff --git a/pkg/router/chat.go b/pkg/router/chat.go new file mode 100644 index 0000000..2c0ca59 --- /dev/null +++ b/pkg/router/chat.go @@ -0,0 +1,28 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func ChatRoute(r *gin.RouterGroup) { + auth := r.Group("") + noAuth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + chat := auth.Group("chat") + { + chat.POST("completion", service.Completion) + chat.POST("list", service.ChatList) + chat.POST("create", service.ChatCreate) + chat.POST("del", service.ChatDel) + chat.POST("detail", service.ChatDetail) + chat.POST("completion-text", service.CompletionText) + } + noAuthChat := noAuth.Group("chat") + { + noAuthChat.POST("app-completion", service.AppCompletion) + noAuthChat.POST("audio-to-text", service.AudioToText) + noAuthChat.POST("get-file-text", service.GetFileText) + } +} diff --git a/pkg/router/copyright.go b/pkg/router/copyright.go new file mode 100644 index 0000000..f3b9c87 --- /dev/null +++ b/pkg/router/copyright.go @@ -0,0 +1,68 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + service_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/service/copyright" + "github.com/gin-gonic/gin" +) + +func CopyrightRoute(r *gin.RouterGroup) { + noAuth := r.Group("") + auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + copyrightAuth := auth.Group("copyright") + { + copyrightAuth.POST("create-aw-dci", service_copyright.CreateArtworkDci) + copyrightAuth.POST("aw-additional-info", service_copyright.AwAdditionalInfo) + copyrightAuth.POST("list", service_copyright.CopyrightList) + copyrightAuth.POST("detail", service_copyright.CopyrightDetail) + copyrightAuth.POST("del", service_copyright.DeleteCopyright) + copyrightAuth.POST("schedule", service_copyright.CopyrightSchedule) + copyrightAuth.POST("status-info", service_copyright.CopyrightStatusInfo) + copyrightAuth.POST("dci-retry", service_copyright.RetryDigitalRegister) //补正申请 + copyrightAuth.POST("dci-content-info", service_copyright.DciContentInfo) //查询申领信息 + copyrightAuth.POST("dci-registration", service_copyright.DciRegistration) //数登申请 + copyrightAuth.POST("dci-query-registration", service_copyright.DciQueryRegistration) //查询数登申请 + copyrightAuth.POST("dci-pay-url", service_copyright.DciGetPayUrl) //获取支付链接 + copyrightAuth.POST("dci-pay-query", service_copyright.DciGetPayQuery) // 查询支付结果 + copyrightAuth.POST("dci-cert", service_copyright.DciGetRegistrationCert) // 获取数登证书 + copyrightAuth.POST("dci-close", service_copyright.CloseDigitalRegister) + copyrightAuth.POST("dci-update-user", service_copyright.UpdateUser) // + copyrightAuth.POST("dci-user-info", service_copyright.DciUserInfo) // + copyrightAuth.POST("data-summary", service_copyright.DataSummary) // + copyrightAuth.POST("category-data-summary", service_copyright.CategoryDataSummary) // + copyrightAuth.POST("category-day-summary", service_copyright.CategoryDaySummary) // + copyrightAuth.POST("all-status-info", service_copyright.AllStatusInfo) // + copyrightAuth.POST("batch-dci", service_copyright.BatchDci) //批量申请 + copyrightAuth.POST("update-supplement", service_copyright.UpdateSupplement) // 版权补充 + copyrightAuth.POST("copyright-info", service_copyright.CopyrightInfo) // 版权详情 + copyrightAuth.POST("supplement-detail", service_copyright.SupplementDetail) // 版权详情 + copyrightAuth.POST("supplement-list", service_copyright.SupplementList) + copyrightAuth.POST("refresh-copyright", service_copyright.RefreshCopyright) + copyrightAuth.POST("update-payinfo-result", service_copyright.UpdatePayInfoResult) + } + + copyrightNoAuth := noAuth.Group("copyright") + { + copyrightNoAuth.POST("no-auth-dci-content-info", service_copyright.DciContentInfo) + copyrightNoAuth.POST("no-auth-dci-query-registration", service_copyright.DciQueryRegistration) //查询数登申请 + copyrightNoAuth.POST("unpack-callback", service_copyright.UnpackCallback) //查询数登申请 + copyrightNoAuth.POST("test", service_copyright.Test) //查询数登申请 + } + + //软件版权登记 + softwareAuth := auth.Group("software") + { + softwareAuth.POST("save-copyright", service_copyright.SaveSoftwareCopyright) + softwareAuth.POST("list", service_copyright.SoftwareCopyrightList) + softwareAuth.POST("delete", service_copyright.DelSoftwareCopyright) + } + //商标管理 + trademarkAuth := auth.Group("trademark") + { + trademarkAuth.POST("save-trademark", service_copyright.SaveTrademark) + trademarkAuth.POST("list", service_copyright.TrademarkList) + trademarkAuth.POST("delete", service_copyright.DelTrademark) + } +} diff --git a/pkg/router/dci.go b/pkg/router/dci.go new file mode 100644 index 0000000..123b2d3 --- /dev/null +++ b/pkg/router/dci.go @@ -0,0 +1,48 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/dci" + "github.com/gin-gonic/gin" +) + +func DciRoute(r *gin.RouterGroup) { + basic := r.Group("dci") + noAuth := r.Group("dci") + basic.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + file := basic.Group("file") + { + file.POST("upload", dci.GetUploadFile) + } + + { + noAuth.GET("area", dci.GetAreaCode) + noAuth.POST("callback", dci.Callback) + } + + user := basic.Group("user") + { + user.POST("add", dci.AddDciUser) + user.POST("update", dci.UpdateDciUser) + user.POST("info", dci.QueryDciUser) + } + + work := basic.Group("work") + { + work.POST("create", dci.CreateDciRegistration) + work.POST("info", dci.QueryDciRegistration) + work.POST("pay-url", dci.GetDciPayUrl) + work.POST("pay-info", dci.QueryDciPay) + work.POST("cert-info", dci.GetDciRegistrationcert) + work.POST("retry", dci.RetryDciRegistration) + work.POST("close", dci.CloseDciRegistration) + } + + reg := basic.Group("reg") + { + reg.POST("create", dci.CreateDciPreregistration) + reg.POST("info", dci.QueryDciPreregistration) + } + +} diff --git a/pkg/router/domain_name.go b/pkg/router/domain_name.go new file mode 100644 index 0000000..f043d9c --- /dev/null +++ b/pkg/router/domain_name.go @@ -0,0 +1,22 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/domain_name" + "github.com/gin-gonic/gin" +) + +// DomainNameRoute 域名管理 +func DomainNameRoute(r *gin.RouterGroup) { + domainNameRoute := r.Group("/domain_name") + + domainNameRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + domainNameRoute.POST("create", domain_name.Create) + domainNameRoute.PUT("update", domain_name.Update) + domainNameRoute.POST("list", domain_name.List) + domainNameRoute.DELETE("deleted", domain_name.Deleted) + domainNameRoute.POST("download", domain_name.Download) + } +} diff --git a/pkg/router/employee_file.go b/pkg/router/employee_file.go new file mode 100644 index 0000000..bf69899 --- /dev/null +++ b/pkg/router/employee_file.go @@ -0,0 +1,62 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/employee" + "github.com/gin-gonic/gin" +) + +func EmployeeFileRoute(r *gin.RouterGroup) { + employeeFileRoute := r.Group("/employee-file") + employeeFileRoute.Use(middleware.CheckLogin(service.AccountProvider)) + { + //查询字典表 + employeeFileRoute.POST("dictionary/search", employee.SearchDictionaryList) + //员工档案curd + employeeFileRoute.POST("create", employee.CreateEmployeeFile) + employeeFileRoute.POST("update", employee.UpdateEmployeeFile) + employeeFileRoute.POST("new/changes", employee.MoreNewChanges) + employeeFileRoute.POST("set/attendance/group", employee.TheAttendanceGroupIsSet) + employeeFileRoute.POST("list", employee.FindEmployeeFileList) + //展示列 + employeeFileRoute.POST("create/display", employee.CreateDisplayColumns) + employeeFileRoute.POST("details/display", employee.DetailsDisplayColumns) + employeeFileRoute.POST("all/display", employee.DisplayColumnAll) + //导出 + employeeFileRoute.POST("download/excel", employee.DownloadExcel) + employeeFileRoute.POST("download/docx", employee.DownloadDocx) + employeeFileRoute.POST("create/excel", employee.CreateExcel) + employeeFileRoute.POST("find/total", employee.QueryStatistics) + //奖惩记录 + employeeFileRoute.POST("create/rewards/punishments", employee.CreateRewardsAndPunishments) + employeeFileRoute.POST("find/rewards/punishments", employee.FindRewardsAndPunishments) + employeeFileRoute.POST("download/rewards/punishments", employee.DownloadRewardsAndPunishments) + employeeFileRoute.POST("create/rewards/punishments/excel", employee.CreateRewardsAndPunishmentsExcel) + //离职记录 + employeeFileRoute.POST("create/turnover/record", employee.CreateTurnoverRecord) + employeeFileRoute.POST("find/turnover/record", employee.FindTurnoverRecord) + employeeFileRoute.POST("download/turnover/record", employee.DownloadTurnoverRecord) + //薪资记录 + employeeFileRoute.POST("find/payroll/record", employee.FindPayrollRecordList) + employeeFileRoute.POST("download/payroll/record", employee.DownloadPayrollRecordList) + //合同记录 + employeeFileRoute.POST("create/contract/record", employee.CreateContractRecord) + employeeFileRoute.POST("find/contract/record", employee.FindContractRecord) + employeeFileRoute.POST("create/contract/excel", employee.CreateContractExcel) + employeeFileRoute.POST("download/contract/record", employee.DownloadContractRecord) + employeeFileRoute.POST("update/contract/attachment", employee.UpdateContractAttachment) + //异动记录 + employeeFileRoute.POST("find/changes/record", employee.FindChangesRecord) + employeeFileRoute.POST("download/changes/record", employee.DownloadChangesRecord) + employeeFileRoute.POST("create/changes/excel", employee.CreateChangesExcel) + employeeFileRoute.POST("update/changes/attachment", employee.UpdateChangesAttachment) + //提醒记录 + employeeFileRoute.POST("find/reminder/record", employee.FindReminderList) + employeeFileRoute.POST("processing/reminder", employee.ProcessingReminder) + employeeFileRoute.POST("find/out/standing", employee.QueryOutstanding) + //redis初始化 + employeeFileRoute.POST("init/redis/attendance-section", employee.InitRedisAttendance) + employeeFileRoute.POST("init/redis/recent-img", employee.InitRedisRecentImg) + } +} diff --git a/pkg/router/exam.go b/pkg/router/exam.go new file mode 100644 index 0000000..48fa8e2 --- /dev/null +++ b/pkg/router/exam.go @@ -0,0 +1,85 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/exam" + "github.com/gin-gonic/gin" +) + +func ExamRoute(r *gin.RouterGroup) { + noAuth := r.Group("") + auth := r.Group("") + //auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider)) + + examNoAuth := noAuth.Group("exam") + { + examNoAuth.POST("user/send", exam.SendExamMsg) + examNoAuth.POST("user/reg", exam.UserExamRegister) + examNoAuth.POST("user/login", exam.UserExamLogin) + } + + examAuth := auth.Group("exam") + { + examAuth.POST("user/all", exam.GetAllUserInfo) + + examAuth.POST("user/save-answer", exam.SaveUserAnswerHis) + examAuth.POST("user/save-train", exam.SaveUserTrainHis) + examAuth.POST("user/save-exam", exam.SaveUserHis) + examAuth.POST("user/answer-his", exam.UserHisInfo) + + examAuth.POST("save-exam", exam.SaveExam) + examAuth.POST("exam-info", exam.GetExamInfo) + examAuth.POST("exam-infos", exam.GetExamInfos) + + examAuth.POST("save-train", exam.SaveTrain) + examAuth.POST("train-info", exam.GetTrainInfo) + examAuth.POST("train-infos", exam.GetTrainInfos) + examAuth.POST("update-train", exam.UpdateTrain) + examAuth.POST("delete-train", exam.DeleteTrain) + + examAuth.POST("save-gift", exam.SaveGift) + examAuth.POST("gift-info", exam.GetGiftInfo) + + examAuth.POST("save-question", exam.SaveQuestion) + examAuth.POST("question-info", exam.GetQuestionInfo) + examAuth.POST("check-question", exam.CheckQuestion) + examAuth.POST("update-question", exam.UpdateQuestion) + examAuth.POST("delete-question", exam.DeleteQuestion) + examAuth.POST("detail-question", exam.DetailQuestion) + examAuth.POST("import-questions", exam.ImportQuestions) + + examAuth.POST("exam-user", exam.GetExamUserInfo) + examAuth.POST("fuzzy-query-user", exam.FuzzyQueryUser) + examAuth.POST("export-excel", exam.ExportExcel) + + examAuth.POST("question-classify-info", exam.GetQuestionClassifies) + + examAuth.POST("save-exam-paper", exam.SaveExamPaper) + examAuth.POST("update-exam-paper", exam.UpdateExamPaper) + examAuth.POST("delete-exam-paper", exam.DeleteExamPaper) + examAuth.POST("get-exam-papers", exam.GetExamPapers) + examAuth.POST("detail-exam-paper", exam.DetailExamPaper) + + examAuth.POST("save-exam-task", exam.SaveExamTask) + examAuth.POST("update-exam-task", exam.UpdateExamTask) + examAuth.POST("delete-exam-task", exam.DeleteExamTask) + examAuth.POST("get-exam-tasks", exam.GetExamTasks) + examAuth.POST("detail-exam-task", exam.DetailExamTask) + examAuth.POST("check-exam-task", exam.CheckExamTask) + examAuth.POST("publish-exam-task", exam.PublishExamTask) + examAuth.POST("update-exam-task-range", exam.UpdateExamTaskRange) + + examAuth.POST("save-user-exam-task", exam.SaveUserExam) + examAuth.POST("get-person-exam-tasks", exam.GetPersonUserExamTaskRecords) + examAuth.POST("get-person-exam—sub-tasks", exam.GetPersonUserExamSubTaskRecords) + examAuth.POST("get-person-score", exam.GetPersonScore) + examAuth.POST("grading-paper", exam.GradingPaper) + examAuth.POST("data-user-task-details", exam.DataUserTaskDetails) + examAuth.POST("data-person-monitor", exam.DataPersonMonitor) + examAuth.POST("data-header-monitor", exam.DataHearMonitor) + examAuth.POST("export-excel-data-person-monitor", exam.ExportExcelDataPersonMonitor) + } + +} diff --git a/pkg/router/examV2.go b/pkg/router/examV2.go new file mode 100644 index 0000000..e29a50f --- /dev/null +++ b/pkg/router/examV2.go @@ -0,0 +1,31 @@ +// Package router ----------------------------- +// @file : examV2.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/5/13 上午11:12 +// ------------------------------------------- +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/exam" + "github.com/gin-gonic/gin" +) + +func ExamV2Route(r *gin.RouterGroup) { + auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider)) + + examAuth := auth.Group("examV2") + { + examAuth.POST("cert/create", exam.CertHandler.CreateCert) + examAuth.POST("cert/delete", exam.CertHandler.DeleteCert) + examAuth.POST("cert/update", exam.CertHandler.UpdateCert) + examAuth.POST("cert/detail", exam.CertHandler.GetCertDetail) + examAuth.POST("cert/query", exam.CertHandler.GetCertList) + examAuth.POST("cert/getMyCert", exam.CertHandler.GetMyCert) + examAuth.POST("cert/check", exam.CertHandler.CheckCert) + } + +} diff --git a/pkg/router/exhibitionF.go b/pkg/router/exhibitionF.go new file mode 100644 index 0000000..95af1d8 --- /dev/null +++ b/pkg/router/exhibitionF.go @@ -0,0 +1,26 @@ +package router + +// +//import ( +// "github.com/fonchain_enterprise/fonchain-main/pkg/service" +// "github.com/gin-gonic/gin" +//) +// +//func ExhibitionRoute(r *gin.RouterGroup) { +// noAuth := r.Group("") +// //auth := r.Group("") +// //auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) +// //exhibitionAuth := auth.Group("meeting") +// //{+ +// // exhibitionAuth.POST("auth-info", service.AuthInfo) +// //} +// +// exhibitionNoAuth := noAuth.Group("exhibition") +// { +// exhibitionNoAuth.POST("save", service.SaveExhibition) +// exhibitionNoAuth.POST("list", service.ExhibitionList) +// exhibitionNoAuth.POST("chose_compere", service.ChoseCompere) +// exhibitionNoAuth.POST("node-list", service.ExhibitionNodeList) +// +// } +//} diff --git a/pkg/router/gitea.go b/pkg/router/gitea.go new file mode 100644 index 0000000..b0774f9 --- /dev/null +++ b/pkg/router/gitea.go @@ -0,0 +1,145 @@ +package router + +import ( + "fmt" + "github.com/dorlolo/simpleRequest" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/sso" + "github.com/gin-gonic/gin" + "net/http" + "net/http/httputil" + "net/url" + "time" +) + +func GiteaRoute(router *gin.RouterGroup) { + proxyDev(router) + r := router.Group("sso") + // OpenID发现文档端点 + r.GET("/.well-known/openid-configuration", sso.Configuration) + + r.GET("/login", sso.LoginHtml) + + r.POST("/login", sso.Login) + + // 授权端点 + r.GET("/auth", sso.Auth) + r.GET("/auth/pass", sso.AuthSuccess) + + // 令牌端点 + r.POST("/token", sso.Token) + + // 用户信息端点 + r.GET("/userinfo", sso.SsoUserInfo) + + //通过微信绑定手机号 + r.GET("/wechat/bind", sso.WechatLoginHtml) + + r.POST("/wechat/bind", sso.WechatBind) + r.POST("/wechat/phone/now", sso.WechatNowPhone) +} + +func proxyDev(r *gin.RouterGroup) { + + fmt.Println("1------", config.AppMode) + if config.AppMode == "debug" { + + target := "http://172.16.100.93:8046" + targetUrl, err := url.Parse(target) + if err != nil { + return + } + + proxy := httputil.NewSingleHostReverseProxy(targetUrl) + + tempTarget := "http://172.16.100.93:9100" + tempTargetUrl, err := url.Parse(tempTarget) + if err != nil { + return + } + + proxy1 := httputil.NewSingleHostReverseProxy(tempTargetUrl) + // 使用Gin的Any方法来匹配所有请求方法 + r.Any("/apiv2/*action", func(c *gin.Context) { + // 修改请求的主机为目标主机,这是因为在反向代理中请求的Host头信息不会自动更新 + c.Request.Host = targetUrl.Host + c.Request.URL.Host = targetUrl.Host + c.Request.URL.Scheme = targetUrl.Scheme + + // 反向代理转发请求 + proxy.ServeHTTP(c.Writer, c.Request) + }) + + r.Any("/containeradm/*action", func(c *gin.Context) { + // 修改请求的主机为目标主机,这是因为在反向代理中请求的Host头信息不会自动更新 + c.Request.Host = tempTargetUrl.Host + c.Request.URL.Host = tempTargetUrl.Host + c.Request.URL.Scheme = tempTargetUrl.Scheme + + // 反向代理转发请求 + proxy1.ServeHTTP(c.Writer, c.Request) + }) + } + ArtistInfoProxy(r) +} + +// 使用simpleRequest实现的画家宝聊天模块简单代理 +func ArtistInfoProxy(r *gin.RouterGroup) { + var artistinfoTarget string + if config.Env == "dev" { + artistinfoTarget = "http://127.0.0.1:8084" + } else if config.Env == "test" { + artistinfoTarget = "http://114.218.158.24:9048" + } else { + artistinfoTarget = "https://artist.fontree.cn" + } + artistinfotargetUrl, err := url.Parse(artistinfoTarget) + if err != nil { + return + } + fmt.Println("artistinfotargetUrl:", artistinfotargetUrl) + //画家宝客服聊天代理转发 + r.Any("/api/aschat/*action", func(c *gin.Context) { + c.Request.Host = artistinfotargetUrl.Host + c.Request.URL.Host = artistinfotargetUrl.Host + c.Request.URL.Scheme = artistinfotargetUrl.Scheme + authorization := c.GetHeader(e.Authorization) + if authorization == "" { + service.NotLoginRes(c, e.ErrNotLogin) + return + } + fmt.Println("c.Request.URL.String()", c.Request.URL.String()) + req := simpleRequest.NewRequest() + req.TimeOut(15 * time.Second) + req.Headers().Set(e.Authorization, authorization).Set("domain", "fontree") + params := c.Params + action := params[0].Value + fmt.Println("action:", action) + + if file, errs := c.FormFile("file"); file != nil && errs == nil { + fmt.Println("上传文件") + req.Headers() + req.Body(). + SetFromDataMultipartFile("file", file) + formData, _ := c.MultipartForm() + for key, value := range formData.Value { + req.Body().Set(key, value[0]) + } + } else { + fmt.Println("普通请求") + bodybuf, _ := c.GetRawData() + req.Body().SetBytes(bodybuf) + req.Headers().ConentType_json() + fmt.Printf("请求参数:%+v\n", string(bodybuf)) + } + resp, requestError := req.LaunchTo(c.Request.URL.String(), c.Request.Method) + if requestError != nil { + fmt.Println("req.POST Err", requestError.Error()) + service.Error(c, e.Failed, requestError, "请求失败") + return + } + c.String(http.StatusOK, string(resp)) + }) +} diff --git a/pkg/router/inventory.go b/pkg/router/inventory.go new file mode 100644 index 0000000..675c634 --- /dev/null +++ b/pkg/router/inventory.go @@ -0,0 +1,45 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/inventory" + "github.com/gin-gonic/gin" +) + +// InventoryRoute 库管接口 +func InventoryRoute(Router *gin.RouterGroup) { + inventoryRoute := Router.Group("api/inventory") + inventoryRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + + inventoryRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + inventoryRoute.POST("remove", inventory.Remove) + inventoryRoute.POST("list", inventory.List) + inventoryRoute.POST("detail", inventory.Detail) + inventoryRoute.POST("detail/barcode", inventory.DetailBarCode) + inventoryRoute.POST("create", inventory.Create) + inventoryRoute.POST("update", inventory.Update) + inventoryRoute.POST("log/detail", inventory.DetailProductLog) + inventoryRoute.POST("log/list", inventory.ListProductLog) + inventoryRoute.POST("stock/update", inventory.ChangeStock) + } + + wareHouseRoute := Router.Group("api/warehouse") + wareHouseRoute.GET("down", inventory.DownWareHouse) + wareHouseRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + //wareHouseRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + wareHouseRoute.POST("remove", inventory.RemoveWareHouse) + wareHouseRoute.POST("list", inventory.ListWareHouse) + wareHouseRoute.POST("pick/count", inventory.CountPickUpWareHouse) + wareHouseRoute.POST("export", inventory.ExportWareHouse) + wareHouseRoute.POST("pay/list", inventory.WareHousePayBill) //付款单列表 + wareHouseRoute.POST("detail", inventory.DetailWareHouse) + wareHouseRoute.POST("preinfo", inventory.GetProductPreInfo) + wareHouseRoute.POST("pickup", inventory.PickUp) + wareHouseRoute.POST("edit", inventory.EditWareHouse) + wareHouseRoute.POST("end/at", inventory.GetEndAtYmd) + } + +} diff --git a/pkg/router/launch.go b/pkg/router/launch.go new file mode 100644 index 0000000..4774a84 --- /dev/null +++ b/pkg/router/launch.go @@ -0,0 +1,33 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/launch" + "github.com/gin-gonic/gin" +) + +// LaunchRoute 专利申请 +func LaunchRoute(r *gin.RouterGroup) { + launchRoute := r.Group("/launch") + launchRoute.Use(middleware.CheckLogin(service.AccountProvider)) + { + launchRoute.POST("conference/create", launch.CreateConference) + launchRoute.POST("conference/update", launch.UpdateConference) + launchRoute.POST("conference/deleted", launch.DeletedConference) + launchRoute.POST("conference/list", launch.FindConference) + } + { + launchRoute.POST("contract/create", launch.CreateContract) + launchRoute.POST("contract/update", launch.UpdateContract) + launchRoute.POST("contract/deleted", launch.DeletedContract) + launchRoute.POST("contract/list", launch.FindContract) + } + { + launchRoute.POST("sort/create", launch.CreateSort) + launchRoute.POST("sort/list", launch.FindSort) + } + { + launchRoute.POST("/download/packaged", launch.DownloadPackaged) + } +} diff --git a/pkg/router/loanbill.go b/pkg/router/loanbill.go new file mode 100644 index 0000000..47081a8 --- /dev/null +++ b/pkg/router/loanbill.go @@ -0,0 +1,32 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + service_loanbill "github.com/fonchain_enterprise/fonchain-main/pkg/service/loanbill" + "github.com/gin-gonic/gin" +) + +func LoanBillRoute(r *gin.RouterGroup) { + //noAuth := r.Group("") + auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + //需要登陆保护 + loanbill := auth.Group("loanbill") + { + loanbill.POST("project-list", service_loanbill.ProjectList) + loanbill.POST("update-bill", service_loanbill.UpdateBill) + loanbill.POST("bill-detail", service_loanbill.BillDetail) + loanbill.POST("bill-list", service_loanbill.BillList) + loanbill.POST("bill-list-export", service_loanbill.BillListExport) + loanbill.POST("billstatus-update", service_loanbill.BillStatusUpdate) + loanbill.POST("voucher-update", service_loanbill.VoucherUpdate) + loanbill.POST("copyright-artwork-list", service_loanbill.CopyrightArtworkList) + loanbill.POST("del-bill", service_loanbill.BillDel) + loanbill.POST("testll", service_loanbill.Test) + } + // 不需要登录的接口 + //loanbillNoLogin := noAuth.Group("loanbill") + //{ + //} +} diff --git a/pkg/router/meal.go b/pkg/router/meal.go new file mode 100644 index 0000000..cfc4e2c --- /dev/null +++ b/pkg/router/meal.go @@ -0,0 +1,49 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + service_meal "github.com/fonchain_enterprise/fonchain-main/pkg/service/meal" + "github.com/gin-gonic/gin" +) + +func MealRoute(r *gin.RouterGroup) { + r = r.Group("meal") + noAuth := r.Group("") + auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + //需要登陆保护 + userAuth := auth.Group("user") + { + userAuth.POST("list", service_meal.UserList) + } + userNoAuth := noAuth.Group("user") + { + userNoAuth.POST("info-phone", service_meal.InfoPhone) + } + + goods := auth.Group("goods") + { + goods.POST("category-plate-list", service_meal.CategoryPlateList) + goods.POST("category-list", service_meal.CategoryGoodsList) + goods.POST("update-category-goods", service_meal.UpdateCategoryGoods) + goods.POST("update-feast", service_meal.UpdateFeast) + goods.POST("update-box-meal", service_meal.UpdateBoxMeal) + goods.POST("update-drink", service_meal.UpdateDrink) + } + + // 不需要登录的接口 + orderNoAuth := noAuth.Group("order") + { + orderNoAuth.POST("order-data-h5", service_meal.OrderDataH5) + } + + //管理系统订单和用户列表 + indent := noAuth.Group("/indent") + { + indent.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + indent.POST("/userlist", service_meal.UserListMtgt) + indent.POST("/goodlist", service_meal.IndentList) + indent.POST("pay/refunds", service_meal.Orderback) //退款 + } +} diff --git a/pkg/router/meeting.go b/pkg/router/meeting.go new file mode 100644 index 0000000..5871c96 --- /dev/null +++ b/pkg/router/meeting.go @@ -0,0 +1,23 @@ +package router + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func MeetingRoute(r *gin.RouterGroup) { + noAuth := r.Group("") + auth := r.Group("") + //auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + MeetingAuth := auth.Group("meeting") + { + MeetingAuth.POST("auth-info", service.AuthInfo) + } + + MeetingNoAuth := noAuth.Group("meeting") + { + MeetingNoAuth.Any("subscribe-callback", service.SubscribeCallback) + } + fmt.Println(noAuth) +} diff --git a/pkg/router/oa.go b/pkg/router/oa.go new file mode 100644 index 0000000..5569163 --- /dev/null +++ b/pkg/router/oa.go @@ -0,0 +1,193 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new" + "github.com/gin-gonic/gin" +) + +func OaRoute(r *gin.RouterGroup) { + + oaRoute := r.Group("oa") + oaRoute.POST("check-wifi", oa.CheckWifi) + { + oaRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl), middleware.CheckLogin(service.AccountProvider)) + { + oaRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + oaRoute.POST("clock-in", oa.ClockIn) + oaRoute.GET("action-type", oa.ConfirmActionType) + oaRoute.POST("record", oa.OARecord) + oaRoute.POST("record/miss", oa.MissRecordForMakeUpV2) + oaRoute.POST("record/single", oa.OARecordSingle) + oaRoute.POST("staff/collection-all", oa.AttendanceCollectionV2) + oaRoute.POST("staff/collection-single", oa.StaffAttendanceCollectionV1) + oaRoute.POST("staff/collection-detail", oa.StaffAttendanceCollectionDetailV2) + oaRoute.POST("make-up/useful-num", oa.MakeUpNum) // 补卡 使用 以及 剩余 次数 + oaRoute.POST("abnormal", oa.QueryAbnormal) + oaRoute.POST("record/other", oa.QueryOther) + // 员工管理 + oaRoute.POST("users", oa.OaUserList) + // 外勤确认 + oaRoute.POST("out-work-check", oa.OutWorkCheck) + oaRoute.POST("out-work-check/add", oa.CreateOutWorkCheck) + + // 系统补卡 + oaRoute.POST("system/make-up", oa_new.SystemMakeUp) + } + + // 考勤设置 + workingTimeRoute := oaRoute.Group("/working-time") + { + workingTimeRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + workingTimeRoute.POST("options", oa.WorkingTimeList) + workingTimeRoute.POST("create", oa.CreateWorkingTime) + workingTimeRoute.POST("update", oa.SaveTimeOption) + workingTimeRoute.POST("duration", oa.TimeDuration) + //workingTimeRoute.POST("options", oa.WorkingTimeList) + workingTimeRoute.GET("num", oa.QueryNoSettingWorkingTimeNum) + workingTimeRoute.POST("best", oa.QueryWorkingTimeBest) + workingTimeRoute.POST("in-use", oa.TimeOptionInUse) + workingTimeRoute.POST("cancel", oa.CancelTimeOption) + workingTimeRoute.POST("positions", oa_new.WorkingTimeWithPositions) + } + + applyRoute := oaRoute.Group("/apply") + { + applyRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + applyRoute.POST("leave-apply/info", oa.QueryLeaveApplyInfo) + applyRoute.POST("list", oa.QueryOaApply) + applyRoute.POST("over-time/duration", oa.OverTimeDuration) + applyRoute.POST("info", oa_new.QueryOaApplyInfo) + } + + settingRoute := oaRoute.Group("/setting") + { + settingRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + settingRoute.POST("save", oa.SaveOaSetting) + settingRoute.POST("detail", oa.QueryOaSetting) + settingRoute.POST("remove", oa.DeleteOaSetting) + } + + // 请假时长 + { + oaRoute.POST("leave/duration", oa.LeaveDuration) + oaRoute.POST("annual-leave/duration", oa.AnnualLeaveDuration) + oaRoute.POST("leave/check", oa.CheckLeave) + } + + // 考勤组 + workTimeTemplateRoute := oaRoute.Group("/work-time-template") + { + workTimeTemplateRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + workTimeTemplateRoute.POST("template-save", oa_new.SaveWorkTimeTemplate) + workTimeTemplateRoute.POST("template-list", oa_new.GetWorkTimeTemplateList) + workTimeTemplateRoute.POST("template-remove", oa_new.DeleteWorkTimeTemplate) + workTimeTemplateRoute.POST("template-effective", oa_new.WorkingTimeTemplateEffective) + workTimeTemplateRoute.POST("template-not-effective", oa_new.WorkingTimeTemplateNotEffective) + workTimeTemplateRoute.POST("template-relation-save", oa_new.SaveWorkTimeTemplateRelation) + workTimeTemplateRoute.POST("template-relation-cancel", oa_new.BatchCancelWorkingTimeTemplateRelation) + workTimeTemplateRoute.POST("map-disable", oa_new.ChickInMapDisable) + workTimeTemplateRoute.POST("template-relation-save-now", oa_new.SaveWorkTimeTemplateRelationEffectiveNow) + workTimeTemplateRoute.POST("template-date", oa_new.QueryWorkTimeTemplateDate) + } + + // 打卡地址 + chickInMapRoute := oaRoute.Group("/chick-in-map") + { + chickInMapRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + chickInMapRoute.POST("map-save", oa_new.SaveChickInMap) + chickInMapRoute.POST("map-list", oa_new.GetChickInMapList) + chickInMapRoute.POST("map-remove", oa_new.DeleteChickInMap) + } + + // 考勤规则 + workTimeRuleRoute := oaRoute.Group("/work-time-rule") + { + workTimeRuleRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + workTimeRuleRoute.POST("time-rule-save", oa_new.SaveWorkTimeRule) + workTimeRuleRoute.POST("time-rule-list", oa_new.GetWorkTimeRuleList) + workTimeRuleRoute.POST("time-rule-remove", oa_new.DeleteWorkTimeRule) + } + + // 假勤规则 + oaRuleRoute := oaRoute.Group("/oa-rule") + { + oaRuleRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + oaRuleRoute.POST("rule-save", oa_new.SaveOaRule) + oaRuleRoute.POST("rule-list", oa_new.GetOaRuleList) + oaRuleRoute.POST("rule-remove", oa_new.DeleteOaRule) + } + + // 假期余额 + oaLeaveBalanceRoute := oaRoute.Group("/leave-balance") + { + oaLeaveBalanceRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + oaLeaveBalanceRoute.POST("balance-list", oa_new.GetLeaveBalanceList) + oaLeaveBalanceRoute.POST("balance-info", oa_new.GetLeaveBalanceInfo) + oaLeaveBalanceRoute.POST("balance-create-excel", oa_new.CreateLeaveBalanceExcel) + oaLeaveBalanceRoute.POST("balance-download-excel", oa_new.DownloadLeaveBalanceExcel) + oaLeaveBalanceRoute.POST("balance-update-annual", oa_new.BalanceUpdateAnnual) + } + + { + oaRoute.POST("check-oa-month", oa.CheckOaMonth) + oaRoute.POST("query-oa-month", oa.AttendanceCollectionTest) + } + + collectionRoute := oaRoute.Group("/collection") + { + r.POST("oa/collection/date/inner", oa_new.StaffCollectionDetailDate) + collectionRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + collectionRoute.POST("detail", oa_new.StaffCollectionDetail) + collectionRoute.POST("dates", oa_new.StaffCollectionDetailDates) + collectionRoute.POST("date", oa_new.StaffCollectionDetailDate) + collectionRoute.POST("all", oa_new.StaffCollectionDetailMonth) + collectionRoute.POST("download", oa_new.StaffCollectionMonthDownload) + collectionRoute.POST("download/list", oa_new.StaffCollectionMonthDownloadList) + collectionRoute.POST("download/del", oa_new.StaffCollectionMonthDownloadDel) + //collectionRoute.POST("download/old", oa_new.StaffCollectionMonthDownloadOld) + collectionRoute.POST("download/action-time", oa_new.ExportActionRecord) + + } + + v2 := oaRoute.Group("/v2") + { + v2.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + v2.POST("clock-in", oa_new.ClockIn) + v2.POST("action-type", oa_new.ActionType) + v2.GET("chick-in-map", oa_new.ChickInMapInfo) + v2.GET("workingTime-info", oa_new.WorkingTimeInfo) + v2.POST("make-up/useful-num", oa_new.MakeUpNum) + v2.POST("record/miss", oa_new.MissRecordForMakeUp) + v2.POST("system/common", oa_new.SystemCommon) + v2.POST("record/face", oa_new.QueryOtherRecord) + } + + oaMonthFieldRoute := v2.Group("/oa-month-field") + { + oaMonthFieldRoute.POST("field-save", oa_new.SaveOaMonthField) + oaMonthFieldRoute.POST("field-list", oa_new.FindOaMonthField) + } + + durationRoute := v2.Group("/duration") + { + durationRoute.POST("over-time", oa_new.OverTimeDuration) + durationRoute.POST("leave", oa_new.LeaveDuration) + durationRoute.POST("annual-leave", oa_new.AnnualLeaveDuration) + durationRoute.POST("businessTrip", oa_new.BusinessTripDuration) + durationRoute.POST("out-work", oa_new.OutWorkDuration) + } + + // 考勤组分类 + tempGroupRoute := oaRoute.Group("/temp-group") + { + tempGroupRoute.Use(middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + tempGroupRoute.POST("group-save", oa_new.SaveTemplateGroup) + tempGroupRoute.POST("group-list", oa_new.QueryTemplateGroup) + tempGroupRoute.POST("group-remove", oa_new.DeleteTemplateGroup) + } + + } +} diff --git a/pkg/router/ocr.go b/pkg/router/ocr.go new file mode 100644 index 0000000..4e8bd29 --- /dev/null +++ b/pkg/router/ocr.go @@ -0,0 +1,18 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/ocr" + "github.com/gin-gonic/gin" +) + +func OcrRoute(r *gin.RouterGroup) { + //noAuth := r.Group("") + auth := r.Group("") + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + ocrAuth := auth.Group("ocr") + { + ocrAuth.POST("card-info", ocr.CardInfo) + } +} diff --git a/pkg/router/patent.go b/pkg/router/patent.go new file mode 100644 index 0000000..607d65d --- /dev/null +++ b/pkg/router/patent.go @@ -0,0 +1,23 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/patent" + "github.com/gin-gonic/gin" +) + +// PatentRoute 专利申请 +func PatentRoute(r *gin.RouterGroup) { + parentRoute := r.Group("/patent") + + parentRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + parentRoute.POST("create", patent.Create) + parentRoute.POST("/before/create", patent.BeforeCreate) + parentRoute.PUT("update", patent.Update) + parentRoute.POST("list", patent.List) + parentRoute.POST("info", patent.Info) + parentRoute.DELETE("deleted", patent.Deleted) + } +} diff --git a/pkg/router/paybill.go b/pkg/router/paybill.go new file mode 100644 index 0000000..c6d8eb5 --- /dev/null +++ b/pkg/router/paybill.go @@ -0,0 +1,38 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/pay_bill" + "github.com/gin-gonic/gin" +) + +// PayBillRoute 库管接口 +func PayBillRoute(Router *gin.RouterGroup) { + v1yRoute := Router.Group("api/paybill") + v1yRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + + //v1yRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + v1yRoute.POST("secret/des", pay_bill.Des) + v1yRoute.POST("secret/update", pay_bill.Update) + v1yRoute.POST("secret/send", pay_bill.Send) + + //新的v2 付款单 + v1yRoute.POST("/list", pay_bill.PayBillList) + v1yRoute.POST("date/list", pay_bill.DateList) + v1yRoute.POST("/statics", pay_bill.StaticsInfo) + v1yRoute.POST("/process/update", pay_bill.UpdateProcessStatus) //更新 流程状态 + v1yRoute.POST("/update", pay_bill.UpdatePayBill) + v1yRoute.POST("/history", pay_bill.PayBillProcesses) + v1yRoute.POST("/excel", pay_bill.ExcelBill) + v1yRoute.POST("/all", pay_bill.ArtistAll) + v1yRoute.POST("/search", pay_bill.ArtistBill) + v1yRoute.POST("/rollback", pay_bill.RollbackState) + v1yRoute.POST("/nocount", pay_bill.NoCount) + v1yRoute.POST("/editadd", pay_bill.UpdateAddress) + v1yRoute.POST("/updateTalentAgency", pay_bill.SyncArtShowTalentAgency) + + } + +} diff --git a/pkg/router/router.go b/pkg/router/router.go new file mode 100644 index 0000000..ace6525 --- /dev/null +++ b/pkg/router/router.go @@ -0,0 +1,896 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/service/home_page" + "net/http" + + "github.com/fonchain_enterprise/fonchain-main/pkg/service/children_competition" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/customer_service" + + "github.com/fonchain_enterprise/fonchain-main/pkg/service/goods_management" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/recruit" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/train" + + "github.com/fonchain_enterprise/fonchain-main/pkg/service/weekmeal" + + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa" + + "github.com/fonchain_enterprise/fonchain-main/pkg/service/order" + + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/department" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/rule_log" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/supplyinfo" + es_approval "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/push" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/task" + "github.com/gin-contrib/gzip" + "github.com/gin-contrib/pprof" + "github.com/gin-gonic/gin" +) + +//Router 管理""组 +/*func Router(g *gin.RouterGroup) { + // g.GET("/", func(c *gin.Context) { + // c.HTML(http.StatusOK, "login.html", nil) + // }) + // g.GET("/login", func(c *gin.Context) { + // c.HTML(http.StatusOK, "login.html", nil)`` + // }) + g.GET("/", func(c *gin.Context) { + c.HTML(http.StatusOK, "index.html", nil) + }) + +}*/ + +// 路由配置 +func NewRouter() *gin.Engine { + //使用默认gin路由 + r := gin.Default() + + //Router(gin.Default().Group("")) + originRoute := r.Group("") + r.Use(gzip.Gzip(gzip.DefaultCompression)) + //加入日志中间件,跨域中间件 + privateGroup := r.Group("") + r.Use(middleware.Cors()) + privateGroup.Use(middleware.NewLogger(), middleware.Cors(), middleware.GinRecovery(true)) + originRoute.Use(middleware.NewLogger(), middleware.Cors(), middleware.GinRecovery(true)) + ShopRoute(privateGroup) + ArtworkRoute(privateGroup) + ArtistRoute(privateGroup) + ChatRoute(originRoute) + MealRoute(privateGroup) + InventoryRoute(privateGroup) + MeetingRoute(privateGroup) + AuthRoute(privateGroup) + CopyrightRoute(privateGroup) + ChainBrowserRoute(originRoute) + workMealDayRoute(privateGroup) + GiteaRoute(originRoute) + DciRoute(originRoute) + ExamRoute(privateGroup) + TurnstileRoute(privateGroup) + PatentRoute(privateGroup) + PayBillRoute(privateGroup) + AiImageRoute(privateGroup) + //ExhibitionRoute(privateGroup) + //ExamV2Route(privateGroup) + OaRoute(privateGroup) + LoanBillRoute(privateGroup) + ExamV2Route(privateGroup) + //ExhibitionRoute(privateGroup) + LaunchRoute(privateGroup) + EmployeeFileRoute(privateGroup) + OcrRoute(privateGroup) + websocketRoute(privateGroup) + DomainNameRoute(privateGroup) + //请求相关信息备份 + //r.Use(middleware.Backup(service.AccountProvider, service.GrpcBackupImpl)) + // r.POST("user/register", account.UserRegister) //用户注册 + // r.POST("user/login", account.UserLogin) //登录 + // r.POST("user/send", account.SendMsg) + + test := r.Group("test") // grpc 测试路由组 + { + //test.POST("chain", approval.StoreBaiduChainApprovalFilePost) + //test.GET("make-up", service.CheckClickIn) + test.POST("demo", service.Demo) + } + //自己生成日志 + //r.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + //账号模块 + { + r.POST("user/login", account.UserLogin) //登录 + r.POST("user/artwork/login", account.ArtworkUserLogin) + r.POST("user/send", account.SendMsg) + //r.GET("user/online/infos", account.OnlineInfos) + r.GET("user/online/info", account.OnlineInfoById) + r.GET("user/offline", account.Offline) + r.POST("user/refresh/token", account.RefreshToken) //登出 + + acRoute := r.Group("/user") + acRoute.POST("logout", account.UserLogout) //登出 + acRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + r.POST("user/register", account.UserRegister) //用户注册 + acRoute.POST("auth", account.Authentication) //实名授权 + acRoute.POST("check", account.CheckMsg) //校验验证码 + acRoute.DELETE("remove", account.Remove) //删除 + acRoute.POST("update", account.Update) //更新 + acRoute.POST("privacyInfo", account.PrivacyInfo) //私密的加密信息 + acRoute.POST("info", account.Info) //用户信息 + acRoute.POST("now/info", account.NowInfo) //用户信息 + acRoute.POST("base", account.BaseInfo) //基本信息 + acRoute.POST("list", account.List) //用户列表 + acRoute.POST("list/supper", department.SupperUsers) //用户列表 + acRoute.POST("leader", account.DepartmentLeaderList) // 部门主管名字 + acRoute.POST("mail/account", account.MailAccount) // 根据昵称获取mail帐号 + acRoute.POST("map/ip/to/location", account.LocationNowIp) // 定位--ip转化 + acRoute.POST("map/location/query", account.SiteQuery) // 定位--位置转坐标 + acRoute.POST("ocr/card", account.OcrCardId) // 用户管理-识别身份证 + } + } + //权限模块 + { + positionRoute := r.Group("/position") + positionRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + positionRoute.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + positionRoute.POST("create", position.Create) + positionRoute.DELETE("remove", position.Remove) + positionRoute.POST("update", position.Update) + positionRoute.POST("detail", position.Detail) + positionRoute.POST("list", position.List) + } + + departmentHeadRoute := r.Group("/department/head") + { + departmentHeadRoute.POST("create", department.CreateDepartmentHead) + departmentHeadRoute.POST("update", department.UpdateDepartmentHead) + departmentHeadRoute.POST("list", + middleware.CheckLogin(service.AccountProvider), + middleware.CheckAuth(service.AccountProvider, service.RuleProvider), + department.FindDepartmentHeadList) + + } + departmentRoute := r.Group("/department") + departmentRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + + departmentRoute.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + departmentRoute.POST("create", department.Create) + departmentRoute.DELETE("remove", department.Remove) + departmentRoute.POST("update", department.Update) + departmentRoute.POST("detail", department.Detail) + departmentRoute.POST("details", department.Details) + departmentRoute.POST("user/remove", department.RemoveUser) + departmentRoute.POST("list", department.List) + departmentRoute.POST("list/all", department.ListAll) + departmentRoute.POST("all", department.All) + departmentRoute.POST("users", department.Users) + departmentRoute.POST("users/v2", department.SupperUsers) + departmentRoute.POST("base/list", department.BaseList) + departmentRoute.POST("base/user", department.BaseDepartmentList) + } + + SupplyInfoRoute := r.Group("/supplyinfo") + SupplyInfoRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + { + SupplyInfoRoute.POST("/createsupplyinfo", supplyinfo.CreateSupplyInfo) + SupplyInfoRoute.POST("/getsupplyinfolist", supplyinfo.GetSupplyInfoList) + SupplyInfoRoute.POST("/getsupplyinfo", supplyinfo.GetSupplyInfo) + SupplyInfoRoute.POST("/applyartwork", supplyinfo.ApplyArtwork) + SupplyInfoRoute.POST("/getexam", supplyinfo.GetExam) + SupplyInfoRoute.POST("/getexamlist", supplyinfo.GetExamList) + SupplyInfoRoute.POST("/applyvideo", supplyinfo.ApplyExhVideo) + SupplyInfoRoute.POST("/getvideolist", supplyinfo.GetVideoList) + SupplyInfoRoute.POST("/applyexam", supplyinfo.ApplyExhExam) + SupplyInfoRoute.POST("/applyartistinfo", supplyinfo.ApplyArtistInfo) + SupplyInfoRoute.POST("/getartistinfolist", supplyinfo.GetArtistInfoList) + SupplyInfoRoute.POST("/importartistsupplylist", supplyinfo.ImportArtistSupplyList) + SupplyInfoRoute.POST("/importartworksupplylist", supplyinfo.ImportArtworkSupplyList) + } + + ruleRoute := r.Group("/rule") + ruleRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + ruleRoute.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + ruleRoute.POST("create", rule.Create) + ruleRoute.DELETE("remove", rule.Remove) + ruleRoute.POST("update", rule.Update) + ruleRoute.POST("detail", rule.Detail) + ruleRoute.POST("list", rule.List) + ruleRoute.POST("rules", rule.Rules) + ruleRoute.POST("interface", rule.InterfaceAuth) + + ruleRoute.POST("tree/list", rule.TreeList) //顶级菜单带上子菜单 + ruleRoute.POST("menu/top", rule.TopList) //顶层 + } + + ruleLogRoute := r.Group("/rule_log") + ruleLogRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + ruleLogRoute.Use(middleware.WarnLog(service.AccountProvider, service.GrpcLogImpl)) + ruleLogRoute.POST("list", rule_log.List) + } + + } + + //审核模块 + { + approvalRoute := r.Group("/approval") + approvalRoute.POST("detail/ex", approval.DetailEx) + approvalRoute.POST("list/ex", approval.ListEx) + approvalRoute.POST("status/ex", approval.SetStatusEx) + approvalRoute.POST("status/batch-ex", approval.SetStatusBatchEx) + approvalRoute.POST("v2/status/batch-ex", approval.SetStatusBatchExV2) + approvalRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + approvalRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + approvalRoute.POST("create", approval.Create) + approvalRoute.POST("exhibition/num", approval.UsedNumByUser) + approvalRoute.POST("status", approval.SetStatus) + approvalRoute.DELETE("remove", approval.Remove) + approvalRoute.POST("update", approval.Update) + approvalRoute.POST("detail", approval.Detail) + approvalRoute.POST("send", approval.Send) + approvalRoute.POST("revoke", approval.RevokeAllApproval) + approvalRoute.POST("print/detail", approval.PrintDetail) + approvalRoute.POST("/my/work", approval.MyWork) + approvalRoute.POST("/my/submit", approval.MySubmit) + approvalRoute.POST("/my/approved", approval.Approved) //我审批过的 + + //画展包付款单申请下载的权限 + approvalRoute.POST("/check/pay/right", approval.CheckBundlePay) + + approvalRoute.POST("viewed", approval.Viewed) + approvalRoute.POST("information", approval.Information) + approvalRoute.POST("setting/update", approval.UpdateSetting) + approvalRoute.POST("setting/detail", approval.DetailSetting) + + approvalRoute.POST("type/create", approval.CreateType) + approvalRoute.DELETE("type/remove", approval.RemoveType) + approvalRoute.POST("type/update", approval.UpdateType) + approvalRoute.POST("type/detail", approval.DetailType) + approvalRoute.POST("type/all", approval.AllType) + approvalRoute.POST("group/all", approval.AllGroup) + + // 财务报表审批 + approvalRoute.POST("financial_form/setting", approval.GetName) + approvalRoute.POST("financial_form/export", approval.FinancialFormExport) + + // 招聘 + approvalRoute.POST("job/list", approval.JobList) + approvalRoute.POST("job/close", approval.CloseJob) + approvalRoute.POST("job/interviewer", approval.CreateInterviewer) + approvalRoute.POST("job/interviewer-edit", approval.UpdateInterviewer) + + approvalRoute.POST("employ/close", approval.CloseEmploy) + // 审批抄送人预览 + approvalRoute.POST("setting/preview", approval.MakeApprovalAndUser) + + // 批量催办 + approvalRoute.POST("list-send", approval.ListSend) + + // 批量审批 + approvalRoute.POST("status/batch", approval.SetStatusBatch) + + // 查询画展包相关审批 + approvalRoute.POST("show-list", approval.ArtShowApprovalList) + + } + + { + approvalRoute.POST("v2/create", approval.CreateV2) + approvalRoute.POST("v2/type/create", approval.CreateApprovalType) + approvalRoute.POST("v2/type/update", approval.UpdateApprovalType) + approvalRoute.POST("v2/type/copy", approval.CopyApprovalType) + approvalRoute.POST("v2/type/status", approval.UpdateApprovalTypeStatus) + approvalRoute.POST("v2/type/all", approval.ApprovalTypeList) + approvalRoute.POST("v3/type/all", approval.ApprovalTypeListV3) + approvalRoute.POST("v2/group/create", approval.CreateApprovalGroup) + approvalRoute.POST("v2/group/all", approval.ApprovalGroupList) + + approvalRoute.POST("v2/my/work", approval.MyWorkV2) + approvalRoute.POST("v2/setting/preview", approval.MakeApprovalAndUserV2) + approvalRoute.POST("v2/status", approval.SetStatusBatchV2) + approvalRoute.POST("v2/only-group", approval.OnlyGroupList) //只查看分组列表 + approvalRoute.POST("v2/approval-his-type", approval.ApprovalHisTypeList) //查询历史审批类型 + + approvalRoute.POST("v2/export-approval", approval.ExportApproval) + //查询是否有重复的录用 + approvalRoute.POST("v2/find-employ", approval.FindEmploy) + approvalRoute.POST("v2/updates-old", approval.UpdatesOldData) + approvalRoute.POST("v2/export-detail-setting", approval.ExportDetailSettingV2) + approvalRoute.POST("v2/create-auth", approval.CreateAuthQuick) //快速添加发起人 + approvalRoute.POST("v2/find-turnover", approval.FindTurnoverAndHandover) //查询离职相关审批 + approvalRoute.POST("v2/find-super-type", approval.FindSuperType) //查询离职相关审批 + approvalRoute.POST("v2/create-auth-batch", approval.CreateAuthBatch) //批量添加发起人 + + approvalRoute.POST("v2/search", es_approval.SearchApproval) + approvalRoute.POST("v2/bulk", es_approval.BulkApproval) + + } + + } + + //工作餐预约 + { + weekRoute := r.Group("/work/meal") + weekRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + weekRoute.POST("week", weekmeal.Week) //主列表 + weekRoute.POST("weeks", weekmeal.Weeks) //周报详情 + weekRoute.POST("update", weekmeal.Update) //更新 + weekRoute.POST("update/weekInfo", weekmeal.UpdateWeekInfo) //修改就餐人数 + } + } + + //私宴 + { + selfMealRoute := r.Group("/self/meal") + selfMealRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + selfMealRoute.POST("qr/create", weekmeal.CreateQr) //主列表 + } + } + + //销售宝后端 + { + orderRoute := r.Group("/report") + orderRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + orderRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + orderRoute.POST("list", order.ReportsList) //主列表 + orderRoute.POST("my/list", order.ReportsMyList) //历史周报 + orderRoute.POST("users", order.ReportUsers) //周报详情 + orderRoute.GET("down/users", order.DownReportUsers) //周报详情下载 + orderRoute.POST("create/before", order.BeforeUser) //未发布之前的业绩报表 + orderRoute.GET("now", order.NowReport) //获取当前提交的报表 + orderRoute.POST("create", order.ReportCreate) //生成周报 + orderRoute.POST("publish", order.ReportPublish) //发布周报 + orderRoute.GET("sell/amount", order.CheckSalesAmount) //查询销售员到期金额 + orderRoute.GET("find/dates", order.FindDates) //查询周报日期 + + } + + sellerRoute := r.Group("/seller") + sellerRoute.Use(middleware.CheckLogin(service.AccountProvider)) + { + sellerRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + sellerRoute.POST("report/cashier/list", order.CashierReportsList) //出纳查看列表 + sellerRoute.POST("report/cashier/sure", order.ReportSure) //出纳确认订单 内控待确认 + sellerRoute.POST("report/cashier/re", order.ReportRe) //出纳确认订单 内控待确认 + sellerRoute.POST("reportuser/batch/update", order.ReportUsersUpdate) //出纳查看列表 + + sellerRoute.GET("order/down", order.DownReportUsers) //财务下载订单 + sellerRoute.POST("order/cashier/list", order.CashierOrders) //出纳 订单列表 + sellerRoute.POST("order/control/list", order.ControlOrders) //内控 订单列表 + sellerRoute.POST("order/finance/list", order.FinanceOrders) //财务 订单列表 + + //出纳增加权限 列表 详情 编辑 发起 + sellerRoute.POST("cashier/transactions", order.Transactions) //管理下的叮当 + sellerRoute.POST("cashier/seller/users", order.Users) //管理下的销售 + sellerRoute.POST("cashier/publish", order.CashierSure) //发起订单 + sellerRoute.POST("cashier/order/update", order.SetOrder) //更新 + sellerRoute.POST("cashier/order/detail", order.OrderDetail) // + sellerRoute.POST("cashier/order/list", order.OrderList) // + + sellerRoute.POST("order/cashier/sure", order.CashierSure) //出纳确认订单 内控待确认 + sellerRoute.POST("order/control/sure", order.ControlSure) //内控确认订单 财务待确认 + sellerRoute.POST("order/finance/sure", order.FinanceSure) //财务确认订单 内控待确认 + sellerRoute.POST("order/finance/stage/pass", order.FinancePass) //财务确认订单 内控待确认 + sellerRoute.POST("order/finance/stage/refuse", order.FinanceRefuse) //财务确认订单 内控待确认 + + sellerRoute.POST("order/finance/sures", order.FinanceSures) //财务确认订单 内控待确认 + sellerRoute.POST("order/finance/statist", order.Statist) //财务获取统计数据 + sellerRoute.POST("order/batch/update", order.UpdateOrder) //批量更新 + //sellerRoute.GET("transaction/list", order.DownReportUsers) //买家列表 + sellerRoute.POST("transaction/cashier/list", order.SiteTransactions) //出纳 买家列表 + sellerRoute.POST("transaction/cashier/detail", order.Transaction) //出纳 买家列表 + sellerRoute.GET("order/finance/down", order.DownOrders) //财务下载 + sellerRoute.POST("department/bases", order.DepartmentBases) + sellerRoute.POST("transaction/update", order.TransactionUpdate) + //委托单 + sellerRoute.POST("entrust/list", order.GetEntrusts) + sellerRoute.POST("entrust/detail", order.GetEntrust) + sellerRoute.POST("entrust/delete", order.EntrustDelete) + sellerRoute.POST("entrust/batch/update", order.UpdateEntrustKeys) + sellerRoute.POST("entrust/batch/delete", order.EntrustBatchDelete) + sellerRoute.POST("entrust/import", order.ImportEntrusts) + //员工汇报 + sellerRoute.POST("weekly/staff/list", order.GetWeeklyStaffList) + sellerRoute.POST("weekly/staff/info", order.GetWeeklyStaffInfo) + sellerRoute.POST("weekly/staff/excel", order.GetWeeklyStaffExcel) + //总监周报 + sellerRoute.POST("weekly/boss/list", order.GetWeeklyBossList) + sellerRoute.POST("weekly/boss/info", order.GetWeeklyBossInfo) + sellerRoute.POST("weekly/comment/create", order.CreateWeeklyComment) + sellerRoute.POST("weekly/comment/info", order.GetWeeklyComment) + // 账号审核 + sellerRoute.POST("examine/list", account.ExamineList) //审核列表 + sellerRoute.POST("examine/approve", account.ExamineApprove) //审批 + } + } + + //需要登陆保护 + { + taskRoute := r.Group("/task") + taskRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + taskRoute.POST("detail", task.Detail) + taskRoute.POST("create", task.Create) + taskRoute.POST("update", task.Update) + taskRoute.POST("remove", task.Remove) + taskRoute.POST("list", task.List) + taskRoute.POST("finish", task.Finish) + taskRoute.POST("statistics", task.DataInfo) + } + + //日志 + log := r.Group("/log") + log.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + log.POST("/loglist", service.LogList) + log.POST("/loginfo", service.LogInfo) + log.POST("/listbyawid", service.LogListByAwId) + } + + //留言板 + note := r.Group("/note") + note.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + note.POST("/createnote", service.CreateNote) + note.POST("/noteinfo", service.NoteInfo) + // note.POST("note/deletenote", service.DeleteNote) + note.POST("/notelist", service.NoteList) + note.POST("/notelistbyawid", service.NoteListByAwId) + } + + //品牌方 + shopbrand := r.Group("/shopbrand") + shopbrand.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + shopbrand.POST("/createbrand", service.CreateBrand) + shopbrand.POST("/brandlist", service.BrandList) + shopbrand.POST("/brandinfo", service.BrandInfo) + shopbrand.POST("/updatebrand", service.UpdateBrand) + shopbrand.POST("/deletebrand", service.DeleteBrand) + } + + artShow := r.Group("artshow") + artShow.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + artShow.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl), middleware.CheckLogin(service.AccountProvider)) + artShow.POST("show/add", service.CreateShow) + artShow.PUT("show/edit", service.UpdateShow) + artShow.DELETE("show/remove", service.DelShow) + artShow.POST("show/list", service.ShowList) + artShow.POST("show/list-with-rel", service.ShowListWithRel) + artShow.POST("show/list-apply", service.ShowListApply) + artShow.POST("show/date-list", service.QueryShowDate) + artShow.POST("show/list-lately", service.ShowListWithRelLately) + artShow.POST("show/no-price-num", service.ShowListNoPriceNum) + artShow.POST("show/artwork-info", service.ShowArtworkInfo) + artShow.POST("show/detail", service.ShowDetail) + artShow.POST("show/num", service.ShowStatisticalInfo) + artShow.POST("show/cancel", service.CancelShow) + artShow.POST("apply/add", service.CreateApply) + artShow.PUT("apply/edit", service.UpdateApply) + artShow.DELETE("apply/remove", service.DelApply) + artShow.POST("apply/show-list", service.ShowListWithApply) + artShow.PUT("apply/edit-status", service.UpdateApplyStatus) + artShow.POST("apply/list", service.ApplyList) + artShow.POST("apply/rel-info", service.ApplyRelInfoDetail) + artShow.POST("artwork/price", service.ArtworkPrice) + artShow.POST("artist/list", service.ShowListForArtwork) + + artShow.POST("show/download-temp", service.ExportShowPrice) + artShow.POST("show/download", service.ExportShowPrice_withoutCopyright) + + //artShow.POST("show/export-by-artist", service.ExportByArtist) + artShow.POST("show/export-by-artist", service.ExportByArtist_withoutCopyright) + + artShow.POST("show/show-time-list", service.ShowTimeList) + artShow.POST("show/all-time-list", service.AllTimeList) + artShow.POST("show/entertainment-list", service.FindEntertainment) + artShow.POST("entertainment/edit", service.SaveEntertainment) + + artShow.POST("show/no-price-list", service.FindNoPriceShow) + artShow.POST("show/no-price-edit", service.UpdateShowPrice) + artShow.POST("show/price-policy-edit", service.SavePolicy) + artShow.POST("show/price-policy-info", service.QueryPolicy) + artShow.POST("entertainment/download", service.ExportEntertainment) + + artShow.POST("show/show-host-edit", service.UpdateArtShowHost) + + //artShow.POST("one-query/price/download", service.ExportShowPriceOneQuery) + artShow.POST("one-query/price/download", service.ExportShowPriceOneQuery_withoutCopyright) + artShow.POST("one-query/show-list", service.OnQueryShowList) + artShow.POST("one-query/show/download", service.ExportShowFieldOneQuery) + artShow.POST("entertainment/download-png", service.ExportEntertainmentImage) + + artShow.POST("entertainment/group-field", service.FindEntertainmentGroupField) + + artShow.POST("show/can-show", service.CanShow) + + artShow.POST("show/startCheck", service.ShowStartCheck) + //无底价画展包改版 + artShow.POST("show/artwork-price-list", service.ArtworkPriceListV2) + artShow.POST("show/update-artwork-price", service.UpdateArtworkPriceV2) + artShow.POST("show/cal-price", service.CalPriceSingle) + + // 单据 + artShow.POST("invoice/save", service.CreateInvoice) + artShow.POST("invoice/list", service.ShowInvoiceList) + artShow.POST("invoice/single", service.ShowInvoice) + artShow.POST("invoice/num-add", service.UpdateInvoicePrintNum) + artShow.POST("show/num-add", service.UpdateShowPrintNum) + //artShow.POST("invoice/price-info", service.QueryPrice) + artShow.POST("invoice/price-info", service.QueryPrice_withoutCopyright) + artShow.POST("invoice/status", service.UpdateShowInvoiceStatus) + + // 打印管理 + artShow.POST("print/list", service.ArtShowListForPrint) // 画展包列表 + artShow.POST("print/preview", service.PrintPreviewFile) // 打印预览 + artShow.POST("print/detail", service.GetPrintDetail) // 打印详情 + artShow.POST("print/num-add", service.CreatePrintDetail) // 添加打印详情 + artShow.POST("print/artistList", service.SearchArtistListByKeyword) // 搜索画家 + + // 经纪公司 + artShow.POST("talent-agency/list", service.TalentAgencyList) // 经纪公司列表 + } + // 无需登录 + noLoginArtShow := r.Group("artshow") + { + noLoginArtShow.POST("artwork/price-info", service.ArtworkPriceWholeInfo) + } + + address := r.Group("address") + { + address.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + address.POST("addres-list", service.QuerySaleAddress) + } + + // 打卡机 打卡 + ClockInMachine := r.Group("/api/v1") + { + ClockInMachine.POST("record/face", oa.ClockFaceLog) + ClockInMachine.POST("stranger", oa.Stranger) //陌生人识别 + ClockInMachine.POST("callPhone", oa.CallPhone2) //访客呼叫 + ClockInMachine.POST("callManagement", oa.CallPhone3) //访客呼叫管理员 + } + + chain := r.Group("chain") + chain.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + chain.POST("co-chain", service.CoChain) + chain.POST("create-cert", service.CreateCert) + chain.POST("auth-img-cochain", service.AuthImgCoChain) + } + + // 上传 + upload := privateGroup.Group("upload") + upload.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + upload.POST("img", service.UploadImg) + upload.POST("multi", service.UploadMulti) + upload.POST("upload-chunk", service.UploadChunk) + } + + //抽奖 + draw := r.Group("/draw") + { + draw.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + draw.POST("addAccount", service.AddAccount) //用户注册并绑定hash + draw.POST("addprizenum", service.AddPrizeNum) //奖金累加 + draw.POST("setpool", service.SetPool) //设置奖池 + draw.POST("setresult", service.SetResult) //保存结果密文到百度链 + draw.POST("getaccountprize", service.GetAccountPrize) //查询中奖的账户的信息 + draw.POST("prizelist", service.PrizeList) //列出奖品信息 + // draw.POST("encrypt", service.Encrypt) //加密 + // draw.POST("decrypt", service.Decrypt) //解密 + } + + //推送 + pushRoute := r.Group("/push") + { + pushRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + //空投相关 + pushRoute.POST("putIn", push.PutIn) //投放空投 + pushRoute.POST("dropHistortList", push.DropHistortList) //历史空投列表 + pushRoute.POST("dropHistortDel", push.DropHistortDel) //删除未开始的空投 + pushRoute.POST("user/data", account.MallRandList) //获取用户数据 + + //公告相关 + pushRoute.POST("pushAnnouncement", push.PushAnnouncement) //推送公告 + pushRoute.POST("announcementHisList", push.AnnouncementHisList) //历史公告列表 + pushRoute.POST("announcementDel", push.AnnouncementDel) //删除未开始公告 + } + + //销售 + saleRoute := r.Group("/sale") + { + saleRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + saleRoute.POST("series", order.SeriesList) //系列列表 + saleRoute.POST("series/collections", order.CollectionsList) //系列下藏品列表 + saleRoute.POST("pay/detail", order.PayDetail) //detail + saleRoute.POST("pay/express/set", order.PayAgreeExpress) //修改订单状态 + saleRoute.POST("pay/approval/list", order.PayList) //订单列表列表 + saleRoute.POST("pay/approval/info", order.PayHasExpress) //订单列表列表 + saleRoute.POST("pay/refund", order.Refund) //订单列表列表 + saleRoute.POST("pay/offline/list", order.OfflinePayList) //订单列表列表 + saleRoute.POST("pay/add/tracking/number", order.AddTrackingNumber) //订单添加快递单号 + } + + // 假期 + holidayRoute := r.Group("/holiday") + { + holidayRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + holidayRoute.POST("single", service.SingleHolidayInfo) // 单日 + holidayRoute.POST("multi", service.MultiHolidayInfo) // 区间 + } + + // 地图 经纬度 换地址 + addressRoute := r.Group("address") + { + addressRoute.POST("address-detail", service.LatLngToAddress) + } + + //付款单 + paybill := r.Group("/paybill") + { + paybill.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + paybill.POST("/list", service.PayBillList) + paybill.POST("/update", service.UpdatePayBill) + paybill.POST("/excel", service.ExcelBill) + paybill.POST("/all", service.ArtistAll) + paybill.POST("/search", service.ArtistBill) + paybill.POST("/rollback", service.RollbackState) + + paybill.POST("/nocount", service.NoCount) + + paybill.POST("/editadd", service.UpdateAddress) + } + + //管理系统预约列表 + prebook := r.Group("/prebook") + { + prebook.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + prebook.POST("prebookList", service.PrebookList) + prebook.POST("customerList", service.CustomerList) + prebook.POST("newList", service.NewList) + prebook.POST("feastList", service.FeastList) + prebook.POST("addpulg", service.Addpulg) + prebook.POST("sure", service.SureNo) + prebook.POST("alter", service.AlterPrice) + prebook.POST("del", service.DelFeast) + prebook.POST("feastInfo", service.GetAllFeastInfo) + } + + //儿童画展报名投票 + childrenCompetition := r.Group("/children/competition") + { + childrenCompetition.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + childrenCompetition.POST("registration/records", children_competition.GetRegistrationRecordInfo) //获取报名记录 + childrenCompetition.POST("participant/registration/records", children_competition.GetParticipantRegistrationRecords) //获取个人报名记录 + childrenCompetition.POST("set/registration/deadline", children_competition.SetRegistrationDeadline) //设置报名截止时间 + childrenCompetition.POST("update/work/status", children_competition.UpdateWorkStatus) // 更新作品状态 + childrenCompetition.POST("generate/qr/code", children_competition.GenerateQrCode) // 生成投票二维码 + childrenCompetition.POST("batch/generate/qrCode", children_competition.BatchGenerateQrCode) // 生成全部投票二维码 + childrenCompetition.POST("works/votes/info", children_competition.GetWorksVotesInfo) // 获取投票结果 + childrenCompetition.POST("works/votes/export/form", children_competition.WorksVotesExportForm) // 导出投票结果 + } + + //快递柜 + expressRoute := r.Group("/express") + { + expressRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + expressRoute.POST("singlechip/edit", service.EditSinglechip) //修改开发板信息 单个 + expressRoute.POST("singlechip/batch/edit", service.BatchEditSinglechip) //修改开发板信息 单个 + expressRoute.POST("circuit/edit", service.EditCircuit) //修改柜门信息 + expressRoute.POST("circuit/setStatus", service.EditCircuit) //柜门修改开闭状态 + expressRoute.POST("circuit/list", service.ListCircuit) //快递柜列表 + expressRoute.POST("send", service.Send) //寄件 + expressRoute.POST("history/list", service.HistoryList) //寄件历史明细 + expressRoute.POST("singlechip/open", service.Open) //开发板开启关闭状态 + expressRoute.POST("singlechip/remove", service.Remove) //开发板一键删除 + expressRoute.POST("singlechip/list", service.ExpressList) //开发板一键删除 + expressRoute.POST("singlechip/create", service.Create) + } + + //管理系统预约商城 + productRoute := r.Group("/product") + { + productRoute.POST("/list", service.ProductList) //商品列表 + productRoute.POST("/info", service.ProductInfo) //商品详情 + productRoute.POST("/sell", service.SellList) //商品购买记录 + productRoute.POST("/add", service.AddProduct) //新增商品 + productRoute.POST("/updatestate", service.UpdateProductState) //更新商品状态 + productRoute.POST("/del", service.DelProduct) //删除未上架的商品 + productRoute.POST("/updategoods", service.UpdateProduct) //修改未上架的商品 + productRoute.POST("/sale", service.SaleLog) //没有商品版的售卖记录 + productRoute.POST("/refuse", service.WechatRefunds) //退款 + } + + healthRoute := r.Group("/health") + { + healthRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + healthRoute.POST("/list", service.DoctorList) //医生信息列表 + healthRoute.POST("/prelist", service.PreList) //预约列表 + healthRoute.POST("/info", service.PreInfo) //预约详情 + healthRoute.POST("/edit", service.UpdatePre) //更新预约信息 + healthRoute.POST("/illmessage", service.SendMedical) //发送电子病历 + healthRoute.POST("/okmsg", service.SendPremsg) //发送电子病历 + healthRoute.POST("/editstreet", service.UpdateStreet) //更新街道 + healthRoute.POST("/adddr", service.AddDr) //增加预约科室医生 + healthRoute.POST("/call", service.CallSign) //叫号 + healthRoute.POST("/callup", service.QueueUp) //插队 + healthRoute.POST("/drde", service.DrDe) //医生和对应科室 + healthRoute.POST("/delex", service.DelExAdd) //删除科室 + healthRoute.POST("/appoint/list", service.HealthAppointList) //删除科室 + healthRoute.POST("/appoint/del", service.DelHealthAppoint) //删除科室 + healthRoute.POST("/appoint/update", service.UpdateHealthAppoint) //删除科室 + + } + + preorderRoute := r.Group("/preorder") + { + preorderRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + // preorderRoute.POST("/add", service.AddTeamType) //增加团队类型 + preorderRoute.POST("/list", service.TeamTypeList) //查看团队类型 + preorderRoute.POST("/edit", service.EditTeamType) //修改团队类型 + // preorderRoute.POST("/del", service.DelTeamType) //删除团队类型 + preorderRoute.POST("/lotset", service.LotSet) //批量设置可预约日期 + preorderRoute.POST("/setlist", service.SetList) //根据给的时间展示可展的和不可展的日期 + preorderRoute.POST("/editset", service.EditSet) //删除当天,把当天变成不可展 + preorderRoute.POST("/timeedit", service.EditTime) //设置时间段(时间段的增删改查) + preorderRoute.POST("/timelist", service.AllTime) //时间段列表 + } + + journalRoute := r.Group("/journal") + { + journalRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + journalRoute.POST("/add", service.AddJournal) //创建一条日志 + journalRoute.POST("/selflist", service.SelfList) //自己创建的日志列表 + journalRoute.POST("/acceptlist", service.AcceptList) //接收到的日志 + journalRoute.POST("/info", service.JournalInfo) //日志详情 + journalRoute.POST("/read", service.ReadJournal) //日志已读 + journalRoute.POST("/undo", service.UndoJournal) //日志撤销 + } + + paymentRoute := r.Group("/payment") + { + paymentRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + paymentRoute.POST("/add", order.AddShop) + paymentRoute.POST("/list", order.ShopList) + paymentRoute.POST("/edit", order.EditShop) + paymentRoute.POST("/del", order.DelShop) + paymentRoute.POST("/addqr", order.AddQr) + paymentRoute.POST("/addqr64", order.AddQrBase64) + paymentRoute.POST("/onqr", order.OnQr) + paymentRoute.POST("/offqr", order.OffQr) + paymentRoute.POST("/downloadqr", order.Downloadqr) + } + + // 二维码收款订单管理 + collectionRecordRoute := r.Group("/collection/record") + { + collectionRecordRoute.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + collectionRecordRoute.POST("/list", order.CollectionRecordList) //特定条件的收款列表 + collectionRecordRoute.POST("/export/excel", order.ExportForm) //导出特定条件的收款信息到excel表 + collectionRecordRoute.POST("/modify/remarks", order.ModifyRemarks) //编辑收款订单备注 + } + + // 培训管理 + trainRoute := r.Group("/train") + { + trainRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + trainRoute.POST("/createTrainInfo", train.CreateTrainInfo) //新增培训信息 + trainRoute.POST("/updateTrainInfo", train.UpdateTrainInfo) //更改培训信息 + trainRoute.POST("/deleteTrainInfo", train.DeleteTrainInfo) //删除培训信息 + trainRoute.POST("/trainInfoList", train.TrainInfoList) //培训信息列表 + trainRoute.POST("/specific/trainInfo/list", train.SpecificTrainInfoList) //具体培训下签到人员列表 + trainRoute.GET("/specific/trainInfo/list", train.SpecificTrainInfoListJson) //具体培训下签到人员列表 + trainRoute.POST("/pic/stream", train.GetPicStream) //具体培训下签到人员列表 + trainRoute.POST("/personnel/upload", train.UploadPersonnel) //人员名单批量上传 + } + + // 招聘管理 + recruitRoute := r.Group("/recruit") + { + recruitRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + recruitRoute.POST("/resume/upload/multi", recruit.UploadMulti) // 简历设计业务上传 + recruitRoute.POST("/post/submit", recruit.PostSubmit) // 提交岗位审批 + recruitRoute.POST("/post/up", recruit.PostUp) // 关闭岗位审批 + recruitRoute.POST("/post/cancel/up", recruit.PostCancelUp) // 关闭岗位审批 + recruitRoute.POST("/post/pass", recruit.PostPass) // 岗位审批审核通过 + recruitRoute.POST("/post/reject", recruit.PostReject) // 岗位审批审核不通过 + recruitRoute.POST("/post/check", recruit.PostCheck) // 岗位审批抄送已阅 + recruitRoute.POST("/post/close", recruit.PostClose) // 关闭岗位审批 + recruitRoute.POST("/resume/submit", recruit.ResumeSubmit) // 简历上传 + recruitRoute.POST("/resume/submit/v2", recruit.ResumeSubmitV2) // 简历上传v2 版本携带上传的文件的名称以及附件 + recruitRoute.POST("/resume/pass", recruit.ResumePass) // 简历审核通过 + recruitRoute.POST("/resume/offer/sure", recruit.GiveResumeOffer) // 简历给予offer 录用最终一步 创建帐号信息 + recruitRoute.POST("/resume/reject", recruit.ResumeReject) // 简历审核不通过 + recruitRoute.POST("/resume/interview/time", recruit.ResumeInterviewTime) // 预约面试时间 + recruitRoute.POST("/resume/modify/interview/time", recruit.ResumeModifyInterviewTime) // 修改面试时间 + recruitRoute.POST("/resume/modify/info", recruit.ResumeModifyInfo) // 修改面试信息 + recruitRoute.POST("/resume/interview/pass", recruit.ResumeInterviewPass) // 面试通过 + recruitRoute.POST("/resume/interview/reject", recruit.ResumeInterviewReject) // 面试不通过 + recruitRoute.POST("/resume/terminate", recruit.ResumeTerminate) // 简历终止 + recruitRoute.POST("/resume/upload/detail", recruit.ResumeUploadDetail) // 上传面试信息 + recruitRoute.POST("/offer/submit", recruit.OfferSubmit) // 提交入职申请 + recruitRoute.POST("/offer/pass", recruit.OfferPass) // 入职申请审核通过 + recruitRoute.POST("/offer/reject", recruit.OfferReject) // 入职申请审核不通过 + recruitRoute.POST("/offer/check", recruit.OfferCheck) // 入职申请已阅 + recruitRoute.POST("/position/query", recruit.PositionQuery) // 分页查询岗位申请 + recruitRoute.POST("/resume/page/query", recruit.ResumePageQuery) // 分页查询简历 + recruitRoute.POST("/offer/query", recruit.OfferQuery) // 分页查询入职申请 + recruitRoute.POST("/detail/query", recruit.DetailQuery) // 分页查询审批详情 + recruitRoute.POST("/copied/query", recruit.CopiedQuery) // 分页查询审批抄送 + recruitRoute.POST("/change/record/query", recruit.ChangeRecordQuery) // 查询变更记录 + recruitRoute.POST("/status/query", recruit.StatusQuery) // 查询状态列表 + recruitRoute.POST("/data/info", recruit.DataInfo) // 查询状态列表 + recruitRoute.POST("/resume/queryphone", recruit.CheckResumeExist) // 根据手机号查询,简历是否存在人才招聘系统中,是的话不允许直接发起录用申请 + } + + // 物资管理 + goodsManagementRoute := r.Group("/goods/management") + { + goodsManagementRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + goodsManagementRoute.POST("/add/borrow/goods", goods_management.AddBorrowGoods) // 增加借用商品 + goodsManagementRoute.POST("/borrow/goods/list", goods_management.BorrowGoodsList) // 借用商品列表 + goodsManagementRoute.POST("/generate/qr/code", goods_management.GenerateBorrowQrCode) // 具体借用商品生成二维码 + goodsManagementRoute.POST("/put/down/borrow/goods", goods_management.PutDownBorrowGoods) // 上下架借用的商品 + goodsManagementRoute.POST("/delete/borrow/goods", goods_management.DeleteBorrowGoods) // 删除借用的商品 + goodsManagementRoute.POST("/specific/borrow/record", goods_management.SpecificBorrowRecord) // 具体物品的借用记录 + } + + // 站点签到 + SiteSignInRoute := r.Group("/site") + { + SiteSignInRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + SiteSignInRoute.POST("/siteList", service.SiteSignInList) // 站点列表 + SiteSignInRoute.POST("/creCodeImage", service.CreCodeImage) // 生成二维码 + SiteSignInRoute.POST("/downloadCodeImage", service.DownloadCodeImage) // 下载二维码 + SiteSignInRoute.POST("/queryByApi", service.QuerySiteByApi) // 通过API查询经纬度 + SiteSignInRoute.POST("/reverseGeocoding", service.ReverseGeocoding) // 自选地图点 + } + + // 客服工作台 + customerService := r.Group("/customerService") + { + customerService.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + customerService.POST("/lock/artist/list", customer_service.GetLockArtistList) // 已经锁定的画家列表 + customerService.POST("/audit/artwork/list", customer_service.GetPassedArtworkList) // 审核完成的画作列表 + customerService.POST("/notify/artist", customer_service.UpdateNotifyStatus) // 更新通知画家 + customerService.POST("/notified/artistList", customer_service.GetNotifiedArtistList) // 已通知画家列表 + customerService.POST("/notified/artworkList", customer_service.GetNotifiedArtworkList) // 已通知画家列表 + } + // 首页 + homePage := r.Group("/homePage") + { + homePage.Use(middleware.CheckLogin(service.AccountProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + homePage.POST("/apply/count", home_page.ApplyCount) // 审核/考勤-申请数量 + homePage.POST("/clockIn/info", home_page.ClockingIn) // 考勤信息 + homePage.POST("/clockIn/record", home_page.ClockRecord) // 打卡记录 + } + //新增画家宝审批流相关接口 By JJxu 2023-03-06 + NewAuditRouter(r) + //静态文件 + r.StaticFS("/static", http.Dir("./runtime")) + r.NoRoute(func(c *gin.Context) { + c.JSON(http.StatusNotFound, gin.H{ + "status": 1, + "msg": "不存在的路由", + }) + }) + pprof.Register(r) + return r +} diff --git a/pkg/router/shop.go b/pkg/router/shop.go new file mode 100644 index 0000000..f1e84cd --- /dev/null +++ b/pkg/router/shop.go @@ -0,0 +1,78 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/shop" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/task" + "github.com/gin-gonic/gin" +) + +// ShopRoute 商城后台 路由配置 +func ShopRoute(Router *gin.RouterGroup) { + series := Router.Group("series") + series.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + series.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + series.POST("save", shop.SaveSeries) + series.POST("detail", shop.SeriesDetail) + series.POST("update-lang", shop.UpdateSeriesLang) + series.POST("autoshelf", shop.AutoShelf) + series.POST("handshelf", shop.HandShelf) + series.POST("series-list", shop.SeriesList) + series.POST("del", shop.SeriesDel) + series.POST("get/series/language/info", shop.GetSeriesLanguageInfo) + } + + brand := Router.Group("brand") + brand.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + brand.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + brand.POST("create", shop.CreateBrand) + brand.POST("info", shop.BrandInfo) + brand.POST("update", shop.BrandUpdate) + brand.POST("del", shop.BrandDel) + brand.POST("list", shop.BrandList) + brand.POST("allbrand", shop.AllBrand) + brand.POST("update/language/info", shop.UpdateLanguageInfo) + brand.POST("get/all/language/info", shop.GetAllLanguageInfo) + } + + feedback := Router.Group("feedback") + feedback.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + feedback.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + feedback.POST("create", task.FeedBackCreate) + feedback.POST("top", task.Topping) + feedback.POST("list", task.FeedBackList) + } + + collections := Router.Group("collections") + collections.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + collections.Use(middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + collections.POST("create", shop.AddCollections) + collections.POST("update", shop.UpdateCollectionsProfile) + collections.POST("del", shop.UpdateCollectionsProfile) + collections.POST("list", shop.CollectionsList) + collections.POST("detail", shop.CollectionsDetail) + collections.POST("qr", shop.Qr) + collections.POST("extend", shop.Extend) + collections.POST("get/language/status", shop.GetCollectionLanguageInfo) // 获取藏品多语言填写状态 + } + + recordRouter := Router.Group("shop/record") + recordRouter.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + { + recordRouter.POST("list", shop.RecordList) + } + + testRouter := Router.Group("shop/test") + //testRouter.Use(middleware.CheckLogin(service.AccountProvider)) + { + testRouter.POST("auto/wiped", shop.MethodAutoWipedOut) + testRouter.POST("auto/position", shop.MethodAutoPosition) + testRouter.GET("push/wiped", shop.PushAutoWipedOut) + testRouter.GET("push/position", shop.PushAutoPosition) + } +} diff --git a/pkg/router/turnstile.go b/pkg/router/turnstile.go new file mode 100644 index 0000000..c8f48be --- /dev/null +++ b/pkg/router/turnstile.go @@ -0,0 +1,135 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/turnstile" + "github.com/gin-gonic/gin" +) + +// TurnstileRoute 速通门的认证 +func TurnstileRoute(r *gin.RouterGroup) { + turnRoute := r.Group("turnstile") + + turnRoute.GET("ws", turnstile.DeviceWs) //websocket + //turnRoute.POST("update/account", account.UpdateDeviceAccount) //更新/创建 设备人员帐号 + //turnRoute.POST("del/account", account.DelSingleDeviceAccount) //删除人员 + + noSecret := r.Group("/secret") + { + //访客 + noSecret.POST("visitor", account.ClockVisitor) // 访客申请 + //noSecret.POST("set/door", account.ClockDeviceWXSetDoor) // 控制设备开门/关门 + //noSecret.POST("batch/capture/photo", account.ClockDeviceWXCapturePhoto) // 抓拍现场照片 + } + clockRoute := r.Group("/clock") + clockRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + { + clockRoute.POST("create", account.CreateClockDevice) // 创建打卡机设备 + clockRoute.POST("update", account.UpdateClockDevice) // 更新打卡机设备 + clockRoute.DELETE("remove", account.RemoveClockDevice) // 删除打卡机设备 + clockRoute.POST("info", account.ClockDeviceInfo) // 查看打卡机详情 + clockRoute.POST("list", account.ClockDeviceList) // 查看打卡机列表 + clockRoute.POST("single/untie", account.ClockDeviceSingleUntie) // 单人解绑打卡机设备 + clockRoute.POST("batch/bind", account.ClockDeviceBatchBind) // 批量绑定打卡机 + clockRoute.POST("batch/untie", account.ClockDeviceBatchUntie) // 批量解绑打卡机 + clockRoute.POST("batch/detection/photo", account.ClockDeviceDetectionPhoto) // 检测图片质量 + clockRoute.POST("batch/capture/photo", account.ClockDeviceCapturePhoto) // 抓拍现场照片 + //通行规则 + clockRoute.POST("rule/issuance", account.ClockDeviceRuleIssuance) // 人员通行规则下发 + clockRoute.POST("rule/acquire", account.ClockDeviceRuleAcquire) // 获取人员通行规则 + clockRoute.POST("rule/delete", account.ClockDeviceRuleDelete) // 删除人员通行规则 + //密码开门 + clockRoute.POST("password/switch", account.ClockDevicePasswordSwitch) // 设置密码开门开关 + clockRoute.POST("password/set", account.ClockDevicePasswordSet) // 设置设备开门密码 + //读取设备人员 + clockRoute.POST("person/sync", account.ClockDevicePersonSync) // 通知设备同步人员数据 + clockRoute.POST("person/total", account.ClockDevicePersonTotal) // 查询设备人员数量和id + clockRoute.POST("person/info", account.ClockDevicePersonInfo) // 根据userid读取用户数据 + //设备设置 + clockRoute.POST("set/acquire", account.ClockDeviceSetAcquire) // 获取设备设置 + clockRoute.POST("set/logo", account.ClockDeviceSetLogo) // 设置设备logo + clockRoute.POST("set/slogan", account.ClockDeviceSetSlogan) // 设置广告语 + clockRoute.POST("set/time", account.ClockDeviceSetTime) // 设置设备时间 + clockRoute.POST("set/interval", account.ClockDeviceSetInterval) // 设置设备识别间隔 + clockRoute.POST("set/distance", account.ClockDeviceSetDistance) // 设置设备识别距离 + clockRoute.POST("set/mask", account.ClockDeviceSetMask) // 口罩检测开关 + clockRoute.POST("set/living", account.ClockDeviceSetLiving) // 活体检测 + clockRoute.POST("set/living/class", account.ClockDeviceSetLivingClass) // 活体检测等级 + clockRoute.POST("set/stranger", account.ClockDeviceSetStranger) // 陌生人识别 + clockRoute.POST("set/volume", account.ClockDeviceSetVolume) // 设备音量 + clockRoute.POST("set/username", account.ClockDeviceSetUsername) // 播放用户名 + clockRoute.POST("set/hint", account.ClockDeviceSetHint) // 设置设备提示语音 + clockRoute.POST("set/password", account.ClockDeviceSetPassword) // 修改进入设置页面密码 + clockRoute.POST("set/restart", account.ClockDeviceSetRestart) // 重启设备 + clockRoute.POST("set/relay", account.ClockDeviceSetRelay) // 设置继电器状态-常开/正常 + clockRoute.POST("set/capture", account.ClockDeviceSetCapture) // 设置设备识别照片抓拍的质量 + clockRoute.POST("set/callout", account.ClockDeviceSetCallout) // 访问呼叫开关 + clockRoute.POST("set/printer", account.ClockDeviceSetPrinter) // 打印机开关 + clockRoute.POST("set/visitor", account.ClockDeviceSetVisitor) // 首页访客申请入库内容 + clockRoute.POST("set/token", account.ClockDeviceSetToken) // 设置http请求的token + clockRoute.POST("set/verify", account.ClockDeviceSetVerify) // 设置验证接口超时时长 + clockRoute.POST("set/delay", account.ClockDeviceSetDelay) // 设置设备开门延迟 + clockRoute.POST("set/press/time", account.ClockDeviceSetPressTime) // 进入设置页面长按时间 + clockRoute.POST("set/desensitization", account.ClockDeviceSetDesensitization) // 姓名脱敏显示 + clockRoute.POST("set/section", account.ClockDeviceSetSection) // 设置读卡扇区 + clockRoute.POST("set/rail", account.ClockDeviceSetRail) // 设置设备位置围栏 + clockRoute.POST("set/door", account.ClockDeviceSetDoor) // 控制设备开门/关门 + //屏保 + clockRoute.POST("screensaver/switch", account.ClockScreensaverState) // 设备节能屏保开关 + clockRoute.POST("screensaver/settings", account.ClockScreensaver) // 设置设备屏保 + clockRoute.POST("screensaver/delete", account.ClockDelScreensaver) // 删除屏保 + clockRoute.POST("screensaver/interval", account.ClockScreensaverInterval) // 设置屏保显示时长 + //体温检测 + clockRoute.POST("temperature/detection", account.ClockTemperatureDetection) // 体温检测开关 + clockRoute.POST("temperature/mode", account.ClockTemperatureMode) // 体温检测模式 + clockRoute.POST("temperature/standard", account.ClockTemperatureStandard) // 初筛模式标准 + clockRoute.POST("temperature/calibration", account.ClockTemperatureCalibration) // 设置体温校准模式 + clockRoute.POST("temperature/low/pass", account.ClockTemperatureLowPass) // 低温可通行开关 + clockRoute.POST("temperature/play", account.ClockTemperaturePlay) // 播报体温开关 + clockRoute.POST("temperature/reflectivity", account.ClockTemperatureReflectivity) // 设置体温反射率 + clockRoute.POST("temperature/correction", account.ClockTemperatureCorrection) // 设置体温校准值 + clockRoute.POST("temperature/distance", account.ClockTemperatureDistance) // 设置设备体温检测距离 + clockRoute.POST("temperature/measure", account.ClockTemperatureMeasure) // 设置测温时间段 + //设备更新 + clockRoute.POST("version/auto", account.ClockVersionAuto) // 开机自动更新 + clockRoute.POST("version/info", account.ClockVersionInfo) // 获取设备版本信息 + //clockRoute.POST("version/push", account.ClockVersionPush) // 发送设备版本信息给服务端 + clockRoute.POST("version/check", account.ClockVersionCheck) // 通知设备在线检查更新 + //clockRoute.POST("version/Interval", account.ClockDeviceSetRail) // 发送升级结果给服务端 + //clockRoute.POST("version/Interval", account.ClockDeviceSetRail) // 更新下载进度 + //二维码 + clockRoute.POST("apply/value", account.ClockApplyValue) // 设置设备首页二维码 + clockRoute.POST("apply/prefix", account.ClockApplyPrefix) // 设置访客二维码前缀 + //全景相机设置 + clockRoute.POST("camera/panoramic", account.ClockCameraPanoramic) // 全景相机开关 + clockRoute.POST("camera/params", account.ClockCameraParams) // 设置全景相机的参数 + //个性化设置 + clockRoute.POST("recognition/style", account.ClockRecognitionStyle) // 识别结果样式 + //识别后在线验证 + clockRoute.POST("online/verify", account.ClockOnlineVerify) // 识别后在线验证 + clockRoute.POST("online/card", account.ClockOnlineCard) // 在线验证卡号 + clockRoute.POST("online/id/card", account.ClockOnlineIdCard) // 在线验证身份证号 + //在线识别 + clockRoute.POST("online/recognition", account.ClockOnline) // 设置在线识别间隔 + clockRoute.POST("online/state", account.ClockOnlineState) // 在线识别开关 + clockRoute.POST("online/temporary", account.ClockOnlineTemporary) // 临时启用在线识别 + //识别设置 + clockRoute.POST("discern/settings", account.ClockDiscernSettings) // 设置可通行人员类型 + clockRoute.POST("discern/class", account.ClockDiscernClass) // 设置设备识别置信度 + //设备禁用 + clockRoute.POST("forbidden/switch", account.ClockForbiddenSwitch) // 开启/关闭设备识别 + clockRoute.POST("forbidden/number", account.ClockForbiddenNumber) // 停用状态通行人数 + //广告 + clockRoute.POST("advertising/add", account.ClockAdvertisingAdd) // 下发广告 - 图片 + clockRoute.POST("advertising/del", account.ClockAdvertisingDel) // 删除广告 + clockRoute.POST("advertising/change", account.ClockAdvertisingChange) // 启用停用广告 + //门磁状态 + clockRoute.POST("door/lock", account.ClockDoorLock) // 获取(上报)门锁状态 + clockRoute.POST("door/listener", account.ClockDoorListener) // 设置门锁实时监听开关 + //打卡记录 + clockRoute.POST("log/list", account.ClockLogList) // 查看打卡记录列表 + clockRoute.POST("log/info", account.ClockLogInfo) // 查看打卡记录详情 + } +} diff --git a/pkg/router/websocket.go b/pkg/router/websocket.go new file mode 100644 index 0000000..226ff8a --- /dev/null +++ b/pkg/router/websocket.go @@ -0,0 +1,23 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + websocketController "github.com/fonchain_enterprise/fonchain-main/pkg/service/websocket/controller" + websocketServer "github.com/fonchain_enterprise/fonchain-main/pkg/service/websocket/server" + "github.com/gin-gonic/gin" +) + +func websocketRoute(r *gin.RouterGroup) { + noAuth := r.Group("") + auth := r.Group("") + noAuth.GET("/ws/info", websocketServer.HandleWebSocket) + websocketServer.Register("similar-result", websocketController.SimilarResult) + + auth.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider), middleware.AutoLog(service.AccountProvider, service.GrpcLogImpl)) + auth = auth.Group("socket") + { + auth.POST("login", websocketController.Login) + auth.POST("info", websocketController.Info) + } +} diff --git a/pkg/router/workdaymeal.go b/pkg/router/workdaymeal.go new file mode 100644 index 0000000..abfd8b8 --- /dev/null +++ b/pkg/router/workdaymeal.go @@ -0,0 +1,22 @@ +package router + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/work_day_meal" + "github.com/gin-gonic/gin" +) + +func workMealDayRoute(r *gin.RouterGroup) { + workDayMealRoute := r.Group("/api/workdaymeal") + workDayMealRoute.Use(middleware.CheckLogin(service.AccountProvider), middleware.CheckAuth(service.AccountProvider, service.RuleProvider)) + //需要登陆保护 + { + workDayMealRoute.POST("now/nextWorkDay", work_day_meal.NowNextWorkDay) //获取当天下一个工作日 + workDayMealRoute.POST("list", work_day_meal.MealList) //工作餐列表 + workDayMealRoute.POST("user/detail", work_day_meal.UserWorkDayMeal) //用户某天的点餐记录 + workDayMealRoute.POST("sure", work_day_meal.SureWorkDayMeal) //申请预约 + workDayMealRoute.POST("cancel", work_day_meal.CancelWorkDayMeal) //取消预约 + } + +} diff --git a/pkg/service/account/account.go b/pkg/service/account/account.go new file mode 100644 index 0000000..944135f --- /dev/null +++ b/pkg/service/account/account.go @@ -0,0 +1,2989 @@ +package account + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/base64" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/e_card" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/dto" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/query" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/turnstile" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/fonchain_enterprise/utils/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + uuid "github.com/satori/go.uuid" + "net/http" + "net/url" + "strconv" + "time" +) + +// UserRegister 用户注册操作 +func UserRegister(c *gin.Context) { + var req union.User + var res *account.RequestStatus + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + err, res := UserRegisters(c, req) + if err != nil && err.Error() == "账号已存在" && req.Source == "exam" { + handleExistingAccountForExam(c, req) + service.Success(c, &res) + return + } + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func handleExistingAccountForExam(c *gin.Context, req union.User) { + var Tel account.UsersByTelRequest + var res account.RequestStatus + // 初始化 Tels 切片 + Tel.Tels = make([]string, 1) + // 赋值 + Tel.Tels[0] = req.TelNum + + // 查询用户信息 + telRes, _ := service.AccountProvider.UsersByTel(c, &Tel) + + // 更新 res 对象 + res.ID = telRes.Data[0].ID + res.Status = "success" + + // 返回成功响应 + service.Success(c, &res) + return +} + +func UserRegisters(c *gin.Context, req union.User) (err error, res *account.RequestStatus) { + if req.Avatar == "" { + req.Avatar = "https://dci-file-new.bj.bcebos.com/fonchain-main/test/runtime/image/avatar/40/b8ed6fea-6662-416d-8bb3-1fd8a8197061.jpg" + } + if req.Source == "exam" { + req.PositionUsers = []*position.PositionUser{ + { + DepartmentName: "考试管理", + PositionName: "学员", + }, + } + req.Password = e.DEFAULT_PWD + } + //账号服务 + registRequest := account.RegistRequest{ + Domain: req.Domain, + NickName: req.NickName, + TelNum: req.TelNum, + Password: req.Password, + JobNum: req.JobNum, + Status: req.Status, + Avatar: req.Avatar, + EnterDate: req.EnterDate, + Extend: &account.Extend{JumpTo: req.JumpTo}, + RecentImg: req.RecentImg, + Source: req.Source, + } + + if req.Operator != nil { + registRequest.Operator = req.Operator + } + + res, err = service.AccountProvider.Register(c, ®istRequest) + if err != nil { + return err, res + } + if len(req.PositionUsers) <= 0 { + return nil, res + } + //岗位服务 绑定岗位 + positionReq := &position.BindUserRequest{ + Domain: req.Domain, + UserID: res.ID, + UserName: req.NickName, + Avatar: req.Avatar, + PositionUsers: req.PositionUsers, + } + var err1 error // 声明 err1 变量 + if len(req.PositionUsers) > 0 && req.PositionUsers[0].DepartmentName != "" && req.PositionUsers[0].PositionName != "" { + _, err1 = service.PositionProvider.BindUserForName(c, positionReq) + } else { + _, err1 = service.PositionProvider.BindUser(c, positionReq) + } + + if err1 != nil { + return err1, res + } + return err, res +} + +// RefreshToken token +func RefreshToken(c *gin.Context) { + + var jumpToWhere = "setting" + var isDriverAuth = false + var isDriverSupervisorAuth = false + + var req account.RefreshTokenRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Ip = c.ClientIP() + + res, err := service.AccountProvider.RefreshToken(context.Background(), &req) + + if err != nil { + c.JSON(e.Success, serializer.Response{ + Code: 201, + Status: 1, + Msg: err.Error(), + Data: nil, + }) + c.Abort() + return + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: res.AccountInfo.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + if len(qres.PositionUsers) >= 1 { + isDriverAuth = isHaveDriverAuth(c, res.AccountInfo.ID, qres.PositionUsers[0].DepartmentId) + isDriverSupervisorAuth = isHaveDriverSupervisorAuth(c, res.AccountInfo.ID, qres.PositionUsers[0].DepartmentId) + } + + accountInfo := &union.AccountInfo{ + ID: res.AccountInfo.ID, + Account: res.AccountInfo.Account, + NickName: res.AccountInfo.NickName, + Domain: res.AccountInfo.Domain, + TelNum: res.AccountInfo.TelNum, + Status: res.AccountInfo.Status, + Avatar: res.AccountInfo.Avatar, + CreatedAt: res.AccountInfo.CreateAt, + IsNeedChange: res.AccountInfo.IsNeedChange, + EnterDate: res.AccountInfo.EnterDate, + WorkYear: res.AccountInfo.WorkYear, + IsAdmin: qres.IsAdmin, + PositionUsers: qres.PositionUsers, + JumpTo: res.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: res.AccountInfo.JobNum, + BirthDate: res.AccountInfo.BirthDate, + Age: res.AccountInfo.Age, + Sex: res.AccountInfo.Sex, + Title: res.AccountInfo.Title, + IDNum: res.AccountInfo.IDNum, + DriverAuth: isDriverAuth, + DriverSupervisorAuth: isDriverSupervisorAuth, + } + + code := "xxx" + if len(qres.PositionUsers) >= 1 { + accountInfo.DepartmentName = qres.PositionUsers[0].DepartmentName + code = secret.GetPositionCode(qres.PositionUsers[0].PositionName) + } + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, res.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + ruleUrlReq := rule.FindRuleByUrlRequest{ + AccountID: accountInfo.ID, + Type: "menu", + Domain: accountInfo.Domain, + Url: "/home", + Method: "*", + } + + ruleInfo, ruleErr := service.RuleProvider.FindUserRule(c, &ruleUrlReq) + if ruleInfo.IsPass == true { + jumpToWhere = "home" + } + + if ruleErr != nil { + service.Error(c, e.Error, ruleErr) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: res.RefreshToken, + AccountInfo: accountInfo, + JumpToWhere: jumpToWhere, + } + + service.Success(c, resInfo) + + return +} + +// Offline 下线 +func Offline(c *gin.Context) { + + intStr := c.DefaultQuery("id", "0") + + intNum, err := strconv.Atoi(intStr) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req := account.CommonRequest{ + ID: uint64(intNum), + } + + res, err := service.AccountProvider.OffLine(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// OnlineInfoById 获取登陆信息 +func OnlineInfoById(c *gin.Context) { + + intStr := c.DefaultQuery("id", "0") + + id, err := strconv.Atoi(intStr) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req := account.OnlineLogByIdRequest{ + ID: uint64(id), + } + + res, err := service.AccountProvider.OnlineLogById(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// OnlineInfos 用户登录操作 +func OnlineInfos(c *gin.Context) { + + intStr := c.DefaultQuery("UserId", "0") + + id, err := strconv.Atoi(intStr) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req := account.LoginInfosByUserIdRequest{ + UserId: uint64(id), + } + + res, err := service.AccountProvider.OnlineLog(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// SendMsg 用户登录操作 +func SendMsg(c *gin.Context) { + + var req account.SendMsgRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.SignNo = uint32(config.DefaultSignNo) + res, err := service.AccountProvider.SendMsg(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// CheckMsg 验证码是否正确 +func CheckMsg(c *gin.Context) { + + var req account.CheckMsgRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AccountProvider.CheckMsg(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func UserLogout(c *gin.Context) { + req := account.DecryptJwtRequest{} + + //获取jwt + authorization := c.GetHeader(e.Authorization) + if authorization == "" { + service.Error(c, e.Error, errors.New("请求数据为空,请直接重新登录")) + return + } + + jwt, err := secret.GetJwtFromStr(authorization) + if err != nil { + service.Error(c, e.Error, err, "解析秘钥失败") + return + } + + req.Token = jwt + + //退出登陆 + res, err := service.AccountProvider.Logout(context.Background(), &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// UserLogin 用户登录操作 +func UserLogin(c *gin.Context) { + + var jumpToWhere = "setting" + var isDriverAuth = false + var isDriverSupervisorAuth = false + + var req account.LoginRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Ip = c.ClientIP() + + res, err := service.AccountProvider.Login(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: res.AccountInfo.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + if len(qres.PositionUsers) >= 1 { + isDriverAuth = isHaveDriverAuth(c, res.AccountInfo.ID, qres.PositionUsers[0].DepartmentId) + isDriverSupervisorAuth = isHaveDriverSupervisorAuth(c, res.AccountInfo.ID, qres.PositionUsers[0].DepartmentId) + } + + accountInfo := &union.AccountInfo{ + ID: res.AccountInfo.ID, + Account: res.AccountInfo.Account, + NickName: res.AccountInfo.NickName, + Domain: res.AccountInfo.Domain, + TelNum: res.AccountInfo.TelNum, + Status: res.AccountInfo.Status, + Avatar: res.AccountInfo.Avatar, + CreatedAt: res.AccountInfo.CreateAt, + IsNeedChange: res.AccountInfo.IsNeedChange, + EnterDate: res.AccountInfo.EnterDate, + WorkYear: res.AccountInfo.WorkYear, + IsAdmin: qres.IsAdmin, + PositionUsers: qres.PositionUsers, + JumpTo: res.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: res.AccountInfo.JobNum, + BirthDate: res.AccountInfo.BirthDate, + Age: res.AccountInfo.Age, + Sex: res.AccountInfo.Sex, + Title: res.AccountInfo.Title, + IDNum: res.AccountInfo.IDNum, + DriverAuth: isDriverAuth, + DriverSupervisorAuth: isDriverSupervisorAuth, + MailAccount: res.AccountInfo.MailAccount, + Train: res.AccountInfo.Train, + Certificate: res.AccountInfo.Certificate, + TrainVideos: res.AccountInfo.TrainVideos, + } + + code := "xxx" + if len(qres.PositionUsers) >= 1 { + accountInfo.DepartmentName = qres.PositionUsers[0].DepartmentName + code = secret.GetPositionCode(qres.PositionUsers[0].PositionName) + } + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, res.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + ruleUrlReq := rule.FindRuleByUrlRequest{ + AccountID: accountInfo.ID, + Type: "menu", + Domain: accountInfo.Domain, + Url: "/home", + Method: "*", + } + + ruleInfo, ruleErr := service.RuleProvider.FindUserRule(c, &ruleUrlReq) + if ruleInfo.IsPass == true { + jumpToWhere = "home" + } + + if ruleErr != nil { + service.Error(c, e.Error, ruleErr) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: res.RefreshToken, + AccountInfo: accountInfo, + JumpToWhere: jumpToWhere, + } + + fmt.Println("是否相同:", res.IsSampleAddress, res.AccountInfo.NowLogId) + if res.IsSampleAddress == false && res.AccountInfo.NowLogId != 0 { //登陆地址异常 + + url := fmt.Sprintf("https://erpapi.fontree.cn/off7524164487E?id=%d", res.AccountInfo.NowLogId) + shortUrl, err := utils.CreateShortUrl(url) + if err == nil { + url = shortUrl + } + + msgReq := account.SendCustomMsgRequest{ + ID: res.AccountInfo.ID, + TelNum: res.AccountInfo.TelNum, + MId: 134802, + SigNo: uint32(config.DefaultSignNo), + } + + msgReq.Url = res.NowAddress + "|" + url + fmt.Println("发送短信", msgReq) + service.AccountProvider.SendCustomMsg(c, &msgReq) + + } + + service.Success(c, resInfo) + + return +} + +// Authentication 用户实名认证操作 +func Authentication(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.AuthenticationRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + authorization := c.GetHeader(e.Authorization) + jwt, err := secret.GetJwtFromStr(authorization) + if err != nil { + service.Error(c, e.Error, err, "解析秘钥失败") + return + } + + req.Token = jwt + + res, err := service.AccountProvider.Authentication(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func List(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AccountProvider.List(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //查询部门 + puRequest := &rule.PositionUserListRequest{} + puRes, err := service.RuleProvider.PositionUserList(c, puRequest) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(puRes.Data) > 0 { + for index, t := range res.Data { + + var departments []*account.Department + var positions []*account.PositionUser + md := make(map[uint64]bool) + mp := make(map[uint64]bool) + + for _, tt := range puRes.Data { + if tt.UserId == t.ID { + if _, ok := md[tt.DepartmentId]; !ok { + temp := &account.Department{ + ID: tt.DepartmentId, + Name: tt.DepartmentName, + } + departments = append(departments, temp) + md[tt.DepartmentId] = true + } + if _, ok := mp[tt.PositionID]; !ok { + temp := &account.PositionUser{ + PositionID: tt.PositionID, + PositionName: tt.PositionName, + } + positions = append(positions, temp) + md[tt.PositionID] = true + } + } + } + + res.Data[index].Departments = departments + res.Data[index].Positions = positions + } + } + + /* ES 操作 */ + //go es.BulkIndexAccountInfo(es.OaIndex) + /* ES 操作 */ + + service.Success(c, res) + return +} + +// PrivacyInfo 获取私密信息 +func PrivacyInfo(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.PrivacyInfoRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AccountProvider.PrivacyInfo(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// Remove 用户删除 +func Remove(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.RemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AccountProvider.Remove(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //岗位删除 + positionReq := &position.RemoveUserRequest{ + Domain: req.Domain, + ID: req.ID, + } + + _, err1 := service.PositionProvider.RemoveUser(c, positionReq) + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + //部门删除 + DepartmentReq := &department.RemoveUserRequest{ + Domain: req.Domain, + LeaderID: req.ID, + } + + _, err2 := service.DepartmentProvider.RemoveUser(c, DepartmentReq) + if err2 != nil { + service.Error(c, e.Error, err2) + return + } + + service.Success(c, res) +} + +// BaseInfo 用户信息 +func BaseInfo(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.InfoRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AccountProvider.Info(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func NowInfo(c *gin.Context) { + //创建一个UserLoginService对象 + userInfo := login.GetUserInfoFromC(c) + + user, err := GetUserInfoById(c, userInfo.ID, userInfo.Domain) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, user) + return +} + +func Info(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.InfoRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + user, err := GetUserInfoById(c, req.ID, req.Domain) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, user) + return +} + +// Update 用户更新信息 +func Update(c *gin.Context) { + //创建一个UserLoginService对象 + var req union.User + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + //账号服务 + var updateReq = account.UpdateRequest{ + ID: req.ID, + Domain: req.Domain, + NickName: req.NickName, + Password: req.Password, + TelNum: req.TelNum, + Avatar: req.Avatar, + Status: req.Status, + EnterDate: req.EnterDate, + JobNum: req.JobNum, + BirthDate: req.BirthDate, + Sex: req.Sex, + Title: req.Title, + LeftDate: req.LeftDate, + Remark: req.Remark, + RecentImg: req.RecentImg, + ICNum: req.ICNum, + Extend: req.Extend, + Train: req.Train, + Certificate: req.Certificate, + Operator: &account.Operator{ + ID: 0, + Name: "人员管理", + }, + } + + if req.JumpTo != "" { + if updateReq.Extend == nil { + updateReq.Extend = &account.Extend{} + } + updateReq.Extend.JumpTo = req.JumpTo + } + + user, err := GetUserInfoById(c, req.ID, req.Domain) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + _, err = service.AccountProvider.Update(context.Background(), &updateReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //必须替换岗位 + if req.PositionUsers != nil && len(req.PositionUsers) > 0 { + positionReq := &position.BindUserRequest{ + Domain: req.Domain, + UserID: req.ID, + UserName: req.NickName, + Avatar: req.Avatar, + PositionUsers: req.PositionUsers, + } + + _, err1 := service.PositionProvider.BindUser(c, positionReq) + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + } + if req.RecentImg != "" && req.RecentImg != user.RecentImg { + _, _ = service.GrpcEmployeeProvider.UpdateEmployeeFile(c, &employee.UpdateEmployeeFileRequest{ + UserId: user.ID, + RecentImg: req.RecentImg, + }) + } + if req.RecentImg != "" && len(user.Clocks) > 0 && (req.RecentImg != user.RecentImg || req.NickName != + user.NickName || req.TelNum != user.TelNum || req.ICNum != user.ICNum) { + if req.ICNum == "" { + req.ICNum = user.ICNum + } + if req.NickName == "" { + req.NickName = user.NickName + } + if req.TelNum == "" { + req.TelNum = user.TelNum + } + var dataSet []turnstile.DeviceUserData + var userId account.ClockUserDeviceBatch + deviceNums := make(map[string]string) + for _, i := range user.Clocks { + data := turnstile.DeviceUserData{ + JobNum: user.ID, + RecentImg: req.RecentImg, + DeviceNum: i.Device.DeviceNum, + NickName: req.NickName, + Phone: req.TelNum, + DeviceName: i.Device.DeviceName, + IcNum: req.ICNum, + } + dataSet = append(dataSet, data) + } + for _, i := range user.Clocks { + deviceNums[i.Device.DeviceNum] = i.Device.DeviceName + } + //判断设备是否离线 + oline := CheckDeviceIsOnline(deviceNums) + if oline != "" { + //service.Error(c, e.Error, errors.New(oline)) + //return + } + //并发下发数据 + err = ConcurrentUpdateDeviceUser(c, dataSet, 10) + if err != nil { + //service.Error(c, e.Error, err) + //return + } + //更新绑定关系 + userId.UserId = user.ID + _, err = service.AccountProvider.UpdateDeviceRelevance(c, &userId) + if err != nil { + //service.Error(c, e.Error, err) + //return + } + } + service.Success(c, user) + return +} + +// MallRandList 获取商城随机用户 +func MallRandList(c *gin.Context) { + //创建一个UserLoginService对象 + var req query.UserNumSearchQuery + res := vo.UserListResponse{} + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + //账号服务 + var updateReq = account.ListRequest{ + Domain: "mall", + PageSize: req.Num, + } + + if req.UserId != 0 { + updateReq.PageSize = 1 + res.Count = 1 + res.UserIds = []uint64{req.UserId} + ures, _ := service.AccountProvider.RandList(context.Background(), &updateReq) + res.DomainCount = ures.AllCount + + service.Success(c, res) + return + } + + ures, err := service.AccountProvider.RandList(context.Background(), &updateReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + res.Count = ures.Count + var tempIds []uint64 + for _, v := range ures.Data { + tempIds = append(tempIds, v.ID) + } + res.UserIds = tempIds + res.DomainCount = ures.AllCount + + service.Success(c, res) + return +} + +func GetUserInfoById(c *gin.Context, ID uint64, domain string) (union.UserResponse, error) { + info := union.UserResponse{} + var driverAuth = false + var driverSupervisorAuth = false + + req := account.InfoRequest{ + ID: ID, + } + if domain != "" { + req.Domain = domain + } + + res, err := service.AccountProvider.Info(c, &req) + if err != nil { + return info, err + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: req.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + return info, err1 + } + + if len(qres.PositionUsers) >= 1 { + driverAuth = isHaveDriverAuth(c, ID, qres.PositionUsers[0].DepartmentId) + driverSupervisorAuth = isHaveDriverSupervisorAuth(c, ID, qres.PositionUsers[0].DepartmentId) + } + + fReq := position.FindRuleByUserIdRequest{ + UserId: ID, + Urls: []string{e.AuthFinanceKey, e.AuthTrainingKey, e.AuthPublicizeKey, e.AuthWarehouseKey}, + } + + fRes, err1 := service.PositionProvider.FindRuleByUserId(c, &fReq) + + info = union.UserResponse{ + ID: res.Info.ID, + NickName: res.Info.NickName, + TelNum: res.Info.TelNum, + Avatar: res.Info.Avatar, + Status: res.Info.Status, + CreateAt: res.Info.CreateAt, + IsAdmin: qres.IsAdmin, + RealNameID: res.Info.RealNameID, + RealName: res.Info.RealName, + PositionUsers: qres.PositionUsers, + DepartmentLeaders: qres.DepartmentLeaders, + IsNeedChange: res.Info.IsNeedChange, + WorkYear: res.Info.WorkYear, + EnterDate: res.Info.EnterDate, + Extend: res.Info.Extend, + DepartmentName: "", + JumpTo: "", + JobNum: res.Info.JobNum, + BirthDate: res.Info.BirthDate, + Sex: res.Info.Sex, + Title: res.Info.Title, + Age: res.Info.Age, + IDNum: res.Info.IDNum, + LeftDate: res.Info.LeftDate, + DriverAuth: driverAuth, + DriverSupervisorAuth: driverSupervisorAuth, + Remark: res.Info.Remark, + RecentImg: res.Info.RecentImg, + Clocks: res.Info.Clocks, + MailAccount: res.Info.MailAccount, + ICNum: res.Info.ICNum, + Train: res.Info.Train, + Certificate: res.Info.Certificate, + TrainVideos: res.Info.TrainVideos, + } + + if res.Info.Extend != nil { + info.JumpTo = res.Info.Extend.JumpTo + } + + if len(qres.PositionUsers) >= 1 { + info.DepartmentName = qres.PositionUsers[0].DepartmentName + } + + if len(fRes.Rules) >= 1 { + info.IdentityKey = fRes.Rules[0].Url + } + + return info, nil +} + +func isHaveDriverAuth(c *gin.Context, ID uint64, DepartmentID uint64) bool { + isLeader := false + + req := position.DoIHavaAuthRequest{ + UserId: ID, + Url: e.AuthDriveKey, + DepartmentID: DepartmentID, + } + + res, err := service.PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + isLeader = true + } + + return isLeader +} + +func isHaveDriverSupervisorAuth(c *gin.Context, ID uint64, DepartmentID uint64) bool { + isLeader := false + + req := position.DoIHavaAuthRequest{ + UserId: ID, + Url: e.AuthDriveSupervisorKey, + DepartmentID: DepartmentID, + } + + res, err := service.PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + isLeader = true + } + + return isLeader +} + +func MailAccount(c *gin.Context) { + var req query.UserRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + mailReq := &account.MailAccountByNickNameRequest{NickName: req.NickName, ID: req.ID} + + mailRes, err := service.AccountProvider.MailAccountByNickName(c, mailReq) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, mailRes) + return +} + +func DepartmentLeaderList(c *gin.Context) { + var req dto.DepartmentListReq + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + findByUrlRequest := rule.FindByUrlRequest{ + Url: e.DepartmentKey, + DepartmentIds: req.DepartmentIds, + } + + fmt.Println("=============================== FindByUrlRequest ==================================") + fmt.Printf("findByUrlRequest : %+v\n", findByUrlRequest) + + res, err := service.RuleProvider.FindUsersByUrl(c, &findByUrlRequest) + + DepartmentListRes := new(dto.DepartmentListRes) + DepartmentListRes.DepartmentLeaders = make([]dto.DepartmentLeader, 0) + + if err == nil && len(res.List) > 0 { + for _, tt := range res.List { + leader := dto.DepartmentLeader{ + UserID: tt.UserId, + UserName: tt.UserName, + } + DepartmentListRes.DepartmentLeaders = append(DepartmentListRes.DepartmentLeaders, leader) + fmt.Println("=============================== FindByUrlResponse ==================================") + fmt.Printf("leader : %+v\n", leader) + + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: DepartmentListRes, + Status: e.Ok, + }) +} + +// CreateClockDevice 创建打卡机 +func CreateClockDevice(c *gin.Context) { + var req account.CreateClockDeviceRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + var in = account.CreateClockDeviceRequest{ + DeviceNum: req.DeviceNum, + DeviceName: req.DeviceName, + DeviceSite: req.DeviceSite, + } + res, err := service.AccountProvider.CreateClockDevice(c, &in) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} + +// UpdateClockDevice 更新打卡机 +func UpdateClockDevice(c *gin.Context) { + var req account.UpdateClockDeviceRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + var in = account.UpdateClockDeviceRequest{ + Id: req.Id, + DeviceNum: req.DeviceNum, + DeviceName: req.DeviceName, + DeviceSite: req.DeviceSite, + } + res, err := service.AccountProvider.UpdateClockDevice(c, &in) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} + +// RemoveClockDevice 删除打卡机 +func RemoveClockDevice(c *gin.Context) { + var req account.RemoveClockDeviceRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + var in = account.RemoveClockDeviceRequest{ + Id: req.Id, + } + res, err := service.AccountProvider.RemoveClockDevice(c, &in) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} + +// ClockDeviceInfo 查看打卡机详情 +func ClockDeviceInfo(c *gin.Context) { + var req account.ClockDeviceInfoRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + var in = account.ClockDeviceInfoRequest{ + Id: req.Id, + Page: req.Page, + PageSize: req.PageSize, + } + res, err := service.AccountProvider.ClockDeviceInfo(c, &in) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} + +// ClockDeviceList 查看打卡机列表 +func ClockDeviceList(c *gin.Context) { + var req account.ClockDeviceListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + var in = account.ClockDeviceListRequest{ + DeviceSite: req.DeviceSite, + DeviceNum: req.DeviceNum, + DeviceName: req.DeviceName, + Page: req.Page, + PageSize: req.PageSize, + } + res, err := service.AccountProvider.ClockDeviceList(c, &in) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} + +// ClockDeviceSingleUntie 单人解绑打卡机设备 +func ClockDeviceSingleUntie(c *gin.Context) { + var req account.RemoveClockDeviceRequest + deviceNums := make(map[string]string) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + var batch account.ClockBatchBindRequest + batch.Id = req.Id + devRes, err := service.AccountProvider.ClockDeviceBatchList(c, &batch) //获取设备列表 + if err != nil { + service.Error(c, e.InvalidParams, errors.New("未找到设备")) + return + } + for _, i := range devRes.Data { + deviceNums[i.DeviceNum] = i.DeviceName + } + oline := CheckDeviceIsOnline(deviceNums) + if oline != "" { + service.Error(c, e.Error, errors.New(oline)) + return + } + err = DelSingleDeviceAccount(c, devRes.Data[0].DeviceNum, devRes.Data[0].UserId) + if err != nil { + service.Error(c, e.Error, err) + return + } + res, err := service.AccountProvider.ClockDeviceSingleUntie(c, &req) //删除绑定关联 + service.Success(c, res) + return +} + +// ClockDeviceBatchBind 批量绑定打卡机 +func ClockDeviceBatchBind(c *gin.Context) { + var req account.ClockBatchBindRequest + deviceNums := make(map[string]string) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + deviceIds := account.ClockDeviceListRequest{ + Ids: req.DeviceId, + } + DeviceList, err := service.AccountProvider.ClockDeviceList(c, &deviceIds) + if err != nil { + service.Error(c, e.Error, err) + return + } + //判断设备是否在线 + for _, i := range DeviceList.Data { + deviceNums[i.DeviceNum] = i.DeviceName + } + oline := CheckDeviceIsOnline(deviceNums) + if oline != "" { + service.Error(c, e.Error, errors.New(oline)) + return + } + //判断所选员工姓名和近照是否存在 + userInfo, err := getUserInfo(c, req.UserId) + if err != nil { + service.Error(c, e.Error, err) + return + } + // 整合数据 + data, dataSet := SelectTheUserToBeDelivered(DeviceList, userInfo) + //保存不匹配的数据到新切片 + if len(data.Data) == 0 { + service.Error(c, e.Error, errors.New("所选用户已经下发过")) + return + } + //并发下发用户数据 + err = ConcurrentUpdateDeviceUser(c, dataSet, 10) + if err != nil { + service.Error(c, e.Error, err) + return + } + //添加绑定关系 + res, err := service.AccountProvider.ClockDeviceBatchBind(c, data) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +// ClockDeviceBatchUntie 批量解绑打卡机 +func ClockDeviceBatchUntie(c *gin.Context) { + var req account.ClockBatchBindRequest + deviceNums := make(map[string]string) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res1, err := service.AccountProvider.ClockDeviceBatchList(c, &req) + if len(res1.Data) == 0 { + service.Error(c, e.InvalidParams, errors.New("没有需要解绑的人员")) + return + } + //判断设备是否在线 + for _, i := range res1.Data { + deviceNums[i.DeviceNum] = i.DeviceName + } + oline := CheckDeviceIsOnline(deviceNums) + if oline != "" { + service.Error(c, e.Error, errors.New(oline)) + return + } + //整合数据 + data := DeviceNumToJobNums(res1.Data) + //下发数据 + err = DelBatchDeviceAccount(data) + if err != nil { + service.Error(c, e.InvalidParams, errors.New("下发命令失败")) + return + } + //删除关联 + res, err := service.AccountProvider.ClockDeviceBatchUntie(c, &req) + if err != nil { + service.Error(c, e.InvalidParams, errors.New("解绑失败")) + return + } + service.Success(c, res) + return +} + +// ClockDeviceCapturePhoto 抓拍现场照片 +func ClockDeviceCapturePhoto(c *gin.Context) { + var req request.NotificationDevice + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SnapPhotosOfTheScene(c, req.DeviceNum) + if err != nil { + service.Error(c, e.Error, errors.New("获取失败")) + return + } + decodedData, err := url.QueryUnescape(res) + if err != nil { + fmt.Println("URL 解码时出错:", err) + return + } + imageBytes, err := base64.StdEncoding.DecodeString(decodedData) + if err != nil { + service.Error(c, e.Error, errors.New("解码Base64时出错")) + return + } + c.Writer.Header().Set("Content-Type", "image/png") + _, _ = c.Writer.WriteString(string(imageBytes)) + service.Success(c, res) + return +} + +// ClockDeviceDetectionPhoto 检测图片质量 +func ClockDeviceDetectionPhoto(c *gin.Context) { + file, err := c.FormFile("file") + source := c.PostForm("deviceNum") + // 检验文件 + if err != nil { + logger.Errorf("Upload FormFile err", err) + service.Error(c, e.Error, err) + return + } + // 打开上传的文件 + src, err := file.Open() + if err != nil { + logger.Errorf("Open file err: %v", err) + c.JSON(http.StatusInternalServerError, gin.H{ + "error": "Unable to open file", + }) + return + } + defer src.Close() + // 读取文件内容到字节切片 + fileBytes := make([]byte, file.Size) + _, err = src.Read(fileBytes) + if err != nil { + logger.Errorf("Read file err: %v", err) + c.JSON(http.StatusInternalServerError, gin.H{ + "error": "Unable to read file", + }) + return + } + // 将字节切片编码为Base64字符串 + base64String := base64.StdEncoding.EncodeToString(fileBytes) + if err != nil { + service.Error(c, e.Error, err) + return + } + encodedData := url.QueryEscape(base64String) + res, err := CheckPictureQuality(c, source, encodedData) + if err != nil { + service.Error(c, e.Error, errors.New("获取失败")) + return + } + service.Success(c, res) +} + +// ClockDeviceRuleIssuance 人员通行规则下发 +func ClockDeviceRuleIssuance(c *gin.Context) { + var req turnstile.RuleIssuance + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + err := GeneralRuleIssuance(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("下发失败")) + return + } + service.Success(c, nil) + return +} + +// ClockDeviceRuleAcquire 获取人员通行规则 +func ClockDeviceRuleAcquire(c *gin.Context) { + var req turnstile.RuleIssuance + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := AccessRule(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("下发失败")) + return + } + service.Success(c, res) + return +} + +// ClockDeviceRuleDelete 删除人员通行规则 +func ClockDeviceRuleDelete(c *gin.Context) { + var req request.DeleteRule + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + err := DeleteRule(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("下发失败")) + return + } + service.Success(c, nil) + return +} + +// ClockDevicePasswordSwitch 设备密码开门开关 +func ClockDevicePasswordSwitch(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + err := PasswordSwitch(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("下发失败")) + return + } + service.Success(c, nil) + return +} + +// ClockDevicePasswordSet 设置设备开门密码 +func ClockDevicePasswordSet(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + err := PasswordSet(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("下发失败")) + return + } + service.Success(c, nil) + return +} + +// ClockDevicePersonSync 通知设备同步人员数据 +func ClockDevicePersonSync(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + err := PersonSync(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("下发失败")) + return + } + service.Success(c, nil) + return +} + +// ClockDevicePersonTotal 查询设备人员数量和id +func ClockDevicePersonTotal(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := PersonTotal(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("获取失败")) + return + } + service.Success(c, res) + return +} + +// ClockDevicePersonInfo 根据userid读取用户数据 +func ClockDevicePersonInfo(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := PersonInfo(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("获取失败")) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetAcquire 获取设备设置 +func ClockDeviceSetAcquire(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + lockStatus := -1 + if req.Settings[0] == "all" { + lockStatus, _ = DoorLock(c, req) + } + res, err := SetAcquire(c, req) + res.LockState = lockStatus + if err != nil { + service.Error(c, e.Error, errors.New("获取失败")) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetLogo 设置设备logo +func ClockDeviceSetLogo(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetLogo(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("获取失败")) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetSlogan 设置广告语 +func ClockDeviceSetSlogan(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetSlogan(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetTime 设置设备时间 +func ClockDeviceSetTime(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetTime(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetDoor 控制设备开门/关门 +func ClockDeviceSetDoor(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetDoor(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetInterval 设置设备识别间隔 +func ClockDeviceSetInterval(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetInterval(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetDistance 设置设备识别距离 +func ClockDeviceSetDistance(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetDistance(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetMask 口罩检测开关 +func ClockDeviceSetMask(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetMask(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetLiving 活体检测 +func ClockDeviceSetLiving(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetLiving(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetLivingClass 活体检测等级 +func ClockDeviceSetLivingClass(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetLivingClass(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetStranger 陌生人识别 +func ClockDeviceSetStranger(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetStranger(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetVolume 设备音量 +func ClockDeviceSetVolume(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetVolume(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetUsername 播放用户名 +func ClockDeviceSetUsername(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetUsername(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetHint 设置设备提示语音 +func ClockDeviceSetHint(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetHint(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetPassword 修改进入设置页面密码 +func ClockDeviceSetPassword(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetPassword(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetRestart 重启设备 +func ClockDeviceSetRestart(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetRestart(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetRelay 设置继电器状态-常开/正常 +func ClockDeviceSetRelay(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetRelay(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetCapture 设置设备识别照片抓拍的质量 +func ClockDeviceSetCapture(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetCapture(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetCallout 访问呼叫开关 +func ClockDeviceSetCallout(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetCallout(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetPrinter 打印机开关 +func ClockDeviceSetPrinter(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetPrinter(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetVisitor 首页访客申请入库内容 +func ClockDeviceSetVisitor(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetVisitor(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetToken 设置http请求的token +func ClockDeviceSetToken(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetToken(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetVerify 设置验证接口超时时长 +func ClockDeviceSetVerify(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetVerify(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetDelay 设置设备开门延迟 +func ClockDeviceSetDelay(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetDelay(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetPressTime 进入设置页面长按时间 +func ClockDeviceSetPressTime(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetPressTime(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetDesensitization 姓名脱敏显示 +func ClockDeviceSetDesensitization(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetDesensitization(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetSection 设置读卡扇区 +func ClockDeviceSetSection(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetSection(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDeviceSetRail 设置设备位置围栏 +func ClockDeviceSetRail(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := SetRail(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockScreensaverState 设备节能屏保开关 +func ClockScreensaverState(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := ScreensaverState(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockScreensaver 设置设备屏保 +func ClockScreensaver(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := Screensaver(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDelScreensaver 删除屏保 +func ClockDelScreensaver(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := DelScreensaver(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockScreensaverInterval 设置屏保显示时长 +func ClockScreensaverInterval(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := ScreensaverInterval(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureDetection 体温检测开关 +func ClockTemperatureDetection(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureDetection(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureMode 体温检测模式 +func ClockTemperatureMode(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureMode(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureStandard 初筛模式标准 +func ClockTemperatureStandard(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureStandard(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureCalibration 设置体温校准模式 +func ClockTemperatureCalibration(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureCalibration(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureLowPass 低温可通行开关 +func ClockTemperatureLowPass(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureLowPass(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperaturePlay 播报体温开关 +func ClockTemperaturePlay(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperaturePlay(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureReflectivity 设置体温反射率 +func ClockTemperatureReflectivity(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureReflectivity(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureCorrection 设置体温校准值 +func ClockTemperatureCorrection(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureCorrection(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureDistance 设置设备体温检测距离 +func ClockTemperatureDistance(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureDistance(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockTemperatureMeasure 设置测温时间段 +func ClockTemperatureMeasure(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := TemperatureMeasure(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockVersionAuto 开机自动更新 +func ClockVersionAuto(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := VersionAuto(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockVersionInfo 获取设备版本信息 +func ClockVersionInfo(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := VersionInfo(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res.Msg)) + return + } + service.Success(c, res) + return +} + +// ClockVersionPush 发送设备版本信息给服务端 +func ClockVersionPush(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := VersionPush(c, req) + if err != nil { + service.Error(c, e.Error, errors.New("获取失败")) + return + } + service.Success(c, res) + return +} + +// ClockVersionCheck 通知设备在线检查更新 +func ClockVersionCheck(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := VersionCheck(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockApplyValue 设置设备首页二维码 +func ClockApplyValue(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := ApplyValue(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockApplyPrefix 设置访客二维码前缀 +func ClockApplyPrefix(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := ApplyPrefix(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockCameraPanoramic 全景相机开关 +func ClockCameraPanoramic(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := CameraPanoramic(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockCameraParams 设置全景相机的参数 +func ClockCameraParams(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := CameraParams(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockRecognitionStyle 识别结果样式 +func ClockRecognitionStyle(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := RecognitionStyle(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockOnlineVerify 识别后在线验证 +func ClockOnlineVerify(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := OnlineVerify(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockOnlineCard 在线验证卡号 +func ClockOnlineCard(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := OnlineCard(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockOnlineIdCard 在线验证身份证号 +func ClockOnlineIdCard(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := OnlineIdCard(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockOnline 设置在线识别间隔 +func ClockOnline(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := Online(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockOnlineState 在线识别开关 +func ClockOnlineState(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := OnlineState(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockOnlineTemporary 临时启用在线识别 +func ClockOnlineTemporary(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := OnlineTemporary(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDiscernSettings 设置可通行人员类型 +func ClockDiscernSettings(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := DiscernSettings(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDiscernClass 设置设备识别置信度 +func ClockDiscernClass(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := DiscernClass(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockForbiddenSwitch 开启/关闭设备识别 +func ClockForbiddenSwitch(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := ForbiddenSwitch(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockForbiddenNumber 停用状态通行人数 +func ClockForbiddenNumber(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := ForbiddenNumber(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockAdvertisingAdd 下发广告 - 图片 +func ClockAdvertisingAdd(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := AdvertisingAdd(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockAdvertisingDel 删除广告 +func ClockAdvertisingDel(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := AdvertisingDel(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockAdvertisingChange 启用停用广告 +func ClockAdvertisingChange(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := AdvertisingChange(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockDoorLock 获取(上报)门锁状态 +func ClockDoorLock(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := DoorLock(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(strconv.Itoa(res))) + return + } + service.Success(c, res) + return +} + +// ClockDoorListener 设置门锁实时监听开关 +func ClockDoorListener(c *gin.Context) { + var req request.DeviceReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := DoorListener(c, req) + if err != nil { + service.Error(c, e.Error, errors.New(res)) + return + } + service.Success(c, res) + return +} + +// ClockLogList 打卡记录列表 +func ClockLogList(c *gin.Context) { + req := &account.ClockLogReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.AccountProvider.FindClockLogList(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +// ClockLogInfo 打卡记录详情 +func ClockLogInfo(c *gin.Context) { + req := &account.ClockLogReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.AccountProvider.FindClockLogList(c, req) + + res.Count = uint64(len(res.Data)) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +// ClockVisitor 访客申请 +func ClockVisitor(c *gin.Context) { + req := &account.ClockLogInfo{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + face, _ := SnapPhotosOfTheScene(c, req.Sn) + decodedData, err := url.QueryUnescape(face) + if err != nil { + fmt.Println("URL 解码时出错:", err) + return + } + uuids, _ := uuid.NewV4() + var objectName = fmt.Sprintf("%s/%s/%s.jpeg", config.ConfigData.Oss.BaseDir, config.Env, uuids) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + imageBytes, err := base64.StdEncoding.DecodeString(decodedData) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, imageBytes) + Url := fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + + if err != nil { + service.Error(c, e.Error, errors.New("解码Base64时出错")) + return + } + userReq := &account.UserByTelRequest{ + Tel: req.ReceiverTel, + } + userRes, err := service.AccountProvider.UserByTel(c, userReq) + if userRes.Info.ID == 0 || err != nil { + service.Error(c, e.Error, errors.New("接待人不存在")) + return + } + req = &account.ClockLogInfo{ + Sn: req.Sn, + UserId: "F1000001", + RecogType: "manual_visitor", + RecogTime: time.Now().Format("2006-01-02 15:04:05"), + Gender: req.Gender, + Photo: Url, + PassStatus: 1, + UserName: req.UserName, + UserType: 2, + Tel: req.Tel, + ReasonVisit: req.ReasonVisit, + ReceiverTel: req.ReceiverTel, + NumOfPeople: req.NumOfPeople, + } + res, err := service.AccountProvider.CreateClockLog(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + strangerReq := account.SendClockInWechatRequest{ + GhId: "gh_d838598b1a23", + Address: req.Sn, + UserId: uint32(userRes.Info.ID), + LogId: res.Id, + } + _, err = service.AccountProvider.SendStrangerClockInWechat(c, &strangerReq) + if err != nil { + service.Error(c, e.Error, errors.New("接待人未注册")) + return + } + service.Success(c, res) + return +} + +// ExamineList 审核列表 +func ExamineList(c *gin.Context) { + var req account.WriteOffListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.AccountProvider.FindWriteOffList(c, &req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) +} + +// ExamineApprove 审批 +func ExamineApprove(c *gin.Context) { + var req account.WriteOffApproveRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.AccountProvider.WriteOffInfo(c, &req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if res.Status != 1 { + service.Error(c, e.InvalidParams, errors.New("审批结束,不可重复提交")) + return + } + _, err = service.AccountProvider.WriteOffUpdate(c, &req) + if err != nil { + service.Error(c, e.InvalidParams, errors.New("审批错误")) + return + } + // 拒绝审批 + if req.Status == 3 { + service.Success(c, res) + return + } + // 通过审批 + if req.Status == 2 { + err := handleApprovalSuccess(c, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return + } + + service.Error(c, e.InvalidParams, errors.New("参数错误")) + return +} + +// ArtworkUserLogin 用户登录操作 +func ArtworkUserLogin(c *gin.Context) { + + var jumpToWhere = "setting" + + var req account.LoginRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Ip = c.ClientIP() + + res, err := service.AccountProvider.Login(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: res.AccountInfo.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + if isHaveAuth(c, res.AccountInfo.ID, e.AuthArtworkFix, "button") == false { + service.Error(c, e.Error, errors.New("您暂时没有登陆的权限")) + return + } + + accountInfo := &union.AccountInfo{ + ID: res.AccountInfo.ID, + Account: res.AccountInfo.Account, + NickName: res.AccountInfo.NickName, + Domain: res.AccountInfo.Domain, + TelNum: res.AccountInfo.TelNum, + Status: res.AccountInfo.Status, + Avatar: res.AccountInfo.Avatar, + CreatedAt: res.AccountInfo.CreateAt, + IsNeedChange: res.AccountInfo.IsNeedChange, + EnterDate: res.AccountInfo.EnterDate, + WorkYear: res.AccountInfo.WorkYear, + IsAdmin: qres.IsAdmin, + PositionUsers: qres.PositionUsers, + JumpTo: res.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: res.AccountInfo.JobNum, + BirthDate: res.AccountInfo.BirthDate, + Age: res.AccountInfo.Age, + Sex: res.AccountInfo.Sex, + Title: res.AccountInfo.Title, + IDNum: res.AccountInfo.IDNum, + MailAccount: res.AccountInfo.MailAccount, + Train: res.AccountInfo.Train, + Certificate: res.AccountInfo.Certificate, + TrainVideos: res.AccountInfo.TrainVideos, + } + + code := "xxx" + if len(qres.PositionUsers) >= 1 { + accountInfo.DepartmentName = qres.PositionUsers[0].DepartmentName + code = secret.GetPositionCode(qres.PositionUsers[0].PositionName) + } + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, res.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: res.RefreshToken, + AccountInfo: accountInfo, + JumpToWhere: jumpToWhere, + } + + fmt.Println("是否相同:", res.IsSampleAddress, res.AccountInfo.NowLogId) + if res.IsSampleAddress == false && res.AccountInfo.NowLogId != 0 { //登陆地址异常 + + url := fmt.Sprintf("https://erpapi.fontree.cn/off7524164487E?id=%d", res.AccountInfo.NowLogId) + shortUrl, err := utils.CreateShortUrl(url) + if err == nil { + url = shortUrl + } + + msgReq := account.SendCustomMsgRequest{ + ID: res.AccountInfo.ID, + TelNum: res.AccountInfo.TelNum, + MId: 134802, + SigNo: uint32(config.DefaultSignNo), + } + + msgReq.Url = res.NowAddress + "|" + url + fmt.Println("发送短信", msgReq) + service.AccountProvider.SendCustomMsg(c, &msgReq) + + } + + service.Success(c, resInfo) + + return +} + +func isHaveAuth(c *gin.Context, ID uint64, url, ruleType string) bool { + isLeader := false + + req := position.DoIHavaAuthRequest{ + UserId: ID, + Url: url, + Type: ruleType, + } + + res, err := service.PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + isLeader = true + } + + return isLeader +} + +// handleApprovalSuccess 处理通过审批的逻辑 +func handleApprovalSuccess(c *gin.Context, req *account.WriteOffRequest) error { + // 获取用户信息 + user, err := GetUserInfoById(c, req.UserId, req.Domain) + if err != nil { + return err + } + // 构建新的岗位用户列表,排除当前岗位 + newPositionUsers := filterPositionUsers(user.PositionUsers, req.SiteId) + // 替换岗位 + positionReq := &position.BindUserRequest{ + Domain: user.Domain, + UserID: user.ID, + UserName: user.NickName, + Avatar: user.Avatar, + PositionUsers: newPositionUsers, + } + _, err = service.PositionProvider.BindUser(c, positionReq) + if err != nil { + return err + } + // 如果用户不属于其他部门,则将其状态设置为"left" + if len(newPositionUsers) == 0 { + removeReq := account.UpdateRequest{ + Domain: "fontree", + ID: req.UserId, + Status: "left", + Operator: &account.Operator{ + ID: 0, + Name: "销售宝", + }, + } + _, err = service.AccountProvider.Update(c, &removeReq) + if err != nil { + return err + } + } + + return nil +} + +// filterPositionUsers 过滤掉指定岗位的用户 +func filterPositionUsers(users []*rule.PositionUser, siteID uint64) []*position.PositionUser { + var newPositionUsers []*position.PositionUser + for _, u := range users { + if u.DepartmentId != siteID { + p := &position.PositionUser{ + PositionID: u.PositionID, + DepartmentID: u.DepartmentId, + DepartmentCode: u.DepartmentCode, + UserId: u.UserId, + UserName: u.UserName, + DepartmentName: u.DepartmentName, + PositionName: u.PositionName, + } + newPositionUsers = append(newPositionUsers, p) + } + } + return newPositionUsers +} + +func GetECardInfo(userID uint64, changedPlace string) (addChainRequest *e_card.AddChainRequest, err error) { + // 生成电子名片 + // 获取用户信息,如果是非erp用户则不需要生成电子名片 + infoRequest := &account.InfoRequest{ + Domain: "fontree", + ID: userID, + } + var userInfo *account.InfoResponse + userInfo, err = service.AccountProvider.Info(context.Background(), infoRequest) + if err != nil { + return + } + // 重新获取用户的部门、岗位 + rulesReq := &rule.RulesRequest{ + AccountID: userID, + } + + qres, err := service.RuleProvider.UserInfo(context.Background(), rulesReq) + if err != nil { + return + } + + var departments []string + var posts []string + + for _, positionUser := range qres.PositionUsers { + departments = append(departments, positionUser.DepartmentName) + posts = append(posts, positionUser.PositionName) + } + + addChainRequest = &e_card.AddChainRequest{ + Name: userInfo.Info.NickName, + Phone: userInfo.Info.TelNum, + Company: "泰丰文化集团", + Department: departments, + Post: posts, + DateOnBoard: userInfo.Info.EnterDate, + UserID: int32(userID), + Addr: userInfo.Info.Account, + ChangedPlace: changedPlace, + } + + return +} diff --git a/pkg/service/account/account_v2.go b/pkg/service/account/account_v2.go new file mode 100644 index 0000000..16ca873 --- /dev/null +++ b/pkg/service/account/account_v2.go @@ -0,0 +1,1231 @@ +package account + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/constant" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic/auth" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/query" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/turnstile" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/v2/user" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/fonchain_enterprise/utils/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "unicode/utf8" +) + +// UserRegisterV2 用户注册操作 +func UserRegisterV2(c *gin.Context) { + var req query.User + var res *account.RequestStatus + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if req.Password == "" { + req.Password = e.DEFAULT_PWD + } + + err, res := UserRegistersV2(c, req) //注册 + + if err != nil { + + if err.Error() == "账号已存在" { + service.Error(c, e.InvalidParams, errors.New("该手机号已存在,请检查此人是否在其他部门")) + return + } + + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +//UserLoginSqueezeOther 检测相同帐号的状态 + +// UserLoginSqueezeOther 用户登录操作 +func UserLoginSqueezeOther(c *gin.Context) { + + var jumpToWhere = "setting" + var isDriverAuth = false + var isDriverSupervisorAuth = false + + var req account.LoginRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Ip = c.ClientIP() + req.From = "" + + isAuth, err := isOnlySiteAuth(c, req.TelNum) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + var res *account.TokenInfo + if isAuth == true { //没有唯一登录的权限 + req.From = e.LoginFromPC + res, err = service.AccountProvider.LoginAndSqueezeOther(c, &req) + } else { //老登陆 + res, err = service.AccountProvider.Login(c, &req) + } + + if err != nil { + service.Error(c, e.Error, err) + return + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: res.AccountInfo.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + if len(qres.PositionUsers) >= 1 { + isDriverAuth = isHaveDriverAuth(c, res.AccountInfo.ID, qres.PositionUsers[0].DepartmentId) + isDriverSupervisorAuth = isHaveDriverSupervisorAuth(c, res.AccountInfo.ID, qres.PositionUsers[0].DepartmentId) + } + + accountInfo := &union.AccountInfo{ + ID: res.AccountInfo.ID, + Account: res.AccountInfo.Account, + NickName: res.AccountInfo.NickName, + Domain: res.AccountInfo.Domain, + TelNum: res.AccountInfo.TelNum, + Status: res.AccountInfo.Status, + Avatar: res.AccountInfo.Avatar, + CreatedAt: res.AccountInfo.CreateAt, + IsNeedChange: res.AccountInfo.IsNeedChange, + EnterDate: res.AccountInfo.EnterDate, + WorkYear: res.AccountInfo.WorkYear, + IsAdmin: qres.IsAdmin, + PositionUsers: qres.PositionUsers, + JumpTo: res.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: res.AccountInfo.JobNum, + BirthDate: res.AccountInfo.BirthDate, + Age: res.AccountInfo.Age, + Sex: res.AccountInfo.Sex, + Title: res.AccountInfo.Title, + IDNum: res.AccountInfo.IDNum, + DriverAuth: isDriverAuth, + DriverSupervisorAuth: isDriverSupervisorAuth, + MailAccount: res.AccountInfo.MailAccount, + Train: res.AccountInfo.Train, + Certificate: res.AccountInfo.Certificate, + TrainVideos: res.AccountInfo.TrainVideos, + } + + code := "xxx" + if len(qres.PositionUsers) >= 1 { + accountInfo.DepartmentName = qres.PositionUsers[0].DepartmentName + code = secret.GetPositionCode(qres.PositionUsers[0].PositionName) + } + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, res.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + ruleUrlReq := rule.FindRuleByUrlRequest{ + AccountID: accountInfo.ID, + Type: "menu", + Domain: accountInfo.Domain, + Url: "/home", + Method: "*", + } + + ruleInfo, ruleErr := service.RuleProvider.FindUserRule(c, &ruleUrlReq) + if ruleInfo.IsPass == true { + jumpToWhere = "home" + } + + if ruleErr != nil { + service.Error(c, e.Error, ruleErr) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: res.RefreshToken, + AccountInfo: accountInfo, + JumpToWhere: jumpToWhere, + } + + fmt.Println("是否相同:", res.IsSampleAddress, res.AccountInfo.NowLogId) + if res.IsSampleAddress == false && res.AccountInfo.NowLogId != 0 { //登陆地址异常 + + url := fmt.Sprintf("https://erpapi.fontree.cn/off7524164487E?id=%d", res.AccountInfo.NowLogId) + shortUrl, err := utils.CreateShortUrl(url) + if err == nil { + url = shortUrl + } + + msgReq := account.SendCustomMsgRequest{ + ID: res.AccountInfo.ID, + TelNum: res.AccountInfo.TelNum, + MId: 134802, + SigNo: uint32(config.DefaultSignNo), + } + + msgReq.Url = res.NowAddress + "|" + url + fmt.Println("发送短信", msgReq) + service.AccountProvider.SendCustomMsg(c, &msgReq) + + } + + service.Success(c, resInfo) + + return +} + +// isOnlySiteAuth 检测相同帐号的状态 +func isOnlySiteAuth(c *gin.Context, tel string) (bool, error) { + //创建一个UserLoginService对象 + var req account.SampleAccountRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + return false, err + } + + userByTelRes, err := service.AccountProvider.UserByTel(c, &account.UserByTelRequest{Tel: tel}) + if err != nil { + return false, err + } + + if userByTelRes == nil || userByTelRes.IsExist == false { + return false, errors.New(e.ErrAccountNotExist) + } + + if isHaveAuth(c, userByTelRes.Info.ID, e.AUthOnlySiteLogin, "button") == false { + return false, nil + } + + return true, nil + +} + +// SampleAccount 检测相同帐号的状态 +func SampleAccount(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.SampleAccountRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if req.TelNum == "" { + service.Error(c, e.InvalidParams, errors.New("no tel exist!")) + return + } + + req.From = e.LoginFromPC + + sampleAccountRes := &account.SampleAccountResponse{IsNowAlreadyLogin: false, Num: 0} + + isAuth, err := isOnlySiteAuth(c, req.TelNum) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if isAuth == true { //没有唯一登录的权限 + sampleAccountRes, err = service.AccountProvider.SampleAccount(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.Success(c, sampleAccountRes) + return +} + +// ListV2 列表 +func ListV2(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.ListV2Request + var userIds []uint32 + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if req.EndEnterDate != "" { + req.EndEnterDate += " 23:59:59" + } + + response := vo.PageResponseV2{ + Count: 0, + } + + res, err := service.AccountProvider.ListV2(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if res.Count <= 0 { + service.Success(c, response) + return + } + response.Count = res.Count + + for _, v := range res.Data { + userIds = append(userIds, uint32(v.ID)) + } + + //查询部门 + puRequest := &position.UserInfosV2Request{IDs: userIds} + puRes, err := service.PositionProvider.UserInfosV2(c, puRequest) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.FatherDepartmentId != 0 { //父级节点 + + treeRes, err := auth.GetAllCompanyAuthTree() + + if err != nil { + + service.Error(c, e.Error, err) + return + } + + nodes := getNowList(treeRes.Nodes, req.FatherDepartmentId) + fmt.Println("1---------------", nodes, err) + idsMap := make(map[uint32]struct{}, len(nodes)) + for _, v := range nodes { + idsMap[v.ID] = struct{}{} + } + fmt.Println("1-------------------", idsMap) + + response.Data, err = serializer.UserV3(res, puRes, req.FatherDepartmentId, idsMap) + + if err != nil { + service.Error(c, e.Error, err) + return + } + } else { + response.Data = serializer.UserV2(res, puRes, req.DepartmentId) + } + + service.Success(c, response) + return +} + +// CheckBeforeRegister 插入前检测 +func Face(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.IsSamePersonRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AccountProvider.IsSamePerson(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// CheckBeforeRegister 插入前检测 +func CheckBeforeRegister(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.CheckBeforeRegisterRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + lang := c.Request.Header.Get("Accept-Language") + tempContext := context.WithValue(c, constant.DubboCtxKey("attachment"), map[string]interface{}{"lang": lang}) + + res, err := service.AccountProvider.CheckBeforeRegister(tempContext, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// BatchRemoveV2 用户删除 +func BatchRemoveV2(c *gin.Context) { + //创建一个UserLoginService对象 + var req query.BatchRemoves + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + for _, v := range req.IDs { + + _, err := service.AccountProvider.Remove(context.Background(), &account.RemoveRequest{ID: uint64(v)}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //岗位删除 + positionReq := &position.RemoveUserRequest{ + ID: uint64(v), + } + + _, err1 := service.PositionProvider.RemoveUser(c, positionReq) + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + } + + service.Success(c, struct{}{}) + return +} + +// RemoveV2 用户删除 +func RemoveV2(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.RemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + _, err := service.AccountProvider.Remove(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //岗位删除 + positionReq := &position.RemoveUserRequest{ + ID: req.ID, + } + + _, err1 := service.PositionProvider.RemoveUser(c, positionReq) + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + service.Success(c, struct{}{}) + return +} + +func InfoV2(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.InfoRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + user, err := GetUserInfoById(c, req.ID, req.Domain) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, user) + return +} + +// ResetPwd 用户更新信息 +func ResetPwd(c *gin.Context) { + //创建一个UserLoginService对象 + var req query.BatchRemoves + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo, err := login.GetUserInfoFromCV2(c) + + if err != nil { + service.NotLoginRes(c, err.Error()) + return + } + + for _, k := range req.IDs { + + var updateReq = account.UpdateRequest{ + ID: uint64(k), + Password: e.DEFAULT_PWD, + Operator: &account.Operator{ + ID: uint32(userInfo.ID), + Name: "重置密码:" + userInfo.NickName, + }, + } + + _, err := service.AccountProvider.Update(context.Background(), &updateReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + } + + //账号服务 + service.Success(c, struct{}{}) + return +} + +// UpdateV2 用户更新信息 +func UpdateV2(c *gin.Context) { + //创建一个UserLoginService对象 + var req query.User + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if req.NickName == "" || utf8.RuneCountInString(req.NickName) >= 20 { + service.Error(c, e.InvalidParams, errors.New(e.GetMsg(e.ErrNickName))) + return + } + + userInfo := login.GetUserInfoFromC(c) + + //账号服务 + var updateReq = account.UpdateRequest{ + ID: req.ID, + NickName: req.NickName, + Password: req.Password, + TelNum: req.TelNum, + Avatar: req.Avatar, + Status: req.Status, + EnterDate: req.EnterDate, + JobNum: req.JobNum, + BirthDate: req.BirthDate, + Sex: req.Sex, + Title: req.Title, + LeftDate: req.LeftDate, + RecentImg: req.RecentImg, + ICNum: req.ICNum, + Operator: &account.Operator{ + ID: uint32(userInfo.ID), + Name: "人员管理:" + userInfo.NickName, + }, + } + + updateReq.Extend = &account.Extend{ + JumpTo: req.Extend.JumpTo, + Lang: req.Extend.Lang, + CanScan: req.Extend.CanScan, + ResolutionRatio: req.Extend.ResolutionRatio, + } + + userObj, err := GetUserInfoById(c, req.ID, config.Domain) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + _, err = service.AccountProvider.Update(context.Background(), &updateReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + positionReq := getFormPositionReq(req, uint32(req.ID)) + + _, err = service.PositionProvider.BindUserV2(c, positionReq) + + if req.RecentImg != "" && len(userObj.Clocks) > 0 && (req.RecentImg != userObj.RecentImg || req.NickName != + userObj.NickName || req.TelNum != userObj.TelNum || req.ICNum != userObj.ICNum) { + var dataSet []turnstile.DeviceUserData + var userId account.ClockUserDeviceBatch + deviceNums := make(map[string]string) + for _, i := range userObj.Clocks { + data := turnstile.DeviceUserData{ + JobNum: userObj.ID, + RecentImg: req.RecentImg, + DeviceNum: i.Device.DeviceNum, + NickName: req.NickName, + Phone: req.TelNum, + DeviceName: i.Device.DeviceName, + IcNum: req.ICNum, + } + dataSet = append(dataSet, data) + } + for _, i := range userObj.Clocks { + deviceNums[i.Device.DeviceNum] = i.Device.DeviceName + } + //判断设备是否离线 + oline := CheckDeviceIsOnline(deviceNums) + if oline != "" { + service.Error(c, e.Error, errors.New(oline)) + return + } + //并发下发数据 + err = ConcurrentUpdateDeviceUser(c, dataSet, 10) + if err != nil { + service.Error(c, e.Error, err) + return + } + //更新绑定关系 + userId.UserId = userObj.ID + _, err = service.AccountProvider.UpdateDeviceRelevance(c, &userId) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + service.Success(c, struct{}{}) +} + +func UserRegistersV2(c *gin.Context, req query.User) (err error, res *account.RequestStatus) { + if req.Avatar == "" { + req.Avatar = "https://dci-file-new.bj.bcebos.com/fonchain-main/test/runtime/image/avatar/40/b8ed6fea-6662-416d-8bb3-1fd8a8197061.jpg" + } + + userInfo := login.GetUserInfoFromC(c) + + //账号服务 + registRequest := account.RegistRequest{ + Domain: config.Domain, + NickName: req.NickName, + TelNum: req.TelNum, + Password: req.Password, + JobNum: req.JobNum, + Status: req.Status, + Avatar: req.Avatar, + EnterDate: req.EnterDate, + LeftDate: req.LeftDate, + Extend: &account.Extend{JumpTo: "setting"}, + RecentImg: req.RecentImg, + Source: "", + Operator: &account.Operator{ + ID: uint32(userInfo.ID), + Name: userInfo.NickName, + }, + } + + res, err = service.AccountProvider.Register(c, ®istRequest) + if err != nil { + return err, res + } + + if len(req.DepPositions) <= 0 { + return nil, res + } + + //if len(req.DepPositions) > 0 && req.PositionUsers[0].DepartmentName != "" && req.PositionUsers[0].PositionName != "" { + positionReq := getFormPositionReq(req, uint32(res.ID)) + fmt.Println("推送数据positionReq", positionReq) + s, err := json.Marshal(positionReq) + fmt.Println("user_list", string(s)) + + _, err = service.PositionProvider.BindUserV2(c, positionReq) + + if err != nil { + return err, nil + } + + return err, res +} + +func getFormPositionDepartmentReqV2(req query.User, userId uint32, controllerDepIds []uint) (*position.BindUserV2Request, error) { + + departmentIdMap := make(map[uint32]struct{}, len(controllerDepIds)) + + for _, v := range controllerDepIds { + departmentIdMap[uint32(v)] = struct{}{} + } + // 获取老的全部岗位 + oldAllPositionRes, err := service.PositionProvider.UserInfoV2(context.Background(), &position.CreateResponse{ID: uint64(userId)}) + if err != nil { + return nil, err + } + + //岗位服务 绑定岗位 + positionReq := &position.BindUserV2Request{ + Domain: config.Domain, + UserInfo: &position.UserInfo{ + UserName: req.NickName, + Avatar: req.Avatar, + UserID: userId, + }, + } + + if len(req.DepPositions) > 0 { + var deps []*position.DepPosition + for _, v := range req.DepPositions { + temp := &position.DepPosition{ + ID: uint32(v.ID), + Name: v.Name, + IsLeader: v.IsLeader, + } + for _, v1 := range v.Positions { + temp.Positions = append(temp.Positions, &position.PositionV2{ID: uint32(v1.ID), Name: v1.Name}) + } + + deps = append(deps, temp) + } + + positionReq.DepPositions = deps + + } + + for k, v := range oldAllPositionRes.DepPositions { + //如果不在则增加 + if _, exist := departmentIdMap[v.ID]; exist == false { + positionReq.DepPositions = append(positionReq.DepPositions, oldAllPositionRes.DepPositions[k]) + } + } + + return positionReq, err +} + +func getFormPositionReq(req query.User, userId uint32) *position.BindUserV2Request { + + //岗位服务 绑定岗位 + positionReq := &position.BindUserV2Request{ + Domain: config.Domain, + UserInfo: &position.UserInfo{ + UserName: req.NickName, + Avatar: req.Avatar, + UserID: userId, + }, + } + + if len(req.DepPositions) > 0 { + var deps []*position.DepPosition + for _, v := range req.DepPositions { + temp := &position.DepPosition{ + ID: uint32(v.ID), + Name: v.Name, + IsLeader: v.IsLeader, + } + for _, v1 := range v.Positions { + temp.Positions = append(temp.Positions, &position.PositionV2{ID: uint32(v1.ID), Name: v1.Name}) + } + + deps = append(deps, temp) + } + + positionReq.DepPositions = deps + + } + + return positionReq +} + +// MyInfo 当前用户详情 +func MyInfo(c *gin.Context) { + //创建一个UserLoginService对象 + userInfo := login.GetUserInfoFromC(c) + + res, err := GetUserInfoByIdV2(c, userInfo.ID) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, res) + return +} + +func DetailV2(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.InfoRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := GetBaseUserInfoByIdV2(c, req.ID) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, res) + return +} + +// BossDetailUpdate 展示当前用户的可以看到的部门列表下 当前人员的部门 +func BossDetailUpdate(c *gin.Context) { + //创建一个UserLoginService对象 + var req query.User + var departmentIds []uint + + userInfo := login.GetUserInfoFromC(c) + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if req.NickName == "" || utf8.RuneCountInString(req.NickName) >= 20 { + service.Error(c, e.InvalidParams, errors.New(e.GetMsg(e.ErrNickName))) + return + } + + departmentRes, err := service.DepartmentProvider.BaseList(c, &department.BaseAllRequest{UserID: uint32(userInfo.ID)}) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + for _, v := range departmentRes.Data { + departmentIds = append(departmentIds, uint(v.ID)) + } + + //账号服务 + var updateReq = account.UpdateRequest{ + ID: req.ID, + NickName: req.NickName, + Password: req.Password, + TelNum: req.TelNum, + Avatar: req.Avatar, + Status: req.Status, + EnterDate: req.EnterDate, + JobNum: req.JobNum, + BirthDate: req.BirthDate, + Sex: req.Sex, + Title: req.Title, + LeftDate: req.LeftDate, + RecentImg: req.RecentImg, + ICNum: req.ICNum, + Operator: &account.Operator{ + ID: uint32(userInfo.ID), + Name: "人员管理:" + userInfo.NickName, + }, + } + + updateReq.Extend = &account.Extend{ + JumpTo: req.Extend.JumpTo, + Lang: req.Extend.Lang, + CanScan: req.Extend.CanScan, + ResolutionRatio: req.Extend.ResolutionRatio, + } + + userObj, err := GetUserInfoById(c, req.ID, config.Domain) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + //获取默认所有的部门岗位以及ID + positionReq, err := getFormPositionDepartmentReqV2(req, uint32(req.ID), departmentIds) + if err != nil { + service.Error(c, e.Error, err) + return + } + + _, err = service.AccountProvider.Update(context.Background(), &updateReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + _, err = service.PositionProvider.BindUserV2(c, positionReq) + + //// 生成电子名片信息 + //addChainRequest, err := GetECardInfo(req.ID, "系统设置-人员管理") + //fmt.Println("系统设置-人员管理", addChainRequest) + //if err != nil { + // service.Error(c, e.InvalidParams, err) + // return + //} + // + //_, err = service.ECardProvider.AddChain(c, addChainRequest) + //if err != nil { + // service.Error(c, e.InvalidParams, err) + // return + //} + + if req.RecentImg != "" && len(userObj.Clocks) > 0 && (req.RecentImg != userObj.RecentImg || req.NickName != + userObj.NickName || req.TelNum != userObj.TelNum || req.ICNum != userObj.ICNum) { + var dataSet []turnstile.DeviceUserData + var userId account.ClockUserDeviceBatch + deviceNums := make(map[string]string) + for _, i := range userObj.Clocks { + data := turnstile.DeviceUserData{ + JobNum: userObj.ID, + RecentImg: req.RecentImg, + DeviceNum: i.Device.DeviceNum, + NickName: req.NickName, + Phone: req.TelNum, + DeviceName: i.Device.DeviceName, + IcNum: req.ICNum, + } + dataSet = append(dataSet, data) + } + for _, i := range userObj.Clocks { + deviceNums[i.Device.DeviceNum] = i.Device.DeviceName + } + //判断设备是否离线 + oline := CheckDeviceIsOnline(deviceNums) + if oline != "" { + service.Error(c, e.Error, errors.New(oline)) + return + } + //并发下发数据 + err = ConcurrentUpdateDeviceUser(c, dataSet, 10) + if err != nil { + service.Error(c, e.Error, err) + return + } + //更新绑定关系 + userId.UserId = userObj.ID + _, err = service.AccountProvider.UpdateDeviceRelevance(c, &userId) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.Success(c, struct{}{}) +} + +// DetailNowDepartmentV2 展示当前用户的可以看到的部门列表下 当前人员的部门 +func DetailNowDepartmentV2(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.InfoRequest + var departmentIds []uint + + logger.Error("领导查看用户开始") + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + logger.Error("领导查看用户,请求", req) + + userInfo := login.GetUserInfoFromC(c) + logger.Error("领导查看用户,信息", userInfo) + fmt.Println("1-----------", userInfo) + + res, err := service.DepartmentProvider.BaseList(c, &department.BaseAllRequest{UserID: uint32(userInfo.ID)}) + + logger.Error("领导查看用户,返回", res, err) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + for _, v := range res.Data { + departmentIds = append(departmentIds, uint(v.ID)) + } + + logger.Error("领导查看用户,部门id", departmentIds) + fmt.Println("1------------", departmentIds) + userRes, err := GetBaseUserInfoByIdAndDepIDV2(c, req.ID, departmentIds) + + logger.Error("领导查看用户,返回", userRes, err) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, userRes) + return +} + +// GetBaseUserInfoByIdAndDepIDV2 数据展示 仅仅展示可以看见的部门 +func GetBaseUserInfoByIdAndDepIDV2(c *gin.Context, ID uint64, departmentIds []uint) (*user.BaseUserResponse, error) { + info := &user.BaseUserResponse{} + + departmentIdMap := make(map[uint32]struct{}, len(departmentIds)) + for _, v := range departmentIds { + departmentIdMap[uint32(v)] = struct{}{} + } + + req := account.InfoRequest{ + ID: ID, + } + + logger.Error("领导查看用户,数据展示", req) + res, err := service.AccountProvider.Info(c, &req) + if err != nil { + return info, err + } + + logger.Error("领导查看用户,数据展示请求", ID) + puRes, err := service.PositionProvider.UserInfoV2(c, &position.CreateResponse{ID: ID}) + + logger.Error("领导查看用户,数据展示请求", puRes, err) + if err != nil { + return info, err + } + + temp := &user.BaseUserResponse{ + ID: res.Info.ID, + JobNum: res.Info.JobNum, + NickName: res.Info.NickName, + TelNum: res.Info.TelNum, + MailAccount: res.Info.MailAccount, + Avatar: res.Info.Avatar, + RecentImg: res.Info.RecentImg, + Status: res.Info.Status, + EnterDate: res.Info.EnterDate, + UpdatedAt: res.Info.UpdatedAt, + } + + if res.Info.Status == serializer.USERLEFT { //离职 手机号优化下 + temp.TelNum = serializer.GetLeftToNormalStaffRealTel(temp.TelNum) + } + + if res.Info.Operator != nil { + temp.OperatorName = res.Info.Operator.Name + } + + var canSeeDepPositions []*position.DepPosition + + if departmentIdMap != nil { + for k, v := range puRes.DepPositions { + if _, exist := departmentIdMap[v.ID]; exist { + canSeeDepPositions = append(canSeeDepPositions, puRes.DepPositions[k]) + } + } + } + + temp.DepPositions = canSeeDepPositions + + return temp, nil +} + +func GetBaseUserInfoByIdV2(c *gin.Context, ID uint64) (*user.BaseUserResponse, error) { + info := &user.BaseUserResponse{} + + req := account.InfoRequest{ + ID: ID, + } + + res, err := service.AccountProvider.Info(c, &req) + if err != nil { + return info, err + } + + puRes, err := service.PositionProvider.UserInfoV2(c, &position.CreateResponse{ID: ID}) + + if err != nil { + return info, err + } + + temp := &user.BaseUserResponse{ + ID: res.Info.ID, + JobNum: res.Info.JobNum, + NickName: res.Info.NickName, + TelNum: res.Info.TelNum, + MailAccount: res.Info.MailAccount, + Avatar: res.Info.Avatar, + RecentImg: res.Info.RecentImg, + Status: res.Info.Status, + EnterDate: res.Info.EnterDate, + UpdatedAt: res.Info.UpdatedAt, + } + + if res.Info.Operator != nil { + temp.OperatorName = res.Info.Operator.Name + } + + if res.Info.Status == serializer.USERLEFT { //离职 手机号优化下 + temp.TelNum = serializer.GetLeftToNormalStaffRealTel(temp.TelNum) + } + + temp.DepPositions = puRes.DepPositions + + return temp, nil +} + +func GetUserInfoByIdV2(c *gin.Context, ID uint64) (user.UserResponse, error) { + info := user.UserResponse{} + + req := account.InfoRequest{ + ID: ID, + } + + res, err := service.AccountProvider.Info(c, &req) + if err != nil { + return info, err + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: req.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + return info, err1 + } + + pUserInfo, err := service.PositionProvider.UserInfoV2(c, &position.CreateResponse{ID: req.ID}) + + if err != nil { + return info, err1 + } + + fReq := position.FindRuleByUserIdRequest{ + UserId: ID, + Urls: []string{e.AuthFinanceKey, e.AuthTrainingKey, e.AuthPublicizeKey, e.AuthWarehouseKey}, + } + + fRes, err := service.PositionProvider.FindRuleByUserId(c, &fReq) + if err != nil { + return info, err1 + } + + info = user.UserResponse{ + ID: res.Info.ID, + NickName: res.Info.NickName, + TelNum: res.Info.TelNum, + Avatar: res.Info.Avatar, + Status: res.Info.Status, + CreateAt: res.Info.CreateAt, + IsAdmin: qres.IsAdmin, + RealNameID: res.Info.RealNameID, + RealName: res.Info.RealName, + PositionUsers: qres.PositionUsers, + DepartmentLeaders: qres.DepartmentLeaders, + IsNeedChange: res.Info.IsNeedChange, + WorkYear: res.Info.WorkYear, + EnterDate: res.Info.EnterDate, + DepartmentName: "", + JumpTo: "", + JobNum: res.Info.JobNum, + BirthDate: res.Info.BirthDate, + Sex: res.Info.Sex, + Title: res.Info.Title, + Age: res.Info.Age, + IDNum: res.Info.IDNum, + LeftDate: res.Info.LeftDate, + RecentImg: res.Info.RecentImg, + Clocks: res.Info.Clocks, + MailAccount: res.Info.MailAccount, + ICNum: res.Info.ICNum, + Train: res.Info.Train, + Certificate: res.Info.Certificate, + TrainVideos: res.Info.TrainVideos, + DepPositions: pUserInfo.DepPositions, + } + + if len(qres.PositionUsers) >= 1 { + + positionsMap := make(map[uint64]struct{}, len(qres.PositionUsers)) + + info.DriverAuth = isHaveDriverAuth(c, ID, qres.PositionUsers[0].DepartmentId) + info.DriverSupervisorAuth = isHaveDriverSupervisorAuth(c, ID, qres.PositionUsers[0].DepartmentId) + for _, v := range qres.PositionUsers { + if _, ok := positionsMap[v.PositionID]; !ok { + info.UniquePositionName = append(info.UniquePositionName, v.PositionName) + positionsMap[v.PositionID] = struct{}{} + } + } + } + + if res.Info.Extend != nil { + info.JumpTo = res.Info.Extend.JumpTo + info.Extend = &user.Extend{ + JumpTo: res.Info.Extend.JumpTo, + Lang: res.Info.Extend.Lang, + CanScan: res.Info.Extend.CanScan, + ResolutionRatio: res.Info.Extend.ResolutionRatio, + } + } + + if len(qres.PositionUsers) >= 1 { + info.DepartmentName = qres.PositionUsers[0].DepartmentName + } + + if len(fRes.Rules) >= 1 { + info.IdentityKey = fRes.Rules[0].Url + } + + return info, nil +} + +func getNowList(list []*department.Node, departmentId uint32) []*department.Node { + tempNode := getSonNodes(list, departmentId) + fmt.Println(tempNode) + + tempList := getList([]*department.Node{tempNode}) + return tempList +} + +func getSonNodes(list []*department.Node, departmentId uint32) *department.Node { + + for k, v := range list { + if v.ID == departmentId { + return list[k] + } + + if len(v.Sons) > 0 { // 有儿子的话 + tempNode := getSonNodes(list[k].Sons, departmentId) + if tempNode != nil { //儿子匹配的话 + return tempNode + } + } + } + + return nil +} + +func getList(list []*department.Node) []*department.Node { + var temp []*department.Node + + for _, v := range list { + + temp = append(temp, &department.Node{ + ID: v.ID, + Name: v.Name, + }) + + if len(v.Sons) > 0 { //没有儿子 + tempNode := getList(v.Sons) + if tempNode != nil { + temp = append(temp, tempNode...) + + } + } + } + + return temp +} diff --git a/pkg/service/account/ocr_card_id.go b/pkg/service/account/ocr_card_id.go new file mode 100644 index 0000000..00155e5 --- /dev/null +++ b/pkg/service/account/ocr_card_id.go @@ -0,0 +1,92 @@ +/** + * @Author: sun + * @Company: 苏州天和汇工业 + * @Description: + * @File: ocr_card_id + * @Version: 1.0.0 + * @Date: 2024/10/17 13:25 + */ + +package account + +import ( + "bytes" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/base64" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/utils/baidu" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "io" + "mime/multipart" +) + +func OcrCardId(c *gin.Context) { + file, err := c.FormFile("file") + if err != nil { + logger.Errorf("Recevice File err: %v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + f, err := file.Open() + if err != nil { + logger.Errorf("Open File err: %v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + defer func(f multipart.File) { + err := f.Close() + if err != nil { + logger.Errorf("Close File err: %v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + }(f) + + // 读取文件内容到缓冲区 + buf := new(bytes.Buffer) + if _, err := io.Copy(buf, f); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.ERROR_CARDID_OCR, + Status: e.Failed, + }) + return + } + btBase64 := base64.StdEncoding.EncodeToString(buf.Bytes()) + + result, _err := baidu.OcrGetIdCard(btBase64, "front") + if _err != nil { + zap.L().Error("Ocr IDCard err:", zap.Error(_err)) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.ERROR_CARDID_OCR, + Status: e.Failed, + }) + return + } + resp := &model.OcrCardIdResp{} + resp.Name = result.Name + resp.CardNo = result.IdCard + resp.Address = result.Path + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp, + Msg: "", + Status: e.SUCCESS, + }) + return +} diff --git a/pkg/service/account/shop_account.go b/pkg/service/account/shop_account.go new file mode 100644 index 0000000..d4ec370 --- /dev/null +++ b/pkg/service/account/shop_account.go @@ -0,0 +1,45 @@ +package account + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func ShopRegisterOnlyTel(c *gin.Context, info *exam.UserInfo) (*account.RequestStatus, error) { + tempNick := info.Name + + userByTelReq := account.UserByTelRequest{ + Tel: info.TelNum, + Domain: e.Domain_Mall, + } + + //查询是否有该账号 + userByTelRes, err := service.AccountProvider.UserByTel(c, &userByTelReq) + if err != nil { + return nil, err + } + + if userByTelRes.IsExist == true { + return &account.RequestStatus{ID: userByTelRes.Info.ID}, nil + } + + //账号服务 + registerRequest := account.RegistRequest{ + NickName: info.Name, + TelNum: info.TelNum, + Password: tempNick + "fontree", + Extend: &account.Extend{}, + Domain: e.Domain_Mall, + } + + res, err := service.AccountProvider.Register(c, ®isterRequest) + if err != nil { + return nil, err + } + + return res, nil + +} diff --git a/pkg/service/account/site.go b/pkg/service/account/site.go new file mode 100644 index 0000000..22c5b9b --- /dev/null +++ b/pkg/service/account/site.go @@ -0,0 +1,129 @@ +package account + +import ( + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + config2 "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "io/ioutil" + "net/http" +) + +type BaiDuMapSt struct { + Status int `json:"status"` + Message string `json:"message"` + Result interface{} `json:"result"` + Address interface{} `json:"address"` + Content interface{} `json:"content"` +} + +func SiteQuery(c *gin.Context) { + var req request.SiteLocationReq + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + //config2.BaiduMapAK + //https: //api.map.baidu.com/place/v2/suggestion?query=滨河路166号®ion=苏州&city_limit=true&output=json&ak=3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ + httpClient := http.Client{} + + resp, err2 := httpClient.Get("https://api.map.baidu.com/place/v2/suggestion?query=" + req.Query + "®ion=" + req.Region + "&city_limit=false&output=json&ak=" + req.AK + "&ret_coordtype=" + req.RetCoordtype) + if err2 != nil { + service.Error(c, e.InvalidParams, err2) + return + } + + defer resp.Body.Close() + // 读取响应体 + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + fmt.Println("Error reading response body:", err) + service.Error(c, e.InvalidParams, err) + return + } + + var info *BaiDuMapSt + err = json.Unmarshal(body, &info) + + if err != nil { + fmt.Println("Error reading response body:", err) + service.Error(c, e.InvalidParams, err) + return + } + + if info.Status != 0 && info.Message != "" { + fmt.Println("Error reading response body:", err) + service.Error(c, e.InvalidParams, errors.New(info.Message)) + return + } + + var infoMap = make(map[string]interface{}) + infoMap["result"] = info.Result + + service.Success(c, infoMap) + return +} + +func LocationNowIp(c *gin.Context) { + //创建一个UserLoginService对象 + var req account.InfoRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + nowIp := c.ClientIP() + if config2.AppMode == "debug" && common.IsPrivateIP(nowIp) == true { + nowIp = "114.218.158.24" + } + + httpClient := http.Client{} + //nowIp = "114.218.158.24" + resp, err2 := httpClient.Get(fmt.Sprintf("https://api.map.baidu.com/location/ip?ip=%s&ak=3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ", nowIp)) + if err2 != nil { + service.Error(c, e.InvalidParams, err2) + return + } + + defer resp.Body.Close() + // 读取响应体 + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + fmt.Println("Error reading response body:", err) + service.Error(c, e.InvalidParams, err) + return + } + + var info *BaiDuMapSt + err = json.Unmarshal(body, &info) + + if err != nil { + fmt.Println("Error reading response body:", err) + service.Error(c, e.InvalidParams, err) + return + } + + if info.Status != 0 && info.Message != "" { + fmt.Println("Error reading response body:", err) + service.Error(c, e.InvalidParams, errors.New(info.Message)) + return + } + + var infoMap = make(map[string]interface{}) + infoMap["content"] = info.Content + infoMap["address"] = info.Address + + service.Success(c, infoMap) + return + +} diff --git a/pkg/service/account/turnstile.go b/pkg/service/account/turnstile.go new file mode 100644 index 0000000..538abcb --- /dev/null +++ b/pkg/service/account/turnstile.go @@ -0,0 +1,1834 @@ +package account + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/turnstile" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/go-redis/redis" + "github.com/google/uuid" + "strconv" + "strings" + "sync" +) + +func DeviceNumToJobNums(data []*account.ClockUserDeviceBatch) map[string][]uint64 { + deviceNumToJobNums := make(map[string][]uint64) + for _, batch := range data { + if _, exists := deviceNumToJobNums[batch.DeviceNum]; exists { + deviceNumToJobNums[batch.DeviceNum] = append(deviceNumToJobNums[batch.DeviceNum], batch.UserId) + } else { + deviceNumToJobNums[batch.DeviceNum] = []uint64{batch.UserId} + } + } + return deviceNumToJobNums +} +func getUserInfo(c *gin.Context, userIDs []uint64) (*account.ListResponse, error) { + idsRequest := account.ListByIDsRequest{IDs: userIDs} + userInfo, err := service.AccountProvider.ListByIDs(c, &idsRequest) + if err != nil { + return nil, err + } + + for _, i := range userInfo.Data { + if i.NickName == "" || i.RecentImg == "" { + return nil, errors.New("请完善员工信息") + } + } + + return userInfo, nil +} + +func SelectTheUserToBeDelivered(device *account.ClockDeviceListResponse, userInfo *account.ListResponse) (*account.ClockBatchListResponse, []turnstile.DeviceUserData) { + nonMatchingData := account.ClockBatchListResponse{Data: []*account.ClockUserDeviceBatch{}} + dataSet := make([]turnstile.DeviceUserData, 0, len(device.Data)) + deviceInfoMap := make(map[uint64]*account.ClockDeviceInfo) + + // 创建设备信息的映射 + for _, info := range device.Data { + deviceInfoMap[info.Id] = info + } + + // 遍历用户信息 + for _, user := range userInfo.Data { + // 创建一个 map 以存储用户已匹配的设备 + userMatchedDevices := make(map[uint64]bool) + + // 遍历用户已经匹配的设备并记录在 userMatchedDevices 中 + for _, clock := range user.Clocks { + if deviceInfo, exists := deviceInfoMap[clock.DeviceID]; exists { + userMatchedDevices[deviceInfo.Id] = true + } + } + + // 遍历所有设备,查找未匹配的设备并添加到结果中 + for _, deviceInfo := range deviceInfoMap { + if !userMatchedDevices[deviceInfo.Id] { + data := &account.ClockUserDeviceBatch{ + UserId: user.ID, + DeviceId: deviceInfo.Id, + DeviceNum: deviceInfo.DeviceNum, + DeviceName: deviceInfo.DeviceName, + } + nonMatchingData.Data = append(nonMatchingData.Data, data) + + // 构造 DeviceUserData 并添加到 dataSet 中 + userData := turnstile.DeviceUserData{ + JobNum: user.ID, + RecentImg: user.RecentImg, + DeviceNum: deviceInfo.DeviceNum, + NickName: user.NickName, + Phone: user.TelNum, + DeviceName: deviceInfo.DeviceName, + IcNum: user.ICNum, + } + dataSet = append(dataSet, userData) + } + } + } + return &nonMatchingData, dataSet +} +func CheckDeviceIsOnline(dataSet map[string]string) string { + offlineMap := make(map[string]bool) + var redisClient *redis.Client + if config.IsOut == true && config.Env == "prod" { + redisClient = utils.GetNewRedisClient() + } else { + redisClient = cache.RedisClient + } + for deviceNum, deviceName := range dataSet { + deviceRes, _ := redisClient.Get(cache.GetPushDeviceSnInfo(deviceNum)).Result() + if deviceRes == "" { + offlineMap[deviceName] = true + } + } + // 如果有离线设备,返回错误消息 + if len(offlineMap) != 0 { + offlineDevices := make([]string, 0, len(offlineMap)) + for deviceName := range offlineMap { + offlineDevices = append(offlineDevices, deviceName) + } + errorMessage := fmt.Sprintf("以下设备已离线: %v", strings.Join(offlineDevices, ", ")) + return errorMessage + } + return "" +} + +func ConcurrentUpdateDeviceUser(ctx *gin.Context, dataSet []turnstile.DeviceUserData, concurrency int) error { + var wg sync.WaitGroup + + errCh := make(chan error, len(dataSet)) + + // 创建一个带有缓冲的通道,以控制并发度 + semaphore := make(chan struct{}, concurrency) + + for _, data := range dataSet { + wg.Add(1) + semaphore <- struct{}{} // 获取信号量,限制并发度 + go func(data turnstile.DeviceUserData) { + defer wg.Done() + err := UpdateDeviceUser(ctx, data) + if err != nil { + errCh <- err + } + <-semaphore // 释放信号量 + }(data) + } + + go func() { + wg.Wait() + close(errCh) + }() + + var errors []error + for err := range errCh { + errors = append(errors, err) + } + + if len(errors) > 0 { + return fmt.Errorf("更新设备用户时发生错误: %v", errors) + } + + return nil +} + +// UpdateDeviceUser 绑定打卡机 +func UpdateDeviceUser(_ *gin.Context, data turnstile.DeviceUserData) (err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + Extra: uuidObj.String(), + To: data.DeviceNum, + Data: turnstile.TurnData{ + Cmd: e.AddUser, + UserId: strconv.FormatUint(data.JobNum, 10), + Name: data.NickName, + FaceTemplate: data.RecentImg, + TtsName: data.NickName, + Phone: data.Phone, + VlfaceTemplate: "", + IdValid: "", + Ic: data.IcNum, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, data.DeviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + return err +} + +// DelSingleDeviceAccount 单人解绑打卡机 +func DelSingleDeviceAccount(_ *gin.Context, deviceNum string, jobNum uint64) (err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: deviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.DelUser, + UserId: strconv.FormatUint(jobNum, 10), + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, deviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + return err +} + +// DelBatchDeviceAccount 批量解绑打卡机 +func DelBatchDeviceAccount(req map[string][]uint64) (err error) { + for deviceNum, jobNums := range req { + uuidObj := uuid.New() + stringSlice := make([]string, len(jobNums)) + for i, num := range jobNums { + stringSlice[i] = strconv.FormatUint(num, 10) + } + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: deviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.DelMultiUser, + UserIds: stringSlice, + UserType: 0, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, deviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + } + return err +} + +// SnapPhotosOfTheScene 抓拍现场照片 +func SnapPhotosOfTheScene(_ *gin.Context, deviceNum string) (image string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: deviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.OnlineAuthorization, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, deviceNum, uuidObj) + if err != nil { + return "", errors.New("下发数据失败") + } + return s.Data.VlFaceTemplate, err +} + +// CheckPictureQuality 检测图片质量 +func CheckPictureQuality(_ *gin.Context, deviceNum string, faceImage string) (data turnstile.WebsocketDeviceData, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: deviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.VerifyPhoto, + FaceTemplate: faceImage, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, deviceNum, uuidObj) + if err != nil { + return data, errors.New("下发数据失败") + } + return s.Data, err +} + +// GeneralRuleIssuance 通行规则下发 +func GeneralRuleIssuance(_ *gin.Context, req turnstile.RuleIssuance) (err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.AddPassRule, + Rule: req.Data.Rule, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + return err +} + +// AccessRule 获取通行规则 +func AccessRule(_ *gin.Context, req turnstile.RuleIssuance) (image []turnstile.Rule, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.GetPassRule, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return nil, errors.New("下发数据失败") + } + return s.Data.Rule, err +} + +// DeleteRule 删除通行规则 +func DeleteRule(_ *gin.Context, req request.DeleteRule) (err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.DelPassRule, + RuleIds: req.RuleIds, + IsDeleteAll: req.IsDeleteAll, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + return err +} + +// PasswordSwitch 设置密码开门开关 +func PasswordSwitch(_ *gin.Context, req request.DeviceReq) (err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPasswordVerify, + Value: req.Switch, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + return err +} + +// PasswordSet 设置设备开门密码 +func PasswordSet(_ *gin.Context, req request.DeviceReq) (err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOpenDoorPassword, + Value: req.Value, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + return err +} + +// PersonSync 通知设备同步人员数据 +func PersonSync(_ *gin.Context, req request.DeviceReq) (err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.UploadFaceInfo, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + return err +} + +// PersonTotal 查询设备人员数量和id +func PersonTotal(_ *gin.Context, req request.DeviceReq) (res turnstile.WebsocketDeviceRes, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.GetUserInfo, + Value: req.Value, + }, + } + err, res = utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return res, errors.New("下发数据失败") + } + return res, err +} + +// PersonInfo 根据userid读取用户数据 +func PersonInfo(_ *gin.Context, req request.DeviceReq) (res turnstile.UserDetails, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.GetUserDetails, + UserId: req.UserId, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Details, errors.New("下发数据失败") + } + return s.Data.Details, err +} + +// SetAcquire 获取设备设置 +func SetAcquire(_ *gin.Context, req request.DeviceReq) (res turnstile.Settings, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.GetDeviceSettings, + Settings: req.Settings, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Settings, errors.New("下发数据失败") + } + return s.Data.Settings, err +} + +// SetLogo 设置设备logo +func SetLogo(_ *gin.Context, req request.DeviceReq) (res turnstile.Settings, err error) { + uuidObj := uuid.New() + turnData := turnstile.TurnData{} + if req.Type == 0 { + turnData = turnstile.TurnData{ + Cmd: e.CustomHomeLogo, + Type: req.Type, + } + } else { + turnData = turnstile.TurnData{ + Cmd: e.CustomHomeLogo, + Type: req.Type, + Text: req.Text, + Image: req.Image, + } + } + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnData, + } + + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Settings, errors.New("下发数据失败") + } + return s.Data.Settings, err +} + +// SetSlogan 设置广告语 +func SetSlogan(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.AetAd, + Advertising: req.Advertising, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, err +} +func SetTime(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetTime, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetDoor(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetDoor, + Value: req.Value, + UserId: req.UserId, + Type: req.Type, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetInterval(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetRecognitionInterval, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetDistance(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetRecognitionDistance, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetMask(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetMaskDetection, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetLiving(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetLivenessDetection, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetLivingClass(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetLivenessLevel, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetStranger(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetStrangerRecognition, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetVolume(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetVolume, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetUsername(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPlayUserName, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetHint(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetVoice, + Type: req.Type, + VoiceCode: req.VoiceCode, + VoiceText: req.VoiceText, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetPassword(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPassword, + OldPassword: req.OldPassword, + NewPassword: req.NewPassword, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} +func SetRestart(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.Reboot, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetRelay(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetRelayState, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetCapture(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetRecordPictureQuality, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetCallout(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetVisitorCallStatus, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetPrinter(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPrinterStatus, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetVisitor(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetVisitorApplyValue, + Value: req.Value, + Url: req.Url, + Photo: req.Photo, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetToken(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetHttpToken, + TokenKey: req.TokenKey, + TokenValue: req.TokenValue, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetVerify(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetVerifyTimeout, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetDelay(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOpenDoorDelay, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetPressTime(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetAdminLongPressTime, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetDesensitization(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetDesensitizationName, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetSection(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetReadCardInfo, + Value: req.Value, + Sector: req.Sector, + Block: req.Block, + Password: req.Password, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +func SetRail(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetGeofence, + Latitude: req.Latitude, + Longitude: req.Longitude, + Radius: req.Radius, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// ScreensaverState 设备节能屏保开关 +func ScreensaverState(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetScreensaverState, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// Screensaver 设置设备屏保 +func Screensaver(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.AddCarousePicture, + ID: req.ID, + Value: req.Value, + Duration: req.Duration, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// DelScreensaver 删除屏保 +func DelScreensaver(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.DelCarouselPic, + IsDeleteAll: req.IsDeleteAll, + ID: req.ID, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// ScreensaverInterval 设置屏保显示时长 +func ScreensaverInterval(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetScreensaverInterval, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureDetection 体温检测开关 +func TemperatureDetection(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetTemperatureDetection, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureMode 体温检测模式 +func TemperatureMode(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetTemperatureMode, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureStandard 初筛模式标准 +func TemperatureStandard(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPreliminaryScreeningStandard, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureCalibration 设置体温校准模式 +func TemperatureCalibration(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetTemperatureCalibrationMode, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureLowPass 低温可通行开关 +func TemperatureLowPass(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetLowTemperaturePass, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperaturePlay 播报体温开关 +func TemperaturePlay(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPlayTemperature, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureReflectivity 设置体温反射率 +func TemperatureReflectivity(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetReflectivity, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureCorrection 设置体温校准值 +func TemperatureCorrection(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetTemperatureCorrection, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureDistance 设置设备体温检测距离 +func TemperatureDistance(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetTemperatureDetectDistance, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// TemperatureMeasure 设置测温时间段 +func TemperatureMeasure(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetMeasureTemperatureTime, + Value: req.Value, + Time: req.Time, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// VersionAuto 开机自动更新 +func VersionAuto(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetAutoUpdate, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// VersionInfo 获取设备版本信息 +func VersionInfo(_ *gin.Context, req request.DeviceReq) (res turnstile.WebsocketDeviceData, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.GetVersionInfo, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data, errors.New("下发数据失败") + } + return s.Data, nil +} + +// VersionPush 发送设备版本信息给服务端 +func VersionPush(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.PushVersionInfo, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// VersionCheck 通知设备在线检查更新 +func VersionCheck(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.CheckForUpdates, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// ApplyValue 设置设备首页二维码 +func ApplyValue(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetVisitorApplyValue, + Value: req.Value, + Url: req.Url, + Photo: req.Photo, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// ApplyPrefix 设置访客二维码前缀 +func ApplyPrefix(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetVisitorQRCodePrefix, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// CameraPanoramic 全景相机开关 +func CameraPanoramic(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPanoramicCamera, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// CameraParams 设置全景相机的参数 +func CameraParams(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPanoramicCameraParams, + IP: req.IP, + Port: req.Port, + Username: req.Username, + Password: req.Password, + Channel: req.Channel, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// RecognitionStyle 识别结果样式 +func RecognitionStyle(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetRecognitionResultStyle, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// OnlineVerify 识别后在线验证 +func OnlineVerify(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOnlineVerifyAfterRecognition, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// OnlineCard 在线验证卡号 +func OnlineCard(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOnlineVerifyCard, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// OnlineIdCard 在线验证身份证号 +func OnlineIdCard(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOnlineVerifyIdCard, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// Online 设置在线识别间隔 +func Online(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOnlineRecognitionInterval, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// OnlineState 在线识别开关 +func OnlineState(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOnlineRecognitionState, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// OnlineTemporary 临时启用在线识别 +func OnlineTemporary(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetOnlineRecognition, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// DiscernSettings 设置可通行人员类型 +func DiscernSettings(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetPassType, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// DiscernClass 设置设备识别置信度 +func DiscernClass(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetRecognitionLevel, + Value: req.Value, + IrisValue: req.IrisValue, + FusionValue: req.FusionValue, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// ForbiddenSwitch 开启/关闭设备识别 +func ForbiddenSwitch(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetSwitch, + Value: req.Value, + OffTime: req.OffTime, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// ForbiddenNumber 停用状态通行人数 +func ForbiddenNumber(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetDisablePass, + Value: req.Value, + Duration: req.Duration, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// AdvertisingAdd 下发广告 - 图片 +func AdvertisingAdd(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.AddImageAd, + Value: req.Value, + ID: req.ID, + Duration: req.Duration, + Priority: req.Priority, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// AdvertisingDel 删除广告 +func AdvertisingDel(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.DelAd, + IsDelAll: req.IsDeleteAll, + ID: req.ID, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// AdvertisingChange 启用停用广告 +func AdvertisingChange(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.ChangeADStatus, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} + +// DoorLock 获取(上报)门锁状态 +func DoorLock(_ *gin.Context, req request.DeviceReq) (res int, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.GetDoorLockState, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Value, errors.New("下发数据失败") + } + return s.Data.Value, nil +} + +// DoorListener 设置门锁实时监听开关 +func DoorListener(_ *gin.Context, req request.DeviceReq) (res string, err error) { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: req.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.SetDoorLockListener, + Value: req.Value, + }, + } + err, s := utils.IssueTheCardPunchData(synReq, req.DeviceNum, uuidObj) + if err != nil { + return s.Data.Msg, errors.New("下发数据失败") + } + return s.Data.Msg, nil +} diff --git a/pkg/service/address.go b/pkg/service/address.go new file mode 100644 index 0000000..3a59477 --- /dev/null +++ b/pkg/service/address.go @@ -0,0 +1,50 @@ +package service + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + service "github.com/fonchain_enterprise/fonchain-main/api" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/plat" + "github.com/gin-gonic/gin" + "strings" +) + +func LatLngToAddress(c *gin.Context) { + req := plat.LatLng{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("LatLng ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := plat.ExchangeLatLngToAddress(req.Lat, req.Lng) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + var address []string + + if res.Resp.RespCode == 0 || res.Resp.RespMsg == "ok" { + address = append(address, res.Data.Address) + if res.Data.Reference.LandmarkL1.Name != "" { + address = append(address, res.Data.Reference.LandmarkL1.Name) + } + if res.Data.Reference.LandmarkL2.Name != "" { + address = append(address, res.Data.Reference.LandmarkL2.Name) + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: strings.Join(address, ""), + Status: e.Ok, + }) + +} diff --git a/pkg/service/ai_images/coin.go b/pkg/service/ai_images/coin.go new file mode 100644 index 0000000..79ab262 --- /dev/null +++ b/pkg/service/ai_images/coin.go @@ -0,0 +1,49 @@ +package ai_images + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/coin" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func CustomList(c *gin.Context) { + var req coin.CustomListRequest + fmt.Println("1--------1123-12-3") + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.CoinProvider.CustomList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + + return +} + +func AcquireList(c *gin.Context) { + var req coin.AcquireListRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.CoinProvider.AcquireList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + + return +} diff --git a/pkg/service/ai_images/feedback.go b/pkg/service/ai_images/feedback.go new file mode 100644 index 0000000..f6b3429 --- /dev/null +++ b/pkg/service/ai_images/feedback.go @@ -0,0 +1,131 @@ +package ai_images + +import ( + "strconv" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/feedback" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Create(c *gin.Context) { + + var req feedback.FeedbackRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + // TODO 创建审批 防止重复提交 + // lockKey := fmt.Sprintf("create_feedback_%v_%v", userInfo.ID, req.FeedbackType) + // reply := cache.RedisClient.SetNX(lockKey, 0, 3*time.Second) + // if !reply.Val() { + // service.Error(c, e.Error, nil, e.ErrorCreateFeedback) + // return + // } + //提交人 + req.SubmitterName = userInfo.NickName + req.SubmitterID = userInfo.ID + + res, err := service.FeedbackProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Remove(c *gin.Context) { + + var req feedback.FeedbackDetail + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.FeedbackProvider.Remove(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Detail(c *gin.Context) { + + var req feedback.FeedbackDetail + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.FeedbackProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Update(c *gin.Context) { + + var req feedback.FeedbackDetail + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + // TODO 创建审批 防止重复提交 + // lockKey := fmt.Sprintf("create_feedback_%v_%v", userInfo.ID, req.FeedbackType) + // reply := cache.RedisClient.SetNX(lockKey, 0, 3*time.Second) + // if !reply.Val() { + // service.Error(c, e.Error, nil, e.ErrorCreateFeedback) + // return + // } + //提交人 + req.HandleName = userInfo.NickName + req.HandleID = strconv.FormatInt(int64(userInfo.ID), 10) + + res, err := service.FeedbackProvider.Update(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func List(c *gin.Context) { + + var req feedback.FeedbackList + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.FeedbackProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/ai_images/user.go b/pkg/service/ai_images/user.go new file mode 100644 index 0000000..63eaa44 --- /dev/null +++ b/pkg/service/ai_images/user.go @@ -0,0 +1,33 @@ +package ai_images + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/coin" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func CoinAccounts(c *gin.Context) { + var req coin.CoinAccountsRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + req.Domain = "blockchain" + + res, err := service.CoinProvider.CoinAccounts(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} diff --git a/pkg/service/aliyun/doc.go b/pkg/service/aliyun/doc.go new file mode 100644 index 0000000..a1757c2 --- /dev/null +++ b/pkg/service/aliyun/doc.go @@ -0,0 +1,59 @@ +package aliyun + +import ( + "encoding/json" + "fmt" + "github.com/alibabacloud-go/docmind-api-20220711/client" + aliyunSdk "github.com/fonchain_enterprise/fonchain-main/pkg/aliyun" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "gopkg.in/errgo.v2/fmt/errors" + "path/filepath" +) + +func DocStruct(fileUrl, fileName string) (docId string, err error) { + if fileName == "" { + fileName = filepath.Base(fileUrl) + } + request := client.SubmitDocStructureJobRequest{ + FileUrl: &fileUrl, + FileName: &fileName, + } + response, err := aliyunSdk.DocClient.SubmitDocStructureJob(&request) + if err != nil { + err = errors.New(e.GetMsg(e.ERROR_ALIYUN_DOC_SUBMIT)) + return + } + httpOk := response.StatusCode + if *httpOk != 200 { + err = errors.New(e.GetMsg(e.ERROR_ALIYUN_DOC_SUBMIT)) + return + } + docId = *response.Body.Data.Id + fmt.Println(response.Body.Data.Id) + fmt.Println(docId) + return + +} + +func DocResult(docId string) (complete bool, texts []string, err error) { + // 调用查询接口 + request := client.GetDocStructureResultRequest{Id: &docId} + response, err := aliyunSdk.DocClient.GetDocStructureResult(&request) + if err != nil { + err = errors.New(e.GetMsg(e.ERROR_ALIYUN_DOC_PARSE)) + return + } + ok := response.Body.Completed + if *ok != true { + return + } + complete = true + var layoutsSlice []map[string]interface{} + layouts := response.Body.Data["layouts"] + layoutsBytes, _ := json.Marshal(layouts) + _ = json.Unmarshal(layoutsBytes, &layoutsSlice) + for _, v := range layoutsSlice { + texts = append(texts, fmt.Sprint(v["text"])) + } + return +} diff --git a/pkg/service/approval/approval.go b/pkg/service/approval/approval.go new file mode 100644 index 0000000..30c60b3 --- /dev/null +++ b/pkg/service/approval/approval.go @@ -0,0 +1,4414 @@ +package approval + +import ( + "context" + "encoding/json" + "errors" + "fmt" + account2 "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + department2 "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + model2 "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/department" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/logic" + "github.com/fonchain_enterprise/utils/utils" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "google.golang.org/protobuf/types/known/wrapperspb" + "strconv" + "strings" + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +const ( + TypeContent = "content" + TypeWork = "work" + TypeExhibition = "exhibition" + TypeShow = "show" + TypeBundle = "bundle" + TypeBundlePayPrice = "bundlePayPrice" + TypeArtExhibitionReward = "artExhibitionReward" + TypeStaffSupply = "staffSupply" + TypeShowUpdate = "showUpdate" +) + +func Create(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + // TODO 创建审批 防止重复提交 + lockKey := fmt.Sprintf("create_approval_%v_%v", userInfo.ID, req.Type) + reply := cache.RedisClient.SetNX(lockKey, 0, 3*time.Second) + if !reply.Val() { + service.Error(c, e.Error, nil, e.ErrorCreateApproval) + return + } + + //提交人 + req.SubmitterName = userInfo.NickName + req.SubmitterID = userInfo.ID + + fmt.Println("____________________ 打印 请求参数 createRequest 1 ________________________") + fmt.Printf("req 1 : %+v\n", req) + fmt.Println("____________________ 打印 请求参数 createRequest 1 ________________________") + + if req.Type == oa_model.TypeDayOff { + if req.ApprovalOA.Leave.Hours < 1 { + service.Error(c, e.Error, errors.New(e.ErrDayoffNotLessOneHour)) + return + } + } + + if req.Type == oa_model.TypeMakeUp { + err := CheckMakeUpApplyApproval(&req, userInfo) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if req.Type == oa_model.TypeOverTime { + err := CheckOverTimeApplyApproval(&req, userInfo) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if req.Type == oa_model.TypeOutWork { + err := CheckLeaveTime(&req, userInfo) + if err != nil { + service.Error(c, e.Error, err) + return + } + err = CheckOutWorkTime(&req) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if oa_model.LeaveApplyMap[req.Type] != "" { + err := CheckLeaveTime(&req, userInfo) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if oa_model.LeaveApplyMap[req.Type] != "" && req.Type != oa_model.TypeOverTime && req.Type != oa_model.TypeLeave { + err := CheckLeaveApproval(&req, userInfo) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + if oa_model.LeaveBalanceApplyMap[req.Type] != "" { + err := CheckLeaveApply(&req, userInfo) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(req.Type, "employ") { + if req.Employ.ResumeID == "" { + service.Error(c, e.Error, errors.New(e.ErrorResumeID)) + return + } + resumeID, _ := strconv.ParseInt(req.Employ.ResumeID, 10, 64) + err := resumeHireJudge(userInfo, resumeID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if oa_model.LeaveBalanceApplyMap[req.Type] != "" { + err := CheckLeaveApply(&req, userInfo) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + req.ApprovalUsers, req.IsLeader = DepartmentBosses(c, req.DepartmentID, req.SubmitterID) + if userInfo.DepartmentName == "管理部" || userInfo.DepartmentName == "人事行政部" { + req.IsLeader = true + } + + // start 针对 艺邑 特殊处理 且 只有 oa 申请才是 + departmentName := "" + if len(userInfo.PositionUsers) == 1 { + for i := 0; i < len(userInfo.PositionUsers); i++ { + if userInfo.PositionUsers[i].DepartmentName == "艺邑" { + departmentName = "艺邑" + } + } + } else if len(userInfo.PositionUsers) > 1 { + for i := 0; i < len(userInfo.PositionUsers); i++ { + if userInfo.PositionUsers[i].DepartmentId == uint64(req.DepartmentID) && userInfo.PositionUsers[i].DepartmentName == "艺邑" { + departmentName = "艺邑" + } + } + } + + if departmentName == "艺邑" && (oa_model.LeaveApplyMap[req.Type] != "" || oa_model.LeaveBalanceApplyMap[req.Type] != "" || req.Type == oa_model.TypeOutWork || req.Type == oa_model.TypeTurnover || req.Type == oa_model.TypeMakeUp) { + req.ApprovalUsers = nil + if req.SubmitterName == "董辰琦" { + req.IsLeader = true + } + req.Domain = "out" + } + // end + + fmt.Println("____________________ 打印 请求参数 createRequest 2 ________________________") + fmt.Printf("req 2 : %+v\n", req) + fmt.Println("____________________ 打印 请求参数 createRequest 2 ________________________") + + res, err := service.ApprovalProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //此处同步到画展包的数据 + if req.Type == "exhibition" { + applyId, err := synToArtShow(c, &req, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + upReq := &api.UpdateEhApplyIDRequest{ + ApplyId: applyId, + ApprovalID: res.ID, + } + + _, upErr := service.ApprovalProvider.UpdateExhibitionApplyID(c, upReq) + if upErr != nil { + service.Error(c, e.Error, upErr) + return + } + } + + // 同步 oa 审批到 oa + if e.TypeMap[req.Type] == "oa" { + fmt.Println("同步 oa系统 ") + + // 查询 审批状态已经 更新的 审批信息 + createReq := api.DetailRequest{ID: res.ID} + createDetail, detailErr := service.ApprovalProvider.Detail(c, &createReq) + if detailErr != nil { + service.Error(c, e.Error, detailErr) + return + } + + oaRes, err := SyncApprovalToOA(createDetail) + if err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("更新 oa系统 UUID ") + // 获取到 OA审批的 UUID 更新 approvalOA 中的 UUID + updateUUID := &api.UpdateApprovalOAUUIDReq{ + UUID: oaRes.ID, // OA 返回 + ApplyType: req.Type, + ApprovalID: res.ID, // approval 返回 + } + _, updateUUIDErr := service.ApprovalProvider.UpdateApprovalOAUUID(context.Background(), updateUUID) + if updateUUIDErr != nil { + service.Error(c, e.Error, updateUUIDErr) + return + } + } + + // 人才招聘 + if strings.Contains(req.Type, "staffSupply") { + err = createPostApprove(c, userInfo, res, req.DepartmentID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(req.Type, "employ") { + err = createOfferApprove(c, userInfo, res, req.DepartmentID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + service.Success(c, res) +} + +// DepartmentBosses 获取部门主管列表 +func DepartmentBosses(c *gin.Context, departmentID int64, submitterID uint64) ([]*api.ApprovalUser, bool) { + + var approvalUsers []*api.ApprovalUser + var departmentIds []uint64 + var isLeader bool + isLeader = false + + if departmentID == 0 { + return approvalUsers, isLeader + } + + departmentIds = append(departmentIds, uint64(departmentID)) + + if len(departmentIds) <= 0 { + return approvalUsers, isLeader + } + + req := rule.FindByUrlRequest{ + Url: e.DepartmentKey, + DepartmentIds: departmentIds, + } + + //fmt.Println("=============================== FindByUrlRequest ==================================") + //fmt.Printf("req : %+v\n", req) + + res, err := service.RuleProvider.FindUsersByUrl(c, &req) + + if err == nil && len(res.List) > 0 { + fmt.Println("================================耿阳接口获取到的直属审批人") + fmt.Println(res.List) + for _, tt := range res.List { + temp := &api.ApprovalUser{ + ID: tt.UserId, + Name: tt.UserName, + } + //fmt.Println("=============================== FindByUrlResponse ==================================") + //fmt.Printf("temp : %+v\n", temp) + approvalUsers = append(approvalUsers, temp) + } + for _, tt := range res.List { + if tt.UserId == submitterID { + isLeader = true + } + } + } + fmt.Println("================================获取到的直属审批人") + fmt.Println(approvalUsers) + return approvalUsers, isLeader +} + +func DepartmentBossesV3(c *gin.Context, domain string, departmentID int64, submitterID uint64) ([]*api.ApprovalUser, bool) { + + var approvalUsers []*api.ApprovalUser + var departmentIds []uint64 + var isLeader bool + isLeader = false + + if departmentID == 0 { + return approvalUsers, isLeader + } + + departmentIds = append(departmentIds, uint64(departmentID)) + + if len(departmentIds) <= 0 { + return approvalUsers, isLeader + } + + req := &department2.MyDirectLeadersRequest{ + UserId: uint32(submitterID), + DepartmentId: uint32(departmentID), + Domain: domain, + } + + res, err := service.DepartmentProvider.MyDirectLeaders(c, req) + if err != nil { + return nil, false + } + + if err == nil && len(res.List) > 0 { + fmt.Println("==========================获取上级新接口返回的数据") + fmt.Println(res.List) + for _, tt := range res.List { + temp := &api.ApprovalUser{ + ID: uint64(tt.UserId), + Name: tt.UserName, + } + approvalUsers = append(approvalUsers, temp) + } + fmt.Println(req) + boolean, err := service.DepartmentProvider.UserIsLeader(c, req) + if err != nil { + fmt.Println("==========================当前人是否是主管报错") + fmt.Println(err.Error()) + return nil, false + } + isLeader = boolean.IsLeader + } + return approvalUsers, isLeader +} + +func DepartmentBossesV1(c *gin.Context, positionUsers []*rule.PositionUser) []*api.ApprovalUser { + + var approvalUsers []*api.ApprovalUser + var departmentIds []uint64 + departmentIdsMap := make(map[uint64]struct{}) + + if len(positionUsers) == 0 { + return approvalUsers + } + + for _, tt := range positionUsers { + + //我如果是boss,则过滤掉 + if isHave := IsHaveBossAuth(c, tt.UserId, tt.DepartmentId); isHave == true { + continue + } + + if _, ok := departmentIdsMap[tt.DepartmentId]; ok == false { + departmentIdsMap[tt.DepartmentId] = struct{}{} + departmentIds = append(departmentIds, tt.DepartmentId) + } + } + + if len(departmentIds) <= 0 { + return approvalUsers + } + + req := rule.FindByUrlRequest{ + Url: e.DepartmentKey, + DepartmentIds: departmentIds, + } + + res, err := service.RuleProvider.FindUsersByUrl(c, &req) + + if err == nil && len(res.List) > 0 { + for _, tt := range res.List { + temp := &api.ApprovalUser{ + ID: tt.UserId, + Name: tt.UserName, + } + + approvalUsers = append(approvalUsers, temp) + } + + } + return approvalUsers +} + +func IsHaveBossAuth(c *gin.Context, ID uint64, DepartmentID uint64) bool { + isLeader := false + + req := position.DoIHavaAuthRequest{ + UserId: ID, + Url: e.DepartmentKey, + DepartmentID: DepartmentID, + } + + res, err := service.PositionProvider.DoIHavaAuth(c, &req) + + fmt.Println("查看返回", res) + if err == nil && res.Hava == true { + isLeader = true + } + + return isLeader +} + +// 创建附带 +func synToArtShow(c *gin.Context, req *api.CreateRequest, res *api.ApprovalResponse) (string, error) { + + now := time.Now() + datestr := now.Format("2006-01-02 15:04:05") + showRels := make([]*artShow.ShowRel, 0) + + showApplyReq := &artShow.SaveApplyReq{ + + Applicant: req.SubmitterName, + ApplicantID: strconv.FormatUint(req.SubmitterID, 10), + Num: int32(len(req.Exhibition.ApprovalExhibitions)), + ApplyTime: datestr, + Status: 1, + Remark: "", + } + + for index, tt := range req.Exhibition.ApprovalExhibitions { + + temp := &artShow.ShowRel{ + ShowUID: tt.PackageID, + Index: int32((index + 1)), + Address: tt.Address, + ShowTime: tt.ShowDate, + } + showRels = append(showRels, temp) + + } + + showApplyReq.Rel = showRels + + showApplyRes, err := service.GrpcArtShowImpl.CreateApply(c, showApplyReq) + + if err != nil { + return "", err + } + + return showApplyRes.ApplyUID, nil + +} + +func passSynToArtShowNotLogin(c *gin.Context, ID uint64, UserId uint64) (string, error) { + + var detailReq api.DetailRequest + + detailReq.UserId = UserId + detailReq.ID = ID + + detailRes, err3 := service.ApprovalProvider.Detail(c, &detailReq) + if err3 != nil { + return "", err3 + } + if detailRes.Type != "exhibition" { + return "", nil + } + + if detailRes.Status != 2 { // 不等于2 表示 此审批 未通过 + return "", nil + } + + // 审批 通过 通知 画展包微服务 记录 + req := detailRes + + now := time.Now() + datestr := now.Format("2006-01-02 15:04:05") + showRels := make([]*artShow.ShowRel, 0) + showUIDs := make([]string, 0) + var UpdateArtShowAgentList []*artShow.ArtShowAgent + + showApplyReq := &artShow.SaveApplyReq{ + ApplyUID: req.Exhibition.ApplyID, + Applicant: req.SubmitterName, + ApplicantID: strconv.FormatUint(req.SubmitterID, 10), + Num: int32(len(req.Exhibition.ApprovalExhibitions)), + ApplyTime: datestr, + Status: int32(req.Status), + } + + for index, tt := range req.Exhibition.ApprovalExhibitions { + temp := &artShow.ShowRel{ + ShowUID: tt.PackageID, + Index: int32((index + 1)), + Address: tt.Address, + ShowTime: tt.ShowDate, + ApplyUID: req.Exhibition.ApplyID, + } + + UpdateArtShowAgentList = append(UpdateArtShowAgentList, &artShow.ArtShowAgent{ + ShowUID: tt.PackageID, + Agent: tt.ArtExhibitionDetail.Agent, + }) + + showRels = append(showRels, temp) + showUIDs = append(showUIDs, tt.PackageID) + } + + showDetail := new(artShow.ShowDetailReq) + showDetail.ShowUID = showUIDs + showDetailRes, err := service.GrpcArtShowImpl.ShowDetail(c, showDetail) + if err != nil { + return "", errors.New(e.ErrorQueryArtShowInfo) + } + //使用邀请函中的数据更新出行信息 + defer func() { + var showUids []string + for _, v := range showDetailRes.Data { + showUids = append(showUids, v.ShowUID) + } + fmt.Println("EntertainmentSetDefaultValue start---showUids:", showUids) + if len(showUids) > 0 { + go func() { + err = EntertainmentSetDefaultValue(showUids...) + fmt.Println("EntertainmentSetDefaultValue end---err:", err) + if err != nil { + zap.L().Error("更新招待数据中的出行信息失败", zap.Error(err)) + } + }() + } + }() + policys := make([]*artShow.PricePolicy, 0) + for i := 0; i < len(showDetailRes.Data); i++ { + if showDetailRes.Data[i].HasFormula == e.HasFormula { + policy := new(artShow.PricePolicy) + policy.ShowUID = showDetailRes.Data[i].ShowUID + policy.ArtistUID = showDetailRes.Data[i].ArtistUID + policy.ArtistName = showDetailRes.Data[i].ArtistName + policy.Factor = new(artShow.PricePolicyFactor) + honorCountReq := new(artist.HonorCountReq) + honorCountReq.ArtistUid = showDetailRes.Data[i].ArtistUID + honorCountResp, err := service.GrpcArtistImpl.HonorCount(c, honorCountReq) + if err != nil { + return "", errors.New(e.ErrorQueryHonorInfo) + } + //policy.Factor.PaintingCount = showDetailRes.Data[i].ArtworkNum + //policy.Factor.AverageCanvasSize = float32(math.Round(float64(showDetailRes.Data[i].Ruler / showDetailRes.Data[i].ArtworkNum))) + //policy.Factor.TaifengExhibitionCount = float32(honorCountResp.CaaJoinYear) + policy.Factor.MeixieYears = float32(honorCountResp.CaaJoinYear) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.Exhibition) + policy.Factor.ArtistProfessionalismIndex = float32(honorCountResp.Professionalism) + policy.Factor.ArtistCollectibilityIndex = float32(honorCountResp.Collectible) + policy.Factor.ArtistExperienceEducationIndex = float32(honorCountResp.Education) + policy.Factor.ArtistInfluencePopularityIndex = float32(honorCountResp.Influence) + policy.Factor.StudyAbroadExperienceCount = float32(honorCountResp.StudyTourCount) + policy.Factor.AwardExperienceCount = float32(honorCountResp.AwardCount) + policy.Factor.NationalTitleCount = float32(honorCountResp.NationTitleCount) + policy.Factor.ProvincialTitleCount = float32(honorCountResp.ProvinceTitleCount) + policy.Factor.OtherTitleCount = float32(honorCountResp.OtherTitleCount) + policy.Factor.PublishedPaintingCount = float32(honorCountResp.ArtworkPublishCount) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.OutsidePublishCount) + policy.Factor.AcademicPublicationCount = float32(honorCountResp.AcademicPublishCount) + policy.Factor.ThirdPartyCuratorComment = float32(honorCountResp.ThirdCommentCount) + policys = append(policys, policy) + fmt.Println("================================= policy --------------------------------------") + fmt.Printf("policy %+v\n", policy) + fmt.Println("================================= policy --------------------------------------") + } + } + + showApplyReq.Rel = showRels + showApplyReq.PricePolicy = policys + + fmt.Println("================================= showApplyReq --------------------------------------") + fmt.Printf("showApplyReq %+v\n", showApplyReq) + fmt.Println("================================= showApplyReq --------------------------------------") + + showApplyRes, err := service.GrpcArtShowImpl.UpdateApply(c, showApplyReq) + + if err != nil { + return "", err + } + + fmt.Println("画展经纪人请求", UpdateArtShowAgentList) + updateArtShowAgentRes, err := service.GrpcArtShowImpl.UpdateArtShowAgent(c, &artShow.UpdateArtShowAgentReq{Data: UpdateArtShowAgentList}) + fmt.Println("画展经纪人请求后", updateArtShowAgentRes, err) + + if err != nil { + return "", err + } + + // 添加 画作销售站点 + err = AddSaleAddress(detailRes) + if err != nil { + return "", err + } + + if err != nil { + return "", err + } + + // 通过 rabbitmq 发送 到 画家系统 用于 确认 是否 参加画展 + //artistUIDs := make([]string, 0) + // + //for i := 0; i < len(detailRes.Exhibition.ApprovalExhibitions); i++ { + // artistUIDs = append(artistUIDs, detailRes.Exhibition.ApprovalExhibitions[i].ArtExhibitionDetail.ArtistUID) + //} + + //bt, err := json.Marshal(&artistUIDs) + //fmt.Println("========================== send =====================") + //fmt.Printf("send msg to mq : %+v", artistUIDs) + //fmt.Println("========================== send =====================") + //fmt.Println() + //mq.SendToArtShowPass(bt) + + return showApplyRes.ApplyUID, nil + +} + +func passSynToArtShow(c *gin.Context, ID uint64) (string, error) { + + var detailReq api.DetailRequest + + userInfo := login.GetUserInfoFromC(c) + detailReq.UserId = userInfo.ID + detailReq.ID = ID + fmt.Println("passSynToArtShow---1") + detailRes, err3 := service.ApprovalProvider.Detail(c, &detailReq) + if err3 != nil { + return "", err3 + } + fmt.Println("passSynToArtShow---2") + if detailRes.Type != "exhibition" { + return "", nil + } + + fmt.Println("passSynToArtShow---3") + if detailRes.Status != 2 { // 2 表示 此审批 未通过 + return "", nil + } + + fmt.Println("passSynToArtShow---4") + // 审批 通过 通知 画展包微服务 记录 + req := detailRes + + now := time.Now() + datestr := now.Format("2006-01-02 15:04:05") + showRels := make([]*artShow.ShowRel, 0) + showUIDs := make([]string, 0) + var UpdateArtShowAgentList []*artShow.ArtShowAgent + + fmt.Println("passSynToArtShow---5") + showApplyReq := &artShow.SaveApplyReq{ + ApplyUID: req.Exhibition.ApplyID, + Applicant: req.SubmitterName, + ApplicantID: strconv.FormatUint(req.SubmitterID, 10), + Num: int32(len(req.Exhibition.ApprovalExhibitions)), + ApplyTime: datestr, + Status: int32(req.Status), + } + showApplyReq.PricePolicy = make([]*artShow.PricePolicy, 0) + + fmt.Println("passSynToArtShow---6") + for index, tt := range req.Exhibition.ApprovalExhibitions { + temp := &artShow.ShowRel{ + ShowUID: tt.PackageID, + Index: int32((index + 1)), + Address: tt.Address, + ShowTime: tt.ShowDate, + ApplyUID: req.Exhibition.ApplyID, + } + + UpdateArtShowAgentList = append(UpdateArtShowAgentList, &artShow.ArtShowAgent{ + ShowUID: tt.PackageID, + Agent: tt.ArtExhibitionDetail.Agent, + }) + + showRels = append(showRels, temp) + showUIDs = append(showUIDs, tt.PackageID) + } + fmt.Println("passSynToArtShow---7") + showDetail := new(artShow.ShowDetailReq) + showDetail.ShowUID = showUIDs + showDetailRes, err := service.GrpcArtShowImpl.ShowDetail(c, showDetail) + if err != nil { + return "", errors.New(e.ErrorQueryArtShowInfo) + } + + //使用邀请函中的数据更新出行信息 + defer func() { + fmt.Println("passSynToArtShow---8") + var showUids []string + for _, v := range showDetailRes.Data { + showUids = append(showUids, v.ShowUID) + } + fmt.Println("EntertainmentSetDefaultValue start---showUids:", showUids) + if len(showUids) > 0 { + go func() { + err = EntertainmentSetDefaultValue(showUids...) + fmt.Println("EntertainmentSetDefaultValue end---err:", err) + if err != nil { + zap.L().Error("更新招待数据中的出行信息失败", zap.Error(err)) + } + }() + } + }() + policys := make([]*artShow.PricePolicy, 0) + for i := 0; i < len(showDetailRes.Data); i++ { + if showDetailRes.Data[i].HasFormula == e.HasFormula { + policy := new(artShow.PricePolicy) + policy.ShowUID = showDetailRes.Data[i].ShowUID + policy.ArtistUID = showDetailRes.Data[i].ArtistUID + policy.ArtistName = showDetailRes.Data[i].ArtistName + policy.Factor = new(artShow.PricePolicyFactor) + honorCountReq := new(artist.HonorCountReq) + honorCountReq.ArtistUid = showDetailRes.Data[i].ArtistUID + honorCountResp, err := service.GrpcArtistImpl.HonorCount(c, honorCountReq) + if err != nil { + return "", errors.New(e.ErrorQueryHonorInfo) + } + //policy.Factor.PaintingCount = showDetailRes.Data[i].ArtworkNum + //policy.Factor.AverageCanvasSize = float32(math.Round(float64(showDetailRes.Data[i].Ruler / showDetailRes.Data[i].ArtworkNum))) + //policy.Factor.TaifengExhibitionCount = float32(honorCountResp.CaaJoinYear) + policy.Factor.MeixieYears = float32(honorCountResp.CaaJoinYear) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.Exhibition) + policy.Factor.ArtistProfessionalismIndex = float32(honorCountResp.Professionalism) + policy.Factor.ArtistCollectibilityIndex = float32(honorCountResp.Collectible) + policy.Factor.ArtistExperienceEducationIndex = float32(honorCountResp.Education) + policy.Factor.ArtistInfluencePopularityIndex = float32(honorCountResp.Influence) + policy.Factor.StudyAbroadExperienceCount = float32(honorCountResp.StudyTourCount) + policy.Factor.AwardExperienceCount = float32(honorCountResp.AwardCount) + policy.Factor.NationalTitleCount = float32(honorCountResp.NationTitleCount) + policy.Factor.ProvincialTitleCount = float32(honorCountResp.ProvinceTitleCount) + policy.Factor.OtherTitleCount = float32(honorCountResp.OtherTitleCount) + policy.Factor.PublishedPaintingCount = float32(honorCountResp.ArtworkPublishCount) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.OutsidePublishCount) + policy.Factor.AcademicPublicationCount = float32(honorCountResp.AcademicPublishCount) + policy.Factor.ThirdPartyCuratorComment = float32(honorCountResp.ThirdCommentCount) + policys = append(policys, policy) + fmt.Println("================================= policy --------------------------------------") + fmt.Printf("policy %+v\n", policy) + fmt.Println("================================= policy --------------------------------------") + } + } + + showApplyReq.Rel = showRels + showApplyReq.PricePolicy = policys + + fmt.Println("================================= showApplyReq --------------------------------------") + fmt.Printf("showApplyReq %+v\n", showApplyReq) + fmt.Println("================================= showApplyReq --------------------------------------") + + showApplyRes, err := service.GrpcArtShowImpl.UpdateApply(c, showApplyReq) + + if err != nil { + return "", err + } + + fmt.Println("画展经纪人请求", UpdateArtShowAgentList) + updateArtShowAgentRes, err := service.GrpcArtShowImpl.UpdateArtShowAgent(c, &artShow.UpdateArtShowAgentReq{Data: UpdateArtShowAgentList}) + fmt.Println("画展经纪人请求后", updateArtShowAgentRes, err) + + if err != nil { + return "", err + } + + // 添加 画作销售站点 + err = AddSaleAddress(detailRes) + if err != nil { + return "", err + } + + if err != nil { + return "", err + } + + // 通过 rabbitmq 发送 到 画家系统 用于 确认 是否 参加画展 + //artistUIDs := make([]string, 0) + // + //for i := 0; i < len(detailRes.Exhibition.ApprovalExhibitions); i++ { + // artistUIDs = append(artistUIDs, detailRes.Exhibition.ApprovalExhibitions[i].ArtExhibitionDetail.ArtistUID) + //} + // + //bt, err := json.Marshal(&artistUIDs) + //fmt.Println("========================== send =====================") + //fmt.Printf("send msg to mq : %+v", artistUIDs) + //fmt.Println("========================== send =====================") + //fmt.Println() + //mq.SendToArtShowPass(bt) + + return showApplyRes.ApplyUID, nil + +} + +func UsedNumByUser(c *gin.Context) { + + userInfo := login.GetUserInfoFromC(c) + + levelReq := api.UsedNumByUserRequest{ + SubmitterID: userInfo.ID, + } + + res, err := service.ApprovalProvider.UsedNumByUser(c, &levelReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} + +// SetStatusEx ID Status UserId +func SetStatusEx(c *gin.Context) { + var req api.StatusRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + infoReq := account2.InfoRequest{ID: req.UserId} + + infoRes, err := service.AccountProvider.Info(context.Background(), &infoReq) + if err != nil { + service.Error(c, e.Error, errors.New(e.GetMsg(e.ErrorGetUserInfo))) + return + } + + if infoRes.Info.ID == 0 || infoRes.Info.NickName == "" || infoRes.Info.Domain == "" { + service.Error(c, e.Error, errors.New(e.GetMsg(e.ErrorGetUserInfo))) + return + } + + userInfo := login.Info{ + ID: req.UserId, + NickName: infoRes.Info.NickName, + } + + levelReq := api.NowLevelByInfoRequest{ + ApprovalID: req.ID, + } + + levelRes, err := service.ApprovalProvider.NowLevelByInfo(c, &levelReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.UserId != levelRes.UserID { + service.Error(c, e.Error, errors.New("本次审批人出现错误")) + return + } + + req.WorkFlowId = levelRes.ID + + beforeApproval := QueryApprovalSetStatusBefore(req.ID) + + res, err := service.ApprovalProvider.SetStatus(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(c, &detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if detail.TypeName == "任命审批" { + StoreBaiduChainApprovalFile(req.ID) + } + + // 审批成功查询用户部门的信息,提交画作服修改画作仓库状态 + + if detail.TypeName == "画作申请审批" { + var ids []int32 + for _, tt := range detail.Work.ApprovalWorks { + ids = append(ids, int32(tt.ArtworkID)) + } + + fmt.Println("请求画作申请审批", ids) + if len(ids) > 0 { + err = submitArtwork(req.UserId, ids) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + // approval 审批状态 同步到 oa 审批 + if e.TypeMap[detail.Type] == "oa" { + // 查询 审批状态已经 更新的 审批信息 + updatedReq := api.DetailRequest{ID: req.ID} + updatedDetail, detailErr := service.ApprovalProvider.Detail(c, &updatedReq) + if detailErr != nil { + service.Error(c, e.Error, detailErr) + return + } + + if req.LeaveBalance != 0 && updatedDetail.ApprovalOA.LeaveApply != nil { + //leaveBalance, _ := strconv.ParseFloat(req.LeaveBalance, 10) + updatedDetail.ApprovalOA.LeaveApply.LeaveBalance = req.LeaveBalance + } + + _, updateErr := UpdateApprovalStatusToOAStatus(updatedDetail) + if updateErr != nil { + service.Error(c, e.Error, updateErr) + return + } + } + + if _, err := passSynToArtShowNotLogin(c, req.ID, req.UserId); err != nil { + service.Error(c, e.Error, err) + return + } + + if _, err := passSynToShowRelUpdateNotLogin(c, req.ID, req.UserId); err != nil { + service.Error(c, e.Error, err) + return + } + + if detail.Type == TypeExhibition && beforeApproval.Status == e.ApprovalWorkStatusDoing && req.Status == e.ApprovalWorkStatusFail { //取消通知画展包 + err = CancelArtShowApply(detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + _ = PassUpdate(c, req.ID) + + if detail.TypeName == "人员增补申请" { + //userInfo := login.GetUserInfoFromC(c) + if req.Status == e.ApprovalWorkStatusFail { + err = rejectPostApprove(userInfo, req.ID, req.Reply) + if err != nil { + service.Error(c, e.Error, err) + return + } + + } else if req.Status == e.ApprovalWorkStatusOk { + err = passPostApprove(userInfo, req.ID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + if strings.Contains(detail.Type, "employ") { + err := offerApproveSetStatusEnter(c, userInfo, &req, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + //if detail.Type == "employ" { + // //userInfo := login.GetUserInfoFromC(c) + // if req.Status == e.ApprovalWorkStatusFail { + // err = rejectOfferApprove(userInfo, req.ID, req.Reply) + // if err != nil { + // service.Error(c, e.Error, err) + // return + // } + // } else if req.Status == e.ApprovalWorkStatusOk { + // err = passOfferApproveNotFinish(userInfo, req.ID) + // if err != nil { + // service.Error(c, e.Error, err) + // return + // } + // } + + //if detail.Status == e.ApprovalWorkStatusOk { + // + // registerUser := union.User{ + // NickName: detail.Employ.Name, + // TelNum: detail.Employ.Mobile, + // EnterDate: detail.Employ.EntryTime, + // PositionUsers: nil, + // JobNum: detail.Employ.EmployeeNo, + // Password: InitPassword, + // } + // registerUser.PositionUsers = make([]*position.PositionUser, 0) + // registerUser.PositionUsers = append(registerUser.PositionUsers, &position.PositionUser{PositionName: detail.Employ.Post, DepartmentName: detail.Employ.BelongDepartment}) + // err, _ = account.UserRegisters(c, registerUser) + // if err != nil { + // service.Error(c, e.Error, err) + // return + // } + //} + //} + + if detail.Type == "checkIn" && detail.Status == e.ApprovalWorkStatusOk { + err = passSendInfoToSiteSignIn(detail.CheckIn) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.Success(c, res) +} + +func SetStatus(c *gin.Context) { + var req vo.SetStatus + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + + levelReq := api.NowLevelByInfoRequest{ + ApprovalID: req.ID, + } + + levelRes, err := service.ApprovalProvider.NowLevelByInfo(c, &levelReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if userInfo.ID != levelRes.UserID { + service.Error(c, e.Error, errors.New("本次审批人出现错误")) + return + } + + req.WorkFlowId = levelRes.ID + fmt.Println("============== 打印 StatusRequest内容 ========== 开始 =========") + fmt.Printf("StatusRequest is : %+v \n", req) + fmt.Println("============== 打印 StatusRequest内容 ========== 结束 =========") + + // 查询 未审批前的审批 + beforeApproval := QueryApprovalSetStatusBefore(req.ID) + + newReq := new(api.StatusRequest) + newReq.Status = req.Status + newReq.ID = req.ID + newReq.WorkFlowId = req.WorkFlowId + newReq.LeaveBalance = req.LeaveBalance + newReq.Title = req.Title + newReq.Reply = req.Reply + newReq.Tips = req.Tips + + res, err := service.ApprovalProvider.SetStatus(c, newReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(c, &detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.Title == "任命审批" { + StoreBaiduChainApprovalFile(req.ID) + } + + // 审批成功查询用户部门的信息,提交画作服修改画作仓库状态 + var artworkReq artwork_query.UpdateAwStockStatusRequest + if err = c.ShouldBindBodyWith(&artworkReq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if req.Title == "画作申请审批" { + err = submitArtwork(userInfo.ID, artworkReq.ArtworkIds) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if _, err := passSynToArtShow(c, req.ID); err != nil { + service.Error(c, e.Error, err) + return + } + + // approval 审批状态 同步到 oa 审批 + if e.TypeMap[detail.Type] == "oa" { + // 查询 审批状态已经 更新的 审批信息 + updatedReq := api.DetailRequest{ID: req.ID} + updatedDetail, detailErr := service.ApprovalProvider.Detail(c, &updatedReq) + if detailErr != nil { + service.Error(c, e.Error, detailErr) + return + } + + if req.LeaveBalance != 0 && updatedDetail.ApprovalOA.LeaveApply != nil { + //leaveBalance, _ := strconv.ParseFloat(req.LeaveBalance, 10) + updatedDetail.ApprovalOA.LeaveApply.LeaveBalance = req.LeaveBalance + } + + _, updateErr := UpdateApprovalStatusToOAStatus(updatedDetail) + if updateErr != nil { + service.Error(c, e.Error, updateErr) + return + } + } + + if _, err := passSynToShowRelUpdate(c, req.ID); err != nil { + service.Error(c, e.Error, err) + return + } + + if detail.Type == TypeExhibition && beforeApproval.Status == e.ApprovalWorkStatusDoing && req.Status == e.ApprovalWorkStatusFail { //取消通知画展包 + err = CancelArtShowApply(detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + _ = PassUpdate(c, req.ID) + + if req.Title == "人员增补申请" { + if req.Status == e.ApprovalWorkStatusFail { + err = rejectPostApprove(userInfo, req.ID, req.Reply) + if err != nil { + service.Error(c, e.Error, err) + return + } + } else if req.Status == e.ApprovalWorkStatusOk { + err = passPostApprove(userInfo, req.ID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + if strings.Contains(detail.Type, "employ") { + if req.Status == e.ApprovalWorkStatusFail { + err = rejectOfferApprove(userInfo, req.ID, req.Reply) + if err != nil { + service.Error(c, e.Error, err) + return + } + } else if req.Status == e.ApprovalWorkStatusOk { + err = passOfferApproveNotFinish(userInfo, req.ID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.Status == e.ApprovalWorkStatusOk { + /* + registerUser := union.User{ + NickName: detail.Employ.Name, + TelNum: detail.Employ.Mobile, + EnterDate: detail.Employ.EntryTime, + PositionUsers: nil, + JobNum: detail.Employ.EmployeeNo, + Password: InitPassword, + } + registerUser.PositionUsers = make([]*position.PositionUser, 0) + registerUser.PositionUsers = append(registerUser.PositionUsers, &position.PositionUser{PositionName: detail.Employ.Post, DepartmentName: detail.Employ.BelongDepartment}) + err, _ = account.UserRegisters(c, registerUser) + if err != nil { + service.Error(c, e.Error, err) + return + } + */ + } + } + + if detail.Type == "checkIn" && detail.Status == e.ApprovalWorkStatusOk { + err = passSendInfoToSiteSignIn(detail.CheckIn) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if req.Status == e.ApprovalWorkStatusFail { + workReq := api.ListRequest{ + ApprovedBossId: userInfo.ID, + ApprovalStatus: req.RetStatus, + Type: detail.Type, + } + + if workReq.OrderBy == "" { + workReq.OrderBy = "desc" + } + + workRes, err := service.ApprovalProvider.MyWork(c, &workReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, workRes) + return + } + + service.Success(c, res) +} + +// PassUpdate 通过去修改画展信息 +func PassUpdate(c *gin.Context, id uint64) error { + + detailReq := api.DetailRequest{ID: id} + detail, err := service.ApprovalProvider.Detail(c, &detailReq) + + if err != nil { + fmt.Println("查询失败", err) + return nil + } + + if detail.Status != e.ApprovalWorkStatusOk { + return nil + } + + if detail.Exhibition == nil || len(detail.Exhibition.ApprovalExhibitions) <= 0 { + fmt.Println("不存在绑定画展包内容") + return nil + } + + //是exhibition + /* if detail.Type == TypeExhibition { // + + var UpdateArtworkSaleAddressList []*artShow.ArtworkSaleAddress + var UpdateArtShowAgentList []*artShow.ArtShowAgent + var artWorks []*artwork_third_party.UpdateAwSaleInfoReq_Info + for _, t := range detail.Exhibition.ApprovalExhibitions { + for _, tt := range t.Artworks { + temp := &artShow.ArtworkSaleAddress{ArtworkPriceUid: tt.ArtworkPriceUID, SaleAddress: tt.SaleAddress} + UpdateArtworkSaleAddressList = append(UpdateArtworkSaleAddressList, temp) + intNum, err := strconv.ParseInt(tt.SaleAddressID, 10, 32) + if err != nil { + intNum = 0 + } + arwTemp := &artwork_third_party.UpdateAwSaleInfoReq_Info{ArtworkUuid: tt.ArtworkUID, SaleAddress: tt.SaleAddress, SaleId: int32(intNum)} + artWorks = append(artWorks, arwTemp) + } + + UpdateArtShowAgentList = append(UpdateArtShowAgentList, &artShow.ArtShowAgent{ + ShowUID: t.PackageID, + Agent: t.ArtExhibitionDetail.Agent, + }) + } + + if len(UpdateArtworkSaleAddressList) <= 0 { + return nil + } + + //通知画展 + UpdateArtworkSaleAddressReq := &artShow.UpdateArtworkSaleAddressReq{Data: UpdateArtworkSaleAddressList} + + fmt.Println("画展请求", UpdateArtworkSaleAddressReq) + UpdateArtworkSaleAddressRes, err := service.GrpcArtShowImpl.UpdateArtworkSaleAddress(c, UpdateArtworkSaleAddressReq) + fmt.Println("画展请求后", UpdateArtworkSaleAddressRes, err) + + fmt.Println("画展经纪人请求", UpdateArtShowAgentList) + updateArtShowAgentRes, err := service.GrpcArtShowImpl.UpdateArtShowAgent(c, &artShow.UpdateArtShowAgentReq{Data: UpdateArtShowAgentList}) + fmt.Println("画展经纪人请求后", updateArtShowAgentRes, err) + + //通知画作 + saleReq := &artwork_third_party.UpdateAwSaleInfoReq{Data: artWorks} + + fmt.Println("画作请求", saleReq) + saleRes, err := service.GrpcArtworkThirdPartyImpl.UpdateAwSaleInfo(c, saleReq) + fmt.Println("画作请求后", saleRes, err) + + } */ + if detail.Type == TypeArtExhibitionReward { //价格 + + //通知画展 + var list []*artShow.ArtworkReward + var artWorks []*artwork_third_party.UpdateAwInfoReq_Info + + for _, t := range detail.Exhibition.ApprovalExhibitions { + for _, tt := range t.Artworks { + temp := &artShow.ArtworkReward{ArtworkPriceUid: tt.ArtworkPriceUID, Reward: tt.Reward} + list = append(list, temp) + + distFloat, err := strconv.ParseFloat(tt.Reward, 32) + + if err != nil { + distFloat = 0 + } + + arwTemp := &artwork_third_party.UpdateAwInfoReq_Info{ArtworkUuid: tt.ArtworkUID, PriceRun: wrapperspb.Float(float32(distFloat))} + artWorks = append(artWorks, arwTemp) + } + } + + if len(list) <= 0 { + return nil + } + + req := &artShow.UpdateArtworkRewardReq{Data: list} + + fmt.Println("请求", req) + res, err := service.GrpcArtShowImpl.UpdateArtworkReward(c, req) + fmt.Println("请求后", res, err) + fmt.Println(res, err) + //通知画作 + + //通知画作 + saleReq := &artwork_third_party.UpdateAwInfoReq{Data: artWorks} + + fmt.Println("画作请求", saleReq) + saleRes, err := service.GrpcArtworkThirdPartyImpl.UpdateAwInfo(c, saleReq) + fmt.Println("画作请求后", saleRes, err) + + } + + return nil +} + +func cancelApply(c *gin.Context, detail *api.CreateRequest) (err error) { + + fmt.Println("取消画展包", detail) + if detail.Type != TypeExhibition { + return nil + } + + if detail.Exhibition == nil { + return nil + } + + if detail.Exhibition.ApplyID == "" { + return nil + } + + delReq := artShow.DelApplyReq{ApplyUID: []string{detail.Exhibition.ApplyID}} + + fmt.Println("取消画展包:req", delReq) + r, err := service.GrpcArtShowImpl.DelApply(c, &delReq) + fmt.Println("取消画展包:res", r, err) + return err +} + +func submitArtwork(adminId uint64, artworkIds []int32) (err error) { + uReq := rule.RulesRequest{ + AccountID: adminId, + } + //获取用户信息 + posResp, err := service.RuleProvider.UserInfo(context.Background(), &uReq) + if err != nil { + logger.Errorf("submitArtwork UserInfo err", err) + err = errors.New(e.GetMsg(e.ErrorGetUserInfo)) + return + } + if posResp == nil || posResp.PositionUsers == nil { + err = errors.New(e.GetMsg(e.ErrorGetDepart)) + return + } + var postName string + for _, v := range posResp.PositionUsers { + if v.PositionName == model.DepartDigiName { + postName = model.DepartDigiName + goto SendAwSto + } else if v.PositionName == model.DepartAuthName { + postName = model.DepartDigiName + goto SendAwSto + } + } +SendAwSto: + //发送画作状态 + awReq := artwork_query.UpdateAwStockStatusRequest{ + AdminId: int32(adminId), + PostName: postName, + ArtworkIds: artworkIds, + ActionType: model.AwStockStatusApproval, + } + _, err = service.GrpcArtworkQueryImpl.UpdateAwStockStatus(context.Background(), &awReq) + logger.Errorf("UpdateAwStockStatus err", err) + if err != nil { + err = errors.New(err.Error()) + return + } + return +} + +func Remove(c *gin.Context) { + var req api.RemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + for i := 0; i < len(req.IDs); i++ { + // approval 审批状态 同步到 oa 审批 + + // 查询 审批状态已经 更新的 审批信息 + updatedReq := api.DetailRequest{ID: req.IDs[i]} + updatedDetail, detailErr := service.ApprovalProvider.Detail(c, &updatedReq) + if detailErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "获取审批信息失败", + Status: e.Failed, + }) + return + } + + if updatedDetail.ApprovalOA != nil { + _, updateErr := DeleteApproval(updatedDetail) + if updateErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "更新OA审批信息失败", + Status: e.Failed, + }) + return + } + } + + if updatedDetail.StaffSupply != nil { + userInfo := login.GetUserInfoFromC(c) + err := rollbackPost(userInfo, updatedDetail.ID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if updatedDetail.Employ != nil { + userInfo := login.GetUserInfoFromC(c) + if updatedDetail.Employ.ResumeID != "" { + err := rollbackOffer(userInfo, updatedDetail.ID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + deleteApproval := req.IDs[i] + // 同步至 es + go func() { + updateErr := logic.DeleteIndexApprovalDoc(config.ApprovalIndex, deleteApproval) + if updateErr != nil { + zap.L().Error("同步至 es 失败 更新", zap.Error(updateErr)) + return + } + }() + // 年假扣除清零 + if strings.Contains(updatedDetail.Type, "turnover") { + updateDeductAnnualLeaveZeroClearing(updatedDetail.ApprovalOA.Turnover) + } + + } + + res, err := service.ApprovalProvider.Remove(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +// PrintDetail 打印的信息详情 +func PrintDetail(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID + + res, err := service.ApprovalProvider.Detail(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + accountInfo, err := account.GetUserInfoById(c, res.SubmitterID, "") + if err != nil { + service.Error(c, e.Error, err) + return + } + + submitterInfo := vo.SubmitterInfo{ + Name: accountInfo.NickName, + DepartmentName: accountInfo.DepartmentName, + TelNum: accountInfo.TelNum, + } + + printerInfo := vo.PrinterInfo{ + Name: userInfo.NickName, + TelNum: userInfo.TelNum, + } + + var userIds []uint64 + var copyUsers []string + var approvalUsers []string + var content []vo.ContentInfo + + for _, tt := range res.CopyUsers { + userIds = append(userIds, tt.ID) + } + + for _, tt := range res.WorkFlows { + userIds = append(userIds, tt.ID) + } + + fmt.Println("1----查看", userIds) + departmentUserMap, err := department.GetDepartmentUsersMap(c, userIds) + fmt.Println("2----查看", departmentUserMap) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.TypeResponse{ + Keyword: res.Type, + } + + detailRes, err := service.ApprovalProvider.DetailType(c, &detailReq) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("2----查看", res) + for i, tt := range res.CopyUsers { + if _, ok := departmentUserMap[tt.ID]; ok { + temp := fmt.Sprintf("第%s抄送人: %s %s", common.TransferNum(i+1), departmentUserMap[tt.ID], tt.Name) + copyUsers = append(copyUsers, temp) + } else { + temp := fmt.Sprintf("第%s抄送人: %s", common.TransferNum(i+1), tt.Name) + copyUsers = append(copyUsers, temp) + } + } + + //fmt.Println(res.WorkFlows) + //fmt.Println(departmentUserMap) + for i, tt := range res.WorkFlows { + passString := "审批中" + greetString := "" + if tt.Status == e.ApprovalWorkStatusOk { + passString = "通过" + greetString = "同意" + } else if tt.Status == e.ApprovalWorkStatusFail { + passString = "未通过" + greetString = "不同意" + } + if _, ok := departmentUserMap[tt.UserID]; ok { + temp := fmt.Sprintf("第%s审批人: %s %s %s %s %s", common.TransferNum(i+1), departmentUserMap[tt.ID], tt.Name, passString, tt.OperatedAt, greetString) + approvalUsers = append(approvalUsers, temp) + } else { + temp := fmt.Sprintf("第%s审批人: %s %s %s %s", common.TransferNum(i+1), tt.Name, passString, tt.OperatedAt, greetString) + approvalUsers = append(approvalUsers, temp) + } + } + + if res.Type == e.TypeContent { + temp := vo.ContentInfo{ + Info: res.Content, + Type: "string", + Title: "内容", + } + content = append(content, temp) + } else if res.Type == e.TypeShow { + temp := vo.ContentInfo{ + Info: res.Content, + Type: "string", + Title: "具体内容", + } + content = append(content, temp) + } else if res.Type == e.TypeWork { + if res.Work != nil { + title := "" + for _, t := range res.Work.ApprovalWorks { + title = title + " " + t.ArtworkName + } + content = append(content, vo.ContentInfo{ + Info: title, + Type: "string", + Title: "申请内容", + }) + + } + + temp1 := vo.ContentInfo{ + Info: res.Content, + Type: "string", + Title: "具体内容", + } + + content = append(content, temp1) + } else if res.Type == e.TypeBundle { + if res.Bundle != nil { + temp := vo.ContentInfo{ + Info: res.Bundle.ApplicationsNum, + Type: "num", + Title: "申请数量", + } + + content = append(content, temp) + + } + + temp1 := vo.ContentInfo{ + Info: res.Content, + Type: "string", + Title: "具体内容", + } + + content = append(content, temp1) + } else if res.Type == e.TypeExhibition { + if res.Exhibition != nil { + + for i, t := range res.Exhibition.ApprovalExhibitions { + content = append(content, vo.ContentInfo{ + Info: t.ArtExhibitionDetail.ShowName, + Type: "string", + Title: "名称" + fmt.Sprintf("%d", i+1), + }) + + content = append(content, vo.ContentInfo{ + Info: t.ShowDate, + Type: "string", + Title: "画展时间", + }) + + content = append(content, vo.ContentInfo{ + Info: t.Address, + Type: "string", + Title: "画展地址", + }) + content = append(content, vo.ContentInfo{ + Info: t.ArtExhibitionDetail.ArtistShowCount, + Type: "string", + Title: "画家名称", + }) + content = append(content, vo.ContentInfo{ + Info: t.ArtExhibitionDetail.ArtworkNum, + Type: "string", + Title: "包含画作数量", + }) + content = append(content, vo.ContentInfo{ + Info: t.ArtExhibitionDetail.Ruler, + Type: "string", + Title: "包含画作总平尺", + }) + content = append(content, vo.ContentInfo{ + Info: t.ArtExhibitionDetail.Price, + Type: "string", + Title: "画作总价", + }) + type ArtworkList struct { + Artworks []*api.Artwork `json:"Artworks"` + } + var artworkList ArtworkList + artworkList.Artworks = make([]*api.Artwork, 0) + artworkList.Artworks = t.Artworks + marshal, err := json.Marshal(artworkList) + if err != nil { + return + } + content = append(content, vo.ContentInfo{ + Info: string(marshal), + Type: "artworkList", + Title: "画作列表", + }) + //for _, artwork := range t.Artworks { + // content = append(content, vo.ContentInfo{ + // Info: artwork.ArtworkName, + // Type: "string", + // Title: "画作名称", + // }) + // content = append(content, vo.ContentInfo{ + // Info: artwork.Tfnum, + // Type: "string", + // Title: "画作编号", + // }) + // content = append(content, vo.ContentInfo{ + // Info: artwork.ArtistShowCount, + // Type: "string", + // Title: "画家名称", + // }) + // content = append(content, vo.ContentInfo{ + // Info: artwork.Length, + // Type: "num", + // Title: "长", + // }) + // content = append(content, vo.ContentInfo{ + // Info: artwork.Width, + // Type: "num", + // Title: "宽", + // }) + // content = append(content, vo.ContentInfo{ + // Info: artwork.Ruler, + // Type: "num", + // Title: "平尺数", + // }) + // content = append(content, vo.ContentInfo{ + // Info: artwork.SaleAddress, + // Type: "string", + // Title: "销售站点", + // }) + //} + + } + + } + + temp1 := vo.ContentInfo{ + Info: res.Content, + Type: "string", + Title: "具体内容", + } + + content = append(content, temp1) + } else if strings.Contains(res.Type, "turnover") { + if res.ApprovalOA != nil { + if res.ApprovalOA.Turnover != nil { + detail := res.ApprovalOA.Turnover + + content = append(content, vo.ContentInfo{ + Info: detail.ActionTime, + Type: "string", + Title: "申请日期", + }) + content = append(content, vo.ContentInfo{ + Info: detail.StaffName, + Type: "string", + Title: "申请人", + }) + departments := "" + positions := "" + for index, applyPosition := range detail.Positions { + if index == 0 { + departments = applyPosition.DepartmentName + positions = applyPosition.PositionName + } else { + departments = departments + "|" + applyPosition.DepartmentName + positions = positions + "|" + applyPosition.PositionName + } + } + content = append(content, vo.ContentInfo{ + Info: departments, + Type: "string", + Title: "部门", + }) + content = append(content, vo.ContentInfo{ + Info: positions, + Type: "string", + Title: "岗位", + }) + content = append(content, vo.ContentInfo{ + Info: detail.StaffNum, + Type: "string", + Title: "工号", + }) + content = append(content, vo.ContentInfo{ + Info: detail.JoinTime, + Type: "string", + Title: "入职日期", + }) + content = append(content, vo.ContentInfo{ + Info: detail.LeftTime, + Type: "string", + Title: "离职日期", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Address, + Type: "string", + Title: "离职后住址", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ContactInfo, + Type: "string", + Title: "联系电话", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "离职原因", + }) + + } + + } + } else if strings.Contains(res.Type, "handover") { + if res.ApprovalOA != nil { + if res.ApprovalOA.Turnover != nil { + detail := res.ApprovalOA.Turnover + content = append(content, vo.ContentInfo{ + Info: detail.StaffName, + Type: "string", + Title: "申请人", + }) + departments := "" + positions := "" + for index, applyPosition := range detail.Positions { + if index == 0 { + departments = applyPosition.DepartmentName + positions = applyPosition.PositionName + } else { + departments = departments + "|" + applyPosition.DepartmentName + positions = positions + "|" + applyPosition.PositionName + } + } + content = append(content, vo.ContentInfo{ + Info: departments, + Type: "string", + Title: "部门", + }) + content = append(content, vo.ContentInfo{ + Info: positions, + Type: "string", + Title: "岗位", + }) + content = append(content, vo.ContentInfo{ + Info: detail.StaffNum, + Type: "string", + Title: "工号", + }) + content = append(content, vo.ContentInfo{ + Info: detail.JoinTime, + Type: "string", + Title: "入职日期", + }) + content = append(content, vo.ContentInfo{ + Info: detail.LeftTime, + Type: "string", + Title: "离职日期", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Address, + Type: "string", + Title: "离职后住址", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ContactInfo, + Type: "string", + Title: "联系电话", + }) + content = append(content, vo.ContentInfo{ + Info: detail.HandoverName, + Type: "string", + Title: "交接人", + }) + content = append(content, vo.ContentInfo{ + Info: detail.SuperviseName, + Type: "string", + Title: "监交人", + }) + content = append(content, vo.ContentInfo{ + Info: detail.WorkItems, + Type: "string", + Title: "工作交接事项", + }) + content = append(content, vo.ContentInfo{ + Info: detail.FinanceItems, + Type: "string", + Title: "财务交接事项", + }) + } + + } + } else if strings.Contains(res.Type, "employ") { + if res.Employ != nil { + detail := res.Employ + content = append(content, vo.ContentInfo{ + Info: detail.BelongDepartment, + Type: "string", + Title: "归属部门", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Post, + Type: "string", + Title: "岗位名称", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Name, + Type: "string", + Title: "姓名", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Mobile, + Type: "string", + Title: "手机号", + }) + content = append(content, vo.ContentInfo{ + Info: detail.EmployeeType, + Type: "string", + Title: "员工类型", + }) + content = append(content, vo.ContentInfo{ + Info: detail.EntryTime, + Type: "string", + Title: "预计入职时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.EmployeeNo, + Type: "string", + Title: "工号", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Remark, + Type: "string", + Title: "备注", + }) + } + + } else if strings.Contains(res.Type, "staffSupply") { + if res.StaffSupply != nil { + detail := res.StaffSupply + content = append(content, vo.ContentInfo{ + Info: detail.DepartmentName, + Type: "string", + Title: "归属部门", + }) + content = append(content, vo.ContentInfo{ + Info: detail.PositionName, + Type: "string", + Title: "岗位名称", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Num, + Type: "num", + Title: "申请增补人数", + }) + content = append(content, vo.ContentInfo{ + Info: detail.JobAsk, + Type: "string", + Title: "岗位需求", + }) + content = append(content, vo.ContentInfo{ + Info: detail.JoinInTime, + Type: "string", + Title: "期待到职日期", + }) + } + } else if strings.Contains(res.Type, "position") { + for _, tt := range res.CustomizeInfo { + if strings.Contains(tt.ApprovalType, "position") { + type PositionJson struct { + DepartmentID int32 + DepartmentName string + PositionName string + } + var posi PositionJson + if err := json.Unmarshal([]byte(tt.ApprovalValue), &posi); err != nil { + return + } + temp := vo.ContentInfo{ + Info: posi.DepartmentName + "-" + posi.PositionName, + Type: tt.ApprovalType, + Title: tt.ApprovalName, + } + content = append(content, temp) + } else { + temp := vo.ContentInfo{ + Info: tt.ApprovalValue, + Type: tt.ApprovalType, + Title: tt.ApprovalName, + } + content = append(content, temp) + } + } + } else if res.Type == "promotion" { + if res.Promotion != nil { + detail := res.Promotion + content = append(content, vo.ContentInfo{ + Info: detail.StaffName + "(" + detail.StaffNum + ")", + Type: "string", + Title: "姓名", + }) + content = append(content, vo.ContentInfo{ + Info: detail.OldJob, + Type: "string", + Title: "原职务", + }) + content = append(content, vo.ContentInfo{ + Info: detail.NewJob, + Type: "string", + Title: "任命职务", + }) + content = append(content, vo.ContentInfo{ + Info: detail.EffectiveTime, + Type: "string", + Title: "生效日期", + }) + } + } else if res.Type == "leave" || + res.Type == "sick" || + res.Type == "annualLeave" || + res.Type == "dayOff" || + res.Type == "maritalLeave" || + res.Type == "matingCheckLeave" || + res.Type == "maternityLeave" || + res.Type == "paternityLeave" || + res.Type == "parentalLeave" || + res.Type == "nursingLeave" || + res.Type == "funeralLeave" || + res.Type == "abortLeave" || + res.Type == "breastFeedingLeave" { + if res.ApprovalOA.Leave != nil { + detail := res.ApprovalOA.Leave + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[0].Date + detail.ApplyTimes[0].Hour + detail.ApplyTimes[0].M, + Type: "string", + Title: "开始时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[1].Date + detail.ApplyTimes[1].Hour + detail.ApplyTimes[1].M, + Type: "string", + Title: "结束时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "理由", + }) + } + + } else if res.Type == "makeUp" { + if res.ApprovalOA.MakeUp != nil { + detail := res.ApprovalOA.MakeUp + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[0].Date + detail.ApplyTimes[0].Hour + detail.ApplyTimes[0].M, + Type: "string", + Title: "补卡时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "理由", + }) + } + + } else if res.Type == "overTime" { + if res.ApprovalOA.OverTime != nil { + detail := res.ApprovalOA.OverTime + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[0].Date + detail.ApplyTimes[0].Hour + detail.ApplyTimes[0].M, + Type: "string", + Title: "开始时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[1].Date + detail.ApplyTimes[1].Hour + detail.ApplyTimes[1].M, + Type: "string", + Title: "结束时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "理由", + }) + } + + } else if res.Type == "outWork" { + if res.ApprovalOA.OutWork != nil { + detail := res.ApprovalOA.OutWork + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[0].Date + detail.ApplyTimes[0].Hour + detail.ApplyTimes[0].M, + Type: "string", + Title: "开始时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[1].Date + detail.ApplyTimes[1].Hour + detail.ApplyTimes[1].M, + Type: "string", + Title: "结束时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "理由", + }) + } + + } else if res.Type == "businessTrip" { + if res.ApprovalOA.BusinessTrip != nil { + detail := res.ApprovalOA.BusinessTrip + for _, itinerary := range detail.ItineraryList { + content = append(content, vo.ContentInfo{ + Info: itinerary.Vehicle, + Type: "string", + Title: "交通工具", + }) + content = append(content, vo.ContentInfo{ + Info: itinerary.StartAddress, + Type: "string", + Title: "出发地", + }) + content = append(content, vo.ContentInfo{ + Info: itinerary.EndAddress, + Type: "string", + Title: "目的地", + }) + content = append(content, vo.ContentInfo{ + Info: itinerary.ApplyTimes[0].Date + itinerary.ApplyTimes[0].Hour + itinerary.ApplyTimes[0].M, + Type: "string", + Title: "开始时间", + }) + content = append(content, vo.ContentInfo{ + Info: itinerary.ApplyTimes[1].Date + itinerary.ApplyTimes[1].Hour + itinerary.ApplyTimes[1].M, + Type: "string", + Title: "结束时间", + }) + } + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "理由", + }) + + } + + } else if res.Type == "goOut" { + if res.ApprovalOA.GoOut != nil { + detail := res.ApprovalOA.GoOut + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[0].Date + detail.ApplyTimes[0].Hour + detail.ApplyTimes[0].M, + Type: "string", + Title: "开始时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ApplyTimes[1].Date + detail.ApplyTimes[1].Hour + detail.ApplyTimes[1].M, + Type: "string", + Title: "结束时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "理由", + }) + + } + + } else if res.Type == "parentalLeaveApply" || res.Type == "nursingLeaveApply" { + if res.ApprovalOA.LeaveApply != nil { + detail := res.ApprovalOA.LeaveApply + content = append(content, vo.ContentInfo{ + Info: detail.LeaveBalance, + Type: "num", + Title: "申请天数", + }) + content = append(content, vo.ContentInfo{ + Info: detail.Reason, + Type: "string", + Title: "理由", + }) + + } + + } else if res.Type == "bundlePayPrice" { + if res.BundlePayPrice != nil { + detail := res.BundlePayPrice + content = append(content, vo.ContentInfo{ + Info: detail.ShowName, + Type: "string", + Title: "画展包名称", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ShowDate, + Type: "string", + Title: "画展时间", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ShowLowPrice, + Type: "string", + Title: "画展包底价", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ShowAddress, + Type: "string", + Title: "画展地址", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ArtistShowCount, + Type: "string", + Title: "画家名称", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ArtworkNum, + Type: "num", + Title: "作品数量", + }) + content = append(content, vo.ContentInfo{ + Info: detail.ArtworkSize, + Type: "string", + Title: "作品总平尺", + }) + + } + + } else if res.Type == "showUpdate" { + if res.ExhibitionHis != nil { + detail := res.ExhibitionHis + for _, hiss := range detail.ApprovalExhibitionHiss { + content = append(content, vo.ContentInfo{ + Info: hiss.PackageName, + Type: "string", + Title: "画展包", + }) + content = append(content, vo.ContentInfo{ + Info: hiss.ArtExhibitionDetail.ArtistShowCount, + Type: "string", + Title: "画家", + }) + content = append(content, vo.ContentInfo{ + Info: hiss.ArtExhibitionDetail.Price, + Type: "num", + Title: "价格", + }) + content = append(content, vo.ContentInfo{ + Info: hiss.ArtExhibitionDetail.Reward, + Type: "num", + Title: "润格", + }) + content = append(content, vo.ContentInfo{ + Info: hiss.PackageSize, + Type: "num", + Title: "平尺数", + }) + content = append(content, vo.ContentInfo{ + Info: hiss.ShowDate, + Type: "string", + Title: "画展时间", + }) + } + + } + + } else { + for _, tt := range res.CustomizeInfo { + temp := vo.ContentInfo{ + Info: tt.ApprovalValue, + Type: tt.ApprovalType, + Title: tt.ApprovalName, + } + content = append(content, temp) + } + } + approvalInfo := vo.ApprovalPrintInfo{ + Status: res.Status, + ApprovalNum: common.GenerateCode(res.ID), + CreatedAt: res.CreatedAt, + TypeString: detailRes.Title, + SubmitterInfo: submitterInfo, + PrinterInfo: printerInfo, + CopyUsers: copyUsers, + ApprovalUsers: approvalUsers, + ContentMap: content, + } + + //switch res.Type { + //case e.TypeContent: // + // temp := vo.ContentInfo{ + // Info: res.Content, + // Type: "string", + // Title: "内容", + // } + // content = append(content, temp) + // + //case e.TypeShow: + // + // temp := vo.ContentInfo{ + // Info: res.Content, + // Type: "string", + // Title: "具体内容", + // } + // content = append(content, temp) + // + //case e.TypeWork: + // + // if res.Work != nil { + // temp := vo.ContentInfo{ + // Info: res.Work.ReceivedAt, + // Type: "string", + // Title: "领取时间", + // } + // + // content = append(content, temp) + // title := "" + // for _, t := range res.Work.ApprovalWorks { + // title = title + " " + t.ArtworkName + // } + // content = append(content, vo.ContentInfo{ + // Info: title, + // Type: "string", + // Title: "申请内容", + // }) + // + // } + // + // temp1 := vo.ContentInfo{ + // Info: res.Content, + // Type: "string", + // Title: "具体内容", + // } + // + // content = append(content, temp1) + // + //case e.TypeBundle: + // if res.Bundle != nil { + // temp := vo.ContentInfo{ + // Info: res.Bundle.ApplicationsNum, + // Type: "num", + // Title: "申请数量", + // } + // + // content = append(content, temp) + // content = append(content, vo.ContentInfo{ + // Info: res.Bundle.ReceivedAt, + // Type: "string", + // Title: "领取时间", + // }) + // + // } + // + // temp1 := vo.ContentInfo{ + // Info: res.Content, + // Type: "string", + // Title: "具体内容", + // } + // + // content = append(content, temp1) + // + //case e.TypeExhibition: + // + // if res.Exhibition != nil { + // + // for i, t := range res.Exhibition.ApprovalExhibitions { + // content = append(content, vo.ContentInfo{ + // Info: t.ArtExhibitionDetail.ShowName, + // Type: "string", + // Title: "名称" + fmt.Sprintf("%d", i+1), + // }) + // + // content = append(content, vo.ContentInfo{ + // Info: t.ShowDate, + // Type: "string", + // Title: "画展时间", + // }) + // + // content = append(content, vo.ContentInfo{ + // Info: t.Address, + // Type: "string", + // Title: "画展地址", + // }) + // } + // + // content = append(content, vo.ContentInfo{ + // Info: res.Exhibition.ReceivedAt, + // Type: "string", + // Title: "领取时间", + // }) + // + // } + // + // temp1 := vo.ContentInfo{ + // Info: res.Content, + // Type: "string", + // Title: "具体内容", + // } + // + // content = append(content, temp1) + // + //case "turnover": + // if res.ApprovalOA != nil { + // if res.ApprovalOA.Turnover != nil { + // detail := res.ApprovalOA.Turnover + // + // content = append(content, vo.ContentInfo{ + // Info: detail.ActionTime, + // Type: "string", + // Title: "申请日期", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.StaffName, + // Type: "string", + // Title: "申请人", + // }) + // departments := "" + // positions := "" + // for index, applyPosition := range detail.Positions { + // if index == 0 { + // departments = applyPosition.DepartmentName + // positions = applyPosition.PositionName + // } else { + // departments = departments + "|" + applyPosition.DepartmentName + // positions = positions + "|" + applyPosition.PositionName + // } + // } + // content = append(content, vo.ContentInfo{ + // Info: departments, + // Type: "string", + // Title: "部门", + // }) + // content = append(content, vo.ContentInfo{ + // Info: positions, + // Type: "string", + // Title: "岗位", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.StaffNum, + // Type: "string", + // Title: "工号", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.JoinTime, + // Type: "string", + // Title: "入职日期", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.LeftTime, + // Type: "string", + // Title: "离职日期", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.Address, + // Type: "string", + // Title: "离职后住址", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.ContactInfo, + // Type: "string", + // Title: "联系电话", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.Reason, + // Type: "string", + // Title: "离职原因", + // }) + // + // } + // + // } + // + //case "handover": + // if res.ApprovalOA != nil { + // if res.ApprovalOA.Turnover != nil { + // detail := res.ApprovalOA.Turnover + // content = append(content, vo.ContentInfo{ + // Info: detail.StaffName, + // Type: "string", + // Title: "申请人", + // }) + // departments := "" + // positions := "" + // for index, applyPosition := range detail.Positions { + // if index == 0 { + // departments = applyPosition.DepartmentName + // positions = applyPosition.PositionName + // } else { + // departments = departments + "|" + applyPosition.DepartmentName + // positions = positions + "|" + applyPosition.PositionName + // } + // } + // content = append(content, vo.ContentInfo{ + // Info: departments, + // Type: "string", + // Title: "部门", + // }) + // content = append(content, vo.ContentInfo{ + // Info: positions, + // Type: "string", + // Title: "岗位", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.StaffNum, + // Type: "string", + // Title: "工号", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.JoinTime, + // Type: "string", + // Title: "入职日期", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.LeftTime, + // Type: "string", + // Title: "离职日期", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.Address, + // Type: "string", + // Title: "离职后住址", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.ContactInfo, + // Type: "string", + // Title: "联系电话", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.HandoverName, + // Type: "string", + // Title: "交接人", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.SuperviseName, + // Type: "string", + // Title: "监交人", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.WorkItems, + // Type: "string", + // Title: "工作交接事项", + // }) + // content = append(content, vo.ContentInfo{ + // Info: detail.FinanceItems, + // Type: "string", + // Title: "财务交接事项", + // }) + // } + // + // } + //default: //其它json + // for _, tt := range res.CustomizeInfo { + // temp := vo.ContentInfo{ + // Info: tt.ApprovalValue, + // Type: tt.ApprovalType, + // Title: tt.ApprovalName, + // } + // content = append(content, temp) + // } + //} + + service.Success(c, approvalInfo) +} + +// Send 催办 +func Send(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + nowUserInfo, err := account.GetUserInfoById(c, res.NowUserId, "") + if err != nil { + service.Error(c, e.Error, err) + return + } + + url := fmt.Sprintf("https://erpapi.fontree.cn/approval7524164487E?id=%d&userId=%d", req.ID, res.NowUserId) + + //todo 拉取了dev分支后,这个方法没有 + shortUrl, err := utils.CreateShortUrl(url) + if err == nil { + url = shortUrl + } + + msgReq := account2.SendCustomMsgRequest{ + ID: res.NowUserId, + TelNum: nowUserInfo.TelNum, + MId: 136784, + SigNo: uint32(config.DefaultSignNo), + } + + //亲爱用户,您有【】审批催办已经发送,请点击查看【】 + fmt.Println("发送短信") + if err == nil { + msgReq.Url = res.TypeName + "|" + url + fmt.Println("发送短信", msgReq) + mres, err := service.AccountProvider.SendCustomMsg(c, &msgReq) + fmt.Println("发送短信返回", mres, err) + } + + service.Success(c, res) +} + +func DetailEx(c *gin.Context) { + var st api.StatusRequest + if err := c.ShouldBindBodyWith(&st, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + req := api.DetailRequest{ + ID: st.ID, + UserId: st.UserId, + } + + res, err := service.ApprovalProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Detail(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID + + res, err := service.ApprovalProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Update(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.Update(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //修改附带 + if _, err := passSynToArtShow(c, req.ID); err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func MyWork(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + + if req.Status == 0 { + for i := 0; i < len(userInfo.PositionUsers); i++ { + if userInfo.PositionUsers[i].DepartmentName == "超级管理员" { + req.UserID = 0 + } + } + } + + if req.OrderBy == "" { + req.OrderBy = "desc" + } + + if req.StartTime != "" && req.EndTime != "" { + req.StartTime = req.StartTime + " 00:00:00" + req.EndTime = req.EndTime + " 23:59:59" + req.OrderBy = "asc" + } + + res, err := service.ApprovalProvider.MyWork(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +// CheckBundlePay 画展包付款单申请下载的权限 +func CheckBundlePay(c *gin.Context) { + var req api.IsExistPayRightRequest + resObj := vo.IsExist{IsPass: false} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID //我审批过的 + + res, err := service.ApprovalProvider.IsExistPayRight(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + resObj.IsPass = res.IsPass + + service.Success(c, resObj) + + return +} + +func Approved(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + //req.UserID = userInfo.ID + req.ApprovedBossId = userInfo.ID //我审批过的 + + if req.OrderBy == "" { + req.OrderBy = "desc" + } + + if req.StartTime != "" && req.EndTime != "" { + req.StartTime = req.StartTime + " 00:00:00" + req.EndTime = req.EndTime + " 23:59:59" + req.OrderBy = "asc" + } + + res, err := service.ApprovalProvider.MyWork(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //全局搜索过滤 + if len(res.Data) > 0 && req.AllQuery != "" { + fmt.Println("========================全局搜索过滤==============================") + filterData := make([]*api.CreateRequest, 0) + for _, approvalItem := range res.Data { + flag := 0 + if strings.Contains(approvalItem.Content, req.AllQuery) || + strings.Contains(approvalItem.Reply, req.AllQuery) || + strings.Contains(approvalItem.SubmitterName, req.AllQuery) || + strings.Contains(approvalItem.NowUserName, req.AllQuery) || + strings.Contains(approvalItem.CreatedAt, req.AllQuery) || + strings.Contains(approvalItem.TypeName, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.Work != nil { + if len(approvalItem.Work.ApprovalWorks) > 0 { + for _, work := range approvalItem.Work.ApprovalWorks { + if strings.Contains(work.ArtworkName, req.AllQuery) || + strings.Contains(work.ArtistShowCount, req.AllQuery) || + strings.Contains(work.ArtworkCover, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if len(approvalItem.Show) > 0 { + for _, show := range approvalItem.Show { + if strings.Contains(show.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.Exhibition != nil { + if strings.Contains(approvalItem.Exhibition.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.Exhibition.ApprovalExhibitions) > 0 { + + for _, exhibition := range approvalItem.Exhibition.ApprovalExhibitions { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if len(approvalItem.WorkFlows) > 0 { + for _, user := range approvalItem.WorkFlows { + if strings.Contains(user.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CopyUsers) > 0 { + for _, copyUser := range approvalItem.CopyUsers { + if strings.Contains(copyUser.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CustomizeInfo) > 0 { + for _, keyInfo := range approvalItem.CustomizeInfo { + if strings.Contains(keyInfo.ApprovalValue, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.BundlePayPrice != nil { + if strings.Contains(approvalItem.BundlePayPrice.ShowName, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtistShowCount, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowLowPrice, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtworkSize, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowAddress, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowDate, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA != nil { + if strings.Contains(approvalItem.ApprovalOA.RevokeReason, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.ApprovalOA.LeaveApply != nil { + if strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.ActionTime, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA.OutWork != nil { + + if strings.Contains(approvalItem.ApprovalOA.OutWork.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.OutWorkAddress, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Vehicle, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OutWork.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.MakeUp != nil { + if strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.MakeUp.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Turnover != nil { + fmt.Println("=====================turnover=====================") + fmt.Println(approvalItem.ApprovalOA.Turnover) + if strings.Contains(approvalItem.ApprovalOA.Turnover.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.JoinTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.LeftTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ContactInfo, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Address, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.WorkItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.FinanceItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Turnover.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + fmt.Println("=====================flag=====================") + fmt.Println(flag) + } + if approvalItem.ApprovalOA.OverTime != nil { + if strings.Contains(approvalItem.ApprovalOA.OverTime.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OverTime.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Leave != nil { + if strings.Contains(approvalItem.ApprovalOA.Leave.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Leave.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.GoOut != nil { + if strings.Contains(approvalItem.ApprovalOA.GoOut.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.GoOut.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.BusinessTrip != nil { + if strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, itinerary := range approvalItem.ApprovalOA.BusinessTrip.ItineraryList { + if strings.Contains(itinerary.Vehicle, req.AllQuery) || + strings.Contains(itinerary.EndAddress, req.AllQuery) || + strings.Contains(itinerary.StartAddress, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if approvalItem.FinancialForm != nil { + if strings.Contains(approvalItem.FinancialForm.PaymentCompany, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.TransactionDepartment, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.Payee, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BeneficiaryBank, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BankNo, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.PaymentMethod, req.AllQuery) { + flag = flag + 1 + } + for _, costInfo := range approvalItem.FinancialForm.CostInfo { + if strings.Contains(costInfo.Description, req.AllQuery) || + strings.Contains(costInfo.UnitPrice, req.AllQuery) || + strings.Contains(costInfo.CostUnit, req.AllQuery) || + strings.Contains(costInfo.UsedDepartment, req.AllQuery) || + strings.Contains(costInfo.TotalPrice, req.AllQuery) { + flag = flag + 1 + break + } + } + for _, invoiceInfo := range approvalItem.FinancialForm.InvoiceInfo { + if strings.Contains(invoiceInfo.InvoiceDate, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceNo, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceProvider, req.AllQuery) || + strings.Contains(invoiceInfo.Amount, req.AllQuery) || + strings.Contains(invoiceInfo.Applicant, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentMethod, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentObj, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceType, req.AllQuery) || + strings.Contains(invoiceInfo.Notes, req.AllQuery) || + strings.Contains(invoiceInfo.UseTo, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ExhibitionHis != nil { + if strings.Contains(approvalItem.ExhibitionHis.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.ExhibitionHis.ApprovalExhibitionHiss) > 0 { + for _, exhibition := range approvalItem.ExhibitionHis.ApprovalExhibitionHiss { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if approvalItem.Promotion != nil { + if strings.Contains(approvalItem.Promotion.StaffName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.Promotion.FileName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.NewJob, req.AllQuery) || + strings.Contains(approvalItem.Promotion.EffectiveTime, req.AllQuery) || + strings.Contains(approvalItem.Promotion.OldJob, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.StaffSupply != nil { + if strings.Contains(approvalItem.StaffSupply.PositionName, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JobAsk, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JoinInTime, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.DepartmentName, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.Employ != nil { + if strings.Contains(approvalItem.Employ.Post, req.AllQuery) || + strings.Contains(approvalItem.Employ.BelongDepartment, req.AllQuery) || + strings.Contains(approvalItem.Employ.Name, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeType, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeNo, req.AllQuery) || + strings.Contains(approvalItem.Employ.EntryTime, req.AllQuery) || + strings.Contains(approvalItem.Employ.CloseReason, req.AllQuery) || + strings.Contains(approvalItem.Employ.ConfirmDate, req.AllQuery) || + strings.Contains(approvalItem.Employ.Remark, req.AllQuery) || + strings.Contains(approvalItem.Employ.Mobile, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.CheckIn != nil { + if strings.Contains(approvalItem.CheckIn.SaleAddress, req.AllQuery) || + strings.Contains(approvalItem.CheckIn.DetailAddress, req.AllQuery) { + flag = flag + 1 + } + + } + if flag > 0 { + filterData = append(filterData, approvalItem) + } + } + fmt.Println("========================匹配所有字段结束,匹配结果==============================") + fmt.Println(filterData) + res.Data = filterData + + } + if len(res.Data) > 0 { + lang := c.Request.Header.Get("Accept-Language") + for _, one := range res.Data { + one.TypeName = model2.GetLanguageType(lang, one.TypeName) + + if one.ApprovalOA != nil { + if one.ApprovalOA.Leave != nil { + for _, applyTime := range one.ApprovalOA.Leave.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.Turnover != nil { + for _, applyTime := range one.ApprovalOA.Turnover.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.BusinessTrip != nil { + for _, itinerary := range one.ApprovalOA.BusinessTrip.ItineraryList { + for _, applyTime := range itinerary.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + } + if one.ApprovalOA.GoOut != nil { + for _, applyTime := range one.ApprovalOA.GoOut.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.OutWork != nil { + for _, applyTime := range one.ApprovalOA.OutWork.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.OverTime != nil { + for _, applyTime := range one.ApprovalOA.OverTime.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.MakeUp != nil { + for _, applyTime := range one.ApprovalOA.MakeUp.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + + } + + } + } + + service.Success(c, res) + + return +} + +func MySubmit(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + + if req.OrderBy == "" { + req.OrderBy = "desc" + } + res, err := service.ApprovalProvider.MySubmit(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //全局搜索过滤 + if len(res.Data) > 0 && req.AllQuery != "" { + fmt.Println("========================全局搜索过滤==============================") + filterData := make([]*api.CreateRequest, 0) + for _, approvalItem := range res.Data { + flag := 0 + if strings.Contains(approvalItem.Content, req.AllQuery) || + strings.Contains(approvalItem.Reply, req.AllQuery) || + strings.Contains(approvalItem.SubmitterName, req.AllQuery) || + strings.Contains(approvalItem.NowUserName, req.AllQuery) || + strings.Contains(approvalItem.CreatedAt, req.AllQuery) || + strings.Contains(approvalItem.TypeName, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.Work != nil { + if len(approvalItem.Work.ApprovalWorks) > 0 { + for _, work := range approvalItem.Work.ApprovalWorks { + if strings.Contains(work.ArtworkName, req.AllQuery) || + strings.Contains(work.ArtistShowCount, req.AllQuery) || + strings.Contains(work.ArtworkCover, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if len(approvalItem.Show) > 0 { + for _, show := range approvalItem.Show { + if strings.Contains(show.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.Exhibition != nil { + if strings.Contains(approvalItem.Exhibition.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.Exhibition.ApprovalExhibitions) > 0 { + + for _, exhibition := range approvalItem.Exhibition.ApprovalExhibitions { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if len(approvalItem.WorkFlows) > 0 { + for _, user := range approvalItem.WorkFlows { + if strings.Contains(user.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CopyUsers) > 0 { + for _, copyUser := range approvalItem.CopyUsers { + if strings.Contains(copyUser.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CustomizeInfo) > 0 { + for _, keyInfo := range approvalItem.CustomizeInfo { + if strings.Contains(keyInfo.ApprovalValue, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.BundlePayPrice != nil { + if strings.Contains(approvalItem.BundlePayPrice.ShowName, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtistShowCount, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowLowPrice, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtworkSize, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowAddress, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowDate, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA != nil { + if strings.Contains(approvalItem.ApprovalOA.RevokeReason, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.ApprovalOA.LeaveApply != nil { + if strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.ActionTime, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA.OutWork != nil { + + if strings.Contains(approvalItem.ApprovalOA.OutWork.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.OutWorkAddress, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Vehicle, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OutWork.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.MakeUp != nil { + if strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.MakeUp.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Turnover != nil { + fmt.Println("=====================turnover=====================") + fmt.Println(approvalItem.ApprovalOA.Turnover) + if strings.Contains(approvalItem.ApprovalOA.Turnover.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.JoinTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.LeftTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ContactInfo, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Address, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.WorkItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.FinanceItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Turnover.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + fmt.Println("=====================flag=====================") + fmt.Println(flag) + } + if approvalItem.ApprovalOA.OverTime != nil { + if strings.Contains(approvalItem.ApprovalOA.OverTime.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OverTime.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Leave != nil { + if strings.Contains(approvalItem.ApprovalOA.Leave.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Leave.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.GoOut != nil { + if strings.Contains(approvalItem.ApprovalOA.GoOut.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.GoOut.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.BusinessTrip != nil { + if strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, itinerary := range approvalItem.ApprovalOA.BusinessTrip.ItineraryList { + if strings.Contains(itinerary.Vehicle, req.AllQuery) || + strings.Contains(itinerary.EndAddress, req.AllQuery) || + strings.Contains(itinerary.StartAddress, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if approvalItem.FinancialForm != nil { + if strings.Contains(approvalItem.FinancialForm.PaymentCompany, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.TransactionDepartment, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.Payee, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BeneficiaryBank, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BankNo, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.PaymentMethod, req.AllQuery) { + flag = flag + 1 + } + for _, costInfo := range approvalItem.FinancialForm.CostInfo { + if strings.Contains(costInfo.Description, req.AllQuery) || + strings.Contains(costInfo.UnitPrice, req.AllQuery) || + strings.Contains(costInfo.CostUnit, req.AllQuery) || + strings.Contains(costInfo.UsedDepartment, req.AllQuery) || + strings.Contains(costInfo.TotalPrice, req.AllQuery) { + flag = flag + 1 + break + } + } + for _, invoiceInfo := range approvalItem.FinancialForm.InvoiceInfo { + if strings.Contains(invoiceInfo.InvoiceDate, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceNo, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceProvider, req.AllQuery) || + strings.Contains(invoiceInfo.Amount, req.AllQuery) || + strings.Contains(invoiceInfo.Applicant, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentMethod, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentObj, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceType, req.AllQuery) || + strings.Contains(invoiceInfo.Notes, req.AllQuery) || + strings.Contains(invoiceInfo.UseTo, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ExhibitionHis != nil { + if strings.Contains(approvalItem.ExhibitionHis.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.ExhibitionHis.ApprovalExhibitionHiss) > 0 { + for _, exhibition := range approvalItem.ExhibitionHis.ApprovalExhibitionHiss { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if approvalItem.Promotion != nil { + if strings.Contains(approvalItem.Promotion.StaffName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.Promotion.FileName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.NewJob, req.AllQuery) || + strings.Contains(approvalItem.Promotion.EffectiveTime, req.AllQuery) || + strings.Contains(approvalItem.Promotion.OldJob, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.StaffSupply != nil { + if strings.Contains(approvalItem.StaffSupply.PositionName, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JobAsk, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JoinInTime, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.DepartmentName, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.Employ != nil { + if strings.Contains(approvalItem.Employ.Post, req.AllQuery) || + strings.Contains(approvalItem.Employ.BelongDepartment, req.AllQuery) || + strings.Contains(approvalItem.Employ.Name, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeType, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeNo, req.AllQuery) || + strings.Contains(approvalItem.Employ.EntryTime, req.AllQuery) || + strings.Contains(approvalItem.Employ.CloseReason, req.AllQuery) || + strings.Contains(approvalItem.Employ.ConfirmDate, req.AllQuery) || + strings.Contains(approvalItem.Employ.Remark, req.AllQuery) || + strings.Contains(approvalItem.Employ.Mobile, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.CheckIn != nil { + if strings.Contains(approvalItem.CheckIn.SaleAddress, req.AllQuery) || + strings.Contains(approvalItem.CheckIn.DetailAddress, req.AllQuery) { + flag = flag + 1 + } + + } + if flag > 0 { + filterData = append(filterData, approvalItem) + } + } + fmt.Println("========================匹配所有字段结束,匹配结果==============================") + fmt.Println(filterData) + res.Data = filterData + + } + + //国际化 + if len(res.Data) > 0 { + lang := c.Request.Header.Get("Accept-Language") + for _, one := range res.Data { + one.TypeName = model2.GetLanguageType(lang, one.TypeName) + + if one.ApprovalOA != nil { + if one.ApprovalOA.Leave != nil { + for _, applyTime := range one.ApprovalOA.Leave.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.Turnover != nil { + for _, applyTime := range one.ApprovalOA.Turnover.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.BusinessTrip != nil { + for _, itinerary := range one.ApprovalOA.BusinessTrip.ItineraryList { + for _, applyTime := range itinerary.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + } + if one.ApprovalOA.GoOut != nil { + for _, applyTime := range one.ApprovalOA.GoOut.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.OutWork != nil { + for _, applyTime := range one.ApprovalOA.OutWork.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.OverTime != nil { + for _, applyTime := range one.ApprovalOA.OverTime.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.MakeUp != nil { + for _, applyTime := range one.ApprovalOA.MakeUp.ApplyTimes { + applyTime.M = model2.GetLanguageType(lang, applyTime.M) + } + } + + } + + } + } + + service.Success(c, res) +} + +func Viewed(c *gin.Context) { + var req api.ViewedRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + + res, err := service.ApprovalProvider.Viewed(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(c, &detailReq) + + if detail.TypeName == "人员增补申请" { + err = checkPostApprove(userInfo, detail.ID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.TypeName == "录用申请" { + err = checkOfferApprove(userInfo, detail.ID) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.Success(c, res) +} + +func Information(c *gin.Context) { + var req api.InformationRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.Information(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdateSetting(c *gin.Context) { + var req api.SettingRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.UpdateSetting(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DetailSetting(c *gin.Context) { + var req api.DetailSettingRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.DetailSetting(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //当类型是离职交接时,验证是否有审批通过的离职申请,如果没有返回错误,如果有,把离职申请的相关内容塞到detail里面 + if strings.Contains(req.KeyWord, "handover") { + userInfo := login.GetUserInfoFromC(c) + reqList := &api.ListRequest{} + reqList.Domain = req.Domain + reqList.Type = "turnover" + reqList.UserID = userInfo.ID + reqList.Status = 2 + submitRes2, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + service.Error(c, e.Error, errors.New("查询已提交的离职审批失败")) + return + } + reqList.Status = 1 + submitRes1, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + service.Error(c, e.Error, errors.New("查询已提交的离职审批失败")) + return + } + list := make([]*api.CreateRequest, 0) + list = append(list, submitRes1.Data...) + list = append(list, submitRes2.Data...) + + if len(list) > 0 { + turnOver := &api.TurnoverApply{} + turnOver = list[len(list)-1].ApprovalOA.Turnover + res.Turnover = turnOver + } + } + + service.Success(c, res) +} + +// RevokeLeaveApply +// 撤销 请假申请 +func RevokeLeaveApply(c *gin.Context) { + /* + 1、待审批 + 直接取消 + 2、未通过 + 撤销审批 审批人 根据 撤销的审批中的 审批人是否已审批 设置 + 3、通过 + 撤销审批 审批人 为 撤销的审批中的审批人 + */ + revokeReq := new(api.RevokeApprovalReq) + if err := c.ShouldBindBodyWith(&revokeReq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + beforeRevokeDetailReq := new(api.DetailRequest) + beforeRevokeDetailReq.ID = revokeReq.ID + beforeRevokeDetailRes, err := service.ApprovalProvider.Detail(context.Background(), beforeRevokeDetailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if beforeRevokeDetailRes.Type == oa_model.TypeNursingLeaveApply || beforeRevokeDetailRes.Type == oa_model.TypeParentalLeaveApply { + err = CheckLeaveApplyIsUse(beforeRevokeDetailRes) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 审批 撤销 + _, err = service.ApprovalProvider.RevokeMyApproval(context.Background(), revokeReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := new(api.DetailRequest) + detailReq.ID = revokeReq.ID + detailRes, err := service.ApprovalProvider.Detail(context.Background(), detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if detailRes.Status != e.ApprovalWorkStatusRevoking { + service.Error(c, e.Error, errors.New("撤销失败")) + return + } + + // oa 撤销 + if oa_model.TypeZhCN[detailRes.Type] != "" { + _, err = RevokeOaApproval(detailRes) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.Success(c) +} + +func passSynToShowRelUpdateNotLogin(c *gin.Context, ID uint64, UserId uint64) (string, error) { + + var detailReq api.DetailRequest + + detailReq.UserId = UserId + detailReq.ID = ID + + detailRes, err3 := service.ApprovalProvider.Detail(c, &detailReq) + if err3 != nil { + return "", err3 + } + if detailRes.Type != "showUpdate" { + return "", nil + } + + if detailRes.Status != 2 { // 不等于2 表示 此审批 未通过 + return "", nil + } + + // 审批 通过 通知 画展包微服务 记录 + req := detailRes + + updateShowTimeAndAddress := new(artShow.UpdateShowTimeAndAddressReq) + updateShowTimeAndAddress.Data = make([]*artShow.ShowTimeAndAddress, 0) + + payBillUpdateAddress := paybill.UpdateAddressreq{} + payBillUpdateAddress.Data = make([]*paybill.UpdateAddressreq_Info, 0) + + for _, tt := range req.ExhibitionHis.ApprovalExhibitionHiss { + temp := &artShow.ShowTimeAndAddress{ + ShowUid: tt.PackageID, + Address: tt.Address, + ShowTime: tt.ShowDate, + } + updateShowTimeAndAddress.Data = append(updateShowTimeAndAddress.Data, temp) + + payBillUpdateAddress.Data = append(payBillUpdateAddress.Data, &paybill.UpdateAddressreq_Info{ + ShowUid: tt.PackageID, + ShowDate: tt.ShowDate, + Address: tt.Address, + ApprovalId: req.ExhibitionHis.ApplyID, + ShowName: tt.PackageName, + }) + } + + _, err := service.GrpcArtShowImpl.UpdateShowTimeAndAddress(c, updateShowTimeAndAddress) + + if err != nil { + return "", err + } + + _, err = service.GrpcPayBillImpl.UpdateAddress(c, &payBillUpdateAddress) + + if err != nil { + return "", err + } + + // 修改 画作销售站点 + err = UpdateSaleAddress(detailRes) + if err != nil { + return "", err + } + + return "", nil + +} + +func passSynToShowRelUpdate(c *gin.Context, ID uint64) (string, error) { + + var detailReq api.DetailRequest + + userInfo := login.GetUserInfoFromC(c) + detailReq.UserId = userInfo.ID + detailReq.ID = ID + + detailRes, err3 := service.ApprovalProvider.Detail(c, &detailReq) + if err3 != nil { + return "", err3 + } + if detailRes.Type != "showUpdate" { + return "", nil + } + + if detailRes.Status != 2 { // 2 表示 此审批 未通过 + return "", nil + } + + // 审批 通过 通知 画展包微服务 记录 + req := detailRes + + updateShowTimeAndAddress := new(artShow.UpdateShowTimeAndAddressReq) + updateShowTimeAndAddress.Data = make([]*artShow.ShowTimeAndAddress, 0) + + payBillUpdateAddress := paybill.UpdateAddressreq{} + payBillUpdateAddress.Data = make([]*paybill.UpdateAddressreq_Info, 0) + + for _, tt := range req.ExhibitionHis.ApprovalExhibitionHiss { + temp := &artShow.ShowTimeAndAddress{ + ShowUid: tt.PackageID, + Address: tt.Address, + ShowTime: tt.ShowDate, + } + updateShowTimeAndAddress.Data = append(updateShowTimeAndAddress.Data, temp) + + payBillUpdateAddress.Data = append(payBillUpdateAddress.Data, &paybill.UpdateAddressreq_Info{ + ShowUid: tt.PackageID, + ShowDate: tt.ShowDate, + Address: tt.Address, + ApprovalId: strconv.FormatUint(req.ID, 10), + ShowName: tt.PackageName, + }) + } + + _, err := service.GrpcArtShowImpl.UpdateShowTimeAndAddress(c, updateShowTimeAndAddress) + + if err != nil { + return "", err + } + + _, err = service.GrpcPayBillImpl.UpdateAddress(c, &payBillUpdateAddress) + + if err != nil { + return "", err + } + + // 修改 画作销售站点 + err = UpdateSaleAddress(detailRes) + if err != nil { + return "", err + } + + /* // 通过 rabbitmq 发送 到 画家系统 用于 确认 是否 参加画展 + artistUIDs := make([]string, 0) + + for i := 0; i < len(detailRes.Exhibition.ApprovalExhibitions); i++ { + artistUIDs = append(artistUIDs, detailRes.Exhibition.ApprovalExhibitions[i].ArtExhibitionDetail.ArtistUID) + } + + bt, err := json.Marshal(&artistUIDs) + fmt.Println("========================== send =====================") + fmt.Printf("send msg to mq : %+v", artistUIDs) + fmt.Println("========================== send =====================") + fmt.Println() + mq.SendToArtShowPass(bt)*/ + + return "", nil + +} + +func MakeApprovalAndUser(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + + //提交人 + req.SubmitterName = userInfo.NickName + req.SubmitterID = userInfo.ID + + req.ApprovalUsers, req.IsLeader = DepartmentBosses(c, req.DepartmentID, req.SubmitterID) + if userInfo.DepartmentName == "管理部" || userInfo.DepartmentName == "人事行政部" { + req.IsLeader = true + } + + // start 针对 艺邑 特殊处理 且 只有 oa 申请才是 + departmentName := "" + if len(userInfo.PositionUsers) == 1 { + for i := 0; i < len(userInfo.PositionUsers); i++ { + if userInfo.PositionUsers[i].DepartmentName == "艺邑" { + departmentName = "艺邑" + } + } + } else if len(userInfo.PositionUsers) > 1 { + for i := 0; i < len(userInfo.PositionUsers); i++ { + if userInfo.PositionUsers[i].DepartmentId == uint64(req.DepartmentID) && userInfo.PositionUsers[i].DepartmentName == "艺邑" { + departmentName = "艺邑" + } + } + } + + if departmentName == "艺邑" && (oa_model.LeaveApplyMap[req.Type] != "" || oa_model.LeaveBalanceApplyMap[req.Type] != "" || req.Type == oa_model.TypeOutWork || req.Type == oa_model.TypeTurnover || req.Type == oa_model.TypeMakeUp) { + req.ApprovalUsers = nil + if req.SubmitterName == "董辰琦" { + req.IsLeader = true + } + req.Domain = "out" + } + // end + + res, err := service.ApprovalProvider.MakeApprovalAndCopy(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +// Send 批量催办 +func ListSend(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + + nowUserInfo, err := account.GetUserInfoById(c, req.ApprovedBossId, "") + if err != nil { + service.Error(c, e.Error, err) + return + } + + //开始 + cacheKey := cache.SendDateOneApprovalMsg(uint(req.ApprovedBossId), req.Title, time.Now().Format(model.DateFormat), uint(req.UserID)) + + isExist, err := cache.RedisClient.Exists(cacheKey).Result() + if err != nil { + service.Error(c, e.Error, err) + return + } + + if isExist == 1 { + service.Error(c, e.Error, errors.New(e.ErrorOVerSendBossMsg)) + return + } + + if req.Domain == "" { + req.Domain = "all" + } + + res, err := service.ApprovalProvider.MySubmit(c, &req) + if err != nil { + service.Error(c, e.Error, errors.New(e.GetMsg(e.ErrorSelect))) + return + } + + ids := make([]string, 0) + for i := 0; i < len(res.Data); i++ { + ids = append(ids, strconv.FormatUint(res.Data[i].ID, 10)) + } + + url := fmt.Sprintf("https://erpapi.fontree.cn/approval7524164487E/multiple.html?id=%v&userId=%d", strings.Join(ids, ","), req.ApprovedBossId) + devUrl := fmt.Sprintf("http://114.218.158.24:9050/approval7524164487E/multiple.html?id=%v&userId=%d", strings.Join(ids, ","), req.ApprovedBossId) + + //todo 拉取了dev分支后,这个方法没有 + + if config.AppMode == "debug" { + url = devUrl + } else { + shortUrl, err := utils.CreateShortUrl(url) + if err == nil { + url = shortUrl + } + } + + msgReq := account2.SendCustomMsgRequest{ + ID: req.ApprovedBossId, + TelNum: nowUserInfo.TelNum, + MId: 136784, + SigNo: uint32(config.DefaultSignNo), + } + + //亲爱用户,您有【】审批催办已经发送,请点击查看【】 + fmt.Println("发送短信") + if err == nil { + msgReq.Url = req.Title + "|" + url + fmt.Println("发送短信", msgReq) + mres, err := service.AccountProvider.SendCustomMsg(c, &msgReq) + fmt.Println("发送短信返回", mres, err) + } + + cache.RedisClient.Set(cacheKey, 1, 1*time.Hour) + service.Success(c, res) +} + +func ListEx(c *gin.Context) { + var list api.ListByID + if err := c.ShouldBindBodyWith(&list, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.ListApprovalByID(c, &list) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func SetStatusBatchEx(c *gin.Context) { + var setStatusBatchReq vo.SetStatusBatchReq + if err := c.ShouldBindBodyWith(&setStatusBatchReq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if len(setStatusBatchReq.Batch) < 1 { + service.Error(c, e.Error, errors.New("当前无审批")) + return + } + + for i := 0; i < len(setStatusBatchReq.Batch); i++ { + req := api.StatusRequest{} + _ = copier.CopyWithOption(&req, setStatusBatchReq.Batch[i], copier.Option{DeepCopy: false}) + + infoReq := account2.InfoRequest{ID: req.UserId} + + infoRes, err := service.AccountProvider.Info(context.Background(), &infoReq) + if err != nil { + service.Error(c, e.Error, errors.New(e.GetMsg(e.ErrorGetUserInfo))) + return + } + + if infoRes.Info.ID == 0 || infoRes.Info.NickName == "" || infoRes.Info.Domain == "" { + service.Error(c, e.Error, errors.New(e.GetMsg(e.ErrorGetUserInfo))) + return + } + + userInfo := login.Info{ + ID: req.UserId, + NickName: infoRes.Info.NickName, + } + + levelReq := api.NowLevelByInfoRequest{ + ApprovalID: req.ID, + } + + levelRes, err := service.ApprovalProvider.NowLevelByInfo(context.Background(), &levelReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.UserId != levelRes.UserID { + service.Error(c, e.Error, errors.New("本次审批人出现错误")) + return + } + + req.WorkFlowId = levelRes.ID + + // 查询 未审批前的审批 + beforeApproval := QueryApprovalSetStatusBefore(req.ID) + if beforeApproval == nil { + service.Error(c, e.Error, errors.New(e.ErrorQueryApprovalContent)) + return + } + + _, err = service.ApprovalProvider.SetStatus(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(context.Background(), &detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if detail.TypeName == "任命审批" { + StoreBaiduChainApprovalFile(req.ID) + } + + // 审批成功查询用户部门的信息,提交画作服修改画作仓库状态 + + if detail.TypeName == "画作申请审批" { + var ids []int32 + for _, tt := range detail.Work.ApprovalWorks { + ids = append(ids, int32(tt.ArtworkID)) + } + + fmt.Println("请求画作申请审批", ids) + if len(ids) > 0 { + err = submitArtwork(req.UserId, ids) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + // approval 审批状态 同步到 oa 审批 + if e.TypeMap[detail.Type] == "oa" { + // 查询 审批状态已经 更新的 审批信息 + updatedReq := api.DetailRequest{ID: req.ID} + updatedDetail, detailErr := service.ApprovalProvider.Detail(context.Background(), &updatedReq) + if detailErr != nil { + service.Error(c, e.Error, detailErr) + return + } + + if req.LeaveBalance != 0 && updatedDetail.ApprovalOA.LeaveApply != nil { + //leaveBalance, _ := strconv.ParseFloat(req.LeaveBalance, 10) + updatedDetail.ApprovalOA.LeaveApply.LeaveBalance = req.LeaveBalance + } + + _, updateErr := UpdateApprovalStatusToOAStatus(updatedDetail) + if updateErr != nil { + service.Error(c, e.Error, updateErr) + return + } + } + + // 画展包审批 + if detail.Type == TypeExhibition { + err = ExhibitionApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包润格审批 + if detail.Type == TypeArtExhibitionReward { + err = ExhibitionRewordApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包修改审批 + if detail.Type == TypeShowUpdate { + err = ShowUpdateApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.TypeName == "人员增补申请" { + err = postApproveSetStatusEnter(userInfo, beforeApproval) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(detail.Type, "employ") { + err := offerApproveSetStatusEnter(c, userInfo, &req, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.Type == "checkIn" && detail.Status == e.ApprovalWorkStatusOk { + err = passSendInfoToSiteSignIn(detail.CheckIn) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +func SameApprovalList(c *gin.Context) { + var list api.ListRequest + if err := c.ShouldBindBodyWith(&list, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + + list.ApprovedBossId = userInfo.ID + + res, err := service.ApprovalProvider.MyWork(c, &list) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func SetStatusBatch(c *gin.Context) { + //var setStatusBatchReq vo.SetStatusBatchReq + setStatusBatchReq := make([]vo.SetStatus, 0) + if err := c.ShouldBindBodyWith(&setStatusBatchReq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("============ 获取 审批 批量 审批 ==============") + fmt.Printf("batch %+v\n", setStatusBatchReq) + fmt.Println("============ 获取 审批 批量 审批 ==============") + + if len(setStatusBatchReq) < 1 { + service.Error(c, e.Error, errors.New("当前无审批")) + return + } + + userInfo := login.GetUserInfoFromC(c) + for i := 0; i < len(setStatusBatchReq); i++ { + req := api.StatusRequest{} + req.Domain = setStatusBatchReq[i].Domain + req.ID = setStatusBatchReq[i].ID + req.Reply = setStatusBatchReq[i].Reply + req.WorkFlowId = setStatusBatchReq[i].WorkFlowId + req.Status = setStatusBatchReq[i].Status + req.Level = setStatusBatchReq[i].Level + req.Title = setStatusBatchReq[i].Title + req.UserId = userInfo.ID + req.LeaveBalance = setStatusBatchReq[i].LeaveBalance + req.Tips = setStatusBatchReq[i].Tips + + levelReq := api.NowLevelByInfoRequest{ + ApprovalID: req.ID, + } + + levelRes, err := service.ApprovalProvider.NowLevelByInfo(context.Background(), &levelReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.UserId != levelRes.UserID { + service.Error(c, e.Error, errors.New("本次审批人出现错误")) + return + } + + req.WorkFlowId = levelRes.ID + + // 查询 未审批前的审批 + beforeApproval := QueryApprovalSetStatusBefore(req.ID) + if beforeApproval == nil { + service.Error(c, e.Error, errors.New(e.ErrorQueryApprovalContent)) + return + } + + _, err = service.ApprovalProvider.SetStatus(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(context.Background(), &detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if detail.TypeName == "任命审批" { + StoreBaiduChainApprovalFile(req.ID) + } + + // 审批成功查询用户部门的信息,提交画作服修改画作仓库状态 + + if detail.TypeName == "画作申请审批" { + var ids []int32 + for _, tt := range detail.Work.ApprovalWorks { + ids = append(ids, int32(tt.ArtworkID)) + } + + fmt.Println("请求画作申请审批", ids) + if len(ids) > 0 { + err = submitArtwork(req.UserId, ids) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + // approval 审批状态 同步到 oa 审批 + if e.TypeMap[detail.Type] == "oa" { + // 查询 审批状态已经 更新的 审批信息 + updatedReq := api.DetailRequest{ID: req.ID} + updatedDetail, detailErr := service.ApprovalProvider.Detail(context.Background(), &updatedReq) + if detailErr != nil { + service.Error(c, e.Error, detailErr) + return + } + + if req.LeaveBalance != 0 && updatedDetail.ApprovalOA.LeaveApply != nil { + //leaveBalance, _ := strconv.ParseFloat(req.LeaveBalance, 10) + updatedDetail.ApprovalOA.LeaveApply.LeaveBalance = req.LeaveBalance + } + + _, updateErr := UpdateApprovalStatusToOAStatus(updatedDetail) + if updateErr != nil { + service.Error(c, e.Error, updateErr) + return + } + } + + // 画展包审批 + if detail.Type == TypeExhibition { + err = ExhibitionApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包润格审批 + if detail.Type == TypeArtExhibitionReward { + err = ExhibitionRewordApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包修改审批 + if detail.Type == TypeShowUpdate { + err = ShowUpdateApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.TypeName == "人员增补申请" { + err = postApproveSetStatusEnter(userInfo, beforeApproval) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(detail.Type, "employ") { + err := offerApproveSetStatusEnter(c, userInfo, &req, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.Type == "checkIn" && detail.Status == e.ApprovalWorkStatusOk { + err = passSendInfoToSiteSignIn(detail.CheckIn) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} diff --git a/pkg/service/approval/approval_artshow.go b/pkg/service/approval/approval_artshow.go new file mode 100644 index 0000000..fe51027 --- /dev/null +++ b/pkg/service/approval/approval_artshow.go @@ -0,0 +1,576 @@ +package approval + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "google.golang.org/protobuf/types/known/wrapperspb" + "strconv" + "time" +) + +// ExhibitionApproveEnter 画展包审批 +func ExhibitionApproveEnter(beforeApproval, afterApproval *approval.CreateRequest) (err error) { + if beforeApproval.Status == e.ApprovalWorkStatusDoing && afterApproval.Status == e.ApprovalWorkStatusOk { // 审批通过 通知画展包 以及相关 微服务 + logger.Errorf("================================================= %s 3======================================", "进入 画展包审批") + err = UpdateArtShowApply(afterApproval) + if err != nil { + return err + } + } else if beforeApproval.Status == e.ApprovalWorkStatusDoing && afterApproval.Status == e.ApprovalWorkStatusFail { // 审批驳回 通知画展包 + err = CancelArtShowApply(afterApproval) + if err != nil { + return err + } + } else if beforeApproval.Status == e.ApprovalWorkStatusRevoking && afterApproval.Status == e.ApprovalWorkStatusFail { // 此审批 为 撤销状态 且 当前审批人 选择的审批状态为 驳回 则 驳回 此撤销审批 + err = CancelRevokeArtShowApproval(afterApproval) + if err != nil { + return err + } + } + + return nil +} + +// ExhibitionRewordApproveEnter 画展包润格审批 +func ExhibitionRewordApproveEnter(beforeApproval, afterApproval *approval.CreateRequest) (err error) { + if beforeApproval.Status == e.ApprovalWorkStatusDoing && afterApproval.Status == e.ApprovalWorkStatusOk { // 审批通过 通知画展包 以及相关 微服务 + err = UpdateArtShowReward(afterApproval) + if err != nil { + return err + } + } + + return nil +} + +// ShowUpdateApproveEnter 画展包修改审批 +func ShowUpdateApproveEnter(beforeApproval, afterApproval *approval.CreateRequest) (err error) { + if beforeApproval.Status == e.ApprovalWorkStatusDoing && afterApproval.Status == e.ApprovalWorkStatusOk { // 审批通过 通知画展包 以及相关 微服务 + err = UpdateShowInfo(afterApproval) + if err != nil { + return err + } + } + + return nil +} + +// UpdateArtShowApply 画展包审批通过后 更新画展包信息 +func UpdateArtShowApply(afterApproval *approval.CreateRequest) (err error) { + + logger.Errorf("================================================= %s 4 ======================================", "进入 画展包审批") + fmt.Println("============================== 审批之后,查看审批详情 ==============================") + fmt.Printf("审批详情:%+v\n", afterApproval) + logger.Errorf("审批详情:%+v\n", afterApproval) + fmt.Println("============================== 审批之后,查看审批详情 ==============================") + fmt.Println() + + // 获取 创建 show_rel 画展包关联表 的 信息 以及 画展包中 画家的经纪人 信息 + now := time.Now() + dateStr := now.Format("2006-01-02 15:04:05") + showApplyReq := new(artShow.SaveApplyReq) + showApplyReq.Rel = make([]*artShow.ShowRel, 0) + showDetail := new(artShow.ShowDetailReq) + showDetail.ShowUID = make([]string, 0) + UpdateArtShowAgentList := make([]*artShow.ArtShowAgent, 0) + + // 获取 画展包审批中 审批的信息 + showApplyReq = &artShow.SaveApplyReq{ + ApplyUID: afterApproval.Exhibition.ApplyID, + Applicant: afterApproval.SubmitterName, + ApplicantID: strconv.FormatUint(afterApproval.SubmitterID, 10), + Num: int32(len(afterApproval.Exhibition.ApprovalExhibitions)), + ApplyTime: dateStr, + Status: int32(afterApproval.Status), + } + + for index, tt := range afterApproval.Exhibition.ApprovalExhibitions { + // 组装 show_rel 画展包关联表 数据 + temp := &artShow.ShowRel{ + ShowUID: tt.PackageID, + Index: int32(index + 1), + Address: tt.Address, + ShowTime: tt.ShowDate, + ApplyUID: afterApproval.Exhibition.ApplyID, + } + showApplyReq.Rel = append(showApplyReq.Rel, temp) + + // 组装 画展包中 画家的经纪人 信息 + UpdateArtShowAgentList = append(UpdateArtShowAgentList, &artShow.ArtShowAgent{ + ShowUID: tt.PackageID, + Agent: tt.ArtExhibitionDetail.Agent, + }) + + showDetail.ShowUID = append(showDetail.ShowUID, tt.PackageID) + } + + // 获取 画展包 详情 + showDetailRes, err := service.GrpcArtShowImpl.ShowDetail(context.Background(), showDetail) + if err != nil { + return errors.New(e.ErrorQueryArtShowInfo) + } + + // 获取 画展包中 画家 的 荣誉信息 + showApplyReq.PricePolicy = make([]*artShow.PricePolicy, 0) + for i := 0; i < len(showDetailRes.Data); i++ { + if showDetailRes.Data[i].HasFormula == e.HasFormula { + policy := new(artShow.PricePolicy) + policy.ShowUID = showDetailRes.Data[i].ShowUID + policy.ArtistUID = showDetailRes.Data[i].ArtistUID + policy.ArtistName = showDetailRes.Data[i].ArtistName + policy.Factor = new(artShow.PricePolicyFactor) + honorCountReq := new(artist.HonorCountReq) + honorCountReq.ArtistUid = showDetailRes.Data[i].ArtistUID + honorCountResp, err := service.GrpcArtistImpl.HonorCount(context.Background(), honorCountReq) + if err != nil { + return errors.New(e.ErrorQueryHonorInfo) + } + policy.Factor.MeixieYears = float32(honorCountResp.CaaJoinYear) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.Exhibition) + policy.Factor.ArtistProfessionalismIndex = float32(honorCountResp.Professionalism) + policy.Factor.ArtistCollectibilityIndex = float32(honorCountResp.Collectible) + policy.Factor.ArtistExperienceEducationIndex = float32(honorCountResp.Education) + policy.Factor.ArtistInfluencePopularityIndex = float32(honorCountResp.Influence) + policy.Factor.StudyAbroadExperienceCount = float32(honorCountResp.StudyTourCount) + policy.Factor.AwardExperienceCount = float32(honorCountResp.AwardCount) + policy.Factor.NationalTitleCount = float32(honorCountResp.NationTitleCount) + policy.Factor.ProvincialTitleCount = float32(honorCountResp.ProvinceTitleCount) + policy.Factor.OtherTitleCount = float32(honorCountResp.OtherTitleCount) + policy.Factor.PublishedPaintingCount = float32(honorCountResp.ArtworkPublishCount) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.OutsidePublishCount) + policy.Factor.AcademicPublicationCount = float32(honorCountResp.AcademicPublishCount) + policy.Factor.ThirdPartyCuratorComment = float32(honorCountResp.ThirdCommentCount) + showApplyReq.PricePolicy = append(showApplyReq.PricePolicy, policy) + fmt.Println("================================= policy --------------------------------------") + fmt.Printf("policy %+v\n", policy) + fmt.Println("================================= policy --------------------------------------") + } + } + + //使用邀请函中的数据更新出行信息 + defer func() { + fmt.Println("passSynToArtShow---8") + var showUids []string + for _, v := range showDetailRes.Data { + showUids = append(showUids, v.ShowUID) + } + fmt.Println("EntertainmentSetDefaultValue start---showUids:", showUids) + if len(showUids) > 0 { + go func() { + err = EntertainmentSetDefaultValue(showUids...) + fmt.Println("EntertainmentSetDefaultValue end---err:", err) + if err != nil { + zap.L().Error("更新招待数据中的出行信息失败", zap.Error(err)) + } + }() + } + }() + + logger.Errorf("================================================= %s 5 ======================================", "进入 画展包审批") + + fmt.Println("============================== 画展包审批 ,查看创建详情 ==============================") + logger.Errorf("============================== 画展包审批 ,查看创建详情 ==============================") + fmt.Printf("画展包审批 创建:%+v\n", showApplyReq) + logger.Errorf("画展包审批 创建 :%+v\n", showApplyReq) + fmt.Printf("画展包审批 show_rel 创建:%+v\n", showApplyReq.Rel) + logger.Errorf("画展包审批 show_rel 创建:%+v\n", showApplyReq.Rel) + fmt.Printf("画展包审批 del show_rel 创建:%+v\n", showApplyReq.DelRel) + logger.Errorf("画展包审批 del show_rel 创建:%+v\n", showApplyReq.DelRel) + fmt.Printf("画展包审批 price_policy 创建:%+v\n", showApplyReq.PricePolicy) + logger.Errorf("画展包审批 price_policy 创建:%+v\n", showApplyReq.PricePolicy) + fmt.Println("============================== 画展包审批 ,查看创建详情 ==============================") + logger.Errorf("============================== 画展包审批 ,查看创建详情 ==============================") + fmt.Println() + + // 更新 画展包审批信息 + _, err = service.GrpcArtShowImpl.UpdateApply(context.Background(), showApplyReq) + if err != nil { + return err + } + + logger.Errorf("================================================= %s 6 ======================================", "进入 画展包审批") + + // 更新 画展包 经纪人 + _, err = service.GrpcArtShowImpl.UpdateArtShowAgent(context.Background(), &artShow.UpdateArtShowAgentReq{Data: UpdateArtShowAgentList}) + if err != nil { + return err + } + + // 添加 画作销售站点 + err = AddSaleAddress(afterApproval) + if err != nil { + return err + } + + // 通过 rabbitmq 发送 到 画家系统 用于 确认 是否 参加画展 + //artistUIDs := make([]string, 0) + //for i := 0; i < len(afterApproval.Exhibition.ApprovalExhibitions); i++ { + // artistUIDs = append(artistUIDs, afterApproval.Exhibition.ApprovalExhibitions[i].ArtExhibitionDetail.ArtistUID) + //} + // + //bt, err := json.Marshal(&artistUIDs) + //fmt.Println("========================== send =====================") + //fmt.Printf("send msg to mq : %+v", artistUIDs) + //fmt.Println("========================== send =====================") + //fmt.Println() + //mq.SendToArtShowPass(bt) + + return nil +} + +// UpdateArtShowReward 画展包润格审批通过后 更新画展包润格信息 +func UpdateArtShowReward(afterApproval *approval.CreateRequest) (err error) { + var list []*artShow.ArtworkReward + var artWorks []*artwork_third_party.UpdateAwInfoReq_Info + + for _, t := range afterApproval.Exhibition.ApprovalExhibitions { + for _, tt := range t.Artworks { + temp := &artShow.ArtworkReward{ArtworkPriceUid: tt.ArtworkPriceUID, Reward: tt.Reward} + list = append(list, temp) + + distFloat, err := strconv.ParseFloat(tt.Reward, 32) + + if err != nil { + distFloat = 0 + } + + arwTemp := &artwork_third_party.UpdateAwInfoReq_Info{ArtworkUuid: tt.ArtworkUID, PriceRun: wrapperspb.Float(float32(distFloat))} + artWorks = append(artWorks, arwTemp) + } + } + + if len(list) <= 0 { + return nil + } + + req := &artShow.UpdateArtworkRewardReq{Data: list} + + fmt.Println("请求", req) + res, err := service.GrpcArtShowImpl.UpdateArtworkReward(context.Background(), req) + fmt.Println("请求后", res, err) + + //通知画作 + saleReq := &artwork_third_party.UpdateAwInfoReq{Data: artWorks} + + fmt.Println("画作请求", saleReq) + saleRes, err := service.GrpcArtworkThirdPartyImpl.UpdateAwInfo(context.Background(), saleReq) + fmt.Println("画作请求后", saleRes, err) + return nil +} + +// UpdateShowInfo 画展包修改审批通过后 更新画展包信息 +func UpdateShowInfo(afterApproval *approval.CreateRequest) (err error) { + updateShowTimeAndAddress := new(artShow.UpdateShowTimeAndAddressReq) + updateShowTimeAndAddress.Data = make([]*artShow.ShowTimeAndAddress, 0) + + payBillUpdateAddress := paybill.UpdateAddressreq{} + payBillUpdateAddress.Data = make([]*paybill.UpdateAddressreq_Info, 0) + + for _, tt := range afterApproval.ExhibitionHis.ApprovalExhibitionHiss { + temp := &artShow.ShowTimeAndAddress{ + ShowUid: tt.PackageID, + Address: tt.Address, + ShowTime: tt.ShowDate, + } + updateShowTimeAndAddress.Data = append(updateShowTimeAndAddress.Data, temp) + + payBillUpdateAddress.Data = append(payBillUpdateAddress.Data, &paybill.UpdateAddressreq_Info{ + ShowUid: tt.PackageID, + ShowDate: tt.ShowDate, + Address: tt.Address, + ApprovalId: strconv.FormatUint(afterApproval.ID, 10), + ShowName: tt.PackageName, + }) + } + + // 更新 画展包 信息 + _, err = service.GrpcArtShowImpl.UpdateShowTimeAndAddress(context.Background(), updateShowTimeAndAddress) + if err != nil { + return err + } + + // 更新 付款单地址 + _, err = service.GrpcPayBillImpl.UpdateAddress(context.Background(), &payBillUpdateAddress) + if err != nil { + return err + } + + // 修改 画作销售站点 + err = UpdateSaleAddress(afterApproval) + if err != nil { + return err + } + + return nil +} + +// AddSaleAddress 添加画作销售站点 +func AddSaleAddress(afterApproval *approval.CreateRequest) (err error) { + + updateArtworkSaleAddress := new(artShow.UpdateArtworkSaleAddressReq) + updateArtworkSaleAddress.Data = make([]*artShow.ArtworkSaleAddress, 0) + + updateSaleInfoReq := new(artwork_third_party.UpdateAwSaleInfoReq) + updateSaleInfoReq.Data = make([]*artwork_third_party.UpdateAwSaleInfoReq_Info, 0) + + for i := 0; i < len(afterApproval.Exhibition.ApprovalExhibitions); i++ { + for j := 0; j < len(afterApproval.Exhibition.ApprovalExhibitions[i].Artworks); j++ { + updateArtworkSaleAddress.Data = append(updateArtworkSaleAddress.Data, &artShow.ArtworkSaleAddress{ + ArtworkPriceUid: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].ArtworkPriceUID, + SaleAddress: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].SaleAddress, + }) + + artworkSaleInfo := &artwork_third_party.UpdateAwSaleInfoReq_Info{ + ArtworkUuid: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].ArtworkUID, + SaleAddress: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].SaleAddress, + } + intNum, err := strconv.ParseInt(afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].SaleAddressID, 10, 32) + if err != nil { + intNum = 0 + } + artworkSaleInfo.SaleId = int32(intNum) + updateSaleInfoReq.Data = append(updateSaleInfoReq.Data, artworkSaleInfo) + } + } + + // 更新 artwork_price 画作销售地址 + if len(updateArtworkSaleAddress.Data) > 0 { + _, err = service.GrpcArtShowImpl.UpdateArtworkSaleAddress(context.Background(), updateArtworkSaleAddress) + + if err != nil { + return errors.New(e.FailedUpdateArtworkPriceSaleAddress) + } + } + + // 更新 artwork 画作销售地址 + if len(updateSaleInfoReq.Data) > 0 { + _, err = service.GrpcArtworkThirdPartyImpl.UpdateAwSaleInfo(context.Background(), updateSaleInfoReq) + + if err != nil { + return errors.New(e.FailedUpdateArtworkSaleAddress) + } + } + return err +} + +// UpdateSaleAddress 更新画作销售站点 +func UpdateSaleAddress(afterApproval *approval.CreateRequest) (err error) { + + updateArtworkSaleAddress := new(artShow.UpdateArtworkSaleAddressReq) + updateArtworkSaleAddress.Data = make([]*artShow.ArtworkSaleAddress, 0) + + updateSaleInfoReq := new(artwork_third_party.UpdateAwSaleInfoReq) + updateSaleInfoReq.Data = make([]*artwork_third_party.UpdateAwSaleInfoReq_Info, 0) + + for i := 0; i < len(afterApproval.ExhibitionHis.ApprovalExhibitionHiss); i++ { + for j := 0; j < len(afterApproval.ExhibitionHis.ApprovalExhibitionHiss[i].Artworks); j++ { + updateArtworkSaleAddress.Data = append(updateArtworkSaleAddress.Data, &artShow.ArtworkSaleAddress{ + ArtworkPriceUid: afterApproval.ExhibitionHis.ApprovalExhibitionHiss[i].Artworks[j].ArtworkPriceUID, + SaleAddress: afterApproval.ExhibitionHis.ApprovalExhibitionHiss[i].Artworks[j].SaleAddress, + }) + + artworkSaleInfo := &artwork_third_party.UpdateAwSaleInfoReq_Info{ + ArtworkUuid: afterApproval.ExhibitionHis.ApprovalExhibitionHiss[i].Artworks[j].ArtworkUID, + SaleAddress: afterApproval.ExhibitionHis.ApprovalExhibitionHiss[i].Artworks[j].SaleAddress, + } + intNum, err := strconv.ParseInt(afterApproval.ExhibitionHis.ApprovalExhibitionHiss[i].Artworks[j].SaleAddressID, 10, 32) + if err != nil { + intNum = 0 + } + artworkSaleInfo.SaleId = int32(intNum) + updateSaleInfoReq.Data = append(updateSaleInfoReq.Data, artworkSaleInfo) + } + } + + // 更新 artwork_price 画作销售地址 + if len(updateArtworkSaleAddress.Data) > 0 { + _, err = service.GrpcArtShowImpl.UpdateArtworkSaleAddress(context.Background(), updateArtworkSaleAddress) + + if err != nil { + return errors.New(e.FailedUpdateArtworkPriceSaleAddress) + } + } + + // 更新 artwork 画作销售地址 + if len(updateSaleInfoReq.Data) > 0 { + _, err = service.GrpcArtworkThirdPartyImpl.UpdateAwSaleInfo(context.Background(), updateSaleInfoReq) + + if err != nil { + return errors.New(e.FailedUpdateArtworkSaleAddress) + } + } + return err +} + +// RevokeArtShowApproval 画展包审批撤销 +func RevokeArtShowApproval(afterApproval *approval.CreateRequest) (err error) { + /*撤销画展包审批*/ + revokeReq := new(artShow.RevokeReq) + revokeReq.ShowUid = make([]string, 0) + for i := 0; i < len(afterApproval.Exhibition.ApprovalExhibitions); i++ { + revokeReq.ShowUid = append(revokeReq.ShowUid, afterApproval.Exhibition.ApprovalExhibitions[i].PackageID) + } + + revokeReq.ApplyUid = afterApproval.Exhibition.ApplyID + _, err = service.GrpcArtShowImpl.RevokeApply(context.Background(), revokeReq) + if err != nil { + return err + } + + // 画作系统 更新 销售站点 + // 传空值 + updateSaleInfoReq := new(artwork_third_party.UpdateAwSaleInfoReq) + updateSaleInfoReq.Data = make([]*artwork_third_party.UpdateAwSaleInfoReq_Info, 0) + + for i := 0; i < len(afterApproval.Exhibition.ApprovalExhibitions); i++ { + for j := 0; j < len(afterApproval.Exhibition.ApprovalExhibitions[i].Artworks); j++ { + artworkSaleInfo := &artwork_third_party.UpdateAwSaleInfoReq_Info{ + ArtworkUuid: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].ArtworkUID, + SaleAddress: "", + SaleId: 0, + } + updateSaleInfoReq.Data = append(updateSaleInfoReq.Data, artworkSaleInfo) + } + } + + if len(updateSaleInfoReq.Data) > 0 { + _, err = service.GrpcArtworkThirdPartyImpl.UpdateAwSaleInfo(context.Background(), updateSaleInfoReq) + if err != nil { + return errors.New(e.FailedUpdateArtworkSaleAddress) + } + } + + return nil +} + +// CancelRevokeArtShowApproval 驳回画展包审批撤销 +func CancelRevokeArtShowApproval(afterApproval *approval.CreateRequest) (err error) { + + /*驳回撤销画展包审批*/ + revokeReq := new(artShow.RevokeReq) + revokeReq.ShowUid = make([]string, 0) + revokeReq.RevokeData = make([]*artShow.RevokeData, 0) + + for i := 0; i < len(afterApproval.Exhibition.ApprovalExhibitions); i++ { + revokeReq.ShowUid = append(revokeReq.ShowUid, afterApproval.Exhibition.ApprovalExhibitions[i].PackageID) + for j := 0; j < len(afterApproval.Exhibition.ApprovalExhibitions[i].Artworks); j++ { + revokeReq.RevokeData = append(revokeReq.RevokeData, &artShow.RevokeData{ + ArtworkPriceUid: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].ArtworkPriceUID, + SaleAddress: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].SaleAddress, + }) + } + } + + revokeReq.ApplyUid = afterApproval.Exhibition.ApplyID + + _, err = service.GrpcArtShowImpl.OverruleRevoke(context.Background(), revokeReq) + if err != nil { + return err + } + + // 画作系统 恢复 销售站点 + updateSaleInfoReq := new(artwork_third_party.UpdateAwSaleInfoReq) + updateSaleInfoReq.Data = make([]*artwork_third_party.UpdateAwSaleInfoReq_Info, 0) + + for i := 0; i < len(afterApproval.Exhibition.ApprovalExhibitions); i++ { + for j := 0; j < len(afterApproval.Exhibition.ApprovalExhibitions[i].Artworks); j++ { + artworkSaleInfo := &artwork_third_party.UpdateAwSaleInfoReq_Info{ + ArtworkUuid: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].ArtworkUID, + SaleAddress: afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].SaleAddress, + } + intNum, err := strconv.ParseInt(afterApproval.Exhibition.ApprovalExhibitions[i].Artworks[j].SaleAddressID, 10, 32) + if err != nil { + intNum = 0 + } + artworkSaleInfo.SaleId = int32(intNum) + updateSaleInfoReq.Data = append(updateSaleInfoReq.Data, artworkSaleInfo) + } + } + + if len(updateSaleInfoReq.Data) > 0 { + _, err = service.GrpcArtworkThirdPartyImpl.UpdateAwSaleInfo(context.Background(), updateSaleInfoReq) + if err != nil { + return errors.New(e.FailedUpdateArtworkSaleAddress) + } + } + + return nil +} + +// RevokeRewordApproval 画展包润格审批撤销 +func RevokeRewordApproval(detail *approval.CreateRequest) (err error) { + //TODO + // 撤销画展包润格审批 + + return nil +} + +// CancelArtShowApply 驳回画展包审批 +func CancelArtShowApply(detail *approval.CreateRequest) error { + fmt.Println("取消画展包", detail) + + if detail.Exhibition == nil { + return nil + } + + if detail.Exhibition.ApplyID == "" { + return nil + } + + delReq := artShow.DelApplyReq{ApplyUID: []string{detail.Exhibition.ApplyID}} + + fmt.Println("取消画展包:req", delReq) + r, err := service.GrpcArtShowImpl.DelApply(context.Background(), &delReq) + fmt.Println("取消画展包:res", r, err) + return err +} + +func ArtShowApprovalList(c *gin.Context) { + req := new(approval.ArtShowApprovalListReq) + if err := c.ShouldBind(req); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.ShowUid == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorShowUidIsEmpty, + Status: e.Failed, + }) + return + } + + res, err := service.ApprovalProvider.ListApprovalByShowUID(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("============================== 画展包审批列表 ==============================") + fmt.Printf("画展包审批列表:%+v\n", res) + fmt.Println("============================== 画展包审批列表 ==============================") + fmt.Println() + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res.Data, + Status: e.Ok, + }) +} diff --git a/pkg/service/approval/approval_before.go b/pkg/service/approval/approval_before.go new file mode 100644 index 0000000..1c94839 --- /dev/null +++ b/pkg/service/approval/approval_before.go @@ -0,0 +1,17 @@ +package approval + +import ( + "context" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" +) + +// QueryApprovalSetStatusBefore 查询 审批状态未更改之前的审批信息 +func QueryApprovalSetStatusBefore(approvalID uint64) *api.CreateRequest { + detailReq := api.DetailRequest{ID: approvalID} + detail, err := service.ApprovalProvider.Detail(context.Background(), &detailReq) + if err != nil { + return nil + } + return detail +} diff --git a/pkg/service/approval/approval_bundlePayPrice.go b/pkg/service/approval/approval_bundlePayPrice.go new file mode 100644 index 0000000..c2ec134 --- /dev/null +++ b/pkg/service/approval/approval_bundlePayPrice.go @@ -0,0 +1,26 @@ +package approval + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "strconv" +) + +// BuildBundlePayPriceBefore 构建画展包审批前价格 +func BuildBundlePayPriceBefore(in *approval.CreateRequest) { + if in.BundlePayPrice == nil { + return + } + + price, _ := strconv.Atoi(in.BundlePayPrice.ShowLowPrice) + if price == 0 { + return + } + + if in.BundlePayPrice.ArtworkNum == 0 { + return + } + + // TODO + //firstArtworkPrice, firstCopyrightPrice, secondArtworkPrice, secondCopyrightPrice := logic.CalcArtworkAndCopyrightPriceForPay(price,int(in.BundlePayPrice.ArtworkNum)) + //in.BundlePayPrice. = firstArtworkPrice +} diff --git a/pkg/service/approval/approval_check_in.go b/pkg/service/approval/approval_check_in.go new file mode 100644 index 0000000..31bf047 --- /dev/null +++ b/pkg/service/approval/approval_check_in.go @@ -0,0 +1,42 @@ +package approval + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/api/site_sign_in" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "strconv" +) + +func passSendInfoToSiteSignIn(detail *approval.CheckIn) error { + siteSignInInfo := new(site_sign_in.SiteF) + siteSignInInfo.Name = detail.SaleAddress + siteSignInInfo.Address = detail.DetailAddress + if detail.Latitude != "" { + siteSignInInfo.Latitude, _ = strconv.ParseFloat(detail.Latitude, 64) + } + if detail.Longitude != "" { + siteSignInInfo.Longitude, _ = strconv.ParseFloat(detail.Longitude, 64) + } + fmt.Println("==================================== siteSignInInfo ====================================") + fmt.Printf("siteSignInInfo ======== %+v\n", siteSignInInfo) + fmt.Println("==================================== siteSignInInfo ====================================") + + res, err := service.GrpcSiteSignInImpl.SaveSite(context.Background(), siteSignInInfo) + if err != nil { + return errors.New(e.ErrorSendInfoToSiteSignIn) + } + + fmt.Println("==================================== SaveSite ====================================") + fmt.Println("res ======== ", res) + fmt.Println("==================================== SaveSite ====================================") + + if res.Msg != "success" { + return errors.New(e.ErrorSendInfoToSiteSignIn) + } + + return nil +} diff --git a/pkg/service/approval/approval_export.go b/pkg/service/approval/approval_export.go new file mode 100644 index 0000000..a13a6f9 --- /dev/null +++ b/pkg/service/approval/approval_export.go @@ -0,0 +1,744 @@ +package approval + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/360EntSecGroup-Skylar/excelize" + approval "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth/department" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/signintech/gopdf" + "os" + "strconv" + "strings" + "time" + + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" +) + +func FinancialFormExport(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID + + res, err := service.ApprovalProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if res.Status != e.ApprovalWorkStatusOk { + service.Error(c, e.Error, err, "审批未通过,无法导出") + return + } + + if res.SubmitterID != userInfo.ID { + service.Error(c, e.Error, err, "当前用户非提交人,无法导出") + return + } + + fmt.Println("approval", res.FinancialForm) + + dirPath, err := financialForm(res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Join([]string{strings.Replace(dirPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1)}, ""), "runtime", "static", 1) + + service.ResponseQuickMsg(c, e.Ok, "导出成功", map[string]string{ + "ExportUrl": exportUrl, + }) +} + +func financialForm(form *api.CreateRequest) (string, error) { + + xlsx := excelize.NewFile() + + // 付款申请单 + + financialFormSheet1(xlsx, form.FinancialForm) + + // 付款明细 + financialFormSheet2(xlsx, form.FinancialForm) + + dirPath := "./runtime/form" + utils.CheckDirPath(dirPath, true) + + path := dirPath + "/" + form.SubmitterName + strings.Replace(time.Now().Format("2006-01-02 15:04:05"), " ", "_", -1) + ".xlsx" + err := xlsx.SaveAs(path) + if err != nil { + fmt.Println("save rows err :", err) + return "", err + } + return path, nil +} +func financialFormSheet1(xlsx *excelize.File, form *api.FinancialForm) { + index := "Sheet1" + + // 公司抬头 + songTi18BoldStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center","vertical":"center"},"font":{"bold":true,"size":18,"family":"宋体"}}`) + // 付款申请单 + songTi14BoldStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center","vertical":"center"},"font":{"bold":true,"size":14,"family":"宋体"}}`) + // 日期 当前日期 例:2023-04-26 经办部门: + // 居中 + //songTi10BoldCenterStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center"},"font":{"bold":true,"size":10,"family":"宋体"}}`) + songTi10BoldCenterBorderStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center","vertical":"center"},"font":{"bold":true,"size":10,"family":"宋体"},"border":[{"type":"top","color":"#000000","style":1},{"type":"left","color":"#000000","style":1},{"type":"right","color":"#000000","style":1},{"type":"bottom","color":"#000000","style":1}]}`) + // 左对齐 + songTi10BoldLeftStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"left"},"font":{"bold":true,"size":10,"family":"宋体"}}`) + songTi10BoldLeftBorderStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"left"},"font":{"bold":true,"size":10,"family":"宋体"},"border":[{"type":"top","color":"#000000","style":1},{"type":"left","color":"#000000","style":1},{"type":"right","color":"#000000","style":1},{"type":"bottom","color":"#000000","style":1}]}`) + // 右对齐 + songTi10BoldRightStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"right"},"font":{"bold":true,"size":10,"family":"宋体"}}`) + //songTi10BoldRightBorderStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"right"},"font":{"bold":true,"size":10,"family":"宋体"},{"border":[ + // {"type":"top","color":"#000000","style":1}, + // {"type":"left","color":"#000000","style":1}, + // {"type":"right","color":"#000000","style":1}, + // {"type":"bottom","color":"#000000","style":1} + //]}}`) + // 经办部门 的具体 部门 + songTi10Style, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center"},"font":{"size":10,"family":"宋体"}}`) + + xlsx.SetCellStyle(index, "A2", "H2", songTi18BoldStyle) + xlsx.MergeCell(index, "A2", "H2") + xlsx.SetCellValue(index, "A2", form.PaymentCompany) + + xlsx.SetCellStyle(index, "A3", "H3", songTi14BoldStyle) + xlsx.MergeCell(index, "A3", "H3") + xlsx.SetCellValue(index, "A3", "付款申请单") + + // 日期 自动获取 2023年4月26日 + xlsx.SetCellStyle(index, "D4", "F4", songTi14BoldStyle) + xlsx.MergeCell(index, "D4", "F4") + xlsx.SetCellFormula(index, "D4", "=now()") + dateFormat, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center"},"font":{"bold":true,"size":10,"family":"宋体"},"number_format":31,"lang":"zh-cn"}`) + xlsx.SetCellStyle(index, "D4", "D4", dateFormat) + + // 经办部门 + xlsx.SetCellStyle(index, "G4", "G4", songTi10BoldRightStyle) + xlsx.SetCellValue(index, "G4", "经办部门:") + + xlsx.SetCellStyle(index, "H4", "H4", songTi10Style) + xlsx.SetCellValue(index, "H4", form.TransactionDepartment) + + // 收款人信息 + xlsx.SetCellStyle(index, "A5", "A7", songTi10BoldCenterBorderStyle) + xlsx.MergeCell(index, "A5", "A7") + xlsx.SetCellValue(index, "A5", "收款人信息") + + // 全称 + xlsx.SetCellStyle(index, "B5", "B5", songTi10BoldLeftBorderStyle) + xlsx.SetCellValue(index, "B5", "全称") + + xlsx.SetCellStyle(index, "C5", "G5", songTi10BoldLeftBorderStyle) + xlsx.MergeCell(index, "C5", "G5") + xlsx.SetCellValue(index, "C5", form.Payee) + + xlsx.SetColWidth(index, "H", "H", 11) // 设置 列宽 + xlsx.SetCellStyle(index, "H5", "H5", songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, "H5", "总经办意见") + + xlsx.MergeCell(index, "H6", "H7") + xlsx.SetCellStyle(index, "H6", "H7", songTi10BoldCenterBorderStyle) + + // 开户银行 + xlsx.SetCellStyle(index, "B6", "B6", songTi10BoldLeftBorderStyle) + xlsx.SetCellValue(index, "B6", "开户银行") + + xlsx.SetCellStyle(index, "C6", "G6", songTi10BoldLeftBorderStyle) + xlsx.MergeCell(index, "C6", "G6") + xlsx.SetCellValue(index, "C6", form.BeneficiaryBank) + + // 账号 + xlsx.SetCellStyle(index, "B7", "B7", songTi10BoldLeftBorderStyle) + xlsx.SetCellValue(index, "B7", "账号") + + xlsx.SetCellStyle(index, "C7", "G7", songTi10BoldLeftBorderStyle) + xlsx.MergeCell(index, "C7", "G7") + xlsx.SetCellValue(index, "C7", form.BankNo) + + // 摘要 等 + xlsx.SetCellStyle(index, "A8", "B8", songTi10BoldCenterBorderStyle) + xlsx.MergeCell(index, "A8", "B8") + xlsx.SetCellValue(index, "A8", "摘要") + + xlsx.SetCellStyle(index, "C8", "C8", songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, "C8", "所属部门") + + xlsx.SetCellStyle(index, "D8", "D8", songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, "D8", "数量") + + xlsx.SetCellStyle(index, "E8", "E8", songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, "E8", "单位") + + xlsx.SetCellStyle(index, "F8", "F8", songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, "F8", "单价") + + xlsx.SetCellStyle(index, "G8", "G8", songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, "G8", "金额") + + xlsx.SetCellStyle(index, "H8", "H8", songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, "H8", "董事长意见") + + startRowIndex := 9 + var countPrice float64 + for i := 0; i < len(form.CostInfo); i++ { + xlsx.MergeCell(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("B%v", startRowIndex)) + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("B%v", startRowIndex), songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, fmt.Sprintf("A%v", startRowIndex), form.CostInfo[i].Description) + + xlsx.SetCellStyle(index, fmt.Sprintf("C%v", startRowIndex), fmt.Sprintf("G%v", startRowIndex), songTi10BoldCenterBorderStyle) + xlsx.SetSheetRow(index, fmt.Sprintf("C%v", startRowIndex), &[]interface{}{form.CostInfo[i].UsedDepartment, form.CostInfo[i].CostNum, form.CostInfo[i].CostUnit, form.CostInfo[i].UnitPrice, form.CostInfo[i].TotalPrice}) + totalPrice, _ := strconv.ParseFloat(form.CostInfo[i].TotalPrice, 10) + countPrice = countPrice + totalPrice + startRowIndex++ + } + + // 合并 董事长意见 单元格 + // 预留 两行 + + for i := 0; i < 3; i++ { + xlsx.MergeCell(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("B%v", startRowIndex)) + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("B%v", startRowIndex), songTi10BoldCenterBorderStyle) + + xlsx.SetCellStyle(index, fmt.Sprintf("C%v", startRowIndex), fmt.Sprintf("G%v", startRowIndex), songTi10BoldCenterBorderStyle) + startRowIndex++ + } + + xlsx.MergeCell(index, "H9", fmt.Sprintf("H%v", startRowIndex-1)) + xlsx.SetCellStyle(index, "H9", fmt.Sprintf("H%v", startRowIndex-1), songTi10BoldCenterBorderStyle) + + // 付款方式 + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("A%v", startRowIndex+1), songTi10BoldCenterBorderStyle) + xlsx.MergeCell(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("A%v", startRowIndex+1)) + xlsx.SetCellValue(index, fmt.Sprintf("A%v", startRowIndex), "付款方式") + + // √ □ + xlsx.SetCellStyle(index, fmt.Sprintf("B%v", startRowIndex), fmt.Sprintf("B%v", startRowIndex+1), songTi10BoldCenterBorderStyle) + xlsx.MergeCell(index, fmt.Sprintf("B%v", startRowIndex), fmt.Sprintf("B%v", startRowIndex+1)) + rowValue1 := "银行转账" + rowValue2 := "现金" + rowValue3 := "其他" + if form.PaymentMethod == rowValue1 { + rowValue1 = "√" + rowValue1 + rowValue2 = " □" + rowValue2 + rowValue3 = " □" + rowValue3 + } else if form.PaymentMethod == rowValue2 { + rowValue1 = "□" + rowValue1 + rowValue2 = " √" + rowValue2 + rowValue3 = " □" + rowValue3 + } else if form.PaymentMethod == rowValue3 { + rowValue3 = " √" + rowValue3 + rowValue2 = " □" + rowValue2 + rowValue1 = "□" + rowValue1 + } + xlsx.SetCellValue(index, fmt.Sprintf("B%v", startRowIndex), rowValue1+"\n"+rowValue2+"\n"+rowValue3) + + // 合计小写 + xlsx.SetCellStyle(index, fmt.Sprintf("C%v", startRowIndex), fmt.Sprintf("C%v", startRowIndex), songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, fmt.Sprintf("C%v", startRowIndex), "合计小写") + + xlsx.SetCellStyle(index, fmt.Sprintf("D%v", startRowIndex), fmt.Sprintf("H%v", startRowIndex), songTi10BoldLeftBorderStyle) + xlsx.MergeCell(index, fmt.Sprintf("D%v", startRowIndex), fmt.Sprintf("H%v", startRowIndex)) + xlsx.SetCellValue(index, fmt.Sprintf("D%v", startRowIndex), countPrice) + + // 合计大写 + xlsx.SetCellStyle(index, fmt.Sprintf("C%v", startRowIndex+1), fmt.Sprintf("C%v", startRowIndex+1), songTi10BoldCenterBorderStyle) + xlsx.SetCellValue(index, fmt.Sprintf("C%v", startRowIndex+1), "合计大写") + + xlsx.SetCellStyle(index, fmt.Sprintf("D%v", startRowIndex+1), fmt.Sprintf("H%v", startRowIndex+1), songTi10BoldLeftBorderStyle) + xlsx.MergeCell(index, fmt.Sprintf("D%v", startRowIndex+1), fmt.Sprintf("H%v", startRowIndex+1)) + price, _ := utils.ConvertNumToCny(countPrice) + xlsx.SetCellValue(index, fmt.Sprintf("D%v", startRowIndex+1), price) + + startRowIndex = startRowIndex + 3 + + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("A%v", startRowIndex), songTi10BoldLeftStyle) + xlsx.SetCellValue(index, fmt.Sprintf("A%v", startRowIndex), "总监:") + + xlsx.SetCellStyle(index, fmt.Sprintf("C%v", startRowIndex), fmt.Sprintf("C%v", startRowIndex), songTi10BoldLeftStyle) + xlsx.SetCellValue(index, fmt.Sprintf("C%v", startRowIndex), "财务审核:") + + xlsx.SetCellStyle(index, fmt.Sprintf("E%v", startRowIndex), fmt.Sprintf("E%v", startRowIndex), songTi10BoldLeftStyle) + xlsx.SetCellValue(index, fmt.Sprintf("E%v", startRowIndex), "部门负责人:") + + xlsx.SetCellStyle(index, fmt.Sprintf("G%v", startRowIndex), fmt.Sprintf("G%v", startRowIndex), songTi10BoldLeftStyle) + xlsx.SetCellValue(index, fmt.Sprintf("G%v", startRowIndex), "申请人:") + + startRowIndex = startRowIndex + 1 + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("H%v", startRowIndex), songTi10BoldLeftStyle) + xlsx.MergeCell(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("H%v", startRowIndex)) + xlsx.SetCellValue(index, fmt.Sprintf("A%v", startRowIndex), "备注:1、适用于预付款或款项未结清的情况") + + startRowIndex = startRowIndex + 1 + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("H%v", startRowIndex), songTi10BoldLeftStyle) + xlsx.MergeCell(index, fmt.Sprintf("A%v", startRowIndex), fmt.Sprintf("H%v", startRowIndex)) + xlsx.SetCellValue(index, fmt.Sprintf("A%v", startRowIndex), " 2、明细内容按实际情况可增加删减") + +} + +func financialFormSheet2(xlsx *excelize.File, form *api.FinancialForm) { + + xlsx.NewSheet("Sheet2") + + index := "Sheet2" + dengXian11BoldBorderStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center"},"font":{"bold":false,"size":11,"family":"等线"},"border":[{"type":"top","color":"#000000","style":1},{"type":"left","color":"#000000","style":1},{"type":"right","color":"#000000","style":1},{"type":"bottom","color":"#000000","style":1}]}`) + + dengXian11BoldStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center"},"font":{"bold":false,"size":11,"family":"等线"}}`) + + xlsx.SetCellStyle(index, "A1", "L1", dengXian11BoldBorderStyle) + xlsx.SetSheetRow(index, "A1", &[]string{"序号", "付款或报销月份", "发票日期", "发票号码(电子发票需提供)", "发票供应商名称", "发票或付款金额", "费用用途", "申请人", "付款方式", "付款或报销对象", "发票类型", "备注"}) + + rowIndex := 2 + var countPrice float64 + + if len(form.InvoiceInfo) < 1 { + return + } + + for i := 0; i < len(form.InvoiceInfo); i++ { + rowIndex = rowIndex + i + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", rowIndex), fmt.Sprintf("L%v", rowIndex), dengXian11BoldBorderStyle) + xlsx.SetCellInt(index, fmt.Sprintf("A%v", rowIndex), i+1) + xlsx.SetSheetRow(index, fmt.Sprintf("B%v", rowIndex), &[]interface{}{form.InvoiceInfo[i].InvoiceDate, form.InvoiceInfo[i].InvoiceDate, form.InvoiceInfo[i].InvoiceNo, form.InvoiceInfo[i].InvoiceProvider, form.InvoiceInfo[i].Amount, form.InvoiceInfo[i].UseTo, form.InvoiceInfo[i].Applicant, form.InvoiceInfo[i].PaymentMethod, form.InvoiceInfo[i].PaymentObj, form.InvoiceInfo[i].InvoiceType, form.InvoiceInfo[i].Notes}) + + totalPrice, _ := strconv.ParseFloat(form.InvoiceInfo[i].Amount, 10) + countPrice = countPrice + totalPrice + } + + rowIndex = rowIndex + 1 + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", rowIndex), fmt.Sprintf("L%v", rowIndex), dengXian11BoldBorderStyle) + rowIndex = rowIndex + 1 + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", rowIndex), fmt.Sprintf("L%v", rowIndex), dengXian11BoldBorderStyle) + rowIndex = rowIndex + 1 + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", rowIndex), fmt.Sprintf("L%v", rowIndex), dengXian11BoldBorderStyle) + + rowIndex = rowIndex + 1 + xlsx.SetCellStyle(index, fmt.Sprintf("E%v", rowIndex), fmt.Sprintf("E%v", rowIndex), dengXian11BoldStyle) + xlsx.SetCellValue(index, fmt.Sprintf("E%v", rowIndex), "合计") + + xlsx.SetCellStyle(index, fmt.Sprintf("F%v", rowIndex), fmt.Sprintf("F%v", rowIndex), dengXian11BoldStyle) + xlsx.SetCellValue(index, fmt.Sprintf("F%v", rowIndex), countPrice) + +} + +// 采购以及付款申请 导出 (全部) +func ExportApproval(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if req.OrderBy == "" { + req.OrderBy = "desc" + } + + list, err := service.ApprovalProvider.MySubmit(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if list.Data == nil || len(list.Data) == 0 { + service.ResponseQuickMsg(c, e.Ok, "暂无数据可导出", nil) + return + } + + // 文件的路径 压缩包的名字 + now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/approval_export" + utils.CheckDirPath(dirPath, true) + + zipPathName := now + ".zip" + zipPath := fmt.Sprintf("./runtime/") + utils.CheckDirPath(zipPath, true) + + // 组装数据 + for i := 0; i < len(list.Data); i++ { + fmt.Println("=============================== 打印 审批内容 ==================================") + fmt.Printf("approval content %+v\n", list.Data[i]) + fmt.Println("=============================== 打印 审批内容 ==================================") + err = exportPDF(list.Data[i], dirPath) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrWritePDF, + Status: e.Failed, + }) + return + } + + } + + if err := utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + logger.Errorf("CompressByFiles err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorZip, + Status: e.Failed, + }) + return + } + + if err = os.RemoveAll(dirPath); err != nil { + logger.Errorf("RemoveAll err", err) + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Join([]string{strings.Replace(zipPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), zipPathName}, ""), "runtime", "static", 1) + + service.ResponseQuickMsg(c, e.Ok, "导出成功", map[string]string{ + "ExportUrl": exportUrl, + }) +} + +// 写入 pdf 并保存成文件 添加到 文件夹中 +// 审批 通过的 logo https://cdns.fontree.cn/fonchain-main/prod/image/139/avatar/b28c5a8b-c8a5-402e-9e5b-311bb42b2537.png +// 审批 不通过的 logo https://cdns.fontree.cn/fonchain-main/prod/image/139/avatar/741862fd-81b3-4987-883e-e1de69259baa.png +func exportPDF(detail *approval.CreateRequest, dirPath string) error { + pdf := gopdf.GoPdf{} + pdf.Start(gopdf.Config{PageSize: *gopdf.PageSizeA4}) + pdf.AddPage() + + defer pdf.Close() + + // 设置文本和字体 + addTTFFontErr := pdf.AddTTFFont("simfang", "./data/simfang.ttf") + if addTTFFontErr != nil { + fmt.Println("========================================= setFont ==========================================") + fmt.Printf("%+v\n", addTTFFontErr) + fmt.Println("========================================= setFont ==========================================") + return addTTFFontErr + } + + setFontErr := pdf.SetFont("simfang", "", 16) + if setFontErr != nil { + fmt.Println("========================================= setFont ==========================================") + fmt.Printf("%+v\n", setFontErr) + fmt.Println("========================================= setFont ==========================================") + return setFontErr + } + + accountInfo, err := account.GetUserInfoById(new(gin.Context), detail.SubmitterID, "") + if err != nil { + return err + } + + submitterInfo := vo.SubmitterInfo{ + Name: accountInfo.NickName, + DepartmentName: accountInfo.DepartmentName, + TelNum: accountInfo.TelNum, + } + + printerInfo := vo.PrinterInfo{ + Name: submitterInfo.Name, + TelNum: submitterInfo.TelNum, + } + + var userIds []uint64 + var copyUsers []string + var approvalUsers []string + var content []vo.ContentInfo + + for _, tt := range detail.CopyUsers { + userIds = append(userIds, tt.ID) + } + + for _, tt := range detail.WorkFlows { + userIds = append(userIds, tt.ID) + } + + fmt.Println("1----查看", userIds) + departmentUserMap, err := department.GetDepartmentUsersMap(new(gin.Context), userIds) + fmt.Println("2----查看", departmentUserMap) + + if err != nil { + return err + } + + detailReq := api.TypeResponse{ + Keyword: detail.Type, + } + + detailRes, err := service.ApprovalProvider.DetailType(new(gin.Context), &detailReq) + + if err != nil { + return err + } + + fmt.Println("2----查看", detail) + for i, tt := range detail.CopyUsers { + if _, ok := departmentUserMap[tt.ID]; ok { + temp := fmt.Sprintf("第%s抄送人: %s %s", common.TransferNum(i+1), departmentUserMap[tt.ID], tt.Name) + copyUsers = append(copyUsers, temp) + } else { + temp := fmt.Sprintf("第%s抄送人: %s", common.TransferNum(i+1), tt.Name) + copyUsers = append(copyUsers, temp) + } + } + + //fmt.Println(res.WorkFlows) + //fmt.Println(departmentUserMap) + for i, tt := range detail.WorkFlows { + passString := "审批中" + greetString := "" + if tt.Status == e.ApprovalWorkStatusOk { + passString = "通过" + greetString = "同意" + } else if tt.Status == e.ApprovalWorkStatusFail { + passString = "未通过" + greetString = "不同意" + } + if _, ok := departmentUserMap[tt.UserID]; ok { + temp := fmt.Sprintf("第%s审批人: %s %s %s %s %s", common.TransferNum(i+1), departmentUserMap[tt.ID], tt.Name, passString, tt.OperatedAt, greetString) + approvalUsers = append(approvalUsers, temp) + } else { + temp := fmt.Sprintf("第%s审批人: %s %s %s %s", common.TransferNum(i+1), tt.Name, passString, tt.OperatedAt, greetString) + approvalUsers = append(approvalUsers, temp) + } + } + + switch detail.Type { + case e.TypeContent: // + temp := vo.ContentInfo{ + Info: detail.Content, + Type: "string", + Title: "内容", + } + content = append(content, temp) + + case e.TypeShow: + + temp := vo.ContentInfo{ + Info: detail.Content, + Type: "string", + Title: "具体内容", + } + content = append(content, temp) + + case e.TypeWork: + + if detail.Work != nil { + temp := vo.ContentInfo{ + Info: detail.Work.ReceivedAt, + Type: "string", + Title: "领取时间", + } + + content = append(content, temp) + title := "" + for _, t := range detail.Work.ApprovalWorks { + title = title + " " + t.ArtworkName + } + content = append(content, vo.ContentInfo{ + Info: title, + Type: "string", + Title: "申请内容", + }) + + } + + temp1 := vo.ContentInfo{ + Info: detail.Content, + Type: "string", + Title: "具体内容", + } + + content = append(content, temp1) + + case e.TypeBundle: + if detail.Bundle != nil { + temp := vo.ContentInfo{ + Info: detail.Bundle.ApplicationsNum, + Type: "num", + Title: "申请数量", + } + + content = append(content, temp) + content = append(content, vo.ContentInfo{ + Info: detail.Bundle.ReceivedAt, + Type: "string", + Title: "领取时间", + }) + + } + + temp1 := vo.ContentInfo{ + Info: detail.Content, + Type: "string", + Title: "具体内容", + } + + content = append(content, temp1) + + case e.TypeExhibition: + + if detail.Exhibition != nil { + + for i, t := range detail.Exhibition.ApprovalExhibitions { + content = append(content, vo.ContentInfo{ + Info: t.PackageName, + Type: "string", + Title: "名称" + fmt.Sprintf("%d", i+1), + }) + + content = append(content, vo.ContentInfo{ + Info: t.ShowDate, + Type: "string", + Title: "画展时间", + }) + + content = append(content, vo.ContentInfo{ + Info: t.Address, + Type: "string", + Title: "画展地址", + }) + } + + content = append(content, vo.ContentInfo{ + Info: detail.Bundle.ReceivedAt, + Type: "string", + Title: "领取时间", + }) + + } + + temp1 := vo.ContentInfo{ + Info: detail.Content, + Type: "string", + Title: "具体内容", + } + + content = append(content, temp1) + + default: //其它json + for _, tt := range detail.CustomizeInfo { + temp := vo.ContentInfo{ + Info: tt.ApprovalValue, + Type: tt.ApprovalType, + Title: tt.ApprovalName, + } + content = append(content, temp) + } + } + + approvalInfo := vo.ApprovalPrintInfo{ + Status: detail.Status, + ApprovalNum: common.GenerateCode(detail.ID), + CreatedAt: detail.CreatedAt, + TypeString: detailRes.Title, + SubmitterInfo: submitterInfo, + PrinterInfo: printerInfo, + CopyUsers: copyUsers, + ApprovalUsers: approvalUsers, + ContentMap: content, + } + + if detail.Status == model.ApprovalWorkStatusOk { + pdf.Image("./data/print-success.png", + 480, + 70, &gopdf.Rect{ + W: 195 / 2, + H: 170 / 2, + }) + } else if detail.Status == model.ApprovalWorkStatusOk { + pdf.Image("./data/print-no.png", + 480, + 70, &gopdf.Rect{ + W: 195 / 2, + H: 170 / 2, + }) + } + + fmt.Println("==================================== approvalInfos ===================================================") + fmt.Printf("approvalInfos is %+v\n", approvalInfo) + fmt.Println("==================================== approvalInfos ===================================================") + + var space float64 = 10 + + var rangeSpace float64 = 10 + + // 固定 大标题 + pdf.SetXY(200, rangeSpace) + pdf.Cell(nil, "泰丰文化审批单-"+approvalInfo.TypeString) + rangeSpace = rangeSpace + space + 70 + + // 审核编号 及 日期 + rangeSpace = rangeSpace + space + pdf.SetXY(0, rangeSpace) + pdf.Cell(nil, fmt.Sprintf("审核编号: %s 审核日期: %s", approvalInfo.ApprovalNum, approvalInfo.CreatedAt)) + rangeSpace = rangeSpace + space + + // 小标题 + rangeSpace = rangeSpace + space + pdf.SetXY(0, rangeSpace) + pdf.Cell(nil, approvalInfo.TypeString) + rangeSpace = rangeSpace + space + + for i := 0; i < len(approvalInfo.ContentMap); i++ { + rangeSpace = rangeSpace + space + pdf.SetXY(0, rangeSpace) + pdf.Cell(nil, fmt.Sprintf("%s:%s", approvalInfo.ContentMap[i].Title, approvalInfo.ContentMap[i].Info)) + rangeSpace = rangeSpace + space + } + + // 审核人 + for i := 0; i < len(approvalInfo.ApprovalUsers); i++ { + rangeSpace = rangeSpace + space + pdf.SetXY(0, rangeSpace) + pdf.Cell(nil, fmt.Sprintf("%s", approvalInfo.ApprovalUsers[i])) + rangeSpace = rangeSpace + space + } + + // 抄送人 + for i := 0; i < len(approvalInfo.CopyUsers); i++ { + rangeSpace = rangeSpace + space + pdf.SetXY(0, rangeSpace) + pdf.Cell(nil, fmt.Sprintf("%s", approvalInfo.CopyUsers[i])) + rangeSpace = rangeSpace + space + } + + rangeSpace = rangeSpace + space + pdf.SetXY(200, rangeSpace) + pdf.Cell(nil, fmt.Sprintf("打印日期:%s 打印人:%s", time.Now().Format("2006-01-02 15:04:05"), approvalInfo.SubmitterInfo.Name)) + + // 输出PDF + filePath := fmt.Sprintf(dirPath + "/" + approvalInfo.SubmitterInfo.Name + "_" + approvalInfo.TypeString + "_" + strconv.FormatInt(time.Now().Unix(), 10) + ".pdf") + err = pdf.WritePdf(filePath) + if err != nil { + fmt.Println("======================================================================== WritePdf ==========================================") + fmt.Printf("err is %+v\n", err) + fmt.Println("======================================================================== WritePdf ==========================================") + return err + } + return nil +} diff --git a/pkg/service/approval/approval_job.go b/pkg/service/approval/approval_job.go new file mode 100644 index 0000000..4210646 --- /dev/null +++ b/pkg/service/approval/approval_job.go @@ -0,0 +1,145 @@ +package approval + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "strings" +) + +// PassCreateJob 通过 创建 招聘信息 +func PassCreateJob(c *gin.Context, id uint64) error { + + detailReq := api.DetailRequest{ID: id} + detail, err := service.ApprovalProvider.Detail(c, &detailReq) + + if err != nil { + fmt.Println("查询失败", err) + return nil + } + + if detail.Status != e.ApprovalWorkStatusOk { + return nil + } + + // 人员增补申请 + if strings.Contains(detail.Type, TypeStaffSupply) { + job := &api.Job{ + ApprovalID: detail.ID, + PositionName: detail.StaffSupply.PositionName, + Num: int64(detail.StaffSupply.Num), + JobAsk: detail.StaffSupply.JobAsk, + JoinInTime: detail.StaffSupply.JoinInTime, + Poster: detail.SubmitterName, + DepartmentName: detail.StaffSupply.DepartmentName, + } + _, err = service.ApprovalProvider.CreateJob(context.Background(), job) + if err != nil { + return err + } + } + + return nil +} + +func JobList(c *gin.Context) { + var commonReq api.CommonRequest + if err := c.ShouldBind(&commonReq); err != nil { + logger.Errorf("JobList ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + jobList, err := service.ApprovalProvider.JobList(context.Background(), &commonReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: jobList, + Status: e.Ok, + }) +} + +func CloseJob(c *gin.Context) { + var commonReq api.UpdateJobStatusRequest + if err := c.ShouldBind(&commonReq); err != nil { + logger.Errorf("JobList ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _, err := service.ApprovalProvider.CloseJob(context.Background(), &commonReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +func CreateInterviewer(c *gin.Context) { + var commonReq api.SaveInterviewerInfo + if err := c.ShouldBind(&commonReq); err != nil { + logger.Errorf("JobList ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _, err := service.ApprovalProvider.CreateInterviewer(context.Background(), &commonReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +func UpdateInterviewer(c *gin.Context) { + var commonReq api.SaveInterviewerInfo + if err := c.ShouldBind(&commonReq); err != nil { + logger.Errorf("JobList ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _, err := service.ApprovalProvider.UpdateInterviewer(context.Background(), &commonReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} diff --git a/pkg/service/approval/approval_makeApprovalUser.go b/pkg/service/approval/approval_makeApprovalUser.go new file mode 100644 index 0000000..b8b8061 --- /dev/null +++ b/pkg/service/approval/approval_makeApprovalUser.go @@ -0,0 +1,85 @@ +package approval + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval/model" +) + +// OA 相关审批 需要 判断 days +func MakeRetApprovalUser(req *approval.CreateRequest, approvalUsers []*approval.ApprovalUser) (retApprovalUsers []*approval.ApprovalUser) { + if approvalUsers == nil && len(approvalUsers) < 1 { + return nil + } + if model.GetOaType(req.Type) != "" { + if req.Type == "outWork" || + req.Type == "funeralLeave" || + req.Type == "paternityLeave" || + req.Type == "maritalLeave" || + req.Type == "parentalLeave" || + req.Type == "nursingLeave" || + req.Type == "matingCheckLeave" || + req.Type == "annualLeave" || + req.Type == "businessTrip" || + req.Type == "sick" || + req.Type == "leave" || + req.Type == "maternityLeave" || + req.Type == "abortLeave" || + req.Type == "goOut" { + var days float32 + if req.ApprovalOA.Leave != nil { + days = req.ApprovalOA.Leave.Days + } + if req.ApprovalOA.BusinessTrip != nil { + days = req.ApprovalOA.BusinessTrip.TotalDays + } + if req.ApprovalOA.GoOut != nil { + days = req.ApprovalOA.GoOut.Hours / 8 + } + if req.ApprovalOA.OutWork != nil { + days = req.ApprovalOA.OutWork.Hours / 8 + } + //出纳特殊处理 + if req.Domain == "8fa1d8936af32f97aae832a3224bc93d" { + if days <= 1 { + // 获取审批人 的 全部直属 和 剔除 指定岗位的 最后2位 + // 获取审批人第一级 + retApprovalUser := approvalUsers[0] + retApprovalUser.Level = 1 + retApprovalUsers = append(retApprovalUsers, retApprovalUser) + retApprovalUsers = append(retApprovalUsers, approvalUsers[1:len(approvalUsers)-2]...) + } else if days > 1 && days <= 3 { + // 获取审批人 的 全部直属 和 剔除 指定岗位的 最后一位 + retApprovalUsers = append(retApprovalUsers, approvalUsers[:len(approvalUsers)-1]...) + } else if days > 3 { + // 获取审批人 全部 + retApprovalUsers = approvalUsers + } + } else { + if days <= 1 { + // 获取审批人第一级 + retApprovalUser := approvalUsers[0] + retApprovalUser.Level = 1 + retApprovalUsers = append(retApprovalUsers, retApprovalUser) + } else if days > 1 && days <= 3 { + // 获取审批人 的 全部直属 和 剔除 指定岗位的 最后一位 + retApprovalUsers = append(retApprovalUsers, approvalUsers[:len(approvalUsers)-1]...) + } else if days > 3 { + // 获取审批人 全部 + retApprovalUsers = approvalUsers + } + } + return retApprovalUsers + } + } + return approvalUsers +} + +func DeleteApprovalUser(userId uint64, approvalUsers []*approval.ApprovalUser) (retApprovalUsers []*approval.ApprovalUser) { + retApprovalUsers = make([]*approval.ApprovalUser, 0) + for i := 0; i < len(approvalUsers); i++ { + if approvalUsers[i].ID != userId { + retApprovalUsers = append(retApprovalUsers, approvalUsers[i]) + } + } + return +} diff --git a/pkg/service/approval/approval_new.go b/pkg/service/approval/approval_new.go new file mode 100644 index 0000000..d5d7694 --- /dev/null +++ b/pkg/service/approval/approval_new.go @@ -0,0 +1,3370 @@ +package approval + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/360EntSecGroup-Skylar/excelize" + "github.com/fonchain_enterprise/fonchain-main/api/account" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + artShowApi "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/department" + oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + m "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/logic" + "github.com/getsentry/sentry-go" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "sort" + "strconv" + "strings" + "time" +) + +func CreateV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, errors.New("参数获取错误")) + return + } + + userInfo := login.GetUserInfoFromC(c) + // 创建审批 防止重复提交 + lockKey := fmt.Sprintf("create_approval_%v_%v", userInfo.ID, req.Type) + reply := cache.RedisClient.SetNX(lockKey, 0, 10*time.Second) + if !reply.Val() { + service.Error(c, e.Error, nil, e.ErrorCreateApproval) + return + } + + //提交人 + req.SubmitterName = userInfo.NickName + req.SubmitterID = userInfo.ID + fmt.Println("====================提交前处理逻辑=========================") + // 提交之前的逻辑处理 + err := createBefore(userInfo, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Println("====================获取审批人=========================") + approvalAndCopy, err := makeApprovalAndUser(userInfo, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.ApprovalUsers = make([]*api.ApprovalUser, 0) + req.CopyUsers = make([]*api.CopyUser, 0) + + req.ApprovalUsers = approvalAndCopy.ApprovalUsers + req.CopyUsers = approvalAndCopy.CopyUsers + + fmt.Println("____________________ 打印 请求参数 CreateV2 createRequest 1 ________________________") + fmt.Printf("CreateV2 createRequest : %+v\n", req) + fmt.Println("____________________ 打印 请求参数 CreateV2 createRequest 1 ________________________") + + res, err := service.ApprovalProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Println("====================创建后=========================") + // 提交之后的逻辑处理 + err = createAfter(c, userInfo, &req, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + createReq := api.DetailRequest{ID: res.ID, Domain: req.Domain} + createDetail, detailErr := service.ApprovalProvider.Detail(c, &createReq) + if detailErr != nil { + service.Error(c, e.Error, err) + } + + //创建时推送给第一个审批人 + err = service.SendAppMessage("审批通知", "您有一条"+createDetail.TypeName+"审批待处理,点击查看详情 >", createDetail.NowUserId, createDetail.ID, "approval") + if err != nil { + fmt.Println("==============APP推送失败=====================") + fmt.Println(err) + } + + service.Success(c, res) +} + +// 创建 审批之前 要处理的逻辑 +func createBefore(userInfo login.Info, req *api.CreateRequest) (err error) { + if strings.Contains(req.Type, "turnover") { + reqList := &api.ListRequest{} + reqList.Domain = req.Domain + reqList.Type = "turnover" + reqList.UserID = userInfo.ID + reqList.Status = 2 + submitRes2, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New("查询离职申请失败") + } + reqList.Status = 1 + submitRes1, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New("查询离职申请失败") + } + + reqList.Status = 6 + submitRes3, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New("查询离职申请失败") + } + + if len(submitRes1.Data) > 0 || len(submitRes2.Data) > 0 || len(submitRes3.Data) > 0 { + return errors.New("用户已提交过离职申请") + } + } + + if strings.Contains(req.Type, "handover") { + reqList := &api.ListRequest{} + reqList.Domain = req.Domain + reqList.Type = "handover" + reqList.UserID = userInfo.ID + reqList.Status = 2 + submitRes2, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New("查询离职交接失败") + } + reqList.Status = 1 + submitRes1, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New("查询离职交接失败") + } + + reqList.Status = 6 + submitRes3, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New("查询离职交接失败") + } + + if len(submitRes1.Data) > 0 || len(submitRes2.Data) > 0 || len(submitRes3.Data) > 0 { + return errors.New("用户已提交过离职交接") + } + } + + if req.Type == oa_model.TypeGoOut { + if req.ApprovalOA.GoOut.Hours == 0 { + return errors.New(e.ErrorTimeIsZero) + } + } + + if req.Type == oa_model.TypeBusinessTrip { + if req.ApprovalOA.BusinessTrip.TotalDays == 0 { + return errors.New(e.ErrorTimeIsZero) + } + } + + if req.Type == oa_model.TypeMakeUp { + err = CheckMakeUpApplyApproval(req, userInfo) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + + if req.Type == oa_model.TypeOverTime { + err = CheckOverTimeApplyApproval(req, userInfo) + if err != nil { + return + } + } + + if req.Type == oa_model.TypeOutWork { + + if req.ApprovalOA.OutWork.Hours == 0 { + return errors.New(e.ErrorTimeIsZero) + } + + err = CheckLeaveTime(req, userInfo) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + err = CheckOutWorkTime(req) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + + if oa_model.LeaveApplyMap[req.Type] != "" { + + if (req.ApprovalOA.Leave != nil && req.ApprovalOA.Leave.Hours == 0 && req.ApprovalOA.Leave.Days == 0) || (req.ApprovalOA.OverTime != nil && req.ApprovalOA.OverTime.Hours == 0) { + return errors.New(e.ErrorTimeIsZero) + } + + err = CheckLeaveTime(req, userInfo) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + + if oa_model.LeaveApplyMap[req.Type] != "" && req.Type != oa_model.TypeOverTime && req.Type != oa_model.TypeLeave { + err = CheckLeaveApproval(req, userInfo) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + } + + if oa_model.LeaveBalanceApplyMap[req.Type] != "" { + err = CheckLeaveApply(req, userInfo) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + + if strings.Contains(req.Type, "employ") { + if req.Employ.ResumeID != "" { + resumeID, _ := strconv.ParseInt(req.Employ.ResumeID, 10, 64) + err = resumeHireJudge(userInfo, resumeID) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + + } + + if (req.Type == "exhibition" || req.Type == "artExhibitionReward") && req.Exhibition != nil { + showMap := make(map[string]string) + for _, exhibition := range req.Exhibition.ApprovalExhibitions { + if _, ok := showMap[exhibition.PackageID]; !ok { + showMap[exhibition.PackageID] = exhibition.PackageName + } else { + return errors.New("请勿提交重复的画展包") + } + } + } + + if req.Type == oa_model.TypeBusinessTrip { + err = CheckBusinessTripTime(req, userInfo) + if err != nil { + return err + } + } + + if req.Type == oa_model.TypeGoOut { + err = CheckLeaveTime(req, userInfo) + if err != nil { + return err + } + } + return nil +} + +// 创建 审批之后 要处理的逻辑 +func createAfter(c *gin.Context, userInfo login.Info, req *api.CreateRequest, res *api.ApprovalResponse) (err error) { + + // 同步至 es + go func() { + fmt.Println("同步至 es ") + // 查询 审批状态已经 更新的 审批信息 + createReq := api.DetailRequest{ID: res.ID, Domain: req.Domain} + createDetail, detailErr := service.ApprovalProvider.Detail(c, &createReq) + if detailErr != nil { + zap.L().Error("同步至 es 查询审批信息失败", zap.Error(detailErr)) + //return + } + fmt.Println("============================== 查询 审批 ========================") + fmt.Printf("approval detail %+v\n", createDetail) + fmt.Println("============================== 查询 审批 ========================") + + // 同步至 es + createErr := logic.CreateIndexApprovalDoc(config.ApprovalIndex, createDetail) + if createErr != nil { + zap.L().Error("同步至 es 失败 插入 ", zap.Error(createErr)) + //return + } + fmt.Println("同步至 es 查询审批信息成功 ") + }() + + //此处同步到画展包的数据 + if req.Type == "exhibition" { + applyId, err := synToArtShow(c, req, res) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + + upReq := &api.UpdateEhApplyIDRequest{ + ApplyId: applyId, + ApprovalID: res.ID, + } + + _, upErr := service.ApprovalProvider.UpdateExhibitionApplyID(c, upReq) + if upErr != nil { + //service.Error(c, e.Error, err) + return upErr + } + } + + fmt.Println("============================== es before 0 ========================") + + // 同步 oa 审批到 oa + if e.TypeMap[req.Type] == "oa" { + fmt.Println("同步 oa系统 ") + + // 查询 审批状态已经 更新的 审批信息 + createReq := api.DetailRequest{ID: res.ID, Domain: req.Domain} + createDetail, detailErr := service.ApprovalProvider.Detail(c, &createReq) + if detailErr != nil { + //service.Error(c, e.Error, err) + return detailErr + } + + oaRes, err := SyncApprovalToOA(createDetail) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + + fmt.Println("更新 oa系统 UUID ") + // 获取到 OA审批的 UUID 更新 approvalOA 中的 UUID + updateUUID := &api.UpdateApprovalOAUUIDReq{ + UUID: oaRes.ID, // OA 返回 + ApplyType: req.Type, + ApprovalID: res.ID, // approval 返回 + } + _, updateUUIDErr := service.ApprovalProvider.UpdateApprovalOAUUID(context.Background(), updateUUID) + if updateUUIDErr != nil { + fmt.Printf("updateUUIDErr %+v\n", updateUUIDErr) + //service.Error(c, e.Error, err) + return updateUUIDErr + } + fmt.Println("更新 oa系统 UUID 成功 ") + //更新假期余额数据 + if req.Type == oa_model.TypeAnnualLeave || req.Type == oa_model.TypeParentalLeave || req.Type == oa_model.TypeNursingLeave { + if len(req.ApprovalOA.Leave.ApplyTimes) == 0 { + return errors.New("获取开始日期失败") + } + date, _ := time.Parse("2006-01-02", req.ApprovalOA.Leave.ApplyTimes[0].Date) + year := int32(date.Year()) + _, err = service.GrpcOAImpl.ModifyTheLeaveBalance(context.Background(), &oaApi.ModifyTheLeaveBalanceReq{ + StaffUid: req.SubmitterID, + LeaveType: req.Type, + Movement: 2, + Year: year, + Days: req.ApprovalOA.Leave.Days, + }) + if err != nil { + fmt.Printf("更新假勤余额失败---%v", err) + } + //return err + } + + } + fmt.Println("============================== es before 1 ========================") + // 人才招聘 + if strings.Contains(req.Type, "staffSupply") { + err = createPostApprove(c, userInfo, res, req.DepartmentID) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + + fmt.Println("============================== es before 2 ========================") + + if strings.Contains(req.Type, "employ") { + if req.Employ.ResumeID != "" { + err = createOfferApprove(c, userInfo, res, req.DepartmentID) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + } + //提交离职后扣除年假 + if strings.Contains(req.Type, "turnover") { + UpdateDeductAnnualLeave(req.ApprovalOA.Turnover, userInfo) + } + fmt.Println("============================== es before 3 ========================") + + return nil +} + +func MakeApprovalAndUserV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res := new(api.ApprovalAndCopy) + + userInfo := login.GetUserInfoFromC(c) + + if len(userInfo.PositionUsers) > 1 && req.DepartmentID == 0 { + service.Error(c, e.Error, errors.New(e.ErrorNotSelectDepartment)) + return + } + + res, err := makeApprovalAndUser(userInfo, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func makeApprovalAndUser(userInfo login.Info, req *api.CreateRequest) (res *api.ApprovalAndCopy, err error) { + + res = new(api.ApprovalAndCopy) + + // 提交人 + req.SubmitterName = userInfo.NickName + req.SubmitterID = userInfo.ID + + // 查看 审批类型 的 审批人 以及 抄送人 + settingReq := new(api.DetailSettingRequest) + settingReq.KeyWord = req.Type + if req.Domain == "" { + return nil, errors.New("domain为空(必传)") + } else { + settingReq.Domain = req.Domain + } + settingRes, err := service.ApprovalProvider.DetailSetting(context.Background(), settingReq) + if err != nil { + //service.Error(c, e.Error, errors.New(e.ErrorApprovalUser)) + return nil, errors.New(e.ErrorApprovalUser) + } + + fmt.Println("============================================= 获取 审批 审批人 ===============================================") + fmt.Printf("settingRes %+v\n", settingRes) + fmt.Println("=========================================================================================================================") + + // 判断是否是 特殊的 提交人 + isSpecialSubmitter := false + if result := cache.RedisClient.Get(fmt.Sprintf(cache.SpecialSubmitter+"_%v", userInfo.TelNum)); result.Err() == nil && result.Val() == "1" { + isSpecialSubmitter = true + } + + if m.GetOaType(req.Type) != "" { //OA审批 + + fmt.Println("============================================= 进入 OA审批 ===============================================") + if !isSpecialSubmitter { + //耿阳接口的doamin是环境,写死 + departmentDomain := "fontree" + approvaluser, isLeader := DepartmentBossesV3(new(gin.Context), departmentDomain, req.DepartmentID, req.SubmitterID) + if len(approvaluser) > 0 { + for index, user := range approvaluser { + user.Level = uint64(index + 1) + user.Tier = settingRes.ApprovalUsers[0].Tier + user.IsDirect = settingRes.ApprovalUsers[0].IsDirect + user.Signature = "AND" + user.IsLive = settingRes.ApprovalUsers[0].IsLive + user.BalanceFillIn = settingRes.ApprovalUsers[0].BalanceFillIn + } + } + req.ApprovalUsers = approvaluser + req.IsLeader = isLeader + fmt.Printf("req approvalUsers %+v\n", req.ApprovalUsers) + fmt.Printf("req leader %+v\n", req.IsLeader) + } + res.ApprovalUsers, res.CopyUsers = buildApprovalUsers(userInfo, req, settingRes.ApprovalUsers, settingRes.CopyUsers, settingRes) + fmt.Println("============================================= OA审批 获取 审批 审批人 剔除 离职 审批人之前 ===============================================") + fmt.Printf("res approvalUsers %+v\n", res.ApprovalUsers) + fmt.Printf("res CopyUsers %+v\n", res.CopyUsers) + fmt.Println("=============================================================================================================================") + } else if strings.Contains(req.Type, "staffSupply") || strings.Contains(req.Type, "position") { + + if !isSpecialSubmitter { + //耿阳接口的doamin是环境,写死 + departmentDomain := "fontree" + approvaluser, isLeader := DepartmentBossesV3(new(gin.Context), departmentDomain, req.DepartmentID, req.SubmitterID) + if len(approvaluser) > 0 { + for index, user := range approvaluser { + user.Level = uint64(index + 1) + user.Tier = settingRes.ApprovalUsers[0].Tier + user.IsDirect = settingRes.ApprovalUsers[0].IsDirect + user.Signature = "AND" + user.IsLive = settingRes.ApprovalUsers[0].IsLive + user.BalanceFillIn = settingRes.ApprovalUsers[0].BalanceFillIn + } + } + req.ApprovalUsers = approvaluser + req.IsLeader = isLeader + fmt.Printf("req approvalUsers %+v\n", req.ApprovalUsers) + fmt.Printf("req leader %+v\n", req.IsLeader) + } + res.ApprovalUsers, res.CopyUsers = buildApprovalUsers(userInfo, req, settingRes.ApprovalUsers, settingRes.CopyUsers, settingRes) + + fmt.Println("============================================= 进入 人员增补审批 ===============================================") + //去重 + //原逻辑:把直属领导追加到审批人后面,去掉前面的重复数据 + //var result []*api.ApprovalUser + //approvalUserMap := make(map[uint64]*api.ApprovalUser) + // + //for _, userReq := range req.ApprovalUsers { + // approvalUserMap[userReq.ID] = userReq + //} + //for _, userRes := range res.ApprovalUsers { + // if _, exists := approvalUserMap[userRes.ID]; !exists { + // result = append(result, userRes) + // } + //} + //res.ApprovalUsers = result + //res.ApprovalUsers = append(res.ApprovalUsers, req.ApprovalUsers...) + //for index, ret := range res.ApprovalUsers { + // ret.Level = uint64(index + 1) + // + //} + fmt.Printf("把审批人追加到直属领导后面 %+v\n", res.ApprovalUsers) + + } else { + + fmt.Println("============================================= 进入 其他审批 ===============================================") + /*组装 从配置中获取的 审批人*/ + // 获取任命审批的 审批人 + req.ApprovalUsers = make([]*api.ApprovalUser, 0) + //approvalUser, err := buildPromotionApprovalUser(req) + //if err != nil { + // return nil, err + //} + // + //if approvalUser != nil { + // req.ApprovalUsers = approvalUser + //} + + // 直属 和 指定部门 需要去查询 account + res.ApprovalUsers, res.CopyUsers = buildApprovalUsers(userInfo, req, settingRes.ApprovalUsers, settingRes.CopyUsers, settingRes) + + if len(res.ApprovalUsers) == 0 { + return nil, errors.New(e.ErrorQueryDirectOrDepartmentApprovalUser) + } + + } + + // 剔除 离职 的 审批人 + res.ApprovalUsers, err = verifyApprovalUserIsActive(res.ApprovalUsers) + if err != nil { + //service.Error(c, e.Error, err) + return nil, err + } + + fmt.Println("============================================= OA审批 获取 审批 审批人 剔除 离职 审批人之后 ===============================================") + fmt.Printf("res approvalUsers %+v\n", res.ApprovalUsers) + fmt.Printf("res CopyUsers %+v\n", res.CopyUsers) + fmt.Println("=============================================================================================================================") + + return res, nil +} + +// buildApprovalUsers 组装 审批流程 +func buildApprovalUsers(userInfo login.Info, req *api.CreateRequest, approvalUsers []*api.ApprovalUser, inCopyUsers []*api.CopyUser, setting *api.SettingRequest) (retApprovalUsers []*api.ApprovalUser, copyUsers []*api.CopyUser) { + + fmt.Println("============ 获取 审批 审批人 组装前 ==============") + fmt.Printf("approvalUsers %+v\n", approvalUsers) + fmt.Println("============ 获取 审批 审批人 组装前 ==============") + fmt.Println() + + approvalUsers = MakeRetApprovalUser(req, approvalUsers) + + fmt.Println("============ 获取 审批 审批人 根据 OA 请假 天数 筛选 审判人 后 ==============") + fmt.Printf("approvalUsers %+v\n", approvalUsers) + fmt.Println("============ 获取 审批 审批人 根据 OA 请假 天数 筛选 审判人 后 ==============") + fmt.Println() + + var currentLevel uint64 = 0 // 当前审批节点 + //var approvalUserLevel uint64 = 0 // 审批人节点 + + retApprovalUsers = make([]*api.ApprovalUser, 0) + //signalUsers := make([]*api.ApprovalUser, 0) //指定人员 + retApprovalUsers = append(retApprovalUsers, req.ApprovalUsers...) + if len(retApprovalUsers) > 0 { + currentLevel = uint64(len(retApprovalUsers)) + } + copyUsers = make([]*api.CopyUser, 0) + retApprovalUsersMap := make(map[uint64]*api.ApprovalUser) + copyUsersMap := make(map[uint64]*api.CopyUser) + for _, user := range req.ApprovalUsers { + retApprovalUsersMap[user.ID] = user + } + for i := 0; i < len(approvalUsers); i++ { + // 判断当前审批节点是否是指定人员 如果不是指定人员 则需要查询 department 获取审批人 + if approvalUsers[i].ID == 0 { + + currentLevel++ + + if approvalUsers[i].DepartmentUID != "" && approvalUsers[i].PositionUID != "" { + listReq := new(account.ListV2Request) + departmentId, err := strconv.ParseUint(approvalUsers[i].DepartmentUID, 0, 64) + positionId, err := strconv.ParseUint(approvalUsers[i].PositionUID, 0, 64) + if err != nil { + return nil, nil + } + listReq.DepartmentId = uint32(departmentId) + listReq.PositionId = uint32(positionId) + // 查询部门下的审批人 + listRes, err := service.AccountProvider.ListV2(context.Background(), listReq) + if err != nil { + return nil, nil + } + + fmt.Println("============ 获取 审批 指定部门 审批人 ==============") + fmt.Printf("listRes %+v\n", listRes) + fmt.Println("============ 获取 审批 指定部门 审批人 ==============") + fmt.Println() + + for j := 0; j < len(listRes.Data); j++ { + if listRes.Data[j].ID == userInfo.ID && req.Type != "nursingLeaveApply" && req.Type != "parentalLeaveApply" { + if j == len(listRes.Data)-1 { + currentLevel-- + } + continue + } + + if retApprovalUsersMap[listRes.Data[j].ID] != nil { + + //if req.Type == "nursingLeaveApply" || req.Type == "parentalLeaveApply" { + // if req.Domain != "8fa1d8936af32f97aae832a3224bc93d" { + // for _, user := range retApprovalUsers { + // if user.ID == listRes.Data[j].ID { + // retApprovalUsers = DeleteApprovalUser(listRes.Data[j].ID, retApprovalUsers) + // } + // } + // } else { + // if j == len(listRes.Data)-1 { + // currentLevel-- + // } + // continue + // } + // + //} else { + if j == len(listRes.Data)-1 { + currentLevel-- + } + continue + //} + } + approvalUser := new(api.ApprovalUser) + approvalUser.ID = listRes.Data[j].ID + approvalUser.Name = listRes.Data[j].NickName + //指定部门有多个审批人,会签时等级++ + if approvalUsers[i].Signature == "AND" && j > 0 { + currentLevel++ + } + approvalUser.Level = currentLevel + approvalUser.Signature = approvalUsers[i].Signature + approvalUser.Type = approvalUsers[i].Type + approvalUser.Tier = approvalUsers[i].Tier + approvalUser.BalanceFillIn = approvalUsers[i].BalanceFillIn + retApprovalUsers = append(retApprovalUsers, approvalUser) + retApprovalUsersMap[listRes.Data[j].ID] = approvalUser + } + + } else if approvalUsers[i].IsDirect == 1 { + myBossReq := new(department.MyBossesReq) + if strings.Contains(req.Type, "employ") { + departmentId, _ := strconv.ParseUint(req.Employ.DepartmentId, 10, 32) + myBossReq.DepartmentId = uint32(departmentId) + } else { + myBossReq.UserId = uint32(userInfo.ID) + myBossReq.DepartmentId = uint32(req.DepartmentID) + } + + myBossReq.Level = uint32(approvalUsers[i].Level) + if approvalUsers[i].IsDesignate == 1 { + myBossReq.IsDesignate = true + } else { + myBossReq.IsDesignate = false + } + + fmt.Println("============ 获取 审批 直属领导 审批人 请求参数 ==============") + fmt.Printf("myBossReq %+v\n", myBossReq) + fmt.Println("============ 获取 审批 直属领导 审批人 请求参数 ==============") + + myBossRes, err := service.DepartmentProvider.MyBosses(context.Background(), myBossReq) + if err != nil { + return nil, nil + } + + //if req.Type == "position" && len(myBossRes.List) > 1 { + // myBossRes.List = myBossRes.List[:1] + //} + + fmt.Println("============ 获取 审批 直属领导 审批人 ==============") + fmt.Printf("myBossRes %+v\n", myBossRes) + fmt.Println("============ 获取 审批 直属领导 审批人 ==============") + fmt.Println() + + flag := 0 + for j := 0; j < len(myBossRes.List); j++ { + if j > 0 && approvalUsers[i].Signature == "OR" { + currentLevel++ + } + for k := 0; k < len(myBossRes.List[j].Bosses); k++ { + if myBossRes.List[j].Bosses[k].ID == uint32(userInfo.ID) { + if j > 0 && approvalUsers[i].Signature == "OR" { + currentLevel-- + } else if j == 0 { + currentLevel-- + } + if k > 0 { + currentLevel++ + } + continue + } + if retApprovalUsersMap[uint64(myBossRes.List[j].Bosses[k].ID)] != nil { + if j > 0 && approvalUsers[i].Signature == "OR" { + currentLevel-- + } else if j == 0 { + currentLevel-- + } + if k > 0 { + currentLevel++ + } + continue + } + approvalUser := new(api.ApprovalUser) + approvalUser.ID = uint64(myBossRes.List[j].Bosses[k].ID) + approvalUser.Name = myBossRes.List[j].Bosses[k].Name + //直属有多个审批人,会签时等级++ + if approvalUsers[i].Signature == "AND" && flag > 0 { + currentLevel++ + } + + approvalUser.Level = currentLevel + fmt.Println("========================currentLevel=========================================") + fmt.Println(approvalUser.Level) + fmt.Println(currentLevel) + approvalUser.IsDirect = approvalUsers[i].IsDirect + approvalUser.Signature = approvalUsers[i].Signature + approvalUser.Type = approvalUsers[i].Type + approvalUser.BalanceFillIn = approvalUsers[i].BalanceFillIn + approvalUser.IsDesignate = approvalUsers[i].IsDesignate + approvalUser.Tier = approvalUsers[i].Tier + retApprovalUsers = append(retApprovalUsers, approvalUser) + retApprovalUsersMap[uint64(myBossRes.List[j].Bosses[k].ID)] = approvalUser + flag++ + } + if myBossRes.List[j].Bosses == nil { + currentLevel-- + } + } + //currentLevel = currentLevel + uint64(len(myBossRes.List)-1) + + } + } else { + currentLevel++ + + if approvalUsers[i].ID == userInfo.ID { + currentLevel-- + continue + } + + if retApprovalUsersMap[approvalUsers[i].ID] != nil { + currentLevel-- + continue + } + + approvalUser := new(api.ApprovalUser) + approvalUser.ID = approvalUsers[i].ID + approvalUser.Name = approvalUsers[i].Name + if len(retApprovalUsers) > 0 { + if approvalUsers[i].Signature == "OR" && retApprovalUsers[len(retApprovalUsers)-1].Type == "designatedPersonnel" && retApprovalUsers[len(retApprovalUsers)-1].Signature == "OR" && approvalUsers[i].Tier == retApprovalUsers[len(retApprovalUsers)-1].Tier { + approvalUser.Level = retApprovalUsers[len(retApprovalUsers)-1].Level + currentLevel-- + } else if approvalUsers[i].Signature == "OR" && retApprovalUsers[len(retApprovalUsers)-1].Type == "designatedPersonnel" && retApprovalUsers[len(retApprovalUsers)-1].Signature != "OR" { + approvalUser.Level = retApprovalUsers[len(retApprovalUsers)-1].Level + 1 + } else { + approvalUser.Level = currentLevel + } + } else { + approvalUser.Level = currentLevel + } + approvalUser.Signature = approvalUsers[i].Signature + approvalUser.IsDesignate = approvalUsers[i].IsDesignate + approvalUser.IsDirect = approvalUsers[i].IsDirect + approvalUser.Tier = approvalUsers[i].Tier + if approvalUsers[i].Type == "" { + approvalUser.Type = e.AndSignType + } else { + approvalUser.Type = approvalUsers[i].Type + } + retApprovalUsers = append(retApprovalUsers, approvalUser) + retApprovalUsersMap[approvalUsers[i].ID] = approvalUser + + } + } + + //OA + // 病假 事假 + // 又要改,完犊子了 + if m.GetOaType(req.Type) != "" { + if req.Type == "nursingLeaveApply" || req.Type == "parentalLeaveApply" { + //去重,究极特殊处理,我人晕了 + //if req.IsLeader { + // retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + //} else { + var result []*api.ApprovalUser + approvalUserMap := make(map[uint64]*api.ApprovalUser) + + for _, userReq := range setting.OaApprovalUsers { + approvalUserMap[userReq.ID] = userReq + } + for _, userRes := range retApprovalUsers { + if _, exists := approvalUserMap[userRes.ID]; !exists { + result = append(result, userRes) + } + } + retApprovalUsers = result + retApprovalUsers = append(retApprovalUsers, setting.OaApprovalUsers...) + //var tmpAppUser *api.ApprovalUser + //tmpAppUser = retApprovalUsers[len(retApprovalUsers)-1] + //retApprovalUsers[len(retApprovalUsers)-1] = retApprovalUsers[len(retApprovalUsers)-2] + //retApprovalUsers[len(retApprovalUsers)-2] = tmpAppUser + //} + //retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + //retApprovalUsers[len(retApprovalUsers)-2].BalanceFillIn = 0 + + inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + + //新逻辑:加班/外勤 丧假 陪产假 婚假 育儿假 独生子女护理假 哺乳假 孕检假 年假 调休 出差 外出=====》直属1级 + } else if req.Type == "overTime" || + req.Type == "makeUp" || + req.Type == "breastFeedingLeave" || + req.Type == "dayOff" { + //if in.IsLeader { + retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + if len(retApprovalUsers) > 1 && req.Domain != "8fa1d8936af32f97aae832a3224bc93d" { + for _, user := range retApprovalUsers[1:] { + delete(retApprovalUsersMap, user.ID) + } + retApprovalUsers = retApprovalUsers[:1] + } + + } + } + + // 抄送人,岗位与人员混合,老子真晕了 + // 无特殊处理,与设置保持一致 + for _, copyUser := range inCopyUsers { + if copyUser.ID == 0 { + //指定岗位 + if copyUser.DepartmentUID != "" && copyUser.PositionUID != "" { + listReq := new(account.ListV2Request) + departmentId, err := strconv.ParseUint(copyUser.DepartmentUID, 0, 64) + positionId, err := strconv.ParseUint(copyUser.PositionUID, 0, 64) + if err != nil { + return nil, nil + } + listReq.DepartmentId = uint32(departmentId) + listReq.PositionId = uint32(positionId) + // 查询部门下的审批人 + listRes, err := service.AccountProvider.ListV2(context.Background(), listReq) + if err != nil { + return nil, nil + } + + fmt.Println("============ 获取 审批 指定部门 抄送人 ==============") + fmt.Printf("listRes %+v\n", listRes) + fmt.Println("============ 获取 审批 指定部门 抄送人 ==============") + for _, res := range listRes.Data { + tmpCopyUser := &api.CopyUser{ + ID: res.ID, + Name: res.NickName, + IsLive: copyUser.IsLive, + Type: copyUser.Type, + IsViewed: copyUser.IsViewed, + } + if _, exists := copyUsersMap[tmpCopyUser.ID]; !exists { + if _, existsApproval := retApprovalUsersMap[tmpCopyUser.ID]; !existsApproval { + if tmpCopyUser.ID != userInfo.ID { + copyUsers = append(copyUsers, tmpCopyUser) + copyUsersMap[tmpCopyUser.ID] = tmpCopyUser + } + } + } + + } + } + } else { + //指定人员 + if _, exists := copyUsersMap[copyUser.ID]; !exists { + if _, existsApproval := retApprovalUsersMap[copyUser.ID]; !existsApproval { + if copyUser.ID != userInfo.ID { + copyUsers = append(copyUsers, copyUser) + copyUsersMap[copyUser.ID] = copyUser + } + + } + } + } + + } + + //剔除掉离职的抄送人 + filterCopyUsers := make([]*api.CopyUser, 0) + + for _, copyU := range copyUsers { + req1 := new(account.ListByIDsRequest) + req1.IDs = []uint64{copyU.ID} + res1, err := service.AccountProvider.ListByIDs(context.Background(), req1) + if err != nil { + return nil, nil + } + if res1.Data[0].Status == "notactive" { + filterCopyUsers = append(filterCopyUsers, copyU) + } + } + copyUsers = filterCopyUsers + + for index, singleCopy := range copyUsers { + singleCopy.Level = uint64(index + 1) + } + + //for index2, user := range retApprovalUsers { + // user.Level = uint64(index2 + 1) + //} + + fmt.Println("============ 获取 审批 审批人 组装后 ==============") + fmt.Printf("retApprovalUsers %+v\n", retApprovalUsers) + fmt.Printf("copyUsers %+v\n", copyUsers) + fmt.Println("============ 获取 审批 审批人 组装后 ==============") + fmt.Println() + return +} + +// 备份 +func buildApprovalUsersV2(userInfo login.Info, req *api.CreateRequest, approvalUsers []*api.ApprovalUser, inCopyUsers []*api.CopyUser, setting *api.SettingRequest) (retApprovalUsers []*api.ApprovalUser, copyUsers []*api.CopyUser) { + + fmt.Println("============ 获取 审批 审批人 组装前 ==============") + fmt.Printf("approvalUsers %+v\n", approvalUsers) + fmt.Println("============ 获取 审批 审批人 组装前 ==============") + fmt.Println() + + var currentLevel uint64 = 0 // 当前审批节点 + var approvalUserLevel uint64 = 0 // 审批人节点 + + retApprovalUsers = make([]*api.ApprovalUser, 0) + copyUsers = make([]*api.CopyUser, 0) + retApprovalUsersMap := make(map[uint64]*api.ApprovalUser) + for i := 0; i < len(approvalUsers); i++ { + // 判断当前审批节点是否是指定人员 如果不是指定人员 则需要查询 department 获取审批人 + if approvalUsers[i].ID == 0 { + + currentLevel++ + + if approvalUsers[i].DepartmentUID != "" && approvalUsers[i].PositionUID != "" { + listReq := new(account.ListV2Request) + departmentId, err := strconv.ParseUint(approvalUsers[i].DepartmentUID, 0, 64) + positionId, err := strconv.ParseUint(approvalUsers[i].PositionUID, 0, 64) + if err != nil { + return nil, nil + } + listReq.DepartmentId = uint32(departmentId) + listReq.PositionId = uint32(positionId) + // 查询部门下的审批人 + listRes, err := service.AccountProvider.ListV2(context.Background(), listReq) + if err != nil { + return nil, nil + } + + fmt.Println("============ 获取 审批 指定部门 审批人 ==============") + fmt.Printf("listRes %+v\n", listRes) + fmt.Println("============ 获取 审批 指定部门 审批人 ==============") + fmt.Println() + + for j := 0; j < len(listRes.Data); j++ { + if listRes.Data[j].ID == userInfo.ID && req.Type != "nursingLeaveApply" && req.Type != "parentalLeaveApply" { + continue + } + if retApprovalUsersMap[listRes.Data[j].ID] != nil { + continue + } + approvalUser := new(api.ApprovalUser) + approvalUser.ID = listRes.Data[j].ID + approvalUser.Name = listRes.Data[j].NickName + approvalUser.Level = currentLevel + approvalUser.Signature = approvalUsers[i].Signature + approvalUser.Type = approvalUsers[i].Type + approvalUser.BalanceFillIn = approvalUsers[i].BalanceFillIn + retApprovalUsers = append(retApprovalUsers, approvalUser) + retApprovalUsersMap[listRes.Data[j].ID] = approvalUser + } + + } else if approvalUsers[i].IsDirect == 1 { + myBossReq := new(department.MyBossesReq) + if strings.Contains(req.Type, "employ") { + departmentId, _ := strconv.ParseUint(req.Employ.DepartmentId, 10, 32) + myBossReq.DepartmentId = uint32(departmentId) + } else { + myBossReq.UserId = uint32(userInfo.ID) + myBossReq.DepartmentId = uint32(req.DepartmentID) + } + //这不怪我,我也不想这么写 + if req.Type == "outWork" || + req.Type == "funeralLeave" || + req.Type == "paternityLeave" || + req.Type == "maritalLeave" || + req.Type == "parentalLeave" || + req.Type == "nursingLeave" || + req.Type == "matingCheckLeave" || + req.Type == "annualLeave" || + req.Type == "businessTrip" || + req.Type == "sick" || + req.Type == "leave" || + req.Type == "maternityLeave" || + req.Type == "abortLeave" || + req.Type == "goOut" { + var days float32 + if req.ApprovalOA.Leave != nil { + days = req.ApprovalOA.Leave.Days + } + if req.ApprovalOA.BusinessTrip != nil { + days = req.ApprovalOA.BusinessTrip.TotalDays + } + if req.ApprovalOA.GoOut != nil { + days = req.ApprovalOA.GoOut.Hours / 8 + } + if req.ApprovalOA.OutWork != nil { + days = req.ApprovalOA.OutWork.Hours / 8 + } + + //不同时长直属级数不同(晕) + if days > 1 { + myBossReq.Level = uint32(approvalUsers[i].Level) + } else { + myBossReq.Level = 1 + } + + } else { + myBossReq.Level = uint32(approvalUsers[i].Level) + } + + fmt.Println("============ 获取 审批 直属领导 审批人 请求参数 ==============") + fmt.Printf("myBossReq %+v\n", myBossReq) + fmt.Println("============ 获取 审批 直属领导 审批人 请求参数 ==============") + + myBossRes, err := service.DepartmentProvider.MyBosses(context.Background(), myBossReq) + if err != nil { + return nil, nil + } + + if strings.Contains(req.Type, "position") && len(myBossRes.List) > 1 { + myBossRes.List = myBossRes.List[:1] + } + + fmt.Println("============ 获取 审批 直属领导 审批人 ==============") + fmt.Printf("myBossRes %+v\n", myBossRes) + fmt.Println("============ 获取 审批 直属领导 审批人 ==============") + fmt.Println() + + for j := 0; j < len(myBossRes.List); j++ { + for k := 0; k < len(myBossRes.List[j].Bosses); k++ { + if myBossRes.List[j].Bosses[k].ID == uint32(userInfo.ID) { + continue + } + if retApprovalUsersMap[uint64(myBossRes.List[j].Bosses[k].ID)] != nil { + continue + } + approvalUser := new(api.ApprovalUser) + approvalUser.ID = uint64(myBossRes.List[j].Bosses[k].ID) + approvalUser.Name = myBossRes.List[j].Bosses[k].Name + approvalUser.Level = currentLevel + uint64(j) + approvalUser.IsDirect = approvalUsers[i].IsDirect + approvalUser.Signature = approvalUsers[i].Signature + approvalUser.Type = approvalUsers[i].Type + approvalUser.BalanceFillIn = approvalUsers[i].BalanceFillIn + retApprovalUsers = append(retApprovalUsers, approvalUser) + retApprovalUsersMap[uint64(myBossRes.List[j].Bosses[k].ID)] = approvalUser + } + } + currentLevel = currentLevel + uint64(len(myBossRes.List)-1) + + } + } else { + + if approvalUserLevel != approvalUsers[i].Level { + currentLevel++ + } + + approvalUserLevel = approvalUsers[i].Level + + if approvalUsers[i].ID == userInfo.ID { + continue + } + + if retApprovalUsersMap[approvalUsers[i].ID] != nil { + continue + } + + approvalUser := new(api.ApprovalUser) + approvalUser.ID = approvalUsers[i].ID + approvalUser.Name = approvalUsers[i].Name + approvalUser.Level = currentLevel + approvalUser.Signature = approvalUsers[i].Signature + if approvalUsers[i].Type == "" { + approvalUser.Type = e.AndSignType + } else { + approvalUser.Type = approvalUsers[i].Type + } + retApprovalUsers = append(retApprovalUsers, approvalUser) + retApprovalUsersMap[approvalUsers[i].ID] = approvalUser + + } + } + + //OA + // 病假 事假 + // 又要改,完犊子了 + if m.GetOaType(req.Type) != "" { + //又是新逻辑,事假/年假/出差/外出 + if req.Type == "leave" || req.Type == "annualLeave" || req.Type == "businessTrip" || req.Type == "goOut" { + var days float32 + if req.ApprovalOA.Leave != nil { + days = req.ApprovalOA.Leave.Days + } + if req.ApprovalOA.BusinessTrip != nil { + days = req.ApprovalOA.BusinessTrip.TotalDays + } + if req.ApprovalOA.GoOut != nil { + days = req.ApprovalOA.GoOut.Hours / 8 + } + retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + if days <= 3 { + retApprovalUsers = retApprovalUsers[:len(retApprovalUsers)-1] + } + + //if req.ApprovalOA.Leave.Days >= 2 { + // retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + // inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + //} else { + // + // retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + // if len(retApprovalUsers) > 1 { + // for _, user := range retApprovalUsers[1:] { + // delete(retApprovalUsersMap, user.ID) + // } + // retApprovalUsers = retApprovalUsers[:1] + // } + // inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + // if len(inCopyUsers) > 1 { + // inCopyUsers = inCopyUsers[:len(inCopyUsers)-1] + // } + // //} + // + //} + + for index, ret := range retApprovalUsers { + ret.Level = uint64(index + 1) + } + + //新逻辑:独生子女护理假申请 育儿假申请====》直属3级+指定岗位 + //TODO离职暂时放着(in.Type == "turnover") + } else if req.Type == "nursingLeaveApply" || req.Type == "parentalLeaveApply" { + //去重,究极特殊处理,我人晕了 + //if req.IsLeader { + // retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + //} else { + var result []*api.ApprovalUser + approvalUserMap := make(map[uint64]*api.ApprovalUser) + + for _, userReq := range setting.OaApprovalUsers { + approvalUserMap[userReq.ID] = userReq + } + for _, userRes := range retApprovalUsers { + if _, exists := approvalUserMap[userRes.ID]; !exists { + result = append(result, userRes) + } + } + retApprovalUsers = result + retApprovalUsers = append(retApprovalUsers, setting.OaApprovalUsers...) + //var tmpAppUser *api.ApprovalUser + //tmpAppUser = retApprovalUsers[len(retApprovalUsers)-1] + //retApprovalUsers[len(retApprovalUsers)-1] = retApprovalUsers[len(retApprovalUsers)-2] + //retApprovalUsers[len(retApprovalUsers)-2] = tmpAppUser + //} + retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + retApprovalUsers[len(retApprovalUsers)-2].BalanceFillIn = 1 + + inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + + //新逻辑:加班/外勤 丧假 陪产假 婚假 育儿假 独生子女护理假 哺乳假 孕检假 年假 调休 出差 外出=====》直属1级 + } else if req.Type == "outWork" || + req.Type == "funeralLeave" || + req.Type == "paternityLeave" || + req.Type == "maritalLeave" || + req.Type == "parentalLeave" || + req.Type == "nursingLeave" || + req.Type == "matingCheckLeave" || + req.Type == "maternityLeave" || + req.Type == "abortLeave" || + req.Type == "sick" { + var days float32 + if req.ApprovalOA.Leave != nil { + days = req.ApprovalOA.Leave.Days + } + if req.ApprovalOA.OutWork != nil { + days = req.ApprovalOA.OutWork.Hours / 8 + } + retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + //if days > 1 && days <= 3 { + // retApprovalUsers = retApprovalUsers[:len(retApprovalUsers)-1] + //} else if days <= 1 { + // retApprovalUsers = retApprovalUsers[:len(retApprovalUsers)-2] + //} + if days <= 3 { + retApprovalUsers = retApprovalUsers[:len(retApprovalUsers)-1] + } + //加班外勤 不是主管截取掉最后一个 + if req.Type == "outWork" { + inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + if !req.IsLeader { + if len(inCopyUsers) > 1 { + inCopyUsers = inCopyUsers[:len(inCopyUsers)-1] + } + } + + } + + } else if req.Type == "overTime" || + req.Type == "makeUp" || + req.Type == "breastFeedingLeave" || + req.Type == "dayOff" { + //if in.IsLeader { + retApprovalUsers = GetCombineOaApproveUsers(setting, retApprovalUsers) + if len(retApprovalUsers) > 1 { + for _, user := range retApprovalUsers[1:] { + delete(retApprovalUsersMap, user.ID) + } + retApprovalUsers = retApprovalUsers[:1] + } + //加班外勤 不是主管截取掉最后一个 + if req.Type == "overTime" { + inCopyUsers = GetCombineOaCopyUsers(setting, inCopyUsers) + if !req.IsLeader { + if len(inCopyUsers) > 1 { + inCopyUsers = inCopyUsers[:len(inCopyUsers)-1] + } + } + + } + + } + + //// 去重 审批人 剔除 提交人 抄送人 剔除 审批人 + //approvalUsers, copyUsers = UniqueUsersV2(in.SubmitterID, approvalUsers, copyUsers) + index := 0 + for i := 0; i < len(retApprovalUsers); i++ { + index++ + retApprovalUsers[i].Level = uint64(index) + } + fmt.Println("------------t5---------- start ") + fmt.Println("1-----", retApprovalUsers) + fmt.Println("2-----", inCopyUsers) + fmt.Println("------------t5---------- end ") + } + + if len(inCopyUsers) > 0 { + for i := 0; i < len(inCopyUsers); i++ { + if inCopyUsers[i].ID == userInfo.ID { + continue + } else if _, ok := retApprovalUsersMap[inCopyUsers[i].ID]; ok { + continue + } else { + copyUsers = append(copyUsers, inCopyUsers[i]) + } + } + } + + for index2, user := range retApprovalUsers { + user.Level = uint64(index2 + 1) + } + + fmt.Println("============ 获取 审批 审批人 组装后 ==============") + fmt.Printf("retApprovalUsers %+v\n", retApprovalUsers) + fmt.Printf("copyUsers %+v\n", copyUsers) + fmt.Println("============ 获取 审批 审批人 组装后 ==============") + fmt.Println() + return +} + +// verifyApprovalUserIsActive 检查审批人是否在职 并 用于 审批流程 展示 以及 创建 +func verifyApprovalUserIsActive(approvalUsers []*api.ApprovalUser) (retApprovalUsers []*api.ApprovalUser, err error) { + userIDs := make([]uint64, 0) + + for i := 0; i < len(approvalUsers); i++ { + userIDs = append(userIDs, approvalUsers[i].ID) + } + + if len(userIDs) > 0 { + req := new(account.ListByIDsRequest) + res := new(account.ListResponse) + retApprovalUsers = make([]*api.ApprovalUser, 0) + req.IDs = userIDs + res, err = service.AccountProvider.ListByIDs(context.Background(), req) + if err != nil { + return nil, errors.New(e.ErrorGetUserStatus) + } + + usersMap := make(map[uint64]*account.AccountInfo) + for i := 0; i < len(res.Data); i++ { + fmt.Println("==================================== 校验审批人 状态 ============================================") + fmt.Printf("审批人状态 %+v\n", res.Data[i]) + fmt.Println("==================================== 校验审批人 状态 ============================================") + //if res.Data[i].Status != "notactive" { + usersMap[res.Data[i].ID] = res.Data[i] + //} + } + + if len(usersMap) > 0 { + isLiveInvalidNum := 0 + for i := 0; i < len(approvalUsers); i++ { + if usersMap[approvalUsers[i].ID] != nil && usersMap[approvalUsers[i].ID].Status == "notactive" { + approvalUsers[i].IsLive = e.IsLive + retApprovalUsers = append(retApprovalUsers, approvalUsers[i]) + } else { + isLiveInvalidNum++ + approvalUsers[i].IsLive = e.IsLiveInvalid + retApprovalUsers = append(retApprovalUsers, approvalUsers[i]) + } + } + + if isLiveInvalidNum == len(approvalUsers) { + return nil, errors.New(e.ErrorCurrentApprovalIsNotUsed) + } + } + } + return +} + +// 获取 promotion 中的 员工信息 +func buildPromotionApprovalUser(req *api.CreateRequest) (approvalUsers []*api.ApprovalUser, err error) { + if req.Promotion == nil { + return nil, nil + } else if req.Promotion.StaffUID == 0 { + return nil, errors.New(e.ErrorEmptyPromotionStaffUid) + } else { + fmt.Println("============ 获取 promotion 中的 员工信息 ==============") + fmt.Printf("req.Promotion %+v\n", req.Promotion) + fmt.Println("============ 获取 promotion 中的 员工信息 ==============") + staffInfo, err := service.AccountProvider.Info(context.Background(), &account.InfoRequest{ID: req.Promotion.StaffUID}) + fmt.Println("============ 获取 account 中的 员工信息 ==============") + fmt.Printf("staffInfo %+v\n", staffInfo) + fmt.Printf("err %+v\n", err) + fmt.Println("============ 获取 account 中的 员工信息 ==============") + if err != nil { + return nil, errors.New(e.GetMsg(e.ErrorGetUserInfo)) + } + var departmentUid uint64 + for i := 0; i < len(staffInfo.Info.Departments); i++ { + if staffInfo.Info.Departments[i].ID != 0 { + departmentUid = uint64(staffInfo.Info.Departments[i].ID) + break + } + } + + myBossReq := new(department.MyBossesReq) + myBossReq.UserId = uint32(staffInfo.Info.ID) + myBossReq.DepartmentId = uint32(departmentUid) + myBossReq.Level = 1 + + myBossRes, err := service.DepartmentProvider.MyBosses(context.Background(), myBossReq) + if err != nil { + return nil, nil + } + + if myBossRes.List == nil || len(myBossRes.List) == 0 { + return nil, errors.New(e.ErrorNotCatchUserDepartmentBoss) + } + + approvalUsers = make([]*api.ApprovalUser, 0) + for i := 0; i < len(myBossRes.List); i++ { + for j := 0; j < len(myBossRes.List[i].Bosses); j++ { + approvalUser := new(api.ApprovalUser) + approvalUser.ID = uint64(myBossRes.List[i].Bosses[j].ID) + approvalUser.Name = myBossRes.List[i].Bosses[j].Name + approvalUser.Level = 1 + approvalUsers = append(approvalUsers, approvalUser) + } + } + + if req.ApprovalUsers != nil { + approvalUsers = append(approvalUsers, req.ApprovalUsers...) + } + + return approvalUsers, nil + } +} + +func UniqueUsers(submitterID uint64, inApprovalUsers []*api.ApprovalUser, inCopyUsers []*api.CopyUser) (newApprovalUsers []*api.ApprovalUser, copyUsers []*api.CopyUser) { + approvalUsers := make([]*api.ApprovalUser, 0) + approvalUserMap := make(map[uint64]*api.ApprovalUser) + copyUsers = make([]*api.CopyUser, 0) + uniqueUsersMap := make(map[uint64]struct{}) + + // 剔除 提交人 在审批人中 + for i := 0; i < len(inApprovalUsers); i++ { + approvalUser := new(api.ApprovalUser) + approvalUser = inApprovalUsers[i] + approvalUserMap[approvalUser.ID] = approvalUser + if approvalUser.ID == submitterID { + continue + } else if _, ok := uniqueUsersMap[approvalUser.ID]; ok { + continue + } else { + uniqueUsersMap[approvalUser.ID] = struct{}{} + approvalUsers = append(approvalUsers, approvalUser) + } + } + + var currentLevel uint64 = 0 + var preLevel uint64 = 0 + for i := 0; i < len(approvalUsers); i++ { + if i == 0 { + preLevel = approvalUsers[i].Level + currentLevel = approvalUsers[i].Level + } else { + currentLevel = approvalUsers[i].Level + if approvalUsers[i].Level == preLevel { + approvalUsers[i].Level = currentLevel + } else { + approvalUsers[i].Level = currentLevel + preLevel = currentLevel + currentLevel++ + } + } + } + + approvalUsersMap := make(map[uint64][]*api.ApprovalUser) + levels := make([]int, 0) + + for i := 0; i < len(approvalUsers); i++ { + approvalUser := new(api.ApprovalUser) + approvalUser = approvalUsers[i] + if approvalUsersMap[approvalUser.Level] == nil { + levels = append(levels, int(approvalUser.Level)) + } + approvalUsersMap[approvalUser.Level] = append(approvalUsersMap[approvalUser.Level], approvalUser) + } + + newApprovalUsers = make([]*api.ApprovalUser, 0) + sort.Ints(levels) + + if len(levels) > 0 { + for i := 0; i < len(levels); i++ { + for j := 0; j < len(approvalUsersMap[uint64(levels[i])]); j++ { + if approvalUsersMap[uint64(levels[i])][j].Level == 0 { + approvalUsersMap[uint64(levels[i])][j].Level = 1 + approvalUsersMap[uint64(levels[i])][j].Signature = e.AndSignType + } else if approvalUsersMap[uint64(levels[i])][j].Level == 1 { + approvalUsersMap[uint64(levels[i])][j].Level = approvalUsersMap[uint64(levels[0])][len(approvalUsersMap[uint64(levels[0])])-1].Level + } else { + approvalUsersMap[uint64(levels[i])][j].Level = approvalUsersMap[uint64(levels[i-1])][len(approvalUsersMap[uint64(levels[i])])-1].Level + 1 + } + } + newApprovalUsers = append(newApprovalUsers, approvalUsersMap[uint64(levels[i])]...) + } + } + + approvalUsers = newApprovalUsers + + if len(inCopyUsers) > 0 { + for i := 0; i < len(inCopyUsers); i++ { + if inCopyUsers[i].ID == submitterID { + continue + } else if _, ok := approvalUsersMap[inCopyUsers[i].ID]; ok { + continue + } else { + copyUsers = append(copyUsers, inCopyUsers[i]) + } + } + } + + return +} + +// buildWorkFlow 组装 workflow +func buildWorkFlow(approvalUsers []*api.ApprovalUser) (retWorkFlows []*api.WorkFlow) { + retWorkFlows = make([]*api.WorkFlow, 0) + for i := 0; i < len(approvalUsers); i++ { + workFlow := new(api.WorkFlow) + workFlow.UserID = approvalUsers[i].ID + workFlow.Name = approvalUsers[i].Name + workFlow.Level = approvalUsers[i].Level + workFlow.Signature = approvalUsers[i].Signature + retWorkFlows = append(retWorkFlows, workFlow) + } + return + +} + +// verifyWorkflowIsActive 检查审批人是否在职 并 更新审批流程 用于审批流程的更新 +func verifyWorkflowIsActive(workflows []*api.WorkFlow) (retWorkFlows []*api.WorkFlow, err error) { + userIDs := make([]uint64, 0) + + for i := 0; i < len(workflows); i++ { + userIDs = append(userIDs, workflows[i].UserID) + } + + if len(userIDs) > 0 { + req := new(account.ListByIDsRequest) + res := new(account.ListResponse) + retWorkFlows = make([]*api.WorkFlow, 0) + req.IDs = userIDs + res, err = service.AccountProvider.ListByIDs(context.Background(), req) + if err != nil { + return nil, errors.New(e.ErrorGetUserStatus) + } + + usersMap := make(map[uint64]*account.AccountInfo) + for i := 0; i < len(res.Data); i++ { + if res.Data[i].Status != "notactive" { + usersMap[res.Data[i].ID] = res.Data[i] + } + } + + if len(usersMap) > 0 { + for i := 0; i < len(workflows); i++ { + if usersMap[workflows[i].UserID] != nil { + workflows[i].IsLive = e.IsLiveInvalid + retWorkFlows = append(retWorkFlows, workflows[i]) + } + } + + updateWorkflowReq := new(api.UpdateWorkflowRequest) + updateWorkflowReq.WorkFlows = retWorkFlows + _, err = service.ApprovalProvider.UpdateWorkflow(context.Background(), updateWorkflowReq) + if err != nil { + return nil, err + } + } + } + return +} + +func MyWorkV2(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + + req.Domain = "all" + + //if req.Status == 0 { + // for i := 0; i < len(userInfo.PositionUsers); i++ { + // if userInfo.PositionUsers[i].DepartmentName == "超级管理员" { + // req.UserID = 0 + // } + // } + //} + + if req.OrderBy == "" { + req.OrderBy = "desc" + } + + if req.StartTime != "" && req.EndTime != "" { + req.StartTime = req.StartTime + " 00:00:00" + req.EndTime = req.EndTime + " 23:59:59" + req.OrderBy = "asc" + } + // 范围搜索 + // + //positionList, dataErr := service.GrpcApprovalDataImpl.DetailApprovalData(context.Background(), &approvalData.DetailApprovalDataReq{UserId: userInfo.ID}) + //if dataErr != nil { + // service.Error(c, e.Error, dataErr) + // return + //} + // + //if len(positionList.Data) > 0 { + // userList := make([]uint64, 0) + // for _, position := range positionList.Data { + // positionId, _ := strconv.ParseUint(position.PositionUID, 10, 32) + // userRes, userErr := service.AccountProvider.ListV2(context.Background(), &account.ListV2Request{Page: 1, PageSize: 99999, PositionId: uint32(positionId)}) + // if userErr != nil { + // service.Error(c, e.Error, userErr) + // return + // } + // if len(userRes.Data) > 0 { + // for _, user := range userRes.Data { + // userList = append(userList, user.ID) + // } + // } + // } + // req.UserList = userList + //} + + var authRes = new(position.DoIHavaAuthResponse) + authRes.Hava = false + + if req.IsSpecial { + var authReq position.DoIHavaAuthRequest + var authErr error + + authReq.Url = "moceapp/mywork/category/" + authReq.Type = "button" + + authRes, authErr = service.PositionProvider.DoIHavaAuth(c, &authReq) + if authErr != nil { + zap.L().Error("DoIHavaAuth", zap.Error(authErr)) + } + + if authRes.Hava { + req.PageSize = 9999 + } + } + + res, err := service.ApprovalProvider.MyWorkV2(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //全局搜索过滤 + if len(res.Data) > 0 && req.AllQuery != "" { + fmt.Println("========================全局搜索过滤==============================") + filterData := make([]*api.CreateRequest, 0) + for _, approvalItem := range res.Data { + flag := 0 + if strings.Contains(approvalItem.Content, req.AllQuery) || + strings.Contains(approvalItem.Reply, req.AllQuery) || + strings.Contains(approvalItem.SubmitterName, req.AllQuery) || + strings.Contains(approvalItem.NowUserName, req.AllQuery) || + strings.Contains(approvalItem.CreatedAt, req.AllQuery) || + strings.Contains(approvalItem.TypeName, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.Work != nil { + if len(approvalItem.Work.ApprovalWorks) > 0 { + for _, work := range approvalItem.Work.ApprovalWorks { + if strings.Contains(work.ArtworkName, req.AllQuery) || + strings.Contains(work.ArtistShowCount, req.AllQuery) || + strings.Contains(work.ArtworkCover, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if len(approvalItem.Show) > 0 { + for _, show := range approvalItem.Show { + if strings.Contains(show.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.Exhibition != nil { + if strings.Contains(approvalItem.Exhibition.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.Exhibition.ApprovalExhibitions) > 0 { + + for _, exhibition := range approvalItem.Exhibition.ApprovalExhibitions { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if len(approvalItem.WorkFlows) > 0 { + for _, user := range approvalItem.WorkFlows { + if strings.Contains(user.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CopyUsers) > 0 { + for _, copyUser := range approvalItem.CopyUsers { + if strings.Contains(copyUser.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CustomizeInfo) > 0 { + for _, keyInfo := range approvalItem.CustomizeInfo { + if strings.Contains(keyInfo.ApprovalValue, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.BundlePayPrice != nil { + if strings.Contains(approvalItem.BundlePayPrice.ShowName, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtistShowCount, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowLowPrice, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtworkSize, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowAddress, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowDate, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA != nil { + if strings.Contains(approvalItem.ApprovalOA.RevokeReason, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.ApprovalOA.LeaveApply != nil { + if strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.ActionTime, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA.OutWork != nil { + + if strings.Contains(approvalItem.ApprovalOA.OutWork.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.OutWorkAddress, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Vehicle, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OutWork.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.MakeUp != nil { + if strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.MakeUp.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Turnover != nil { + fmt.Println("=====================turnover=====================") + fmt.Println(approvalItem.ApprovalOA.Turnover) + if strings.Contains(approvalItem.ApprovalOA.Turnover.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.JoinTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.LeftTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ContactInfo, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Address, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.WorkItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.FinanceItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Turnover.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + fmt.Println("=====================flag=====================") + fmt.Println(flag) + } + if approvalItem.ApprovalOA.OverTime != nil { + if strings.Contains(approvalItem.ApprovalOA.OverTime.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OverTime.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Leave != nil { + if strings.Contains(approvalItem.ApprovalOA.Leave.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Leave.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.GoOut != nil { + if strings.Contains(approvalItem.ApprovalOA.GoOut.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.GoOut.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.BusinessTrip != nil { + if strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, itinerary := range approvalItem.ApprovalOA.BusinessTrip.ItineraryList { + if strings.Contains(itinerary.Vehicle, req.AllQuery) || + strings.Contains(itinerary.EndAddress, req.AllQuery) || + strings.Contains(itinerary.StartAddress, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if approvalItem.FinancialForm != nil { + if strings.Contains(approvalItem.FinancialForm.PaymentCompany, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.TransactionDepartment, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.Payee, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BeneficiaryBank, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BankNo, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.PaymentMethod, req.AllQuery) { + flag = flag + 1 + } + for _, costInfo := range approvalItem.FinancialForm.CostInfo { + if strings.Contains(costInfo.Description, req.AllQuery) || + strings.Contains(costInfo.UnitPrice, req.AllQuery) || + strings.Contains(costInfo.CostUnit, req.AllQuery) || + strings.Contains(costInfo.UsedDepartment, req.AllQuery) || + strings.Contains(costInfo.TotalPrice, req.AllQuery) { + flag = flag + 1 + break + } + } + for _, invoiceInfo := range approvalItem.FinancialForm.InvoiceInfo { + if strings.Contains(invoiceInfo.InvoiceDate, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceNo, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceProvider, req.AllQuery) || + strings.Contains(invoiceInfo.Amount, req.AllQuery) || + strings.Contains(invoiceInfo.Applicant, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentMethod, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentObj, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceType, req.AllQuery) || + strings.Contains(invoiceInfo.Notes, req.AllQuery) || + strings.Contains(invoiceInfo.UseTo, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ExhibitionHis != nil { + if strings.Contains(approvalItem.ExhibitionHis.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.ExhibitionHis.ApprovalExhibitionHiss) > 0 { + for _, exhibition := range approvalItem.ExhibitionHis.ApprovalExhibitionHiss { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if approvalItem.Promotion != nil { + if strings.Contains(approvalItem.Promotion.StaffName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.Promotion.FileName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.NewJob, req.AllQuery) || + strings.Contains(approvalItem.Promotion.EffectiveTime, req.AllQuery) || + strings.Contains(approvalItem.Promotion.OldJob, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.StaffSupply != nil { + if strings.Contains(approvalItem.StaffSupply.PositionName, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JobAsk, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JoinInTime, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.DepartmentName, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.Employ != nil { + if strings.Contains(approvalItem.Employ.Post, req.AllQuery) || + strings.Contains(approvalItem.Employ.BelongDepartment, req.AllQuery) || + strings.Contains(approvalItem.Employ.Name, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeType, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeNo, req.AllQuery) || + strings.Contains(approvalItem.Employ.EntryTime, req.AllQuery) || + strings.Contains(approvalItem.Employ.CloseReason, req.AllQuery) || + strings.Contains(approvalItem.Employ.ConfirmDate, req.AllQuery) || + strings.Contains(approvalItem.Employ.Remark, req.AllQuery) || + strings.Contains(approvalItem.Employ.Mobile, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.CheckIn != nil { + if strings.Contains(approvalItem.CheckIn.SaleAddress, req.AllQuery) || + strings.Contains(approvalItem.CheckIn.DetailAddress, req.AllQuery) { + flag = flag + 1 + } + + } + if flag > 0 { + filterData = append(filterData, approvalItem) + } + } + fmt.Println("========================匹配所有字段结束,匹配结果==============================") + fmt.Println(filterData) + res.Data = filterData + + } + + //字段国际化 + if len(res.Data) > 0 { + lang := c.Request.Header.Get("Accept-Language") + for _, one := range res.Data { + one.TypeName = m.GetLanguageType(lang, one.TypeName) + + if one.ApprovalOA != nil { + if one.ApprovalOA.Leave != nil { + for _, applyTime := range one.ApprovalOA.Leave.ApplyTimes { + applyTime.M = m.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.Turnover != nil { + for _, applyTime := range one.ApprovalOA.Turnover.ApplyTimes { + applyTime.M = m.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.BusinessTrip != nil { + for _, itinerary := range one.ApprovalOA.BusinessTrip.ItineraryList { + for _, applyTime := range itinerary.ApplyTimes { + applyTime.M = m.GetLanguageType(lang, applyTime.M) + } + } + } + if one.ApprovalOA.GoOut != nil { + for _, applyTime := range one.ApprovalOA.GoOut.ApplyTimes { + applyTime.M = m.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.OutWork != nil { + for _, applyTime := range one.ApprovalOA.OutWork.ApplyTimes { + applyTime.M = m.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.OverTime != nil { + for _, applyTime := range one.ApprovalOA.OverTime.ApplyTimes { + applyTime.M = m.GetLanguageType(lang, applyTime.M) + } + } + if one.ApprovalOA.MakeUp != nil { + for _, applyTime := range one.ApprovalOA.MakeUp.ApplyTimes { + applyTime.M = m.GetLanguageType(lang, applyTime.M) + } + } + + } + + } + } + + if authRes.Hava && req.IsSpecial { + retApproval := new(m.RetApproval) + categoryApproval := new(m.CategoryApproval) + categoryApproval.ClaimsApply = make([]*api.CreateRequest, 0) + categoryApproval.PaymentsApply = make([]*api.CreateRequest, 0) + categoryApproval.DeploymentApply = make([]*api.CreateRequest, 0) + categoryApproval.ContractApply = make([]*api.CreateRequest, 0) + categoryApproval.SealApply = make([]*api.CreateRequest, 0) + categoryApproval.OaApply = make([]*api.CreateRequest, 0) + categoryApproval.OtherApply = make([]*api.CreateRequest, 0) + + var ( + claimsEnv map[string]string + PaymentsEnv map[string]string + DeploymentEnv map[string]string + ContractEnv map[string]string + SealEnv map[string]string + OAEnv map[string]string + ) + + if config.Env == "prod" { + claimsEnv = m.ProdClaims + PaymentsEnv = m.ProdPayments + DeploymentEnv = m.ProdDeployment + ContractEnv = m.ProdContract + SealEnv = m.ProdSeal + OAEnv = m.ProdOA + } else { + claimsEnv = m.DevClaims + PaymentsEnv = m.DevPayments + DeploymentEnv = m.DevDeployment + ContractEnv = m.DevContract + SealEnv = m.DevSeal + OAEnv = m.DevOA + } + + // 做分类 + for i := 0; i < len(res.Data); i++ { + if res.Data[i].Type == claimsEnv[res.Data[i].Type] { + categoryApproval.ClaimsApply = append(categoryApproval.ClaimsApply, res.Data[i]) + categoryApproval.Claims++ + continue + } else if res.Data[i].Type == PaymentsEnv[res.Data[i].Type] { + categoryApproval.PaymentsApply = append(categoryApproval.PaymentsApply, res.Data[i]) + categoryApproval.Payments++ + continue + } else if res.Data[i].Type == DeploymentEnv[res.Data[i].Type] { + categoryApproval.DeploymentApply = append(categoryApproval.DeploymentApply, res.Data[i]) + categoryApproval.Deployment++ + continue + } else if res.Data[i].Type == ContractEnv[res.Data[i].Type] { + categoryApproval.ContractApply = append(categoryApproval.ContractApply, res.Data[i]) + categoryApproval.Contract++ + continue + } else if res.Data[i].Type == SealEnv[res.Data[i].Type] { + categoryApproval.SealApply = append(categoryApproval.SealApply, res.Data[i]) + categoryApproval.Seal++ + continue + } else if res.Data[i].Type == OAEnv[res.Data[i].Type] { + categoryApproval.OaApply = append(categoryApproval.OaApply, res.Data[i]) + categoryApproval.Oa++ + continue + } else { + categoryApproval.OtherApply = append(categoryApproval.OtherApply, res.Data[i]) + categoryApproval.Other++ + continue + } + } + + retApproval.Data = categoryApproval + retApproval.Count = res.Count + + service.Success(c, retApproval) + } else { + service.Success(c, res) + } + +} + +// SetStatusBatchV2 批量审批 +func SetStatusBatchV2(c *gin.Context) { + //var setStatusBatchReq vo.SetStatusBatchReq + setStatusBatchReq := make([]vo.SetStatus, 0) + if err := c.ShouldBindBodyWith(&setStatusBatchReq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("============ 获取 审批 批量 审批 ==============") + fmt.Printf("batch %+v\n", setStatusBatchReq) + logger.Errorf("batch %+v\n", setStatusBatchReq) + fmt.Println("============ 获取 审批 批量 审批 ==============") + + if len(setStatusBatchReq) < 1 { + service.Error(c, e.Error, errors.New("当前无审批")) + return + } + + userInfo := login.GetUserInfoFromC(c) + for i := 0; i < len(setStatusBatchReq); i++ { + req := api.StatusRequest{} + req.Domain = setStatusBatchReq[i].Domain + req.ID = setStatusBatchReq[i].ID + req.Reply = setStatusBatchReq[i].Reply + req.WorkFlowId = setStatusBatchReq[i].WorkFlowId + req.Status = setStatusBatchReq[i].Status + req.Level = setStatusBatchReq[i].Level + req.Title = setStatusBatchReq[i].Title + req.UserId = userInfo.ID + req.LeaveBalance = setStatusBatchReq[i].LeaveBalance + req.Tips = setStatusBatchReq[i].Tips + + levelReq := api.NowLevelByInfoRequestV2{ + ApprovalID: req.ID, + NowUserId: userInfo.ID, + } + fmt.Println("============== 开始查询审批流程 ==============") + levelRes, err := service.ApprovalProvider.NowLevelByInfoV2(context.Background(), &levelReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Printf("levelRes %+v\n", levelRes) + fmt.Println("============== 开始查询审批流程 ==============") + + if req.UserId != levelRes.UserID { + service.Error(c, e.Error, errors.New("本次审批人出现错误")) + return + } + + req.WorkFlowId = levelRes.ID + + // 查询 未审批前的审批 + beforeApproval := QueryApprovalSetStatusBefore(req.ID) + if beforeApproval == nil { + service.Error(c, e.Error, errors.New(e.ErrorQueryApprovalContent)) + return + } + + if strings.Contains(beforeApproval.Type, "handover") { + reqList := &api.ListRequest{} + reqList.Domain = beforeApproval.Domain + reqList.Type = "turnover" + reqList.UserID = beforeApproval.SubmitterID + reqList.Status = 2 + submitRes2, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + service.Error(c, e.Error, errors.New("查询已提交的离职审批失败")) + return + } + + if len(submitRes2.Data) < 1 { + service.Error(c, e.Error, errors.New("离职申请未完成")) + return + } + } + + fmt.Println("++++++++++++++++++++ QueryApprovalSetStatusBefore =============================") + fmt.Printf("beforeApproval : %+v\n", beforeApproval) + fmt.Println("++++++++++++++++++++ QueryApprovalSetStatusBefore =============================") + + _, err = service.ApprovalProvider.SetStatusV2(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(context.Background(), &detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("++++++++++++++++++++ QueryApprovalSetStatusAfter =============================") + fmt.Printf("Detail : %+v\n", detail) + fmt.Println("++++++++++++++++++++ QueryApprovalSetStatusAfter =============================") + + // 同步至 es + go func() { + updateErr := logic.UpdateIndexApprovalDoc(config.ApprovalIndex, detail) + if updateErr != nil { + zap.L().Error("同步至 es 失败 更新", zap.Error(updateErr)) + //return + } + }() + + _, err = verifyWorkflowIsActive(detail.WorkFlows) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //如果审批通过,推送给全部抄送人 + if beforeApproval.Status == 1 && detail.Status == 2 && len(detail.CopyUsers) > 0 { + for _, user := range detail.CopyUsers { + //审批过后推送给下一个审批人 + err = service.SendAppMessage("审批通知", "有一条<"+detail.TypeName+">已抄送给您,点击查看详情 >", user.ID, detail.ID, "copy") + if err != nil { + fmt.Println("==============APP推送失败=====================") + fmt.Println(err) + } + } + + } else { + //审批过后推送给下一个审批人 + err = service.SendAppMessage("审批通知", "您有一条<"+detail.TypeName+">审批待处理,点击查看详情 >", detail.NowUserId, detail.ID, "approval") + if err != nil { + fmt.Println("==============APP推送失败=====================") + fmt.Println(err) + } + } + + if detail.TypeName == "任命审批" { + StoreBaiduChainApprovalFile(req.ID) + } + + // 审批成功查询用户部门的信息,提交画作服修改画作仓库状态 + + if detail.TypeName == "画作申请审批" { + var ids []int32 + for _, tt := range detail.Work.ApprovalWorks { + ids = append(ids, int32(tt.ArtworkID)) + } + + fmt.Println("请求画作申请审批", ids) + if len(ids) > 0 { + err = submitArtwork(req.UserId, ids) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + if strings.Contains(beforeApproval.Type, "turnover") && beforeApproval.Status == e.ApprovalWorkStatusDoing && detail.Status == e.ApprovalWorkStatusOk { + err = turnoverUpdateAccountEmployee(c, detail.ApprovalOA.Turnover) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + if strings.Contains(beforeApproval.Type, "turnover") && (detail.Status == e.ApprovalWorkStatusRevokeOk || detail.Status == e.ApprovalWorkStatusFail) { + updateDeductAnnualLeaveZeroClearing(detail.ApprovalOA.Turnover) + } + // approval 审批状态 同步到 oa 审批 + if e.TypeMap[detail.Type] == "oa" { + // 查询 审批状态已经 更新的 审批信息 + updatedReq := api.DetailRequest{ID: req.ID} + updatedDetail, detailErr := service.ApprovalProvider.Detail(context.Background(), &updatedReq) + if detailErr != nil { + service.Error(c, e.Error, detailErr) + return + } + + if req.LeaveBalance != 0 && updatedDetail.ApprovalOA.LeaveApply != nil { + //leaveBalance, _ := strconv.ParseFloat(req.LeaveBalance, 10) + updatedDetail.ApprovalOA.LeaveApply.LeaveBalance = req.LeaveBalance + } + // 育儿假申请 独生子女护理假申请 撤销成功 + if updatedDetail.Status == 7 && (detail.Type == "parentalLeaveApply" || detail.Type == "nursingLeaveApply") { + updatedDetail.ApprovalOA.LeaveApply.LeaveBalance = 0 + } + + _, updateErr := UpdateApprovalStatusToOAStatus(updatedDetail) + if updateErr != nil { + service.Error(c, e.Error, updateErr) + return + } + } + + // 画展包审批 + logger.Errorf("================================================= %s 1 ======================================", "进入 画展包审批") + logger.Errorf("batch %+v\n", setStatusBatchReq) + if detail.Type == TypeExhibition { + logger.Errorf("================================================= %s 2======================================", "进入 画展包审批") + logger.Errorf("beforeApproval %+v\n", beforeApproval) + logger.Errorf("detail %+v\n", detail) + err = ExhibitionApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包润格审批 + if detail.Type == TypeArtExhibitionReward { + err = ExhibitionRewordApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包修改审批 + if detail.Type == TypeShowUpdate { + err = ShowUpdateApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(detail.TypeName, "人员增补申请") { + err = postApproveSetStatusEnter(userInfo, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(detail.Type, "employ") { + err := offerApproveSetStatusEnter(c, userInfo, &req, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.Type == "checkIn" && detail.Status == e.ApprovalWorkStatusOk { + err = passSendInfoToSiteSignIn(detail.CheckIn) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + if detail.Status == e.ApprovalWorkStatusOk && strings.Contains(detail.Type, "position") { + err = processPositionApprovals(detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + //黑名单画展包生成审批,只有审批通过才生成画展包,其他情况不予处理 + if detail.Type == "banShow" && beforeApproval.Status == e.ApprovalWorkStatusDoing && detail.Status == e.ApprovalWorkStatusOk { + for _, artShow := range detail.Exhibition.ApprovalExhibitions { + var saveShowReq artShowApi.SaveShowReq + artworks := make([]*artShowApi.ArtworkDetail, 0) + saveShowReq.ShowName = artShow.PackageName + saveShowReq.ArtistUID = artShow.ArtExhibitionDetail.ArtistUID + saveShowReq.ArtistName = artShow.ArtExhibitionDetail.ArtistName + saveShowReq.ArtworkNum = int32(artShow.ArtExhibitionDetail.ArtworkNum) + saveShowReq.CreateTime = artShow.ArtExhibitionDetail.CreateTime + saveShowReq.ExhibitionType = artShow.ArtExhibitionDetail.ExhibitionType + saveShowReq.IsInvite = artShow.ArtExhibitionDetail.IsInvite + saveShowReq.Operator = artShow.ArtExhibitionDetail.Operator + saveShowReq.PreTime = artShow.ArtExhibitionDetail.ShowTime + saveShowReq.Ruler = int32(artShow.ArtExhibitionDetail.Ruler) + saveShowReq.ShowSeq = artShow.ArtExhibitionDetail.ShowSeq + + for _, artworkOne := range artShow.Artworks { + item := &artShowApi.ArtworkDetail{ + ArtworkUID: artworkOne.ArtworkUID, + ArtworkName: artworkOne.ArtworkName, + ArtistName: artworkOne.ArtistName, + Length: int32(artworkOne.Length), + Width: int32(artworkOne.Width), + Ruler: int32(artworkOne.Ruler), + SmallPic: artworkOne.SmallPic, + Tfnum: artworkOne.Tfnum, + } + + artworks = append(artworks, item) + } + saveShowReq.Artwork = artworks + + saveShowRes, err := service.GrpcArtShowImpl.CreateShow(context.Background(), &saveShowReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + out := serializer.BuildSyncArtShowUID(&saveShowReq, saveShowRes.ShowUID, nil) + if len(out.Data) > 0 { + syncArtShowIDRes, err := service.GrpcArtworkQueryImpl.SyncArtShowId(context.Background(), &out) + if err != nil { + logger.Errorf("SyncArtShowId Response err", err) + service.Error(c, e.Error, errors.New(syncArtShowIDRes.Msg)) + return + } + } + + // 更新 推荐人信息 + if saveShowRes.ShowUID != "" { + bindAndGetArtPackageRequest := new(artistinfoArtshow.BindAndGetArtPackageRequest) + bindAndGetArtPackageRequest.ArtPackageUid = saveShowRes.ShowUID + bindAndGetArtPackageRequest.ArtistUid = saveShowReq.ArtistUID + bindAndGetArtPackageResponse, err := service.GrpcArtistInfoArtshowImpl.BindAndGetArtPackageAndBrokerSupplement(context.Background(), bindAndGetArtPackageRequest) + if err != nil { + service.Success(c, nil) + } + if bindAndGetArtPackageResponse.Data.Name != "" { + artShowAgent := new(artShowApi.ArtShowAgent) + artShowAgent.Agent = bindAndGetArtPackageResponse.Data.Name + artShowAgent.ShowUID = saveShowRes.ShowUID + updateArtShowAgentReq := new(artShowApi.UpdateArtShowAgentReq) + updateArtShowAgentReq.Data = make([]*artShowApi.ArtShowAgent, 0) + updateArtShowAgentReq.Data = append(updateArtShowAgentReq.Data, artShowAgent) + _, err := service.GrpcArtShowImpl.UpdateArtShowAgent(context.Background(), updateArtShowAgentReq) + if err != nil { + service.Success(c, nil) + } + + } + } + } + } + + } + + service.Success(c, nil) +} + +// SetStatusBatchExV2 催办后的批量审批 +func SetStatusBatchExV2(c *gin.Context) { + var setStatusBatchReq vo.SetStatusBatchReq + if err := c.ShouldBindBodyWith(&setStatusBatchReq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if len(setStatusBatchReq.Batch) < 1 { + service.Error(c, e.Error, errors.New("当前无审批")) + return + } + + for i := 0; i < len(setStatusBatchReq.Batch); i++ { + req := api.StatusRequest{} + _ = copier.CopyWithOption(&req, setStatusBatchReq.Batch[i], copier.Option{DeepCopy: false}) + + infoReq := account.InfoRequest{ID: req.UserId} + + infoRes, err := service.AccountProvider.Info(context.Background(), &infoReq) + if err != nil { + service.Error(c, e.Error, errors.New(e.GetMsg(e.ErrorGetUserInfo))) + return + } + + if infoRes.Info.ID == 0 || infoRes.Info.NickName == "" || infoRes.Info.Domain == "" { + service.Error(c, e.Error, errors.New(e.GetMsg(e.ErrorGetUserInfo))) + return + } + + userInfo := login.Info{ + ID: req.UserId, + NickName: infoRes.Info.NickName, + } + + levelReq := api.NowLevelByInfoRequestV2{ + ApprovalID: req.ID, + NowUserId: userInfo.ID, + } + fmt.Println("============== 开始查询审批流程 ==============") + levelRes, err := service.ApprovalProvider.NowLevelByInfoV2(context.Background(), &levelReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Printf("levelRes %+v\n", levelRes) + fmt.Println("============== 开始查询审批流程 ==============") + + if req.UserId != levelRes.UserID { + service.Error(c, e.Error, errors.New("本次审批人出现错误")) + return + } + + req.WorkFlowId = levelRes.ID + + // 查询 未审批前的审批 + beforeApproval := QueryApprovalSetStatusBefore(req.ID) + if beforeApproval == nil { + service.Error(c, e.Error, errors.New(e.ErrorQueryApprovalContent)) + return + } + + _, err = service.ApprovalProvider.SetStatusV2(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(context.Background(), &detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + // 同步至 es + go func() { + updateErr := logic.UpdateIndexApprovalDoc(config.ApprovalIndex, detail) + if updateErr != nil { + zap.L().Error("同步至 es 失败 更新", zap.Error(updateErr)) + //return + } + }() + + if detail.TypeName == "任命审批" { + StoreBaiduChainApprovalFile(req.ID) + } + + // 审批成功查询用户部门的信息,提交画作服修改画作仓库状态 + + if detail.TypeName == "画作申请审批" { + var ids []int32 + for _, tt := range detail.Work.ApprovalWorks { + ids = append(ids, int32(tt.ArtworkID)) + } + + fmt.Println("请求画作申请审批", ids) + if len(ids) > 0 { + err = submitArtwork(req.UserId, ids) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + } + + if strings.Contains(beforeApproval.Type, "turnover") && beforeApproval.Status == e.ApprovalWorkStatusDoing && detail.Status == e.ApprovalWorkStatusOk { + loginInfo := login.Info{ + ID: userInfo.ID, + NickName: "离职审批:" + userInfo.NickName, + } + + if infoRes.Info.Extend != nil { + loginInfo.JumpTo = infoRes.Info.Extend.JumpTo + } + + c.Set("jwtInfo", loginInfo) + + err = turnoverUpdateAccountEmployee(c, detail.ApprovalOA.Turnover) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + if strings.Contains(beforeApproval.Type, "turnover") && (detail.Status == e.ApprovalWorkStatusRevokeOk || detail.Status == e.ApprovalWorkStatusFail) { + updateDeductAnnualLeaveZeroClearing(detail.ApprovalOA.Turnover) + } + + // approval 审批状态 同步到 oa 审批 + if e.TypeMap[detail.Type] == "oa" { + // 查询 审批状态已经 更新的 审批信息 + updatedReq := api.DetailRequest{ID: req.ID} + updatedDetail, detailErr := service.ApprovalProvider.Detail(context.Background(), &updatedReq) + if detailErr != nil { + service.Error(c, e.Error, detailErr) + return + } + + if req.LeaveBalance != 0 && updatedDetail.ApprovalOA.LeaveApply != nil { + //leaveBalance, _ := strconv.ParseFloat(req.LeaveBalance, 10) + updatedDetail.ApprovalOA.LeaveApply.LeaveBalance = req.LeaveBalance + } + + _, updateErr := UpdateApprovalStatusToOAStatus(updatedDetail) + if updateErr != nil { + service.Error(c, e.Error, updateErr) + return + } + } + + // 画展包审批 + if detail.Type == TypeExhibition { + err = ExhibitionApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包润格审批 + if detail.Type == TypeArtExhibitionReward { + err = ExhibitionRewordApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包修改审批 + if detail.Type == TypeShowUpdate { + err = ShowUpdateApproveEnter(beforeApproval, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(detail.TypeName, "人员增补申请") { + err = postApproveSetStatusEnter(userInfo, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if strings.Contains(detail.Type, "employ") { + err := offerApproveSetStatusEnter(c, userInfo, &req, detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + if detail.Type == "checkIn" && detail.Status == e.ApprovalWorkStatusOk { + err = passSendInfoToSiteSignIn(detail.CheckIn) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + if detail.Status == e.ApprovalWorkStatusOk && strings.Contains(detail.Type, "position") { + err = processPositionApprovals(detail) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + } + + service.Success(c, nil) +} + +func MakeApprovalAndCopy(in *api.CreateRequest, setting *api.SettingRequest) (*api.ApprovalAndCopy, error) { + response := &api.ApprovalAndCopy{} + + approvalUsers, copyUsers, err := MakeApprovalAndCopyUsers(in, setting) + if err != nil { + return response, errors.New("组装审批人失败") + } + fmt.Println("------------t5---------- start ") + fmt.Println("1-----", approvalUsers) + fmt.Println("2-----", copyUsers) + fmt.Println("------------t5---------- end ") + index := 0 + for i := 0; i < len(approvalUsers); i++ { + index++ + approvalUsers[i].Level = uint64(index) + } + response.ApprovalUsers = approvalUsers + response.CopyUsers = copyUsers + return response, nil +} + +func MakeApprovalAndCopyUsers(in *api.CreateRequest, setting *api.SettingRequest) ([]*api.ApprovalUser, []*api.CopyUser, error) { + approvalUsers := make([]*api.ApprovalUser, 0) + copyUsers := make([]*api.CopyUser, 0) + + approvalUsers = in.ApprovalUsers + copyUsers = in.CopyUsers + + // 病假 事假 + if in.Type == "leave" || in.Type == "sick" { + if in.ApprovalOA.Leave.Days >= 2 { + approvalUsers = GetCombineOaApproveUsers(setting, approvalUsers) + copyUsers = GetCombineOaCopyUsers(setting, copyUsers) + } else { + //if in.IsLeader { + approvalUsers = GetCombineOaApproveUsers(setting, approvalUsers) + if len(approvalUsers) > 1 { + approvalUsers = approvalUsers[:1] + } + //} + + } + + //新逻辑:产假 流产 独生子女护理假申请 育儿假申请====》直属2级+指定岗位 + //TODO离职暂时放着(in.Type == "turnover") + } else if in.Type == "maternityLeave" || in.Type == "abortLeave" || in.Type == "nursingLeaveApply" || in.Type == "parentalLeaveApply" { + approvalUsers = GetCombineOaApproveUsers(setting, approvalUsers) + copyUsers = GetCombineOaCopyUsers(setting, copyUsers) + + //新逻辑:加班/外勤 丧假 陪产假 婚假 育儿假 独生子女护理假 哺乳假 孕检假 年假 调休=====》直属1级 + } else if in.Type == "outWork" || + in.Type == "overTime" || + in.Type == "funeralLeave" || + in.Type == "makeUp" || + in.Type == "paternityLeave" || + in.Type == "maritalLeave" || + in.Type == "parentalLeaveApply" || + in.Type == "parentalLeave" || + in.Type == "nursingLeave" || + in.Type == "breastFeedingLeave" || + in.Type == "matingCheckLeave" || + in.Type == "annualLeave" || + in.Type == "dayOff" { + //if in.IsLeader { + approvalUsers = GetCombineOaApproveUsers(setting, approvalUsers) + if len(approvalUsers) > 1 { + approvalUsers = approvalUsers[:1] + } + + } + + fmt.Println("------------t4---------- start ") + fmt.Println("1-----", approvalUsers) + fmt.Println("2-----", copyUsers) + fmt.Println("------------t4---------- end ") + + if len(approvalUsers) < 1 { + return nil, nil, errors.New("组装审批人失败") + } + + //// 去重 审批人 剔除 提交人 抄送人 剔除 审批人 + //approvalUsers, copyUsers = UniqueUsersV2(in.SubmitterID, approvalUsers, copyUsers) + fmt.Println("------------t5---------- start ") + fmt.Println("1-----", approvalUsers) + fmt.Println("2-----", copyUsers) + fmt.Println("------------t5---------- end ") + return approvalUsers, copyUsers, nil +} + +// GetCombineOaApproveUsers oa审批 混合获取 +func GetCombineOaApproveUsers(setting *api.SettingRequest, approvalUser []*api.ApprovalUser) []*api.ApprovalUser { + approvalUserMap := make(map[uint64]*api.ApprovalUser) + fmt.Println("------------oa approvalUser t1----------") + // copyer + if len(approvalUser) > 0 { + for _, tt := range approvalUser { + if _, ok := approvalUserMap[tt.ID]; ok == false { + approvalUserMap[tt.ID] = tt + } + } + } + fmt.Printf("oa approvalUser t1 %+v\n----------", approvalUser) + fmt.Println("------------oa approvalUser t2----------") + for _, tt := range setting.OaApprovalUsers { + if _, ok := approvalUserMap[tt.ID]; ok == false { + approvalUserMap[tt.ID] = tt + approvalUser = append(approvalUser, tt) + } + } + fmt.Printf("oa approvalUser t2 %+v\n----------", approvalUser) + + return approvalUser +} + +// GetCombineOaCopyUsers oa审批 抄送人 混合获取 +func GetCombineOaCopyUsers(setting *api.SettingRequest, copyUser []*api.CopyUser) []*api.CopyUser { + copyUserMap := make(map[uint64]*api.CopyUser) + fmt.Println("------------oa copyUser t1----------") + // copyer + if len(copyUser) > 0 { + for _, tt := range copyUser { + if _, ok := copyUserMap[tt.ID]; ok == false { + copyUserMap[tt.ID] = tt + } + } + } + fmt.Printf("oa copyUser t1 %+v\n----------", copyUser) + fmt.Println("------------oa copyUser t2----------") + for _, tt := range setting.OaCopyUsers { + if _, ok := copyUserMap[tt.ID]; ok == false { + copyUserMap[tt.ID] = tt + copyUser = append(copyUser, tt) + } + } + fmt.Printf("oa copyUser t2 %+v\n----------", copyUser) + + return copyUser +} + +func UniqueUsersV2(submitterID uint64, inApprovalUsers []*api.ApprovalUser, inCopyUsers []*api.CopyUser) (approvalUsers []*api.ApprovalUser, copyUsers []*api.CopyUser) { + approvalUsers = make([]*api.ApprovalUser, 0) + approvalUserMap := make(map[uint64]*api.ApprovalUser, 0) + copyUsers = make([]*api.CopyUser, 0) + //transitionCopyUsers := make([]CopyUser, 0) + + for i := 0; i < len(inApprovalUsers); i++ { + approvalUserMap[inApprovalUsers[i].ID] = inApprovalUsers[i] + if inApprovalUsers[i].ID == submitterID { + continue + } else { + approvalUsers = append(approvalUsers, inApprovalUsers[i]) + } + } + + var currentLevel uint64 = 0 + var preLevel uint64 = 0 + for i := 0; i < len(approvalUsers); i++ { + if i == 0 { + preLevel = approvalUsers[i].Level + currentLevel = approvalUsers[i].Level + } else { + currentLevel = approvalUsers[i].Level + if approvalUsers[i].Level == preLevel { + approvalUsers[i].Level = currentLevel + } else { + approvalUsers[i].Level = currentLevel + preLevel = currentLevel + currentLevel++ + } + } + } + + approvalUsersMap := make(map[uint64][]*api.ApprovalUser) + levels := make([]int, 0) + + for i := 0; i < len(approvalUsers); i++ { + if approvalUsersMap[approvalUsers[i].Level] == nil { + levels = append(levels, int(approvalUsers[i].Level)) + } + approvalUsersMap[approvalUsers[i].Level] = append(approvalUsersMap[approvalUsers[i].Level], approvalUsers[i]) + } + + newApprovalUsers := make([]*api.ApprovalUser, 0) + sort.Ints(levels) + + if len(levels) > 0 { + for i := 0; i < len(levels); i++ { + for j := 0; j < len(approvalUsersMap[uint64(levels[i])]); j++ { + if approvalUsersMap[uint64(levels[i])][j].Level == 0 { + //approvalUsersMap[uint64(levels[i])][j].Level = uint64(j + 1) + approvalUsersMap[uint64(levels[i])][j].Level = 1 + approvalUsersMap[uint64(levels[i])][j].Signature = m.AndSignType + } else { + approvalUsersMap[uint64(levels[i])][j].Level = approvalUsersMap[uint64(levels[i-1])][len(approvalUsersMap[uint64(levels[i])])-1].Level + 1 + } + } + newApprovalUsers = append(newApprovalUsers, approvalUsersMap[uint64(levels[i])]...) + } + } + + approvalUsers = newApprovalUsers + + if len(inCopyUsers) > 0 { + for i := 0; i < len(inCopyUsers); i++ { + if inCopyUsers[i].ID == submitterID { + continue + } else if _, ok := approvalUsersMap[inCopyUsers[i].ID]; ok { + continue + } else { + copyUsers = append(copyUsers, inCopyUsers[i]) + } + } + } + + return +} + +func FindEmploy(c *gin.Context) { + var req api.Employ + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, errors.New("参数获取错误")) + return + } + + res, err := service.ApprovalProvider.FindEmployJobNum(c, &req) + if err != nil { + sentry.CaptureException(err) + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdatesOldData(c *gin.Context) { + var req api.CommonResponse + //if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + // service.Error(c, e.Error, errors.New("参数获取错误")) + // return + //} + + res, err := service.ApprovalProvider.UpdatesOldData(c, &req) + if err != nil { + sentry.CaptureException(err) + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ExportDetailSetting(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + userInfo := login.GetUserInfoFromC(c) + //resGroup, err1 := service.ApprovalProvider.OnlyGroupList(c, &api.ApprovalGroupListRequest{Page: 1, PageSize: 99, Domain: "0"}) + //if err1 != nil { + // sentry.CaptureException(err1) + // service.Error(c, e.Error, err1) + // return + //} + settingList := make([]*api.CreateApprovalTypeRequest, 0) + + //for _, request := range resGroup.GroupList { + resSetting, err1 := service.ApprovalProvider.ApprovalTypeList(c, &api.ApprovalTypeListRequest{PageSize: 9999, Page: 1, Domain: req.Domain, GroupId: req.ID}) + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + if len(resSetting.TypeList) > 0 { + settingList = append(settingList, resSetting.TypeList...) + } + //} + var err error + var xlsx *excelize.File + var exportUrl string + + xlsx, err = excelize.OpenFile(model.TplPath + "审批流程导出.xlsx") + if err != nil { + service.Error(c, e.Error, err) + return + } + + for index, setting := range settingList { + xlsx.SetCellValue("Sheet1", fmt.Sprintf("A%v", index+2), setting.GroupName) + xlsx.SetCellValue("Sheet1", fmt.Sprintf("B%v", index+2), setting.Title) + + //authMap := make(map[string]*api.ApprovalAuth) + //departmentName := "" + //for _, auth := range setting.Auths { + // departmentName = departmentName + "/" + auth.DepartmentName + "-" + auth.PositionName + //} + //xlsx.SetCellValue("Sheet1", fmt.Sprintf("C%v", index+2), departmentName) + approvalUser := "" + for _, user1 := range setting.ApprovalUsers { + if user1.ID == 0 { + //指定部门岗位 + if user1.DepartmentUID != "" && user1.PositionUID != "" { + listReq := new(account.ListV2Request) + departmentId, _ := strconv.ParseUint(user1.DepartmentUID, 0, 64) + positionId, _ := strconv.ParseUint(user1.PositionUID, 0, 64) + listReq.DepartmentId = uint32(departmentId) + listReq.PositionId = uint32(positionId) + // 查询部门下的审批人 + listRes, err3 := service.AccountProvider.ListV2(context.Background(), listReq) + if err3 != nil { + sentry.CaptureException(err3) + service.Error(c, e.Error, err3) + return + } + for _, datum := range listRes.Data { + if approvalUser == "" { + approvalUser = datum.NickName + } else { + approvalUser = approvalUser + "/" + datum.NickName + } + } + } else if user1.IsDirect == 1 { + myBossReq := new(department.MyBossesReq) + if strings.Contains(setting.KeyWord, "employ") { + myBossReq.DepartmentId = uint32(req.DepartmentID) + } else { + myBossReq.UserId = uint32(userInfo.ID) + myBossReq.DepartmentId = uint32(req.DepartmentID) + } + + myBossReq.Level = uint32(user1.Level) + if user1.IsDesignate == 1 { + myBossReq.IsDesignate = true + } else { + myBossReq.IsDesignate = false + } + + fmt.Println("============ 获取 审批 直属领导 审批人 请求参数 ==============") + fmt.Printf("myBossReq %+v\n", myBossReq) + fmt.Println("============ 获取 审批 直属领导 审批人 请求参数 ==============") + + myBossRes, err := service.DepartmentProvider.MyBosses(context.Background(), myBossReq) + if err != nil { + sentry.CaptureException(err) + service.Error(c, e.Error, err) + return + } + for _, datum := range myBossRes.List { + for _, boss := range datum.Bosses { + if approvalUser == "" { + approvalUser = boss.Name + } else { + approvalUser = approvalUser + "/" + boss.Name + } + } + } + } + //指定人员 + } else { + if approvalUser == "" { + approvalUser = user1.Name + } else { + approvalUser = approvalUser + "/" + user1.Name + } + + } + + //if user.ID == 0 { + // isDesignate := "" + // if user.IsDesignate == 1 { + // isDesignate = "第" + // } + // if user.DepartmentUID == "" || user.PositionUID == "" { + // approvalUser = approvalUser + "/" + "直属" + isDesignate + strconv.FormatUint(user.Level, 10) + "级" + // } else { + // approvalUser = approvalUser + "/" + user.DepartmentName + "-" + user.PositionName + // } + // + //} else { + // + // approvalUser = approvalUser + "/" + user.Name + //} + } + xlsx.SetCellValue("Sheet1", fmt.Sprintf("D%v", index+2), approvalUser) + + copyUserName := "" + for _, copyUser := range setting.CopyUsers { + if copyUser.ID == 0 { + listReq := new(account.ListV2Request) + departmentId, _ := strconv.ParseUint(copyUser.DepartmentUID, 0, 64) + positionId, _ := strconv.ParseUint(copyUser.PositionUID, 0, 64) + listReq.DepartmentId = uint32(departmentId) + listReq.PositionId = uint32(positionId) + // 查询部门下的审批人 + listRes, err3 := service.AccountProvider.ListV2(context.Background(), listReq) + if err3 != nil { + sentry.CaptureException(err3) + service.Error(c, e.Error, err3) + return + } + for _, datum := range listRes.Data { + if copyUserName == "" { + copyUserName = datum.NickName + } else { + copyUserName = copyUserName + "/" + datum.NickName + } + } + + } else { + if copyUserName == "" { + copyUserName = copyUser.Name + } else { + copyUserName = copyUserName + "/" + copyUser.Name + } + + } + } + xlsx.SetCellValue("Sheet1", fmt.Sprintf("E%v", index+2), copyUserName) + + status := "启用" + if setting.Status != 1 { + status = "禁用" + } + xlsx.SetCellValue("Sheet1", fmt.Sprintf("F%v", index+2), status) + } + fileName := "审批流程导出" + ".xlsx" + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + if err = xlsx.SaveAs(model.MediaPath + fileName); err != nil { + return + } + exportUrl = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, fileName) + service.Success(c, map[string]string{ + "ExportUrl": exportUrl, + }) + +} + +func CreateAuthQuick(c *gin.Context) { + var req api.QkCreAuthReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, errors.New("参数获取错误")) + return + } + + res, err := service.ApprovalProvider.CreateAuthQuick(c, &req) + if err != nil { + sentry.CaptureException(err) + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func FindTurnoverAndHandover(c *gin.Context) { + var req api.ApprovalGroupListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, errors.New("参数获取错误")) + return + } + + res, err := service.ApprovalProvider.FindTurnoverAndHandover(c, &req) + if err != nil { + sentry.CaptureException(err) + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +/* +// 查询部门 + puRequest := &rule.PositionUserListRequest{} + puRes, err := service.RuleProvider.PositionUserList(context.Background(), puRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + // 关联职位和部门信息 + for j := range puRes.Data { + if userInfo.ID == puRes.Data[j].UserId { + userInfo.PositionUsers = append(userInfo.PositionUsers, &rule.PositionUser{ + PositionID: puRes.Data[j].PositionID, + PositionName: puRes.Data[j].PositionName, + DepartmentId: puRes.Data[j].DepartmentId, + DepartmentCode: puRes.Data[j].DepartmentCode, + DepartmentName: puRes.Data[j].DepartmentName, + UserId: puRes.Data[j].UserId, + UserName: puRes.Data[j].UserName, + }) + } + } +*/ + +func ExportDetailSettingV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + userInfo := login.GetUserInfoFromC(c) + //resGroup, err1 := service.ApprovalProvider.OnlyGroupList(c, &api.ApprovalGroupListRequest{Page: 1, PageSize: 99, Domain: "0"}) + //if err1 != nil { + // sentry.CaptureException(err1) + // service.Error(c, e.Error, err1) + // return + //} + fileName := "审批流程导出" + ".xlsx" + //var exportUrl string + + go func(userInfo login.Info, req *api.CreateRequest) { + var err error + var xlsx *excelize.File + + xlsx, err = excelize.OpenFile(model.TplPath + "审批流程导出.xlsx") + if err != nil { + service.Error(c, e.Error, err) + return + } + + // 查询部门 + //puRequest := &rule.PositionUserListRequest{} + //puRes, positionUserListErr := service.RuleProvider.PositionUserList(context.Background(), puRequest) + //if positionUserListErr != nil { + // service.Error(c, e.Error, positionUserListErr) + // return + //} + + // 关联职位和部门信息 + //for j := range puRes.Data { + // if userInfo.ID == puRes.Data[j].UserId { + // userInfo.PositionUsers = append(userInfo.PositionUsers, &rule.PositionUser{ + // PositionID: puRes.Data[j].PositionID, + // PositionName: puRes.Data[j].PositionName, + // DepartmentId: puRes.Data[j].DepartmentId, + // DepartmentCode: puRes.Data[j].DepartmentCode, + // DepartmentName: puRes.Data[j].DepartmentName, + // UserId: puRes.Data[j].UserId, + // UserName: puRes.Data[j].UserName, + // }) + // } + //} + + typeList := &api.ApprovalTypeListRequest{PageSize: 9999, Page: 1, Domain: req.Domain, GroupId: req.ID} + + if userInfo.PositionUsers == nil || len(userInfo.PositionUsers) < 1 { + typeList.Positions = make([]*api.ApprovalTypeListRequest_Position, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + typeList.Positions = append(typeList.Positions, &api.ApprovalTypeListRequest_Position{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + }) + } + } + + //for _, request := range resGroup.GroupList { + resSetting, err1 := service.ApprovalProvider.ApprovalTypeList(c, typeList) + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + //创建 插入表格的 内容 + rowIndex := 2 + + for i := 0; i < len(userInfo.PositionUsers); i++ { + + position := userInfo.PositionUsers[i] + // 组装 审批人 和 抄送人 + for j := 0; j < len(resSetting.TypeList); j++ { + if m.GetOaType(resSetting.TypeList[j].KeyWord) != "" { + continue + } + makeApprovalUserReq := new(api.CreateRequest) + makeApprovalUserReq.Domain = resSetting.TypeList[j].Domain + makeApprovalUserReq.Type = resSetting.TypeList[j].KeyWord + makeApprovalUserReq.DepartmentID = int64(position.DepartmentId) + if strings.Contains(makeApprovalUserReq.Type, "employ") { + makeApprovalUserReq.Employ = new(api.Employ) + makeApprovalUserReq.Employ.DepartmentId = strconv.FormatInt(makeApprovalUserReq.DepartmentID, 10) + } + + fmt.Println("====================获取审批人=========================") + approvalAndCopy, makeApprovalAndUserErr := makeApprovalAndUser(userInfo, makeApprovalUserReq) + if err != nil { + //service.Error(c, e.Error, err) + //return + fmt.Println("makeApprovalAndUserErr", makeApprovalAndUserErr) + continue + } + + if approvalAndCopy == nil { + continue + } + + if approvalAndCopy.ApprovalUsers == nil { + continue + } + + if approvalAndCopy.CopyUsers == nil { + continue + } + + approvalUsers := make([]string, 0) + for k := 0; k < len(approvalAndCopy.ApprovalUsers); k++ { + approvalUsers = append(approvalUsers, approvalAndCopy.ApprovalUsers[k].Name) + } + + copyUsers := make([]string, 0) + + for k := 0; k < len(approvalAndCopy.CopyUsers); k++ { + copyUsers = append(copyUsers, approvalAndCopy.CopyUsers[k].Name) + } + + value := make([]interface{}, 0) + value = append(value, userInfo.PositionUsers[i].DepartmentName) + value = append(value, resSetting.TypeList[j].Title) + value = append(value, "") + if approvalUsers != nil && len(approvalUsers) > 0 { + value = append(value, strings.Join(approvalUsers, "/")) + } else { + value = append(value, "") + } + + if copyUsers != nil && len(copyUsers) > 0 { + value = append(value, strings.Join(copyUsers, "/")) + } else { + value = append(value, "") + } + + status := "启用" + if resSetting.TypeList[j].Status != 1 { + status = "禁用" + } + //value = append(value, "") + value = append(value, status) + + xlsx.SetSheetRow("Sheet1", fmt.Sprintf("A%v", rowIndex), &value) + + rowIndex++ + } + } + + rowIndex = rowIndex + 2 + now := time.Now().Format("2006-01-02 15:04:05") + xlsx.SetSheetRow("Sheet1", fmt.Sprintf("A%v", rowIndex), &now) + + if err = xlsx.SaveAs(model.MediaPath + fileName); err != nil { + return + } + //exportUrl = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, fileName) + }(userInfo, &req) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: "执行完成", + Status: e.Ok, + }) + +} + +func FindSuperType(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, errors.New("参数获取错误")) + return + } + + res, err := service.ApprovalProvider.FindSuperType(c, &req) + if err != nil { + sentry.CaptureException(err) + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func CreateAuthBatch(c *gin.Context) { + var req api.CreAuthBatchReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, errors.New("参数获取错误")) + return + } + + res, err := service.ApprovalProvider.CreateAuthBatch(c, &req) + if err != nil { + sentry.CaptureException(err) + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/approval/approval_oa.go b/pkg/service/approval/approval_oa.go new file mode 100644 index 0000000..20c6413 --- /dev/null +++ b/pkg/service/approval/approval_oa.go @@ -0,0 +1,919 @@ +package approval + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + approvalApi "github.com/fonchain_enterprise/fonchain-main/api/approval" + oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/jinzhu/copier" + "strconv" + "strings" + "time" +) + +func SyncApprovalToOA(req *approvalApi.CreateRequest) (saveRes *oaApi.CommonRes, err error) { + + // 赋值 给 oa系统中的 oa 审批 + oaApply := retOaApply(req, true, false, false) + + //oaApply.ApprovalID = strconv.FormatUint(approvalID, 10) + //oaApply.StaffUID = strconv.FormatUint(req.SubmitterID, 10) + //oaApply.StaffName = req.SubmitterName + + // 保存 oa 审批内容 + saveRes, err = service.GrpcOAImpl.SaveOaApply(context.Background(), oaApply) + fmt.Println("保存 oa 审批 UUID 到 审批 开始") + fmt.Println("oa apply uuid is :", saveRes.ID) + fmt.Println("保存 oa 审批 UUID 到 审批 结束") + + return + +} + +// 更新--通过或者拒绝 +func UpdateApprovalStatusToOAStatus(req *approvalApi.CreateRequest) (updateRes *oaApi.CommonRes, err error) { + // 赋值 给 oa系统中的 oa 审批 + oaApply := retOaApply(req, false, true, false) + // 保存 oa 审批内容 + updateRes, err = service.GrpcOAImpl.UpdateOaApply(context.Background(), oaApply) + err = UpdateSlackBalance(req) + if err != nil { + fmt.Printf("更新假勤余额失败---%v", err) + } + return + +} + +// 撤销 +func RevokeOaApproval(req *approvalApi.CreateRequest) (updateRes *oaApi.CommonRes, err error) { + // 赋值 给 oa系统中的 oa 审批 + oaApply := retOaApply(req, false, false, true) + // 保存 oa 审批内容 + updateRes, err = service.GrpcOAImpl.UpdateOaApply(context.Background(), oaApply) + err = UpdateSlackBalance(req) + if err != nil { + fmt.Printf("更新假勤余额失败---%v", err) + } + return + +} + +// 删除 +func DeleteApproval(req *approvalApi.CreateRequest) (updateRes *oaApi.CommonRes, err error) { + // 赋值 给 oa系统中的 oa 审批 + oaApply := retOaApply(req, false, false, false) + // 保存 oa 审批内容 + updateRes, err = service.GrpcOAImpl.DeleteOaApply(context.Background(), oaApply) + req.Status = e.ApprovalWorkStatusRevokeOk + err = UpdateSlackBalance(req) + if err != nil { + fmt.Printf("更新假勤余额失败---%v", err) + } + return + +} +func UpdateSlackBalance(req *approvalApi.CreateRequest) error { + // ty := 1 //增加假期天数 ty = 2 // 减少假期天数 + fmt.Printf("更新假勤余额请求参数---%v", req.ApprovalOA.Leave) + switch req.Type { + case oa_model.TypeAnnualLeave, oa_model.TypeParentalLeave, oa_model.TypeNursingLeave: + fmt.Printf("这里是额度余额变动---:%v", req.Type) + if req.Status == e.ApprovalWorkStatusRevokeOk || req.Status == e.ApprovalWorkStatusFail { //撤销或者拒绝才会减去假勤余额 + return modifyLeaveBalance(req, req.Type, 1) + } else { + return nil + } + case oa_model.TypeParentalLeaveApply, oa_model.TypeNursingLeaveApply: + fmt.Printf("这里是额度申请---:%v", req.Type) + if req.Status == e.ApprovalWorkStatusOk { //只有审批通过才会添加假勤余额 + return updateFalseAttendanceStatus(req, req.Type, 2) + } else { + return nil + } + default: + return nil + } +} + +func modifyLeaveBalance(req *approvalApi.CreateRequest, leaveType string, ty int) error { + date, _ := time.Parse("2006-01-02 15:04:05", req.ApprovalOA.Leave.ActionTime) + year := int32(date.Year()) + _, err := service.GrpcOAImpl.ModifyTheLeaveBalance(context.Background(), &oaApi.ModifyTheLeaveBalanceReq{ + StaffUid: req.SubmitterID, + LeaveType: leaveType, + Movement: int32(ty), + Year: year, + Days: req.ApprovalOA.Leave.Days, + }) + if err != nil { + fmt.Printf("更新假勤余额失败---%v", err) + } + return err +} + +func updateFalseAttendanceStatus(req *approvalApi.CreateRequest, leaveType string, ty int) error { + date, _ := time.Parse("2006-01-02 15:04:05", req.ApprovalOA.LeaveApply.ActionTime) + year := int32(date.Year()) + _, err := service.GrpcOAImpl.UpdateFalseAttendanceStatus(context.Background(), &oaApi.UpdateFalseAttendanceStatusReq{ + StaffUid: req.SubmitterID, + LeaveType: leaveType, + Year: year, + Days: req.ApprovalOA.LeaveApply.LeaveBalance, + Status: int32(ty), + }) + if err != nil { + fmt.Printf("更新假勤余额失败---%v", err) + } + return err +} +func retOaApply(req *approvalApi.CreateRequest, save, updateStatus, revoke bool) (oaApply *oaApi.OAApply) { + oaApply = new(oaApi.OAApply) + fmt.Println("============== 打印 approval 审批内容 ========== 开始 =========") + fmt.Printf("CreateRequest info is : %+v \n", req) + fmt.Println("============== 打印 approval 审批内容 ========== 结束 =========") + + // 通过 copier 赋值 可行 + if req.ApprovalOA.MakeUp != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.MakeUp, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApplyTimes, req.ApprovalOA.MakeUp.ApplyTimes, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.MakeUp.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.MakeUp.CopyUsers, copier.Option{DeepCopy: true}) + } + + if req.ApprovalOA.OutWork != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.OutWork, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApplyTimes, req.ApprovalOA.OutWork.ApplyTimes, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.OutWork.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.OutWork.CopyUsers, copier.Option{DeepCopy: true}) + } + + if req.ApprovalOA.LeaveApply != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.LeaveApply, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.LeaveApply.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.LeaveApply.CopyUsers, copier.Option{DeepCopy: true}) + } + + if req.ApprovalOA.Turnover != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.Turnover, copier.Option{DeepCopy: true}) + //copier.CopyWithOption(&oaApply.ApplyTimes, req.ApprovalOA.Turnover.ApplyTimes, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.Turnover.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.Turnover.CopyUsers, copier.Option{DeepCopy: true}) + //copier.CopyWithOption(&oaApply.Positions, req.ApprovalOA.Turnover.Positions, copier.Option{DeepCopy: true}) + } + + if req.ApprovalOA.OverTime != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.OverTime, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApplyTimes, req.ApprovalOA.OverTime.ApplyTimes, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.OverTime.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.OverTime.CopyUsers, copier.Option{DeepCopy: true}) + } + + if req.ApprovalOA.Leave != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.Leave, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApplyTimes, req.ApprovalOA.Leave.ApplyTimes, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.Leave.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.Leave.CopyUsers, copier.Option{DeepCopy: true}) + } + + if req.ApprovalOA.BusinessTrip != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.BusinessTrip, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.BusinessTrip.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.BusinessTrip.CopyUsers, copier.Option{DeepCopy: true}) + } + + if req.ApprovalOA.GoOut != nil { + copier.CopyWithOption(&oaApply, req.ApprovalOA.GoOut, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.ApprovalUsers, req.ApprovalOA.GoOut.ApprovalUsers, copier.Option{DeepCopy: true}) + copier.CopyWithOption(&oaApply.CopyUsers, req.ApprovalOA.GoOut.CopyUsers, copier.Option{DeepCopy: true}) + } + + oaApply.Remark = req.Reply + oaApply.ApplyType = req.Type + oaApply.ApprovalID = strconv.FormatUint(req.ID, 10) + oaApply.NowLevel = req.NowLevel + oaApply.NowUserId = req.NowUserId + oaApply.NowUserName = req.NowUserName + oaApply.RevokeReason = req.ApprovalOA.RevokeReason + oaApply.Domain = req.Domain + + // 保存 + oaApply.Status = int32(req.Status) + if save { + for i := 0; i < len(oaApply.ApprovalUsers); i++ { + oaApply.ApprovalUsers[i].Status = req.Status + } + } + + // 更新 状态 + if updateStatus { + for i := 0; i < len(oaApply.ApprovalUsers); i++ { + for j := 0; j < len(req.WorkFlows); j++ { + if oaApply.ApprovalUsers[i].ID == req.WorkFlows[j].UserID { + oaApply.ApprovalUsers[i].Status = req.WorkFlows[j].Status + oaApply.ApprovalUsers[i].Reply = req.WorkFlows[j].Reply + oaApply.ApprovalUsers[i].Tips = req.WorkFlows[j].Tips + } + } + } + } + + if revoke { + fmt.Println("============== 打印 OA approvalUser ========== 开始 =========") + fmt.Printf("approvalUser is : %+v \n", oaApply.ApprovalUsers) + fmt.Println("============== 打印 OA approvalUser ========== 结束 =========") + //newApprovalUsers := make([]*oaApi.ApplyUser, 0) + for i := 0; i < len(oaApply.ApprovalUsers); i++ { + //newApprovalUsers = append(newApprovalUsers, &oaApi.ApplyUser{ + // ID: req.ApprovalUsers[i].ID, + // Name: req.ApprovalUsers[i].Name, + // Status: e.ApprovalWorkStatusDoing, + //}) + oaApply.ApprovalUsers[i].Status = e.ApprovalWorkStatusDoing + } + //oaApply.ApprovalUsers = newApprovalUsers + } + fmt.Println("============== 打印 OA 审批内容 ========== 开始 =========") + fmt.Printf("oa_apply info is : %+v \n", oaApply) + fmt.Println("============== 打印 OA 审批内容 ========== 结束 =========") + return oaApply +} + +// 旧的 补卡规则 +func CheckMakeUpApplyApprovalV1(req *approvalApi.CreateRequest) (err error) { + oaSettingReq := new(oaApi.OaSettingReq) + oaSettingReq.Keyword = e.MakeUpNum + oaSettingRes, err := service.GrpcOAImpl.QueryOaSetting(context.Background(), oaSettingReq) + if err != nil { + return err + } + + if len(oaSettingRes.Data) != 1 { + return errors.New("查询OA补卡次数设置错误") + } + + queryOaApplyReq := new(oaApi.ApplyRecordReq) + queryOaApplyReq.StaffUID = req.SubmitterID + queryOaApplyReq.ApplyType = []string{req.Type} + // 当前月 的 月初 和 月底 + queryOaApplyReq.BeginTime = time.Now().Format("2006-01") + "-01" + " 00:00:00" + queryOaApplyReq.EndTime = time.Now().AddDate(0, 1, -1).Format("2006-01-02") + " 23:59:59" + queryOaApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk} + + queryOaApplyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), queryOaApplyReq) + if err != nil { + return err + } + + if oaSettingRes.Data[0].Value.Num > int32(queryOaApplyRes.Total) { + return nil + } + return errors.New("当月补卡次数已用完") +} + +// 新的补卡规则 +func CheckMakeUpApplyApproval(req *approvalApi.CreateRequest, userInfo login.Info) (err error) { + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + return workingTimeErr + } + + logger.Infof("workingTime: %+v", workingTime) + fmt.Printf("workingTime: %+v", workingTime) + + makeUpRule := new(oaApi.MakeUp) + for i := 0; i < len(workingTime.OaRules); i++ { + if workingTime.OaRules[i].Keyword == model.MakeUpRule && workingTime.OaRules[i].MakeUpRule != nil { + makeUpRule = workingTime.OaRules[i].MakeUpRule + } + } + + if makeUpRule.Num == 0 { + return errors.New(e.ErrMissMakeUpRule) + } + + // 获取当前考勤周期 + //month := common.CurrentMonth() + + // 根据补卡的时间 确定 考勤的周期 + month := common.CheckAttendanceMonth(req.ApprovalOA.MakeUp.ApplyTimes[0].Date) + + month = common.Add25ForMonth(month) + + dates := holiday.SplitMonthV1(month, common.YYMMDD) + + var queryMakeUpDates []string + + // 暂时 使用 当前周期的 日期 + queryMakeUpDates = append(queryMakeUpDates, dates...) + + // 查询 oa审批 + oaApplys, oaApplyErr := oa_logic.QueryOaApplyDates(userInfo.ID, queryMakeUpDates, []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk}, []string{oa_model.TypeMakeUp}) + if oaApplyErr != nil { + return oaApplyErr + } + + if makeUpRule.Num > int64(len(oaApplys)) { + return nil + } + return errors.New("当月补卡次数已用完") +} + +// 新的加班规则 +func CheckOverTimeApplyApproval(req *approvalApi.CreateRequest, userInfo login.Info) (err error) { + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + return workingTimeErr + } + + logger.Infof("workingTime: %+v", workingTime) + fmt.Printf("workingTime: %+v", workingTime) + + overtimeRule := new(oaApi.Overtime) + for i := 0; i < len(workingTime.OaRules); i++ { + if workingTime.OaRules[i].Keyword == model.OvertimeRule && workingTime.OaRules[i].OvertimeRule != nil { + overtimeRule = workingTime.OaRules[i].OvertimeRule + } + } + + // 获取当前考勤周期 + month := common.CurrentMonth() + + currentMonth := common.Add25ForMonth(month) + + dates := holiday.SplitMonthV1(currentMonth, common.YYMMDD) + + // 添加 上个考勤周期 + if dates[0] == common.CurrentDateStr() { + addDate := common.PreDate().Format(common.YYMMDD) + if !common.IsInArray(addDate, dates) { + dates = append([]string{addDate}, dates...) + } + } + + dateMap := make(map[string]string) + + for i := 0; i < len(dates); i++ { + dateMap[dates[i]] = dates[i] + } + + fmt.Println("========= CheckOverTimeApplyApproval SplitMonthV1 currentMonth ========================= ") + fmt.Printf("=== %+v\n", dates) + fmt.Println("========= CheckOverTimeApplyApproval SplitMonthV1 currentMonth ========================= ") + + if overtimeRule.TimeLimit == model.TimeLimitMonth { + if dateMap[req.ApprovalOA.OverTime.ApplyTimes[0].Date] == "" && dateMap[req.ApprovalOA.OverTime.ApplyTimes[1].Date] == "" { + return errors.New("加班时间不在本次考勤周期内") + } + } + + if overtimeRule.TimeLimit == model.TimeLimitYesterday { + if common.ConvertApplyTimeToTime(req.ApprovalOA.OverTime.ApplyTimes[0].Date, req.ApprovalOA.OverTime.ApplyTimes[0].Hour).Before(common.PreDateFour()) { + return errors.New("加班开始时间不得早于昨天凌晨4点") + } + } + + return nil +} + +func CheckLeaveApproval(req *approvalApi.CreateRequest, userInfo login.Info) (err error) { + if len(req.ApprovalOA.Leave.ApplyTimes) != 2 { + return errors.New(e.ErrApplyTime) + } + + use, forMoney, canDayOffErr := oa_logic.QueryCanDayOffUserWithWorkTimeTemplate(userInfo) + if canDayOffErr != nil { + return canDayOffErr + } + + checkLeaveReq := new(oa_model.CheckLeave) + checkLeaveReq.ApplyType = req.Type + checkLeaveReq.StartTime = req.ApprovalOA.Leave.ApplyTimes[0].Date + checkLeaveReq.M = req.ApprovalOA.Leave.ApplyTimes[0].M + checkLeaveReq.Children = req.ApprovalOA.Leave.Children + checkLeaveReq.Month = req.ApprovalOA.Leave.Month + checkLeaveReq.Dystocia = req.ApprovalOA.Leave.Dystocia + res, err := service.CheckLeaveHandle(checkLeaveReq, userInfo, forMoney) + if err != nil { + return err + } + fmt.Println("========= checkLeaveReq 1 ========================= ") + fmt.Printf("=== %+v\n", checkLeaveReq) + fmt.Println("========= checkLeaveReq 2 ========================= ") + + fmt.Println("========= CheckLeaveHandle 1 ========================= ") + fmt.Printf("=== %+v\n", res) + fmt.Println("========= CheckLeaveHandle 2 ========================= ") + + if res.OtherLeave.EndTime != "" { + req.ApprovalOA.Leave.ApplyTimes[1].Date = res.OtherLeave.EndTime + req.ApprovalOA.Leave.ApplyTimes[1].M = res.OtherLeave.EndM + if req.Type == oa_model.TypeMatingCheckLeave { + req.ApprovalOA.Leave.Days = 1 // 孕检假 默认是一次一天 + } + } + + if req.Type == oa_model.TypeAnnualLeave || req.Type == oa_model.TypeParentalLeave || req.Type == oa_model.TypeNursingLeave { + if strings.Split(req.ApprovalOA.Leave.ApplyTimes[0].Date, "-")[0] != time.Now().Format("2006") || strings.Split(req.ApprovalOA.Leave.ApplyTimes[1].Date, "-")[0] != time.Now().Format("2006") { + return errors.New(e.ErrNotInCurrentYear) + } + } + + if req.Type == oa_model.TypeNursingLeave || req.Type == oa_model.TypeParentalLeave || req.Type == oa_model.TypeMatingCheckLeave { + if req.ApprovalOA.Leave.Days > res.CommonLeave.Balance { + return errors.New(e.ErrNoBalance) + } + } + + //年假新处理 + if req.Type == oa_model.TypeAnnualLeave { + + date := req.ApprovalOA.Leave.ApplyTimes[0].Date + year, err1 := strconv.ParseInt(date[0:4], 10, 32) + if err1 != nil { + return err1 + } + balanceList, err2 := service.GrpcOAImpl.GetLeaveBalanceList(context.Background(), &oaApi.LeaveBalanceListReq{ + Page: 1, + PageSize: 10, + StaffUID: userInfo.ID, + Year: int32(year), + }) + if err2 != nil { + return err2 + } + + fmt.Println("===========================新假期余额=======================================") + fmt.Println(year) + fmt.Println(balanceList) + + if len(balanceList.Data) < 1 { + return errors.New("未查到假期余额") + } + + if req.ApprovalOA.Leave.Days > balanceList.Data[0].AnnualLeave { + return errors.New(e.ErrNoBalance) + } + + } + + if req.Type == oa_model.TypeBreastFeedingLeave { + if req.ApprovalOA.Leave.Hours > res.CommonLeave.Balance { + return errors.New(e.ErrHourNoBalance) + } + } + + if req.Type == oa_model.TypeDayOff { + //调休时间限制:上月的26号到本月的25号 + fmt.Println("====================================上月的26号到本月的25号=====================================================") + fmt.Println(isDateInRange(req.ApprovalOA.Leave.ApplyTimes[0].Date)) + fmt.Println(isDateInRange(req.ApprovalOA.Leave.ApplyTimes[1].Date)) + if !isDateInRange(req.ApprovalOA.Leave.ApplyTimes[0].Date) { + return errors.New(e.ErrNotInCurrentMonth) + } + if !isDateInRange(req.ApprovalOA.Leave.ApplyTimes[1].Date) { + return errors.New(e.ErrNotInCurrentMonth) + } + + //if strings.Join(strings.Split(req.ApprovalOA.Leave.ApplyTimes[0].Date, "-")[:2], "-") != time.Now().Format("2006-01") || strings.Join(strings.Split(req.ApprovalOA.Leave.ApplyTimes[1].Date, "-")[:2], "-") != time.Now().Format("2006-01") { + // return errors.New(e.ErrNotInCurrentMonth) + //} + // 特殊设置的用户 可以无加班调休 + users, userErr := QueryCanDayOffUser() + if userErr != nil { + return userErr + } + + if forMoney { + if req.ApprovalOA.Leave.Hours > res.CommonLeave.Balance { + if users[req.SubmitterName] == req.SubmitterID || !use { + return nil + } else { + return errors.New(e.ErrNoBalance) + } + } + } else { + balance, CheckDayOffBalanceErr := service.CheckDayOffBalance(userInfo.ID) + if CheckDayOffBalanceErr != nil { + return CheckDayOffBalanceErr + } + if req.ApprovalOA.Leave.Hours > balance { + return errors.New(e.ErrNoBalance) + } + } + + } + + if req.ApprovalOA.Leave.Days <= 0 && req.ApprovalOA.Leave.Hours <= 0 { + return errors.New(e.ErrNoBalance) + } + + return nil +} + +func CheckOutWorkTime(req *approvalApi.CreateRequest) (err error) { + outWorkStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApprovalOA.OutWork.ApplyTimes[0].Date+" 00:00:00", time.Local) + nowTime, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" 00:00:00", time.Local) + if !outWorkStartTime.Before(nowTime) { + return nil + } + return errors.New("当前外勤申请时间无效") +} + +func CheckLeaveApprovalV1(req *approvalApi.CreateRequest) (err error) { + leaveApplyRecordReq := new(oaApi.LeaveApplyInfoReq) + leaveApplyRecordReq.StaffUID = req.SubmitterID + leaveApplyRecordReq.LeaveApplyType = e.CheckLeaveApplyMap[req.Type] + leaveApplyRecordReq.IsOver = e.IsNotOver + leaveApplyRecordRes, err := service.GrpcOAImpl.QueryLeaveApplyInfo(context.Background(), leaveApplyRecordReq) + if err != nil { + fmt.Println("=========== approval_oa QueryLeaveApplyInfo ====== start =====") + fmt.Println(err.Error()) + fmt.Println("=========== approval_oa QueryLeaveApplyInfo ====== end =====") + return errors.New("未查询到相关假期余额申请") + } + + if req.ApprovalOA.Leave.Days > leaveApplyRecordRes.LeaveApply.LeaveBalance { + return errors.New("假期余额不足") + } + + return nil +} + +func CheckLeaveApply(req *approvalApi.CreateRequest, userInfo login.Info) (err error) { + //leaveApplyRecordReq := new(oaApi.LeaveApplyInfoReq) + //leaveApplyRecordReq.StaffUID = req.SubmitterID + //leaveApplyRecordReq.LeaveApplyType = req.Type + //leaveApplyRecordReq.IsOver = e.IsNotOver + //leaveApplyRecordReq.UsefulTime = time.Now().Format("2006") + //leaveApplyRecordRes, err := service.GrpcOAImpl.QueryLeaveApplyInfo(context.Background(), leaveApplyRecordReq) + //if err != nil && err.Error() != e.ErrNotHaveBalance { + // fmt.Println("=========== approval_oa QueryLeaveApplyInfo ====== start =====") + // fmt.Println(err.Error()) + // fmt.Println("=========== approval_oa QueryLeaveApplyInfo ====== end =====") + // //return errors.New("未查询到相关假期余额申请") + // return errors.New(e.ErrNotHaveBalance) + //} + // + //if leaveApplyRecordRes.LeaveApply != nil { + // return errors.New(e.ErrHaveBalanceApply) + //} + + reqList := &approvalApi.ListRequest{} + reqList.Domain = req.Domain + reqList.Type = req.Type + reqList.UserID = userInfo.ID + reqList.Status = 1 + res1, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New(e.ErrNotHaveBalance) + } + + if len(res1.Data) > 0 { + for i := 0; i < len(res1.Data); i++ { + if strings.Split(strings.Split(res1.Data[i].ApprovalOA.LeaveApply.ActionTime, " ")[0], "-")[0] == time.Now().Format("2006") { + return errors.New(e.ErrHaveBalanceApply) + } + } + } + + reqList.Status = 2 + res2, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New(e.ErrNotHaveBalance) + } + + for i := 0; i < len(res2.Data); i++ { + if strings.Split(strings.Split(res2.Data[i].ApprovalOA.LeaveApply.ActionTime, " ")[0], "-")[0] == time.Now().Format("2006") { + return errors.New(e.ErrHaveBalanceApply) + } + } + + reqList.Status = 6 + res3, err := service.ApprovalProvider.MySubmit(context.Background(), reqList) + if err != nil { + return errors.New(e.ErrNotHaveBalance) + } + + for i := 0; i < len(res3.Data); i++ { + if strings.Split(strings.Split(res3.Data[i].ApprovalOA.LeaveApply.ActionTime, " ")[0], "-")[0] == time.Now().Format("2006") { + return errors.New(e.ErrHaveBalanceApply) + } + } + + return nil +} + +func CheckLeaveTime(req *approvalApi.CreateRequest, userInfo login.Info) (err error) { + queryOaApplyReq := new(oaApi.ApplyRecordReq) + queryOaApplyReq.StaffUID = req.SubmitterID + queryOaApplyReq.Page = 1 + queryOaApplyReq.PageSize = 9999 + if req.ApprovalOA.Leave != nil { + queryOaApplyReq.BeginTime = req.ApprovalOA.Leave.ApplyTimes[0].Date + queryOaApplyReq.EndTime = req.ApprovalOA.Leave.ApplyTimes[len(req.ApprovalOA.Leave.ApplyTimes)-1].Date + } else if req.ApprovalOA.OverTime != nil { + queryOaApplyReq.BeginTime = req.ApprovalOA.OverTime.ApplyTimes[0].Date + queryOaApplyReq.EndTime = req.ApprovalOA.OverTime.ApplyTimes[len(req.ApprovalOA.OverTime.ApplyTimes)-1].Date + // 如果是加班 则 剔除 外勤申请 + queryOaApplyReq.ApplyType = append(queryOaApplyReq.ApplyType, common.WithOutOutworkApply...) + } else if req.ApprovalOA.OutWork != nil { + queryOaApplyReq.BeginTime = req.ApprovalOA.OutWork.ApplyTimes[0].Date + queryOaApplyReq.EndTime = req.ApprovalOA.OutWork.ApplyTimes[len(req.ApprovalOA.OutWork.ApplyTimes)-1].Date + // 如果是外勤申请 则 剔除 加班 + queryOaApplyReq.ApplyType = append(queryOaApplyReq.ApplyType, common.WithOutOvertimeApply...) + } else if req.ApprovalOA.GoOut != nil { //外出 + queryOaApplyReq.BeginTime = req.ApprovalOA.GoOut.ApplyTimes[0].Date + queryOaApplyReq.EndTime = req.ApprovalOA.GoOut.ApplyTimes[len(req.ApprovalOA.GoOut.ApplyTimes)-1].Date + queryOaApplyReq.ApplyType = append(queryOaApplyReq.ApplyType, common.WithGoOutApply...) + } + + queryOaApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusRevoking} + + queryOaApplyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), queryOaApplyReq) + if err != nil { + return err + } + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + return workingTimeErr + } + // 当前的申请 + applyStartTimeStr := "" + applyEndTimeStr := "" + if req.ApprovalOA.Leave != nil { + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, req.ApprovalOA.Leave.ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + } else if req.ApprovalOA.OverTime != nil { + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, req.ApprovalOA.OverTime.ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + } else if req.ApprovalOA.OutWork != nil { + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, req.ApprovalOA.OutWork.ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + } else if req.ApprovalOA.GoOut != nil { + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, req.ApprovalOA.GoOut.ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + } + + applyStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyStartTimeStr, time.Local) + applyEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyEndTimeStr, time.Local) + + //fmt.Println("======== applyStartTime ,applyEndTime 1 =================") + //fmt.Println("======= applyStartTime", applyStartTime) + //fmt.Println("======= applyEndTime", applyEndTime) + //fmt.Println("======== applyStartTime ,applyEndTime 1 =================") + // 历史的申请 + for i := 0; i < len(queryOaApplyRes.Data); i++ { + hadApplyStartTimeStr := "" + hadApplyEndTimeStr := "" + + if queryOaApplyRes.Data[i] != nil { + applyTimes := make([]oa_model.ApplyTime, 0) + //如果是出差,循环走流程 + if len(queryOaApplyRes.Data[i].ItineraryList) > 0 { + for _, itinerary := range queryOaApplyRes.Data[i].ItineraryList { + applyTimes2 := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes2, itinerary.ApplyTimes, copier.Option{DeepCopy: true}) + hadApplyStartTimeStr, hadApplyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes2, workingTime.Time) + hadApplyStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", hadApplyStartTimeStr, time.Local) + hadApplyEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", hadApplyEndTimeStr, time.Local) + if (applyStartTime.After(hadApplyStartTime) && applyStartTime.Before(hadApplyEndTime)) || (applyEndTime.After(hadApplyStartTime) && applyEndTime.Before(hadApplyEndTime)) { + return errors.New(e.ErrSelectTimeRepeat) + } + + // 当前申请时间 不包含 历史申请的时间段 + /*if (!hadApplyStartTime.Before(applyStartTime) && !hadApplyStartTime.After(applyEndTime)) || (!hadApplyEndTime.Before(applyStartTime) && !hadApplyEndTime.After(applyEndTime)) { + return errors.New(e.ERR_SELECT_TIME_REPEAT) + }*/ + if (hadApplyStartTime.After(applyStartTime) && hadApplyStartTime.Before(applyEndTime)) || (hadApplyEndTime.After(applyStartTime) && hadApplyEndTime.Before(applyEndTime)) { + return errors.New(e.ErrSelectTimeRepeat) + } + + if applyStartTime.Equal(hadApplyStartTime) || applyEndTime.Equal(hadApplyEndTime) { + return errors.New(e.ErrSelectTimeRepeat) + } + } + return + } else { + _ = copier.CopyWithOption(&applyTimes, queryOaApplyRes.Data[i].ApplyTimes, copier.Option{DeepCopy: true}) + hadApplyStartTimeStr, hadApplyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + } + + } else if req.ApprovalOA.OverTime != nil { + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, req.ApprovalOA.OverTime.ApplyTimes, copier.Option{DeepCopy: true}) + hadApplyStartTimeStr, hadApplyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + } else if req.ApprovalOA.OutWork != nil { + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, req.ApprovalOA.OutWork.ApplyTimes, copier.Option{DeepCopy: true}) + hadApplyStartTimeStr, hadApplyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + } + hadApplyStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", hadApplyStartTimeStr, time.Local) + hadApplyEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", hadApplyEndTimeStr, time.Local) + + //fmt.Println("======== hadApplyStartTime ,hadApplyEndTime 2 =================") + //fmt.Println("======= hadApplyStartTime", hadApplyStartTime) + //fmt.Println("======= hadApplyEndTime", hadApplyEndTime) + //fmt.Println("======== hadApplyStartTime ,hadApplyEndTime 2 =================") + // 当前申请时间 不在 历史申请的时间段内 + /*if (!applyStartTime.Before(hadApplyStartTime) && !applyStartTime.After(hadApplyEndTime)) || (!applyEndTime.Before(hadApplyStartTime) && !applyEndTime.After(hadApplyEndTime)) { + return errors.New(e.ERR_SELECT_TIME_REPEAT) + }*/ + if (applyStartTime.After(hadApplyStartTime) && applyStartTime.Before(hadApplyEndTime)) || (applyEndTime.After(hadApplyStartTime) && applyEndTime.Before(hadApplyEndTime)) { + return errors.New(e.ErrSelectTimeRepeat) + } + + // 当前申请时间 不包含 历史申请的时间段 + /*if (!hadApplyStartTime.Before(applyStartTime) && !hadApplyStartTime.After(applyEndTime)) || (!hadApplyEndTime.Before(applyStartTime) && !hadApplyEndTime.After(applyEndTime)) { + return errors.New(e.ERR_SELECT_TIME_REPEAT) + }*/ + if (hadApplyStartTime.After(applyStartTime) && hadApplyStartTime.Before(applyEndTime)) || (hadApplyEndTime.After(applyStartTime) && hadApplyEndTime.Before(applyEndTime)) { + return errors.New(e.ErrSelectTimeRepeat) + } + + if applyStartTime.Equal(hadApplyStartTime) || applyEndTime.Equal(hadApplyEndTime) { + return errors.New(e.ErrSelectTimeRepeat) + } + + } + + return +} + +// CheckBusinessTripTime 出差专用 +func CheckBusinessTripTime(req *approvalApi.CreateRequest, userInfo login.Info) (err error) { + queryOaApplyReq := new(oaApi.ApplyRecordReq) + queryOaApplyReq.StaffUID = req.SubmitterID + queryOaApplyReq.Page = 1 + queryOaApplyReq.PageSize = 9999 + queryOaApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusRevoking} + queryOaApplyReq.ApplyType = append(queryOaApplyReq.ApplyType, common.WithBusinessTripApply...) + if req.ApprovalOA.BusinessTrip != nil { + //每个行程都得走一遍检查流程 + for _, itinerary := range req.ApprovalOA.BusinessTrip.ItineraryList { + queryOaApplyReq.BeginTime = itinerary.ApplyTimes[0].Date + queryOaApplyReq.EndTime = itinerary.ApplyTimes[len(itinerary.ApplyTimes)-1].Date + queryOaApplyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), queryOaApplyReq) + if err != nil { + return err + } + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + return workingTimeErr + } + // 当前的申请 + applyStartTimeStr := "" + applyEndTimeStr := "" + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, itinerary.ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes, workingTime.Time) + + applyStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyStartTimeStr, time.Local) + applyEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyEndTimeStr, time.Local) + + // 历史的申请 + if len(queryOaApplyRes.Data) > 0 { + for i := 0; i < len(queryOaApplyRes.Data); i++ { + hadApplyStartTimeStr := "" + hadApplyEndTimeStr := "" + applyTimes2 := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes2, queryOaApplyRes.Data[i].ApplyTimes, copier.Option{DeepCopy: true}) + hadApplyStartTimeStr, hadApplyEndTimeStr = oa_logic.ConvertApplyTime(applyTimes2, workingTime.Time) + hadApplyStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", hadApplyStartTimeStr, time.Local) + hadApplyEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", hadApplyEndTimeStr, time.Local) + + if (applyStartTime.After(hadApplyStartTime) && applyStartTime.Before(hadApplyEndTime)) || (applyEndTime.After(hadApplyStartTime) && applyEndTime.Before(hadApplyEndTime)) { + return errors.New(e.ErrSelectTimeRepeat) + } + + if (hadApplyStartTime.After(applyStartTime) && hadApplyStartTime.Before(applyEndTime)) || (hadApplyEndTime.After(applyStartTime) && hadApplyEndTime.Before(applyEndTime)) { + return errors.New(e.ErrSelectTimeRepeat) + } + + if applyStartTime.Equal(hadApplyStartTime) || applyEndTime.Equal(hadApplyEndTime) { + return errors.New(e.ErrSelectTimeRepeat) + } + + } + } + + } + + } + + return err +} + +func isDateInRange(dateStr string) bool { + t, _ := time.Parse("2006-01-02", dateStr) + now := time.Now().Format("2006-01-02") + t1, _ := time.Parse("2006-01-02", now) + + //上月25号 + lastMonth25 := time.Date(t1.Year(), t1.Month()-1, 25, 0, 0, 0, 0, t1.Location()) + //本月25号 + thisMonth25 := time.Date(t1.Year(), t1.Month(), 25, 0, 0, 0, 0, t1.Location()) + //下月26号 + nextMonth26 := time.Date(t1.Year(), t1.Month()+1, 26, 0, 0, 0, 0, t1.Location()) + + //如果传入时间在本月25号之后,传入时间就得在下月26号之前 + if t.After(thisMonth25) { + return t.Before(nextMonth26) + } else { + //如果不在本月25号之后,则传入时间必须在上月25号之后 + return t.After(lastMonth25) + } +} + +func CheckLeaveApplyIsUse(req *approvalApi.CreateRequest) (err error) { + queryOaApplyReq := new(oaApi.ApplyRecordReq) + queryOaApplyReq.StaffUID = req.SubmitterID + queryOaApplyReq.ApplyType = []string{oa_model.LeaveApplyOaApplyMap[req.Type]} + // 当前月 的 年初 和 年底 + queryOaApplyReq.BeginTime = time.Now().Format("2006") + "-01-01" + " 00:00:00" + queryOaApplyReq.EndTime = time.Now().Format("2006") + "-12-31" + " 23:59:59" + queryOaApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusRevoking} + + queryOaApplyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), queryOaApplyReq) + if err != nil { + return err + } + if queryOaApplyRes.Total > 0 { + return errors.New(e.ErrIsUsed) + } + return nil +} + +const ( + CanDayOff = "canDayOff" // 无需加班,亦可调休 +) + +func QueryCanDayOffUser() (users map[string]uint64, err error) { + users = make(map[string]uint64, 0) + req := &oaApi.OaSettingReq{ + Keyword: CanDayOff, + } + res, err := service.GrpcOAImpl.QueryOaSetting(context.Background(), req) + if err != nil { + return nil, errors.New(e.ErrQueryOaSetting) + } + + if len(res.Data) > 0 { + for i := 0; i < len(res.Data); i++ { + if res.Data[i].Value.CanDayOff != nil { + for j := 0; j < len(res.Data[i].Value.CanDayOff); j++ { + users[res.Data[i].Value.CanDayOff[j].Name] = res.Data[i].Value.CanDayOff[j].ID + } + } + } + } + return users, nil +} + +/*// 使用考勤组设置的 是否用于加班调休 +func QueryCanDayOffUserWithWorkTimeTemplate(userInfo login.Info) (use bool, forMoney bool, err error) { + canDayOff := false + forMoney = false + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + canDayOff = true + return canDayOff, forMoney, workingTimeErr + } + logger.Infof("workingTime: %+v", workingTime) + fmt.Printf("workingTime: %+v", workingTime) + + if len(workingTime.OaRules) > 0 { + for i := 0; i < len(workingTime.OaRules); i++ { + if workingTime.OaRules[i].Keyword == model.OvertimeRule && workingTime.OaRules[i].OvertimeRule != nil { + if workingTime.OaRules[i].OvertimeRule.ForDayOff == model.ForDayOffYes { + canDayOff = true + } + if workingTime.OaRules[i].OvertimeRule.ForDayOff == model.ForDayOffYes && workingTime.OaRules[i].OvertimeRule.ForMoney == model.ForMoneyYes { + forMoney = true + } + } + } + } + + return canDayOff, forMoney, nil +} +*/ diff --git a/pkg/service/approval/approval_offer.go b/pkg/service/approval/approval_offer.go new file mode 100644 index 0000000..1ebc2f7 --- /dev/null +++ b/pkg/service/approval/approval_offer.go @@ -0,0 +1,420 @@ +package approval + +import ( + "context" + "errors" + "fmt" + "strconv" + "strings" + + "github.com/fonchain_enterprise/fonchain-main/api/account" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/api/e_card" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/recruit" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + account2 "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/employee" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +const InitPassword = "Aa123456" + +func offerApproveSetStatusEnter(c *gin.Context, userInfo login.Info, req *api.StatusRequest, detail *api.CreateRequest) (err error) { + if req.Status == e.ApprovalWorkStatusFail { + if detail.Employ.ResumeID != "" { + err = rejectOfferApprove(userInfo, req.ID, req.Reply) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + } else if req.Status == e.ApprovalWorkStatusOk { + fmt.Println("进入offer审批通过-----:", req, detail) + if detail.Status == e.ApprovalWorkStatusOk { + if detail.Employ.ResumeID != "" { + // 老的人才招聘流程 + fmt.Println("进入老的人才招聘流程-----:") + err = passOfferApproveNotFinish(userInfo, detail.ID) + if err != nil { + service.Error(c, e.Error, err) + return err + } + } else { + // 新的人才招聘流程,岗位待人数直接-1 + fmt.Println("进入新的人才招聘流程,人数直接减一-----:") + err = PositionPostCountNumMinus(userInfo, detail.ID, detail.Employ) + if err != nil { + service.Error(c, e.Error, err) + return err + } + } + } + fmt.Println("offer审批通过结束-----:", req, detail) + if detail.Status == e.ApprovalWorkStatusOk && detail.Employ.ConfirmDate != "" { + fmt.Println("进入创建账号和员工档案-----:", req, detail) + err = createUsersAndFiles(c, detail) + if err != nil { + return errors.New("创建用户及员工档案失败!" + err.Error()) + } + fmt.Println("员工档案创建成功-----:", req, detail) + + if err != nil { + return + } + + return nil + } + } + return nil +} +func createUsersAndFiles(c *gin.Context, detail *api.CreateRequest) error { + registerUser := union.User{ + Domain: "fontree", + NickName: detail.Employ.Name, + TelNum: detail.Employ.Mobile, + Status: "notactive", + EnterDate: detail.Employ.ConfirmDate, + PositionUsers: nil, + JobNum: detail.Employ.EmployeeNo, + Password: e.DEFAULT_PWD, + Source: "entryApplication", + } + registerUser.Operator = &account.Operator{ + ID: uint32(detail.NowUserId), + Name: detail.NowUserName, + } + registerUser.PositionUsers = make([]*position.PositionUser, 0) + positionId, err := strconv.ParseUint(detail.Employ.PositionId, 10, 64) + if err != nil { + fmt.Println("转换失败:", err) + return err + } + departmentId, err := strconv.ParseUint(detail.Employ.DepartmentId, 10, 64) + if err != nil { + fmt.Println("转换失败:", err) + return err + } + registerUser.PositionUsers = append(registerUser.PositionUsers, &position.PositionUser{PositionID: positionId, DepartmentID: departmentId}) + + err, user := account2.UserRegisters(c, registerUser) + if err != nil { + return err + } + ResumeProto := []*recruit.ResumeProto{ + { + ResumeFile: detail.Employ.ResumeFile, + InterviewFile: detail.Employ.InterviewFile, + EmployeeType: detail.Employ.EmployeeType, + }, + } + rep := &recruit.ResumeQueryListVo{ + Resumes: ResumeProto, + } + //创建员工档案 + err = employee.CreateAnEmployeeProfile(c, user.ID, registerUser, rep, registerUser.Operator) + if err != nil { + return err + } + + // 生成员工电子名片 + var addChainRequest *e_card.AddChainRequest + addChainRequest, err = account2.GetECardInfo(user.ID, "审批-人员增补申请") + if err != nil { + return err + } + + fmt.Println("++++++++++++++++++++ addChainRequest =============================") + fmt.Printf("addChainRequest : %+v\n", addChainRequest) + + _, err = service.ECardProvider.AddChain(context.Background(), addChainRequest) + + return nil +} + +func createOfferApprove(c *gin.Context, userInfo login.Info, res *api.ApprovalResponse, departmentID int64) (err error) { + + createReq := api.DetailRequest{ID: res.ID} + createDetail, detailErr := service.ApprovalProvider.Detail(c, &createReq) + if detailErr != nil { + return detailErr + } + + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Id = int64(createDetail.ID) // 审批申请的ID + dealProcessForm.Type = "offer-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "offer-submit" + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + // TODO 已确认 字段 + dealProcessForm.Entity = &recruit.EntityProto{ // 入职信息 + Offer: &recruit.OfferProto{ + Applier: userInfo.NickName, // 申请人 昵称 + Post: createDetail.Employ.Post, + ResumeFile: createDetail.Employ.ResumeFile, + BelongDepartment: createDetail.Employ.BelongDepartment, + Name: createDetail.Employ.Name, + Mobile: createDetail.Employ.Mobile, + EmployeeType: createDetail.Employ.EmployeeType, + EmployeeNo: createDetail.Employ.EmployeeNo, + InterviewFile: createDetail.Employ.InterviewFile, + EntryTime: createDetail.Employ.EntryTime, + ApproveCountLast: int32(len(createDetail.WorkFlows)), + }, + } + + dealProcessForm.Entity.Offer.ResumeId, _ = strconv.ParseInt(createDetail.Employ.ResumeID, 10, 64) + + approver := make([]string, 0) + for i := 0; i < len(createDetail.WorkFlows); i++ { + approver = append(approver, createDetail.WorkFlows[i].Name) + dealProcessForm.Entity.Offer.ApproverIds = append(dealProcessForm.Entity.Offer.ApproverIds, int64(createDetail.WorkFlows[i].UserID)) // 审批人 ID + } + copyUsers := make([]string, 0) + for i := 0; i < len(createDetail.CopyUsers); i++ { + copyUsers = append(copyUsers, createDetail.CopyUsers[i].Name) + dealProcessForm.Entity.Offer.CopiedIds = append(dealProcessForm.Entity.Offer.CopiedIds, int64(createDetail.CopyUsers[i].ID)) // 抄送人 ID + } + dealProcessForm.Entity.Offer.Approver = strings.Join(approver, ",") // 审批人 名称 + dealProcessForm.Entity.Offer.Copied = strings.Join(copyUsers, ",") // 抄送人 名称 + + //for i := 0; i < len(userInfo.PositionUsers); i++ { + // if departmentID == int64(userInfo.PositionUsers[i].DepartmentId) { + // dealProcessForm.Entity.Offer.BelongDepartment = userInfo.PositionUsers[i].DepartmentName // 申请人的 部门 + // //dealProcessForm.Entity.Offer.ApplierPosition = userInfo.PositionUsers[i].PositionName // 申请人的 岗位 + // } + //} + + fmt.Println("++++++++++++++++++++ dealProcessForm =============================") + fmt.Printf("dealProcessForm : %+v\n", dealProcessForm) + fmt.Println("++++++++++++++++++++ dealProcessForm =============================") + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.OfferSubmit(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ offer-submit =============================") + fmt.Printf("offer-submit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ offer-submit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateOffer)) + return errors.New(e.ErrorCreateOffer) + } + return returnRecruitError(dealProcessFormResp) +} + +// offer审批通过,但不是最终通过,仅仅是个状态 +func passOfferApproveNotFinish(userInfo login.Info, approvalID uint64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Entity = new(recruit.EntityProto) + dealProcessForm.Entity.Detail = new(recruit.DetailProto) + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Type = "offer-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "offer-approval-pass" + + dealProcessForm.Entity.Detail.Approver = int64(userInfo.ID) + dealProcessForm.Entity.Detail.Result = "offer审核通过" + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.OfferPass(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + fmt.Printf("PostSubmit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +// offer审批通过,但不是最终通过,仅仅是个状态 +func PositionPostCountNumMinus(userInfo login.Info, approvalID uint64, detail *api.Employ) (err error) { + req := new(recruit.PositionFastAcceptReq) + + aplyDepartmentId, err := strconv.ParseInt(detail.DepartmentId, 10, 32) + if err != nil { + fmt.Println("aplyDepartmentId转换错误:", err) + return + } + + applyPositionId, err := strconv.ParseInt(detail.PositionId, 10, 32) + if err != nil { + fmt.Println("applyPositionId转换错误:", err) + return + } + + req.ApplyDepartmentId = aplyDepartmentId + req.ApplyPositionId = applyPositionId + req.UpdatedId = int64(userInfo.ID) + req.UpdatedName = userInfo.NickName + + resp := new(recruit.ResultVo) + resp, err = service.GrpcRecruitClientImpl.PositionFastAccept(context.Background(), req) + if err != nil { + fmt.Println("++++++++++++++++++++ PositionFastAccept =============================") + fmt.Printf("err : %+v\n", err) + fmt.Printf("resp : %+v\n", resp) + fmt.Println("++++++++++++++++++++ PositionFastAccept =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(err.Error()) + } + return returnRecruitError(resp) +} +func PassOfferApprove(userInfo login.Info, approvalID uint64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Entity = new(recruit.EntityProto) + dealProcessForm.Entity.Detail = new(recruit.DetailProto) + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Type = "offer-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "offer-pass" + + dealProcessForm.Entity.Detail.Approver = int64(userInfo.ID) + dealProcessForm.Entity.Detail.Result = "通过" + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.OfferPass(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + fmt.Printf("PostSubmit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func rejectOfferApprove(userInfo login.Info, approvalID uint64, reason string) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Entity = new(recruit.EntityProto) + dealProcessForm.Entity.Detail = new(recruit.DetailProto) + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Type = "offer-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "offer-reject" + + dealProcessForm.Entity.Detail.Approver = int64(userInfo.ID) + dealProcessForm.Entity.Detail.Result = "不通过" + dealProcessForm.Entity.Detail.RejectReason = reason + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.OfferReject(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + fmt.Printf("PostSubmit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func checkOfferApprove(userInfo login.Info, approvalID uint64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Entity = new(recruit.EntityProto) + dealProcessForm.Entity.Copied = new(recruit.CopiedProto) + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Type = "offer-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "offer-check" + + dealProcessForm.Entity.Copied.Copied = int64(userInfo.ID) + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.OfferCheck(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + fmt.Printf("PostSubmit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func CloseEmploy(c *gin.Context) { + var req api.CloseEmployReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + _, err := service.ApprovalProvider.CloseEmploy(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Status: e.Ok, + }) +} + +func rollbackOffer(userInfo login.Info, approvalID uint64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Command = "offer-rollback" + dealProcessForm.Type = "offer-approve" // 人才招聘 的 类型 + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessFormResp, err := service.GrpcRecruitClientImpl.OfferRollback(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ Offer Rollback =============================") + fmt.Printf("Offer Rollback : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ Offer Rollback =============================") + //service.Error(c, e.Error, errors.New(e.ErrorRollbackOffer)) + return errors.New(e.ErrorRollbackOffer) + } + return returnRecruitError(dealProcessFormResp) +} + +func resumeHireJudge(userInfo login.Info, resumeID int64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Id = resumeID // 审批申请的ID + dealProcessForm.Command = "resume-hire-judge" + dealProcessForm.Type = "resume-approve" // 人才招聘 的 类型 + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessFormResp, err := service.GrpcRecruitClientImpl.ResumeHireJudge(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ ResumeHireJudge =============================") + fmt.Printf("ResumeHireJudge : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ ResumeHireJudge =============================") + //service.Error(c, e.Error, errors.New(e.ErrorResumeHireJudge)) + return errors.New(e.ErrorResumeHireJudge) + } + return returnRecruitError(dealProcessFormResp) +} diff --git a/pkg/service/approval/approval_position.go b/pkg/service/approval/approval_position.go new file mode 100644 index 0000000..d0ae022 --- /dev/null +++ b/pkg/service/approval/approval_position.go @@ -0,0 +1,340 @@ +package approval + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/recruit" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + employee1 "github.com/fonchain_enterprise/fonchain-main/pkg/service/employee" + "github.com/gin-gonic/gin" + "strconv" + "strings" + "time" +) + +func postApproveSetStatusEnter(userInfo login.Info, detail *api.CreateRequest) (err error) { + fmt.Println("++++++++++++++++++++ postApproveSetStatusEnter =============================") + fmt.Printf("detail : %+v\n", detail) + fmt.Println("++++++++++++++++++++ postApproveSetStatusEnter =============================") + if detail.Status == e.ApprovalWorkStatusFail { + fmt.Println("++++++++++++++++++++ postApproveSetStatusEnter ApprovalWorkStatusFail =============================") + err = rejectPostApprove(userInfo, detail.ID, detail.Reply) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + + } else if detail.Status == e.ApprovalWorkStatusOk { + fmt.Println("++++++++++++++++++++ postApproveSetStatusEnter ApprovalWorkStatusOk =============================") + err = passPostApprove(userInfo, detail.ID) + if err != nil { + //service.Error(c, e.Error, err) + return err + } + } + return nil +} + +func createPostApprove(c *gin.Context, userInfo login.Info, res *api.ApprovalResponse, departmentID int64) (err error) { + + createReq := api.DetailRequest{ID: res.ID} + createDetail, detailErr := service.ApprovalProvider.Detail(c, &createReq) + if detailErr != nil { + return detailErr + } + + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Id = int64(createDetail.ID) // 审批申请的ID + dealProcessForm.Command = "position-submit" + dealProcessForm.Type = "post-approve" // 人才招聘 的 类型 + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Entity = &recruit.EntityProto{ // 岗位信息 + Position: &recruit.PositionProto{ + Applier: userInfo.NickName, // 申请人 昵称 + ApplierId: int64(userInfo.ID), // 申请人 ID + Post: createDetail.StaffSupply.PositionName, // 申请岗位 + PostCapacity: int32(createDetail.StaffSupply.Num), // 岗位数量 + PostRequirement: createDetail.StaffSupply.JobAsk, // 岗位要求 + WantedDate: createDetail.StaffSupply.JoinInTime, // 期待到职日期 + ApproveCountLast: int32(len(createDetail.WorkFlows)), // 待审核人数 + PostCountLast: int32(createDetail.StaffSupply.Num), // 岗位待招人数 + }, + } + + if createDetail.StaffSupply != nil { + + if createDetail.StaffSupply.DepartmentId != "" { + tempDepartmentId, err := strconv.Atoi(createDetail.StaffSupply.DepartmentId) + if err == nil { + dealProcessForm.Entity.Position.ApplyDepartmentId = int32(tempDepartmentId) + } + } + + if createDetail.StaffSupply.PositionId != "" { + tempPositionId, err := strconv.Atoi(createDetail.StaffSupply.PositionId) + if err == nil { + dealProcessForm.Entity.Position.ApplyPositionId = int32(tempPositionId) + } + } + + } + + approver := make([]string, 0) + for i := 0; i < len(createDetail.WorkFlows); i++ { + approver = append(approver, createDetail.WorkFlows[i].Name) + dealProcessForm.Entity.Position.ApproverIds = append(dealProcessForm.Entity.Position.ApproverIds, int64(createDetail.WorkFlows[i].UserID)) // 审批人 ID + } + copyUsers := make([]string, 0) + for i := 0; i < len(createDetail.CopyUsers); i++ { + copyUsers = append(copyUsers, createDetail.CopyUsers[i].Name) + dealProcessForm.Entity.Position.CopiedIds = append(dealProcessForm.Entity.Position.CopiedIds, int64(createDetail.CopyUsers[i].ID)) // 抄送人 ID + } + dealProcessForm.Entity.Position.Approver = strings.Join(approver, ",") // 审批人 名称 + dealProcessForm.Entity.Position.Copied = strings.Join(copyUsers, ",") // 抄送人 名称 + + for i := 0; i < len(userInfo.PositionUsers); i++ { + if departmentID == int64(userInfo.PositionUsers[i].DepartmentId) { + //dealProcessForm.Entity.Position.ApplierDepartment = userInfo.PositionUsers[i].DepartmentName // 申请人的 部门 + dealProcessForm.Entity.Position.ApplierPosition = userInfo.PositionUsers[i].PositionName // 申请人的 岗位 + } + } + + dealProcessForm.Entity.Position.ApplierDepartment = createDetail.StaffSupply.DepartmentName // 归属部门 + + fmt.Println("++++++++++++++++++++ dealProcessForm =============================") + fmt.Printf("dealProcessForm : %+v\n", dealProcessForm) + fmt.Println("++++++++++++++++++++ dealProcessForm =============================") + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.PostSubmit(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + fmt.Printf("PostSubmit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func passPostApprove(userInfo login.Info, approvalID uint64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Entity = new(recruit.EntityProto) + dealProcessForm.Entity.Detail = new(recruit.DetailProto) + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Type = "post-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "position-pass" + + dealProcessForm.Entity.Detail.Approver = int64(userInfo.ID) + dealProcessForm.Entity.Detail.Result = "通过" + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.PostPass(context.Background(), dealProcessForm) + fmt.Println("++++++++++++++++++++ PostPass =============================") + fmt.Printf("PostPass : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostPass =============================") + if err != nil { + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func rejectPostApprove(userInfo login.Info, approvalID uint64, reason string) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Entity = new(recruit.EntityProto) + dealProcessForm.Entity.Detail = new(recruit.DetailProto) + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Type = "post-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "position-reject" + + dealProcessForm.Entity.Detail.Approver = int64(userInfo.ID) + dealProcessForm.Entity.Detail.Result = "不通过" + dealProcessForm.Entity.Detail.RejectReason = reason + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.PostReject(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + fmt.Printf("PostSubmit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func checkPostApprove(userInfo login.Info, approvalID uint64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Entity = new(recruit.EntityProto) + dealProcessForm.Entity.Copied = new(recruit.CopiedProto) + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Type = "post-approve" // 人才招聘 的 类型 + dealProcessForm.Command = "position-check" + + dealProcessForm.Entity.Copied.Copied = int64(userInfo.ID) + + dealProcessFormResp := new(recruit.ResultVo) + dealProcessFormResp, err = service.GrpcRecruitClientImpl.PostCheck(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + fmt.Printf("PostSubmit : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ PostSubmit =============================") + //service.Error(c, e.Error, errors.New(e.ErrorCreateTalents)) + return errors.New(e.ErrorCreateTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func rollbackPost(userInfo login.Info, approvalID uint64) (err error) { + dealProcessForm := new(recruit.DealProcessProto) + dealProcessForm.Id = int64(approvalID) // 审批申请的ID + dealProcessForm.Command = "position-rollback" + dealProcessForm.Type = "post-approve" // 人才招聘 的 类型 + dealProcessForm.User = &recruit.UserProto{ // 登录用户 + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessFormResp, err := service.GrpcRecruitClientImpl.PostRollback(context.Background(), dealProcessForm) + if err != nil { + fmt.Println("++++++++++++++++++++ Post Rollback =============================") + fmt.Printf("Post Rollback : %+v\n", err) + fmt.Printf("dealProcessFormResp : %+v\n", dealProcessFormResp) + fmt.Println("++++++++++++++++++++ Post Rollback =============================") + //service.Error(c, e.Error, errors.New(e.ErrorRollbackTalents)) + return errors.New(e.ErrorRollbackTalents) + } + return returnRecruitError(dealProcessFormResp) +} + +func returnRecruitError(res *recruit.ResultVo) (err error) { + if res.Code != 0 { + //service.Error(c, e.Error, errors.New(res.Msg)) + return errors.New(res.Msg) + } + return err +} + +func turnoverUpdateAccountEmployee(c *gin.Context, info *api.TurnoverApply) error { + //查询员工档案 + req := &employee.CreateTurnoverRecordRequest{ + ResignationDate: info.LeftTime, + Reason: info.Reason, + Remark: "审批申请离职", + } + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(context.Background(), &employee.QueryBasicInfoAboutEmployeesRequest{ + UserId: []uint64{info.StaffUID}, + }) + if err != nil { + return err + } + if len(infoRes.List) == 0 { + return errors.New("获取用户档案错误") + } + req.EmployeeFileId = infoRes.List[0].EmployeeFileId + userReq := &account.InfoRequest{ + ID: infoRes.List[0].UserId, + } + userInfo, err := service.AccountProvider.Info(context.Background(), userReq) + // 更新用户信息(如果需要) + err = employee1.UpdateUserWorkingCondition(c, userInfo, req) + if err != nil { + return err + } + _, err = service.GrpcEmployeeProvider.CreateTurnoverRecord(c, req) + if err != nil { + return err + } + // 更新年假扣除 + //updateDeductAnnualLeave(info) + //service.Success(c, basicInfo) + return nil +} +func updateDeductAnnualLeaveZeroClearing(info *api.TurnoverApply) { + t, err := time.Parse("2006-01-02", info.LeftTime) + if err != nil { + fmt.Println("解析日期失败:", err) + return + } + year := int32(t.Year()) + _, err = service.GrpcOAImpl.UpdateDeductAnnualLeave(context.Background(), &oa.UpdateDeductAnnualLeaveReq{ + StaffUID: info.StaffUID, + Year: year, + DeductDays: 0, + }) + if err != nil { + return + } +} +func UpdateDeductAnnualLeave(info *api.TurnoverApply, createInfo login.Info) { + t, err := time.Parse("2006-01-02", info.LeftTime) + if err != nil { + fmt.Println("解析日期失败:", err) + return + } + year := int32(t.Year()) + // 计算当年 1 月 1 日至离职日期的天数 + startOfYear := time.Date(int(year), time.January, 1, 0, 0, 0, 0, time.UTC) + daysWorked := int(t.Sub(startOfYear).Hours() / 24) // 只取整数 + userInfo, err := service.GrpcEmployeeProvider.FindEmployeeFileList(context.Background(), &employee.FindEmployeeFileListRequest{ + UserId: createInfo.ID, + }) + if err != nil || len(userInfo.EmployeeFileList) == 0 { + return + } + serviceLength := userInfo.EmployeeFileList[0].ServiceLength + if serviceLength < 1 { + return + } + // 确定年假基数 + var annualLeaveBase int + switch { + case serviceLength >= 20: + annualLeaveBase = 15 + case serviceLength >= 10: + annualLeaveBase = 10 + case serviceLength >= 5: + annualLeaveBase = 7 + default: + annualLeaveBase = 5 + } + // 计算应有年假天数(取整数) + eligibleLeave := (daysWorked * annualLeaveBase) / 365 + + // 计算需扣除的年假天数 + deductDays := int32(annualLeaveBase - eligibleLeave) + _, err = service.GrpcOAImpl.UpdateDeductAnnualLeave(context.Background(), &oa.UpdateDeductAnnualLeaveReq{ + StaffUID: createInfo.ID, + Year: year, + DeductDays: deductDays, + }) + if err != nil { + return + } +} diff --git a/pkg/service/approval/approval_revoke.go b/pkg/service/approval/approval_revoke.go new file mode 100644 index 0000000..6f418f3 --- /dev/null +++ b/pkg/service/approval/approval_revoke.go @@ -0,0 +1,120 @@ +package approval + +import ( + "context" + "errors" + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +// RevokeLeaveApply +// 撤销审批 +// 2024.03.27 添加 画展包审批撤销 +func RevokeAllApproval(c *gin.Context) { + /* + 1、待审批 + 直接取消 + 2、未通过 + 撤销审批 审批人 根据 撤销的审批中的 审批人是否已审批 设置 + 3、通过 + 撤销审批 审批人 为 撤销的审批中的审批人 + */ + revokeReq := new(api.RevokeApprovalReq) + if err := c.ShouldBindBodyWith(&revokeReq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + beforeApproval := QueryApprovalSetStatusBefore(revokeReq.ID) + + // 校验 审批中的 画展包 状态 + if beforeApproval.Type == TypeExhibition { + artShowRevokeReq := new(artShow.RevokeReq) + artShowRevokeReq.ShowUid = make([]string, 0) + + for i := 0; i < len(beforeApproval.Exhibition.ApprovalExhibitions); i++ { + artShowRevokeReq.ShowUid = append(artShowRevokeReq.ShowUid, beforeApproval.Exhibition.ApprovalExhibitions[i].PackageID) + } + + artShowRevokeReq.ApplyUid = beforeApproval.Exhibition.ApplyID + checkArtShowRes, err := service.GrpcArtShowImpl.CheckArtShow(context.Background(), artShowRevokeReq) + if err != nil { + service.Error(c, e.Error, errors.New(e.FailedQueryArtShowInfo)) + return + } + if !checkArtShowRes.CanRevoke { + service.Error(c, e.Error, errors.New(e.ErrorNotAllowedRevokeArtShowApply)) + return + } + } + + if beforeApproval.Type == oa_model.TypeNursingLeaveApply || beforeApproval.Type == oa_model.TypeParentalLeaveApply { + err := CheckLeaveApplyIsUse(beforeApproval) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 审批 撤销 + _, err := service.ApprovalProvider.RevokeMyApproval(context.Background(), revokeReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := new(api.DetailRequest) + detailReq.ID = revokeReq.ID + detailRes, err := service.ApprovalProvider.Detail(context.Background(), detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //撤销后推送给下一个审批人 + err = service.SendAppMessage("审批通知", "您有一条"+detailRes.TypeName+"审批待处理,点击查看详情 >", detailRes.NowUserId, detailRes.ID, "approval") + if err != nil { + fmt.Println("==============APP推送失败=====================") + fmt.Println(err) + } + + if detailRes.Status != e.ApprovalWorkStatusRevoking { + service.Error(c, e.Error, errors.New("撤销失败")) + return + } + + // oa 撤销 + if oa_model.TypeZhCN[detailRes.Type] != "" { + _, err = RevokeOaApproval(detailRes) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包审批撤销 + if detailRes.Type == TypeExhibition { + err = RevokeArtShowApproval(detailRes) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + // 画展包润格审批撤销 + if detailRes.Type == TypeArtExhibitionReward { + err = RevokeRewordApproval(detailRes) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.Success(c) +} diff --git a/pkg/service/approval/approval_type.go b/pkg/service/approval/approval_type.go new file mode 100644 index 0000000..1b8cda5 --- /dev/null +++ b/pkg/service/approval/approval_type.go @@ -0,0 +1,143 @@ +package approval + +import ( + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func CreateType(c *gin.Context) { + var req api.CreateTypeRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err3 := service.ApprovalProvider.CreateType(c, &req) + + if err3 != nil { + service.Error(c, e.Error, err3) + return + } + + service.Success(c, res) +} + +func RemoveType(c *gin.Context) { + var req api.RemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.RemoveType(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DetailType(c *gin.Context) { + var req api.TypeResponse + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.DetailType(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdateType(c *gin.Context) { + var req api.CreateTypeRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("========================== Type =====================") + fmt.Printf("CreateTypeRequest : %+v", req) + fmt.Println("========================== Type =====================") + fmt.Println() + + res, err := service.ApprovalProvider.UpdateType(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func AllGroup(c *gin.Context) { + var req api.CommonRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.AllGroup(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func AllTypeGroup(c *gin.Context) { + var req api.CommonRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + res, err := service.ApprovalProvider.AllType(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func AllType(c *gin.Context) { + var req api.CommonRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.AllType(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GetName(c *gin.Context) { + var req api.GetNameRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.ApprovalProvider.GetName(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/approval/approval_type_new.go b/pkg/service/approval/approval_type_new.go new file mode 100644 index 0000000..e0193fe --- /dev/null +++ b/pkg/service/approval/approval_type_new.go @@ -0,0 +1,263 @@ +package approval + +import ( + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + m "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval/model" + "github.com/getsentry/sentry-go" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "strconv" +) + +// 审批类型版本 +const ( + VersionV1 = 1 // 旧版本 + VersionV2 = 2 // 新版本 +) + +func CreateApprovalType(c *gin.Context) { + var req api.CreateApprovalTypeRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + + req.Operator = userInfo.NickName + + if req.Version == 0 { + req.Version = VersionV2 + } + + res, err3 := service.ApprovalProvider.CreateApprovalType(c, &req) + + if err3 != nil { + service.Error(c, e.Error, err3) + return + } + + service.Success(c, res) +} + +func UpdateApprovalType(c *gin.Context) { + var req api.CreateApprovalTypeRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("========================== Type =====================") + fmt.Printf("CreateApprovalTypeRequest : %+v", req) + fmt.Println("========================== Type =====================") + fmt.Println() + + userInfo := login.GetUserInfoFromC(c) + + req.Operator = userInfo.NickName + + res, err := service.ApprovalProvider.UpdateApprovalType(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func CopyApprovalType(c *gin.Context) { + var req api.CreateApprovalTypeRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("========================== Type =====================") + fmt.Printf("CreateApprovalTypeRequest : %+v", req) + fmt.Println("========================== Type =====================") + fmt.Println() + + userInfo := login.GetUserInfoFromC(c) + + req.Operator = userInfo.NickName + + res, err := service.ApprovalProvider.CopyApprovalType(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdateApprovalTypeStatus(c *gin.Context) { + var req api.UpdateTypeStatusRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("========================== Type =====================") + fmt.Printf("UpdateTypeStatusRequest : %+v", req) + fmt.Println("========================== Type =====================") + fmt.Println() + + res, err := service.ApprovalProvider.UpdateTypeStatus(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ApprovalGroupList(c *gin.Context) { + var req api.ApprovalGroupListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("========================== Type =====================") + fmt.Printf("ApprovalGroupListRequest : %+v", req) + fmt.Println("========================== Type =====================") + fmt.Println() + if req.Domain == "" { + req.Domain = "0" + } + + res, err := service.ApprovalProvider.ApprovalGroupList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //字段国际化 + if len(res.GroupList) > 0 { + lang := c.Request.Header.Get("Accept-Language") + for _, groupOne := range res.GroupList { + //groupOne.Title = m.GetLanguageType(groupOne.Title) + for _, typeOne := range groupOne.List { + typeOne.Title = m.GetLanguageType(lang, typeOne.Title) + + } + + } + } + service.Success(c, res) +} + +func ApprovalTypeList(c *gin.Context) { + var req api.ApprovalTypeListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + if req.Positions == nil || len(req.Positions) < 1 { + req.Positions = make([]*api.ApprovalTypeListRequest_Position, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + req.Positions = append(req.Positions, &api.ApprovalTypeListRequest_Position{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + }) + } + } + + res, err := service.ApprovalProvider.ApprovalTypeList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ApprovalTypeListV3(c *gin.Context) { + var req api.ApprovalTypeListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + req.Domain = "0" + + res, err := service.ApprovalProvider.ApprovalTypeList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + typeList := make([]*api.CreateApprovalTypeRequest, 0) + if len(res.TypeList) > 0 { + for _, typeOne := range res.TypeList { + if m.GetOaType(typeOne.KeyWord) != "" { + typeList = append(typeList, typeOne) + } + } + } + res.TypeList = typeList + + service.Success(c, res) +} + +func CreateApprovalGroup(c *gin.Context) { + var req api.CreateApprovalTypeGroupRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err3 := service.ApprovalProvider.CreateApprovalGroup(c, &req) + + if err3 != nil { + service.Error(c, e.Error, err3) + return + } + + service.Success(c, res) +} + +// OnlyGroupList 只查看分组列表 +func OnlyGroupList(c *gin.Context) { + var req api.ApprovalGroupListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + if req.Domain == "" { + req.Domain = "0" + } + res, err1 := service.ApprovalProvider.OnlyGroupList(c, &req) + + if err1 != nil { + sentry.CaptureException(err1) + service.Error(c, e.Error, err1) + return + } + + service.Success(c, res) +} + +// ApprovalHisTypeList 查询历史审批类型 +func ApprovalHisTypeList(c *gin.Context) { + var req api.ApprovalGroupListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err1 := service.ApprovalProvider.ApprovalHisTypeList(c, &req) + + if err1 != nil { + sentry.CaptureException(err1) + service.Error(c, e.Error, err1) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/approval/chain.go b/pkg/service/approval/chain.go new file mode 100644 index 0000000..67e061a --- /dev/null +++ b/pkg/service/approval/chain.go @@ -0,0 +1,286 @@ +package approval + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + account2 "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/api/chain" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "time" +) + +func StoreBaiduChainApprovalFilePost(c *gin.Context) { + var req approval.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + res := approval.UpdatePromotionReq{} + + detailReq := approval.DetailRequest{ID: req.ID} + detail, err := service.ApprovalProvider.Detail(context.Background(), &detailReq) + if err != nil { + fmt.Println("============= 查询 approval ========== 任命审批 ===============") + fmt.Println("err :", err) + logger.Errorf("查询 approval ========== 任命审批 err %+v\n", err) + fmt.Println("============= 查询 approval ========== 任命审批 ===============") + return + } + + if detail.Promotion == nil { + fmt.Println("============= approval Promotion ========== 任命审批 ===============") + fmt.Printf("detail : %+v \n", detail) + logger.Errorf("approval Promotion ========== 任命审批 detail : %+v \n", detail) + fmt.Println("============= approval Promotion ========== 任命审批 ===============") + return + } + + if detail.Status != e.ApprovalWorkStatusOk { + fmt.Printf("审批尚未通过 approval is %+v\n", detail) + return + } + + // 获取 任命文件 + file := utils.Get(detail.Promotion.FileUrl) + fmt.Println("============= Promotion baidu file ========== 任命审批 ===============") + fmt.Printf("file : %+v \n", file) + fmt.Println("============= Promotion baidu file ========== 任命审批 ===============") + + fileHash := utils.SHA256V([]byte(file)) + fmt.Println("============= Promotion baidu file hash ========== 任命审批 ===============") + fmt.Printf("file hash : %+v \n", fileHash) + fmt.Println("============= Promotion baidu file hash ========== 任命审批 ===============") + + baiduReq := &chain.BaiduReq{ + FileHash: fileHash, + FileName: detail.Promotion.FileName, + } + baiduRes, err := service.ChainProvider.CoBaiduChain(context.Background(), baiduReq) + if err != nil { + fmt.Println("============= Promotion baidu ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf("Promotion baidu ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion baidu ========== 任命审批 ===============") + return + } + + go func(promotionID uint64, requestId string) { + for { + //if requestTimes == 0 { + // return + //} + time.Sleep(30 * time.Second) + queryBaiduChainInfoRes := new(chain.BaiduReqInfoResponse) + baiduReqInfoReq := &chain.BaiduReqInfoRequest{RequestId: requestId} + queryBaiduChainInfoRes, err = service.ChainProvider.BaiduReqInfo(context.Background(), baiduReqInfoReq) + if err != nil { + fmt.Println("============= Promotion baidu res err ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf("Promotion baidu ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion baidu res err ========== 任命审批 ===============") + return + } + //fmt.Println("============= Promotion baidu res 1 ========== 任命审批 ===============") + //fmt.Printf("queryBaiduChainInfores : %+v \n", queryBaiduChainInfoRes) + //logger.Errorf("Promotion baidu res ========== 任命审批 res %+v\n", queryBaiduChainInfoRes) + //fmt.Println("============= Promotion baidu res 1 ========== 任命审批 ===============") + if queryBaiduChainInfoRes.BlockId != "" && queryBaiduChainInfoRes.CertUrl != "" && queryBaiduChainInfoRes.TxId != "" { + fmt.Println("============= Promotion baidu res 2 ========== 任命审批 ===============") + fmt.Printf("queryBaiduChainInfores : %+v \n", queryBaiduChainInfoRes) + logger.Errorf("Promotion baidu res ========== 任命审批 res %+v\n", queryBaiduChainInfoRes) + fmt.Println("============= Promotion baidu res 2 ========== 任命审批 ===============") + updatePromotionReq := &approval.UpdatePromotionReq{ + ID: promotionID, + RequestID: requestId, + TxId: queryBaiduChainInfoRes.TxId, + BlockId: queryBaiduChainInfoRes.BlockId, + BaiduCertUrl: queryBaiduChainInfoRes.CertUrl, + } + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + fmt.Printf("updatePromotionReq : %+v \n", updatePromotionReq) + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + _, err = service.ApprovalProvider.UpdatePromotionChainInfo(context.Background(), updatePromotionReq) + if err != nil { + fmt.Println("============= Promotion update ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" Promotion update ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion update ========== 任命审批 ===============") + } + userInfReq := &account2.InfoRequest{ + ID: detail.Promotion.StaffUID, + } + userInfoRes, err := service.AccountProvider.Info(context.Background(), userInfReq) + if err != nil { + fmt.Println("============= account info ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" account info ========== 任命审批 err %+v\n", err) + fmt.Println("============= account info ========== 任命审批 ===============") + return + } + + msgReq := account2.SendCustomMsgRequest{ + ID: detail.Promotion.StaffUID, + TelNum: userInfoRes.Info.TelNum, + Url: updatePromotionReq.BaiduCertUrl, + MId: 148561, + SigNo: uint32(config.DefaultSignNo), + } + fmt.Println("发送短信", msgReq) + mres, err := service.AccountProvider.SendCustomMsg(context.Background(), &msgReq) + fmt.Println("发送短信返回", mres, err) + return + } + } + + }(detail.Promotion.ID, baiduRes.RequestId) + + service.Success(c, res) +} + +func SendSmsMsg(c *gin.Context) { + msgReq := account2.SendCustomMsgRequest{ + TelNum: "13030633957", + Url: "https://xchain-image-res.bj.bcebos.com/saas_cert/20230830/c9adf6703104c028d78d1b455a2981a6.pdf?authorization=bce-auth-v1%2F162f503d1eaa4d62b5328bf114a62ff6%2F2023-08-30T14%3A08%3A36Z%2F-1%2Fhost%2F7eb2d5c5e8967469e5007fb93e3b1b776408ddf648ecabd3a3914c07a4d0c940", + MId: 148561, + SigNo: uint32(config.DefaultSignNo), + } + fmt.Println("发送短信", msgReq) + mres, err := service.AccountProvider.SendCustomMsg(context.Background(), &msgReq) + fmt.Println("发送短信返回", mres, err) + + if err != nil { + msgReq.Url = "https://xchain-image-res.bj.bcebos.com/saas_cert/20230830/c9adf6703104c028d78d1b455a2981a6.pdf" + } + mres, err = service.AccountProvider.SendCustomMsg(context.Background(), &msgReq) + fmt.Println("发送短信返回", mres, err) +} + +func StoreBaiduChainApprovalFile(approvalID uint64) { + + detailReq := approval.DetailRequest{ID: approvalID} + detail, err := service.ApprovalProvider.Detail(context.Background(), &detailReq) + if err != nil { + fmt.Println("============= 查询 approval ========== 任命审批 ===============") + fmt.Println("err :", err) + logger.Errorf("查询 approval ========== 任命审批 err %+v\n", err) + fmt.Println("============= 查询 approval ========== 任命审批 ===============") + return + } + + if detail.Promotion == nil { + fmt.Println("============= approval Promotion ========== 任命审批 ===============") + fmt.Printf("detail : %+v \n", detail) + logger.Errorf("approval Promotion ========== 任命审批 detail : %+v \n", detail) + fmt.Println("============= approval Promotion ========== 任命审批 ===============") + return + } + + if detail.Status != e.ApprovalWorkStatusOk { + fmt.Printf("审批尚未通过 approval is %+v\n", detail) + return + } + + // 获取 任命文件 + file := utils.Get(detail.Promotion.FileUrl) + + fileHash := utils.SHA256V([]byte(file)) + + baiduReq := &chain.BaiduReq{ + FileHash: fileHash, + FileName: detail.Promotion.FileName, + } + baiduRes, err := service.ChainProvider.CoBaiduChain(context.Background(), baiduReq) + if err != nil { + fmt.Println("============= Promotion baidu ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf("Promotion baidu ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion baidu ========== 任命审批 ===============") + return + } + + go func(promotion *approval.Promotion, requestId string) { + for { + //if requestTimes == 0 { + // return + //} + time.Sleep(30 * time.Second) + queryBaiduChainInfoRes := new(chain.BaiduReqInfoResponse) + baiduReqInfoReq := &chain.BaiduReqInfoRequest{RequestId: requestId} + queryBaiduChainInfoRes, err = service.ChainProvider.BaiduReqInfo(context.Background(), baiduReqInfoReq) + if err != nil { + fmt.Println("============= Promotion baidu res err ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf("Promotion baidu ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion baidu res err ========== 任命审批 ===============") + return + } + //fmt.Println("============= Promotion baidu res 1 ========== 任命审批 ===============") + //fmt.Printf("queryBaiduChainInfores : %+v \n", queryBaiduChainInfoRes) + //logger.Errorf("Promotion baidu res ========== 任命审批 res %+v\n", queryBaiduChainInfoRes) + //fmt.Println("============= Promotion baidu res 1 ========== 任命审批 ===============") + if queryBaiduChainInfoRes.BlockId != "" && queryBaiduChainInfoRes.CertUrl != "" && queryBaiduChainInfoRes.TxId != "" { + fmt.Println("============= Promotion baidu res 2 ========== 任命审批 ===============") + fmt.Printf("queryBaiduChainInfores : %+v \n", queryBaiduChainInfoRes) + logger.Errorf("Promotion baidu res ========== 任命审批 res %+v\n", queryBaiduChainInfoRes) + fmt.Println("============= Promotion baidu res 2 ========== 任命审批 ===============") + updatePromotionReq := &approval.UpdatePromotionReq{ + ID: promotion.ID, + RequestID: requestId, + TxId: queryBaiduChainInfoRes.TxId, + BlockId: queryBaiduChainInfoRes.BlockId, + BaiduCertUrl: queryBaiduChainInfoRes.CertUrl, + } + userInfReq := &account2.InfoRequest{ + ID: detail.Promotion.StaffUID, + } + userInfoRes, err := service.AccountProvider.Info(context.Background(), userInfReq) + if err != nil { + fmt.Println("============= account info ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" account info ========== 任命审批 err %+v\n", err) + fmt.Println("============= account info ========== 任命审批 ===============") + return + } + + effectiveTime, _ := time.ParseInLocation("2006-01-02", promotion.EffectiveTime, time.Local) + nowTime, _ := time.ParseInLocation("2006-01-02", time.Now().Format("2006-01-02"), time.Local) + if !effectiveTime.After(nowTime) { + msgReq := account2.SendCustomMsgRequest{ + ID: detail.Promotion.StaffUID, + TelNum: userInfoRes.Info.TelNum, + Url: updatePromotionReq.BaiduCertUrl, + MId: 148561, + SigNo: uint32(config.DefaultSignNo), + } + fmt.Println("发送短信", msgReq) + mres, err := service.AccountProvider.SendCustomMsg(context.Background(), &msgReq) + fmt.Println("发送短信返回", mres, err) + if err == nil { // 短信发送成功 + updatePromotionReq.IsSend = e.SendPromotionMsgSuccess + } + } + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + fmt.Printf("updatePromotionReq : %+v \n", updatePromotionReq) + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + _, err = service.ApprovalProvider.UpdatePromotionChainInfo(context.Background(), updatePromotionReq) + if err != nil { + fmt.Println("============= Promotion update ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" Promotion update ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion update ========== 任命审批 ===============") + } + return + } + } + + }(detail.Promotion, baiduRes.RequestId) + + return +} diff --git a/pkg/service/approval/entertainment.go b/pkg/service/approval/entertainment.go new file mode 100644 index 0000000..dde2a21 --- /dev/null +++ b/pkg/service/approval/entertainment.go @@ -0,0 +1,71 @@ +// Package approval ----------------------------- +// @file : entertainment.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/3/7 16:17 +// ------------------------------------------- +package approval + +func EntertainmentSetDefaultValue(showUids ...string) error { + //现在又不需要修改默认值了 + return nil + //if len(showUids) == 0 { + // return nil + //} + //fmt.Println("EntertainmentSetDefaultValue-----1") + //entRes, err := service.GrpcArtShowImpl.GetArtistEntertainmentList(context.Background(), &artShow.GetArtistEntertainmentListRequest{Page: 1, PageSize: -1, ShowUids: showUids}) + //if err != nil { + // return err + //} + //fmt.Println("EntertainmentSetDefaultValue-----2") + //if entRes.Total == 0 { + // return nil + //} + //letterRes, err := service.GrpcArtistImpl.GetInvitationLetterList(context.Background(), &artist.GetInvitationLetterListRequest{ + // ShowUids: showUids, + // PageSize: -1, + // Page: 1, + //}) + //fmt.Println("EntertainmentSetDefaultValue-----3") + //if err != nil { + // return err + //} + //fmt.Println("EntertainmentSetDefaultValue-----4") + //if letterRes.Total == 0 { + // return nil + //} + //fmt.Println("EntertainmentSetDefaultValue-----5") + //for _, ent := range entRes.List { + // for _, letter := range letterRes.List { + // if ent.ShowUID == letter.ShowUid { + // fmt.Println("ent.ShowUID:", ent.ShowUID) + // fmt.Println("letter.Uuid:", letter.Uuid) + // fmt.Println("ent.UUID:", ent.UUID) + // travelRes, errs := service.GrpcArtistImpl.GetInvitationLetterDetail(context.Background(), &artist.GetInvitationLetterDetailReq{LetterUid: letter.Uuid}) + // if errs != nil { + // zap.L().Error("EntertainmentSetDefaultValue:GetInvitationLetterList Err", zap.Error(err)) + // break + // } + // updateData := &artShow.ArtistEntertainment{ + // UUID: ent.UUID, + // ArrivalDate: travelRes.ArrivalDate, + // ArrivalTime: travelRes.ArrivalTime, + // TrainNum: travelRes.TrainNumber, + // ArrivalAddress: travelRes.Address, + // Agent: travelRes.InviterName, + // Address: letter.Address, + // UpdatedBy: "artist", + // } + // fmt.Printf("EntertainmentSetDefaultValue-----6 updateData:%+v\n", updateData) + // _, err = service.GrpcArtShowImpl.UpdateArtistEntertainment(context.Background(), updateData) + // if errs != nil { + // fmt.Println("EntertainmentSetDefaultValue-----6.1 err", err.Error()) + // zap.L().Error("EntertainmentSetDefaultValue:UpdateArtistEntertainment Err", zap.Error(err)) + // break + // } + // fmt.Println("EntertainmentSetDefaultValue-----7") + // } + // } + //} + //return nil +} diff --git a/pkg/service/approval/model/oa_type.go b/pkg/service/approval/model/oa_type.go new file mode 100644 index 0000000..c700607 --- /dev/null +++ b/pkg/service/approval/model/oa_type.go @@ -0,0 +1,283 @@ +package model + +// 或签 会签 +const ( + AndSignType = "AND" + OrSignType = "OR" + ErrorSignType = "签核类型错误" +) + +var OaTypeMap = map[string]string{ + "leave": "leave", // 事假 + "sick": "leave", // 病假 + "annualLeave": "leave", // 年假 + "dayOff": "leave", // 调休 + "maritalLeave": "leave", // 婚假 + "matingCheckLeave": "leave", // 孕检假 + "maternityLeave": "leave", // 产假 + "paternityLeave": "leave", // 陪产假 + "parentalLeave": "leave", // 育儿假 + "nursingLeave": "leave", // 独生子女护理假 + "funeralLeave": "leave", // 丧假 + "abortLeave": "leave", // 流产假 + "breastFeedingLeave": "leave", // 哺乳假 + + "makeUp": "makeUp", // 补卡 + "overTime": "overTime", // 加班 + "outWork": "outWork", // 外勤 + "handover": "handover", // 离职 + "handover-1": "handover", // 离职 + "handover-2": "handover", // 离职 + "handover-3": "handover", // 离职 + "handover-4": "handover", // 离职 + "handover-5": "handover", // 离职 + "handover-6": "handover", // 离职 + "handover-7": "handover", // 离职 + "handover-8": "handover", // 离职 + "handover-9": "handover", // 离职 + "handover-10": "handover", // 离职 + "handover-11": "handover", // 离职 + "handover-12": "handover", // 离职 + "handover-13": "handover", // 离职 + "handover-14": "handover", // 离职 + "handover-15": "handover", // 离职 + "handover-16": "handover", // 离职 + "handover-17": "handover", // 离职 + "handover-18": "handover", // 离职 + "handover-19": "handover", // 离职 + "handover-20": "handover", // 离职 + "handover-21": "handover", // 离职 + "handover-22": "handover", // 离职 + "handover-23": "handover", // 离职 + "handover-24": "handover", // 离职 + "handover-25": "handover", // 离职 + "handover-26": "handover", // 离职 + "handover-27": "handover", // 离职 + "handover-28": "handover", // 离职 + "handover-29": "handover", // 离职 + "handover-30": "handover", // 离职 + "handover-31": "handover", // 离职 + "handover-32": "handover", // 离职 + "handover-33": "handover", // 离职 + "handover-34": "handover", // 离职 + "handover-35": "handover", // 离职 + "handover-36": "handover", // 离职 + "handover-37": "handover", // 离职 + "handover-38": "handover", // 离职 + "handover-39": "handover", // 离职 + "handover-40": "handover", // 离职 + "handover-41": "handover", // 离职 + "handover-42": "handover", // 离职 + "handover-43": "handover", // 离职 + "handover-44": "handover", // 离职 + "handover-45": "handover", // 离职 + "handover-46": "handover", // 离职 + "handover-47": "handover", // 离职 + "handover-48": "handover", // 离职 + "handover-49": "handover", // 离职 + "handover-50": "handover", // 离职 + "handover-51": "handover", // 离职 + "handover-52": "handover", // 离职 + "handover-53": "handover", // 离职 + "turnover": "turnover", // 离职 + "turnover-1": "turnover", // 离职 + "turnover-2": "turnover", // 离职 + "turnover-3": "turnover", // 离职 + "turnover-4": "turnover", // 离职 + "turnover-5": "turnover", // 离职 + "turnover-6": "turnover", // 离职 + "turnover-7": "turnover", // 离职 + "turnover-8": "turnover", // 离职 + "turnover-9": "turnover", // 离职 + "turnover-10": "turnover", // 离职 + "turnover-11": "turnover", // 离职 + "turnover-12": "turnover", // 离职 + "turnover-13": "turnover", // 离职 + "turnover-14": "turnover", // 离职 + "turnover-15": "turnover", // 离职 + "turnover-16": "turnover", // 离职 + "turnover-17": "turnover", // 离职 + "turnover-18": "turnover", // 离职 + "turnover-19": "turnover", // 离职 + "turnover-20": "turnover", // 离职 + "turnover-21": "turnover", // 离职 + "turnover-22": "turnover", // 离职 + "turnover-23": "turnover", // 离职 + "turnover-24": "turnover", // 离职 + "turnover-25": "turnover", // 离职 + "turnover-26": "turnover", // 离职 + "turnover-27": "turnover", // 离职 + "turnover-28": "turnover", // 离职 + "turnover-29": "turnover", // 离职 + "turnover-30": "turnover", // 离职 + "turnover-31": "turnover", // 离职 + "turnover-32": "turnover", // 离职 + "turnover-33": "turnover", // 离职 + "turnover-34": "turnover", // 离职 + "turnover-35": "turnover", // 离职 + "turnover-36": "turnover", // 离职 + "turnover-37": "turnover", // 离职 + "turnover-38": "turnover", // 离职 + "turnover-39": "turnover", // 离职 + "turnover-40": "turnover", // 离职 + "turnover-41": "turnover", // 离职 + "turnover-42": "turnover", // 离职 + "turnover-43": "turnover", // 离职 + "turnover-44": "turnover", // 离职 + "turnover-45": "turnover", // 离职 + "turnover-46": "turnover", // 离职 + "turnover-47": "turnover", // 离职 + "turnover-48": "turnover", // 离职 + "turnover-49": "turnover", // 离职 + "turnover-50": "turnover", // 离职 + "turnover-51": "turnover", // 离职 + "turnover-52": "turnover", // 离职 + "turnover-53": "turnover", // 离职 + "businessTrip": "businessTrip", // 出差 + "goOut": "goOut", // 外出 + + "annualLeaveApply": "leaveApply", // 年假申请 + "maritalLeaveApply": "leaveApply", // 婚假申请 + "matingCheckLeaveApply": "leaveApply", // 孕检假申请 + "maternityLeaveApply": "leaveApply", // 产假申请 + "paternityLeaveApply": "leaveApply", // 陪产假申请 + "parentalLeaveApply": "leaveApply", // 育儿假申请 + "nursingLeaveApply": "leaveApply", // 独生子女护理假申请 + "funeralLeaveApply": "leaveApply", // 丧假申请 +} + +var EnglishMap = map[string]string{ + "普通审批": "General approval", + "画作申请审批": "Approval of the painting application", + "画展包审批": "Approval of the exhibition package", + "画展包数量审批": "Approval of the number of painting packages", + "画展审批": "Approval of art exhibitions", + "画展包付款单申请": "Application for payment slip for exhibition package", + "画作润格审批": "Painting Runge Approval", + "画展包修改审批": "Approval of modification of the exhibition package", + "任命审批": "Appointment approval", + "人员增补申请": "Personnel Supplement Request", + "录用申请": "Job application", + "签到申请": "Check-in application", + "退回审批": "Return for approval", + "特殊画展包生成审批": "Approval of special painting package generation", + + "事假": "Leave", // 事假 + "病假": "sick leave", // 病假 + "年假": "annual leave", // 年假 + "调休": "Compensatory leave", // 调休 + "婚假": "Marriage leave", // 婚假 + "孕检假": "Pregnancy test leave", // 孕检假 + "产假": "maternity leave", // 产假 + "陪产假": "Paternity leave", // 陪产假 + "育儿假": "Parental leave", // 育儿假 + "独生子女护理假": "Nursing leave for an only child", // 独生子女护理假 + "丧假": "Bereavement leave", // 丧假 + "流产假": "Miscarriage leave", // 流产假 + "哺乳假": "Breastfeeding leave", // 哺乳假 + + "补卡": "makeUp", // 补卡 + "加班": "overtime", // 加班 + "外勤": "out work", // 外勤 + "离职申请": "Resignation application", // 离职 + "离职交接": "Separation handover", // 离职交接 + "出差": "business trip", // 出差 + "外出": "Out", // 外出 + + "育儿假额度申请": "parentalLeaveApply", // 育儿假申请 + "独生子女护理假申请": "nursingLeaveApply", // 独生子女护理假申请 + "岗位申请": "employ application", //岗位申请 + "上午": "AM", + "下午": "PM", + "开始时间不应晚于结束时间": "The start time should not be later than the end time", + "未申请假期余额": "Leave balance is not requested", + "请填写完整信息": "Please fill in the complete information", + "所选时间段已有申请": "There is already an application for the selected time period", + "请填写撤销理由": "Please fill in the reason for withdrawal", + "您今天已经对该审批人同类的审批发送过短信!": "You've already sent an SMS message today for an approval of the same type as that approver", + "当前状态无法修改": "The current status cannot be modified", + "请假时长超出范围": "The length of the leave is out of range", + "该请假类型申请时间不在本年度": "This leave type is not available in the current year", + "假期余额不足": "Insufficient leave balance", + "该请假类型申请时间不在本月": "This leave type is not available in this month", + "离职申请未完成": "The resignation application is not complete", + "用户已提交过离职申请": "The user has submitted a resignation request", + "用户已提交过离职交接": "The user has submitted an off-boarding handover", + "该工号已存在": "The job number already exists", + "考勤规则查询错误": "Attendance rule query error", +} + +var ChineseTraditionalMap = map[string]string{ + "普通审批": "普通審批", + "画作申请审批": "畫作申請審批", + "画展包审批": "畫展包審批", + "画展包数量审批": "畫展包數量審批", + "画展审批": "畫展審批", + "画展包付款单申请": "畫展包付款單申請", + "画作润格审批": "畫作潤格審批", + "画展包修改审批": "畫展包修改審批", + "任命审批": "任命審批", + "人员增补申请": "人員增補申請", + "录用申请": "錄用申請", + "签到申请": "簽到申請", + "退回审批": "退回審批", + "特殊画展包生成审批": "特殊畫展包生成審批", + + "事假": "事假", // 事假 + "病假": "病假", // 病假 + "年假": "年假", // 年假 + "调休": "調休", // 调休 + "婚假": "婚假", // 婚假 + "孕检假": "孕檢假", // 孕检假 + "产假": "產假", // 产假 + "陪产假": "陪產假", // 陪产假 + "育儿假": "育兒假", // 育儿假 + "独生子女护理假": "獨生子女護理假", // 独生子女护理假 + "丧假": "喪假", // 丧假 + "流产假": "流產假", // 流产假 + "哺乳假": "哺乳假", // 哺乳假 + + "补卡": "補卡", // 补卡 + "加班": "加班", // 加班 + "外勤": "外勤", // 外勤 + "离职申请": "離職申請", // 离职 + "离职交接": "離職交接", // 离职交接 + "出差": "出差", // 出差 + "外出": "外出", // 外出 + + "育儿假额度申请": "育兒假額度申請", // 育儿假申请 + "独生子女护理假申请": "獨生子女護理假申請", // 独生子女护理假申请 + "岗位申请": "崗位申請", //岗位申请 + "上午": "上午", + "下午": "下午", + "开始时间不应晚于结束时间": "開始時間不應晚於結束時間", + "未申请假期余额": "未申請假期餘額", + "请填写完整信息": "請填寫完整資訊", + "所选时间段已有申请": "所選時間段已有申請", + "请填写撤销理由": "請填寫撤銷理由", + "您今天已经对该审批人同类的审批发送过短信!": "您今天已經對該審批人同類的審批發送過簡訊", + "当前状态无法修改": "當前狀態無法修改", + "请假时长超出范围": "請假時長超出範圍", + "该请假类型申请时间不在本年度": "該請假類型申請時間不在本年度", + "假期余额不足": "假期餘額不足", + "该请假类型申请时间不在本月": "該請假類型申請時間不在本月", + "离职申请未完成": "離職申請未完成", + "用户已提交过离职申请": "使用者已提交過離職申請", + "用户已提交过离职交接": "使用者已提交過離職交接", + "该工号已存在": "該工號已存在", + "考勤规则查询错误": "考勤规则查询错误", +} + +func GetOaType(k string) string { + return OaTypeMap[k] +} + +func GetLanguageType(lang string, k string) string { + if lang == "EN" && EnglishMap[k] != "" { + return EnglishMap[k] + } else if lang == "ZhTW" && ChineseTraditionalMap[k] != "" { + return ChineseTraditionalMap[k] + } else { + return k + } +} diff --git a/pkg/service/approval/model/ret_approval.go b/pkg/service/approval/model/ret_approval.go new file mode 100644 index 0000000..1abff39 --- /dev/null +++ b/pkg/service/approval/model/ret_approval.go @@ -0,0 +1,244 @@ +package model + +import "github.com/fonchain_enterprise/fonchain-main/api/approval" + +type CategoryApproval struct { + Claims int64 `json:"claims"` // 报销 + ClaimsApply []*approval.CreateRequest `json:"claimsApply"` + Payments int64 `json:"payments"` // 付款 + PaymentsApply []*approval.CreateRequest `json:"paymentsApply"` + Deployment int64 `json:"deployment"` // 调画 + DeploymentApply []*approval.CreateRequest `json:"deploymentApply"` + Contract int64 `json:"contract"` // 合同 + ContractApply []*approval.CreateRequest `json:"contractApply"` + Seal int64 `json:"seal"` // 印章 + SealApply []*approval.CreateRequest `json:"sealApply"` + Oa int64 `json:"oa"` // 出差加班 + OaApply []*approval.CreateRequest `json:"oaApply"` + Other int64 `json:"other"` // 其他 + OtherApply []*approval.CreateRequest `json:"otherApply"` +} + +type RetApproval struct { + Count uint64 `json:"Count"` + Data *CategoryApproval `json:"data"` +} + +var ProdClaims = map[string]string{ + "7880ed64": "7880ed64", + "6f0dc8c8": "6f0dc8c8", + "d99fac96": "d99fac96", + "3fa030d1": "3fa030d1", + "d250ef6d": "d250ef6d", + "0ff27792": "0ff27792", + "600d3fa3": "600d3fa3", + "fcd86f60": "fcd86f60", + "3b57cad6": "3b57cad6", + "6fac2332": "6fac2332", + "2fd84331": "2fd84331", + "4f1fab18": "4f1fab18", + "ed81d85e": "ed81d85e", + "6725c6bb": "6725c6bb", + "ff114fae": "ff114fae", + "8c4c9371": "8c4c9371", + "62d33d01": "62d33d01", + "650bff15": "650bff15", + "08fe9dbe": "08fe9dbe", + "5168c89e": "5168c89e", + "351c3ca4": "351c3ca4", + "1ac27c2d": "1ac27c2d", + "1f2a2047": "1f2a2047", +} + +var DevClaims = map[string]string{ + "6fac2332": "6fac2332", + "7880ed64": "7880ed64", + "6f0dc8c8": "6f0dc8c8", + "d99fac96": "d99fac96", + "3fa030d1": "3fa030d1", + "d250ef6d": "d250ef6d", + "0ff27792": "0ff27792", + "600d3fa3": "600d3fa3", + "fcd86f60": "fcd86f60", + "2fd84331": "2fd84331", + "3b57cad6": "3b57cad6", +} + +var ProdPayments = map[string]string{ + "2a207221": "2a207221", + "1b613bdd": "1b613bdd", + "d4c362fa": "d4c362fa", + "e8dfd209": "e8dfd209", + "54525653": "54525653", + "382782be": "382782be", + "72122458": "72122458", + "41235fad": "41235fad", + "0bf380b1": "0bf380b1", + "661495fe": "661495fe", + "bfd6ef80": "bfd6ef80", + "7c77767b": "7c77767b", + "d4536aec": "d4536aec", + "5ba777b8": "5ba777b8", + "60d8eb05": "60d8eb05", + "c09d9a02": "c09d9a02", + "43e105c0": "43e105c0", + "2b77eb4c": "2b77eb4c", + "4e37b17c": "4e37b17c", + "a47df533": "a47df533", + "f0586dc4": "f0586dc4", + "d05908fb": "d05908fb", + "3a7d4520": "3a7d4520", + "c83ea9fe": "c83ea9fe", + "8e71ccce": "8e71ccce", + "2fd661d0": "2fd661d0", + "256ae8f1": "256ae8f1", + "101e9b20": "101e9b20", + "209f5151": "209f5151", + "6ed358c8": "6ed358c8", + "6300fd79": "6300fd79", + "27e71210": "27e71210", +} + +var DevPayments = map[string]string{ + "bfd6ef80": "bfd6ef80", + "2a207221": "2a207221", + "1b613bdd": "1b613bdd", + "d4c362fa": "d4c362fa", + "e8dfd209": "e8dfd209", + "54525653": "54525653", + "382782be": "382782be", + "72122458": "72122458", + "41235fad": "41235fad", + "7c77767b": "7c77767b", + "d4536aec": "d4536aec", + "661495fe": "661495fe", + "0bf380b1": "0bf380b1", + "370ac449": "370ac449", +} + +var ProdDeployment = map[string]string{ + "265aa6dd": "265aa6dd", + "8998ce5e": "8998ce5e", +} + +var DevDeployment = map[string]string{ + "265aa6dd": "265aa6dd", +} + +var ProdContract = map[string]string{ + "a10d8fee": "a10d8fee", + "a7663f79": "a7663f79", + "72c2ce03": "72c2ce03", + "4a92fe14": "4a92fe14", + "739e4e3a": "739e4e3a", + "399e9e95": "399e9e95", + "a2925cc7": "a2925cc7", + "6a06968d": "6a06968d", + "396e0a59": "396e0a59", + "82c71862": "82c71862", + "edb019cb": "edb019cb", + "46bf8f2c": "46bf8f2c", + "990c36f5": "990c36f5", + "76d2fac6": "76d2fac6", + "437e5ec5": "437e5ec5", + "52d5de10": "52d5de10", + "ac0f370e": "ac0f370e", + "7fbf19b5": "7fbf19b5", + "b7b3cdd7": "b7b3cdd7", + "a278a88a": "a278a88a", + "f8724a79": "f8724a79", +} + +var DevContract = map[string]string{ + "399e9e95": "399e9e95", + "a10d8fee": "a10d8fee", + "72c2ce03": "72c2ce03", + "4a92fe14": "4a92fe14", + "739e4e3a": "739e4e3a", + "a2925cc7": "a2925cc7", +} + +var ProdSeal = map[string]string{ + "810fa4b4": "810fa4b4", + "6dedb521": "6dedb521", + "1968be97": "1968be97", + "0524d4f7": "0524d4f7", + "040ce916": "040ce916", + "67099b5d": "67099b5d", + "ee995df9": "ee995df9", + "8b9b1f56": "8b9b1f56", + "ee568718": "ee568718", + "277722bd": "277722bd", + "40b2f23c": "40b2f23c", + "0a282057": "0a282057", + "bf9d72ce": "bf9d72ce", + "0a52d98a": "0a52d98a", + "1a9f1006": "1a9f1006", + "8448abb6": "8448abb6", + "1b24fa1e": "1b24fa1e", + "604fae3d": "604fae3d", + "115fe48e": "115fe48e", + "964c7324": "964c7324", + "ae8f15cd": "ae8f15cd", + "25b404b3": "25b404b3", + "83fdf911": "83fdf911", + "fa404bb5": "fa404bb5", + "403aadaf": "403aadaf", + "86fe5b48": "86fe5b48", + "2c4bdfe8": "2c4bdfe8", + "97ab1077": "97ab1077", + "fbbc78d5": "fbbc78d5", + "fa67b48a": "fa67b48a", + "76ea09ce": "76ea09ce", + "932d1703": "932d1703", + "2a002df2": "2a002df2", + "c534fad1": "c534fad1", + "f72fb5aa": "f72fb5aa", + "087ea575": "087ea575", + "2cad0639": "2cad0639", + "5eb629a4": "5eb629a4", + "8d06f1c2": "8d06f1c2", + "4ca21fc6": "4ca21fc6", + "23cb85b4": "23cb85b4", + "fe504695": "fe504695", + "8533c8e4": "8533c8e4", + "b079f074": "b079f074", + "1be8a55e": "1be8a55e", + "3d947038": "3d947038", + "aaae1f33": "aaae1f33", +} + +var DevSeal = map[string]string{ + "277722bd": "277722bd", + "810fa4b4": "810fa4b4", + "6dedb521": "6dedb521", + "1968be97": "1968be97", + "0524d4f7": "0524d4f7", + "040ce916": "040ce916", + "67099b5d": "67099b5d", + "ee995df9": "ee995df9", + "8b9b1f56": "8b9b1f56", + "40b2f23c": "40b2f23c", + "ee568718": "ee568718", + "c534fad1": "c534fad1", + "fa404bb5": "fa404bb5", + "403aadaf": "403aadaf", + "86fe5b48": "86fe5b48", + "97ab1077": "97ab1077", + "fbbc78d5": "fbbc78d5", + "fa67b48a": "fa67b48a", + "76ea09ce": "76ea09ce", + "932d1703": "932d1703", + "f72fb5aa": "f72fb5aa", + "2a002df2": "2a002df2", +} + +var ProdOA = map[string]string{ + "businessTrip": "businessTrip", + "overTime": "overTime", +} + +var DevOA = map[string]string{ + "businessTrip": "businessTrip", + "overTime": "overTime", +} diff --git a/pkg/service/approval/position_approvals.go b/pkg/service/approval/position_approvals.go new file mode 100644 index 0000000..3c8c31f --- /dev/null +++ b/pkg/service/approval/position_approvals.go @@ -0,0 +1,44 @@ +package approval + +import ( + "context" + "encoding/json" + "errors" + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "strings" +) + +func processPositionApprovals(detail *api.CreateRequest) error { + type Position struct { + DepartmentID uint64 `json:"DepartmentID"` + DepartmentName string `json:"DepartmentName"` + PositionName string `json:"PositionName"` + } + var positionData Position + for _, approval := range detail.CustomizeInfo { + if strings.Contains(approval.ApprovalType, "position") { + fmt.Println("ApprovalValue:", approval.ApprovalValue) + err := json.Unmarshal([]byte(approval.ApprovalValue), &positionData) + if err != nil { + fmt.Println("Error decoding JSON:", err) + return errors.New("json转换失败") + } + fmt.Printf("Parsed data: %+v\n", positionData) + _, err = service.PositionProvider.Create(context.Background(), &position.CreateRequest{ + Name: positionData.PositionName, + DepartmentID: positionData.DepartmentID, + Domain: "fontree", + Color: "#000", + }) + if err != nil { + fmt.Println("Error creating position:", err) + return errors.New("岗位创建失败:") + } + } + continue + } + return nil +} diff --git a/pkg/service/approval_cron.go b/pkg/service/approval_cron.go new file mode 100644 index 0000000..02605ca --- /dev/null +++ b/pkg/service/approval_cron.go @@ -0,0 +1,163 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + account2 "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/gin-gonic/gin" + "time" +) + +const ( + TypePromotion = "promotion" +) + +func SendPromotionMsg() { + // 查询 未发送短信 且 已上链完成的 任命审批 + listReq := new(approval.ListRequest) + listReq.EffectiveTime = time.Now().Format("2006-01-02") + listReq.Status = e.ApprovalWorkStatusOk + listReq.Type = TypePromotion + + list, err := ApprovalProvider.ApprovalList(context.Background(), listReq) + if err != nil { + logger.Error("查询任命审批信息 ApprovalList err", err.Error()) + return + } + if list.Count == 0 && len(list.Data) == 0 { + return + } + + for i := 0; i < len(list.Data); i++ { + if list.Data[i].Promotion == nil { + continue + } + if list.Data[i].Promotion.IsSend == e.SendPromotionMsgSuccess { + continue + } + if list.Data[i].Promotion.BaiduCertUrl == "" { + continue + } + userInfReq := &account2.InfoRequest{ + ID: list.Data[i].Promotion.StaffUID, + } + userInfoRes, err := AccountProvider.Info(context.Background(), userInfReq) + if err != nil { + fmt.Println("============= account info ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" account info ========== 任命审批 err %+v\n", err) + fmt.Println("============= account info ========== 任命审批 ===============") + return + } + + updatePromotionReq := &approval.UpdatePromotionReq{ + ID: list.Data[i].Promotion.ID, + } + + msgReq := account2.SendCustomMsgRequest{ + ID: list.Data[i].Promotion.StaffUID, + TelNum: userInfoRes.Info.TelNum, + Url: list.Data[i].Promotion.BaiduCertUrl, + MId: 148561, + SigNo: uint32(config.DefaultSignNo), + } + + fmt.Println("发送短信", msgReq) + mres, err := AccountProvider.SendCustomMsg(context.Background(), &msgReq) + fmt.Println("发送短信返回", mres, err) + if err == nil { // 短信发送成功 + updatePromotionReq.IsSend = e.SendPromotionMsgSuccess + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + fmt.Printf("updatePromotionReq : %+v \n", updatePromotionReq) + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + _, err = ApprovalProvider.UpdatePromotionChainInfo(context.Background(), updatePromotionReq) + if err != nil { + fmt.Println("============= Promotion update ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" Promotion update ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion update ========== 任命审批 ===============") + } + } + } + +} + +func SendPromotionMsgPost(c *gin.Context) { + // 查询 未发送短信 且 已上链完成的 任命审批 + listReq := new(approval.ListRequest) + listReq.EffectiveTime = time.Now().Format("2006-01-02") + listReq.Status = e.ApprovalWorkStatusOk + listReq.Type = TypePromotion + + list, err := ApprovalProvider.ApprovalList(context.Background(), listReq) + if err != nil { + logger.Error("查询任命审批信息 ApprovalList err", err.Error()) + return + } + if list.Count == 0 && len(list.Data) == 0 { + return + } + + fmt.Println("================================= ApprovalList +++++++++++++++++++++++++++++") + for i := 0; i < len(list.Data); i++ { + fmt.Printf("%+v\n", list.Data[i].Promotion) + } + fmt.Println("================================= ApprovalList +++++++++++++++++++++++++++++") + + for i := 0; i < len(list.Data); i++ { + if list.Data[i].Promotion == nil { + continue + } + if list.Data[i].Promotion.IsSend == e.SendPromotionMsgSuccess { + continue + } + if list.Data[i].Promotion.BaiduCertUrl == "" { + continue + } + userInfReq := &account2.InfoRequest{ + ID: list.Data[i].Promotion.StaffUID, + } + userInfoRes, err := AccountProvider.Info(context.Background(), userInfReq) + if err != nil { + fmt.Println("============= account info ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" account info ========== 任命审批 err %+v\n", err) + fmt.Println("============= account info ========== 任命审批 ===============") + return + } + + updatePromotionReq := &approval.UpdatePromotionReq{ + ID: list.Data[i].Promotion.ID, + } + + msgReq := account2.SendCustomMsgRequest{ + ID: list.Data[i].Promotion.StaffUID, + TelNum: userInfoRes.Info.TelNum, + Url: list.Data[i].Promotion.BaiduCertUrl, + MId: 148561, + SigNo: uint32(config.DefaultSignNo), + } + + fmt.Println("发送短信", msgReq) + mres, err := AccountProvider.SendCustomMsg(context.Background(), &msgReq) + fmt.Println("发送短信返回", mres, err) + if err == nil { // 短信发送成功 + updatePromotionReq.IsSend = e.SendPromotionMsgSuccess + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + fmt.Printf("updatePromotionReq : %+v \n", updatePromotionReq) + fmt.Println("============= Promotion updatePromotionReq ========== 任命审批 ===============") + _, err = ApprovalProvider.UpdatePromotionChainInfo(context.Background(), updatePromotionReq) + if err != nil { + fmt.Println("============= Promotion update ========== 任命审批 ===============") + fmt.Printf("err : %+v \n", err) + logger.Errorf(" Promotion update ========== 任命审批 err %+v\n", err) + fmt.Println("============= Promotion update ========== 任命审批 ===============") + } + } + } + +} diff --git a/pkg/service/art_show.go b/pkg/service/art_show.go new file mode 100644 index 0000000..6e87328 --- /dev/null +++ b/pkg/service/art_show.go @@ -0,0 +1,2298 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + _ "github.com/Workiva/go-datastructures/threadsafe/err" + service "github.com/fonchain_enterprise/fonchain-main/api" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "sort" + "strings" + "sync" + "time" +) + +func CreateShow(c *gin.Context) { + var saveShowReq artShow.SaveShowReq + if err := c.ShouldBind(&saveShowReq); err != nil { + logger.Errorf("CreateShow ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + saveShowRes, err := GrpcArtShowImpl.CreateShow(context.Background(), &saveShowReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + out := serializer.BuildSyncArtShowUID(&saveShowReq, saveShowRes.ShowUID, nil) + if len(out.Data) > 0 { + syncArtShowIDRes, err := GrpcArtworkQueryImpl.SyncArtShowId(context.Background(), &out) + if err != nil { + logger.Errorf("SyncArtShowId Response err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: syncArtShowIDRes.Msg, + Status: e.Failed, + }) + return + } + } + + // 更新 推荐人信息 + if saveShowRes.ShowUID != "" { + bindAndGetArtPackageRequest := new(artistinfoArtshow.BindAndGetArtPackageRequest) + bindAndGetArtPackageRequest.ArtPackageUid = saveShowRes.ShowUID + bindAndGetArtPackageRequest.ArtistUid = saveShowReq.ArtistUID + bindAndGetArtPackageResponse, err := GrpcArtistInfoArtshowImpl.BindAndGetArtPackageAndBrokerSupplement(context.Background(), bindAndGetArtPackageRequest) + if err != nil { + goto end + } + if bindAndGetArtPackageResponse.Data.Name != "" { + artShowAgent := new(artShow.ArtShowAgent) + artShowAgent.Agent = bindAndGetArtPackageResponse.Data.Name + artShowAgent.ShowUID = saveShowRes.ShowUID + updateArtShowAgentReq := new(artShow.UpdateArtShowAgentReq) + updateArtShowAgentReq.Data = make([]*artShow.ArtShowAgent, 0) + updateArtShowAgentReq.Data = append(updateArtShowAgentReq.Data, artShowAgent) + _, err := GrpcArtShowImpl.UpdateArtShowAgent(context.Background(), updateArtShowAgentReq) + if err != nil { + goto end + } + + } + } +end: + // 发起核验有单独的接口 updated by jjxu 2024-03-01 + ////画家核验状态更新为待发起 + //_, err = GrpcArtistImpl.OneQueryAudit(c, &artist.OneQueryAuditReq{ArtistUid: saveShowReq.ArtistUID, CheckStatus: 1}) + //if err != nil { + // logger.Errorf("CreateShow--GrpcArtistImpl.OneQueryAudit Err%v", err) + //} + + //返回成功 + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: saveShowRes.Msg, + Status: e.Ok, + }) +} + +func UpdateShow(c *gin.Context) { + var saveShowReq artShow.SaveShowReq + if err := c.ShouldBind(&saveShowReq); err != nil { + logger.Errorf("UpdateShow ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + approvalReq := new(approval.ArtShowApprovalListReq) + approvalReq.ShowUid = saveShowReq.ShowUID + result, err := ApprovalProvider.ListApprovalByShowUID(context.Background(), approvalReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: "查询画展包审批状态失败", + Status: e.Failed, + }) + return + } + fmt.Println("=====================================画展包审批") + fmt.Println(result) + + //if len(result.Data) > 0 { + + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: "该画展包状态不可修改", + // Status: e.Failed, + // }) + // return + //} + zap.L().Info("===================================================updateShowUid" + saveShowReq.ShowUID) + saveShowRes, err := GrpcArtShowImpl.UpdateShow(context.Background(), &saveShowReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + out := serializer.BuildSyncArtShowUID(&saveShowReq, saveShowRes.ShowUID, nil) + if len(out.Data) > 0 { + syncArtShowIDRes, err := GrpcArtworkQueryImpl.SyncArtShowId(context.Background(), &out) + if err != nil { + logger.Errorf("SyncArtShowId Response err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: syncArtShowIDRes.Msg, + Status: e.Failed, + }) + return + } + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: saveShowRes.Msg, + Status: e.Ok, + }) +} + +func DelShow(c *gin.Context) { + var delShowReq artShow.DelShowReq + if err := c.ShouldBind(&delShowReq); err != nil { + logger.Errorf("DelShow ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + commonRes, err := GrpcArtShowImpl.DelShow(context.Background(), &delShowReq) + if err != nil { + logger.Errorf("DelShow err", err) + fmt.Println("DelShow Response err ==== ", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(delShowReq.ShowUID) > 0 { + showUidS := make([]string, 0) + for i := 0; i < len(delShowReq.ShowUID); i++ { + showDetailRes, err := GrpcArtShowImpl.ShowDetail(context.Background(), &artShow.ShowDetailReq{ShowUID: []string{delShowReq.ShowUID[i]}}) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(showDetailRes.Data) > 0 { + showUidS = append(showUidS, delShowReq.ShowUID[i]) + } + } + out := serializer.BuildSyncArtShowUID(nil, "", showUidS) + if len(out.ArtShowUuids) > 0 { + syncArtShowIDRes, err := GrpcArtworkQueryImpl.SyncArtShowId(context.Background(), &out) + if err != nil { + fmt.Println("SyncArtShowId Response err ==== ", err) + logger.Errorf("SyncArtShowId Response err ==== ", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: syncArtShowIDRes.Msg, + Status: e.Failed, + }) + return + } + } + + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: commonRes.Msg, + Status: e.Ok, + }) +} + +func ShowList(c *gin.Context) { + var showListReq artShow.ShowListReq + if err := c.ShouldBind(&showListReq); err != nil { + logger.Errorf("ShowList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showListRes, err := GrpcArtShowImpl.ShowList(context.Background(), &showListReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showListRes.Msg, + Data: showListRes, + Status: e.Ok, + }) +} + +func ShowListWithRel(c *gin.Context) { + var showListReq artShow.ShowListReq + if err := c.ShouldBind(&showListReq); err != nil { + logger.Errorf("ShowList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 获取 当前用户是否有限期 + isShow := hasExhibitionAuthV2(c, 0) + fmt.Println("isShow ===== ", isShow) + if len(isShow) < 1 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + + /* + 1、传入 showListReq is_show == nil 以权限为准 + 2、传入 showListReq is_show != nil , is_show in 权限 取 is_show ; is_show over 权限 报错 + */ + if len(showListReq.IsShow) < 1 { + showListReq.IsShow = make([]int32, 0) + for i := 0; i < len(isShow); i++ { + showListReq.IsShow = append(showListReq.IsShow, int32(isShow[i])) + fmt.Println("is_show ====== ", isShow[i]) + } + } else { + isExist := false + for i := 0; i < len(showListReq.IsShow); i++ { + fmt.Println("showListReq.IsShow ====== ", showListReq.IsShow[i]) + for j := 0; j < len(isShow); j++ { + if showListReq.IsShow[i] == int32(isShow[j]) { + isExist = true + break + } else { + isExist = false + } + } + } + if isExist == false { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + } + + if showListReq.StartShowTime != "" && showListReq.EndShowTime != "" && (showListReq.StartShowTime == showListReq.EndShowTime) { + showListReq.StartShowTime = showListReq.StartShowTime + " 00:00:00" + showListReq.EndShowTime = showListReq.EndShowTime + " 23:59:59" + } + + canShow := hasCanShowAuth(c) + if canShow != 0 { + showListReq.CanShow = canShow + } + + showListRes, err := GrpcArtShowImpl.ShowListWithRel(context.Background(), &showListReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //推荐人不要了 + // 查询 推荐人信息 展示并 更新到 画展包 + //updateArtShowAgentReq := new(artShow.UpdateArtShowAgentReq) + //updateArtShowAgentReq.Data = make([]*artShow.ArtShowAgent, 0) + //for i := 0; i < len(showListRes.Data); i++ { + // if showListRes.Data[i].Agent == "" { + // bindAndGetArtPackageRequest := new(artistinfoArtshow.BindAndGetArtPackageRequest) + // bindAndGetArtPackageRequest.ArtPackageUid = showListRes.Data[i].ShowUID + // bindAndGetArtPackageRequest.ArtistUid = showListRes.Data[i].ArtistUID + // fmt.Printf("request BindAndGetArtPackageAndBrokerSupplement info is : %+v\n", bindAndGetArtPackageRequest) + // bindAndGetArtPackageResponse, err := GrpcArtistInfoArtshowImpl.BindAndGetArtPackageAndBrokerSupplement(context.Background(), bindAndGetArtPackageRequest) + // if err != nil { + // continue + // } + // if bindAndGetArtPackageResponse.Data.Name != "" { + // fmt.Println("agent 获取 ========================================= 开始") + // fmt.Println("agent is : ", bindAndGetArtPackageResponse.Data.Name) + // fmt.Println("agent 获取 ========================================= 结束") + // artShowAgent := new(artShow.ArtShowAgent) + // artShowAgent.Agent = bindAndGetArtPackageResponse.Data.Name + // artShowAgent.ShowUID = showListRes.Data[i].ShowUID + // updateArtShowAgentReq.Data = append(updateArtShowAgentReq.Data, artShowAgent) + // // 保存到展示的列表中 + // showListRes.Data[i].Agent = bindAndGetArtPackageResponse.Data.Name + // } + // } + //} + // + //if len(updateArtShowAgentReq.Data) > 0 { + // commonRes, err := GrpcArtShowImpl.UpdateArtShowAgent(context.Background(), updateArtShowAgentReq) + // if err != nil { + // logger.Errorf("UpdateArtShowAgent Response err", err) + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: commonRes.Msg, + // Status: e.Failed, + // }) + // return + // } + //} + // + //newShowListRes := new(artShow.ShowListRes) + //newShowListRes.Msg = showListRes.Msg + //newShowListRes.Data = make([]*artShow.ShowDetail, 0) + // + //// 排序 (查看画展包详情中,将已存在经纪人信息但尚未存在底价数据的画展包置顶) + ////fmt.Println("is_detail :", showListReq.IsDetail) + //if showListReq.IsDetail == "1" { + // hasAgentShowList := make([]*artShow.ShowDetail, 0) + // notHasAgentShowList := make([]*artShow.ShowDetail, 0) + // for i := 0; i < len(showListRes.Data); i++ { + // if showListRes.Data[i].Price == 0 && showListRes.Data[i].Agent != "" { + // fmt.Println("添加 排序 ==== 开始 ===") + // fmt.Printf("showDetail : %+v", showListRes.Data[i]) + // fmt.Println("添加 排序 ==== 结束 ===") + // hasAgentShowList = append(hasAgentShowList, showListRes.Data[i]) + // } else { + // notHasAgentShowList = append(notHasAgentShowList, showListRes.Data[i]) + // } + // } + // newShowListRes.Data = append(newShowListRes.Data, hasAgentShowList...) + // newShowListRes.Data = append(newShowListRes.Data, notHasAgentShowList...) + //} else { + // newShowListRes.Data = showListRes.Data + //} + // + //newShowListRes.Total = showListRes.Total + //newShowListRes.TotalPackageNum = showListRes.TotalPackageNum + //newShowListRes.TotalArtistNum = showListRes.TotalArtistNum + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showListRes.Msg, + Data: showListRes, + Status: e.Ok, + }) +} + +func ShowListApply(c *gin.Context) { + var showListReq artShow.ShowListReq + if err := c.ShouldBind(&showListReq); err != nil { + logger.Errorf("ShowList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("==============当前用户是否有限期==================") + // 获取 当前用户是否有限期 + isShow := hasExhibitionAuthV2(c, 0) + fmt.Println("isShow ===== ", isShow) + if len(isShow) < 1 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + if len(showListReq.IsShow) < 1 { + showListReq.IsShow = make([]int32, 0) + for i := 0; i < len(isShow); i++ { + showListReq.IsShow = append(showListReq.IsShow, int32(isShow[i])) + fmt.Println("is_show ====== ", isShow[i]) + } + } else { + isExist := false + for i := 0; i < len(showListReq.IsShow); i++ { + fmt.Println("showListReq.IsShow ====== ", showListReq.IsShow[i]) + for j := 0; j < len(isShow); j++ { + if showListReq.IsShow[i] == int32(isShow[j]) { + isExist = true + break + } else { + isExist = false + } + } + } + if isExist == false { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + } + + //推荐人不要了 + //// 查询 推荐人信息 展示并 更新到 画展包 + //updateArtShowAgentReq := new(artShow.UpdateArtShowAgentReq) + //updateArtShowAgentReq.Data = make([]*artShow.ArtShowAgent, 0) + //for i := 0; i < len(showListRes.Data); i++ { + // if showListRes.Data[i].Agent == "" { + // bindAndGetArtPackageRequest := new(artistinfoArtshow.BindAndGetArtPackageRequest) + // bindAndGetArtPackageRequest.ArtPackageUid = showListRes.Data[i].ShowUID + // bindAndGetArtPackageRequest.ArtistUid = showListRes.Data[i].ArtistUID + // fmt.Printf("request BindAndGetArtPackageAndBrokerSupplement info is : %+v\n", bindAndGetArtPackageRequest) + // bindAndGetArtPackageResponse, err := GrpcArtistInfoArtshowImpl.BindAndGetArtPackageAndBrokerSupplement(context.Background(), bindAndGetArtPackageRequest) + // if err != nil { + // continue + // } + // if bindAndGetArtPackageResponse.Data.Name != "" { + // fmt.Println("agent 获取 ========================================= 开始") + // fmt.Println("agent is : ", bindAndGetArtPackageResponse.Data.Name) + // fmt.Println("agent 获取 ========================================= 结束") + // artShowAgent := new(artShow.ArtShowAgent) + // artShowAgent.Agent = bindAndGetArtPackageResponse.Data.Name + // artShowAgent.ShowUID = showListRes.Data[i].ShowUID + // updateArtShowAgentReq.Data = append(updateArtShowAgentReq.Data, artShowAgent) + // // 保存到展示的列表中 + // showListRes.Data[i].Agent = bindAndGetArtPackageResponse.Data.Name + // } + // } + //} + // + //if len(updateArtShowAgentReq.Data) > 0 { + // commonRes, err := GrpcArtShowImpl.UpdateArtShowAgent(context.Background(), updateArtShowAgentReq) + // if err != nil { + // logger.Errorf("UpdateArtShowAgent Response err", err) + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: commonRes.Msg, + // Status: e.Failed, + // }) + // return + // } + //} + + //过滤审批中的画展包 + applyListReq := new(approval.ListRequest) + applyListReq.Status = 1 + if showListReq.IsShow[0] == 2 { + applyListReq.Type = "exhibition" + } else if showListReq.IsShow[0] == 3 { + applyListReq.Type = "artExhibitionReward" + } else if showListReq.IsShow[0] == 4 { + applyListReq.Type = "bundlePayPrice" + } + applyListReq.Domain = "all" + //查询正在审批中的画展包list + fmt.Println("==============查询正在审批中的画展包list==================") + fmt.Println(applyListReq) + applyShowList, err := ApprovalProvider.ApprovalList(context.Background(), applyListReq) + if err != nil { + logger.Error("查询审批中的画展包 ApprovalList err", err.Error()) + return + } + fmt.Println("==============applyShowList==================") + fmt.Println(applyShowList) + applyListReq.Status = 2 + applyShowList1, err1 := ApprovalProvider.ApprovalList(context.Background(), applyListReq) + if err1 != nil { + logger.Error("查询审批通过的画展包 applyShowList1 err", err1.Error()) + return + } + fmt.Println("==============applyShowList1==================") + fmt.Println(applyShowList1) + applyListReq.Status = 6 + applyShowList2, err2 := ApprovalProvider.ApprovalList(context.Background(), applyListReq) + if err2 != nil { + logger.Error("查询撤销中画展包 applyShowList1 err", err2.Error()) + return + } + fmt.Println("==============applyShowList2==================") + fmt.Println(applyShowList2) + if len(applyShowList1.Data) > 0 { + applyShowList.Data = append(applyShowList.Data, applyShowList1.Data...) + } + if len(applyShowList2.Data) > 0 { + applyShowList.Data = append(applyShowList.Data, applyShowList2.Data...) + } + + showIds := make([]string, 0) + if len(applyShowList.Data) > 0 { + + for _, item := range applyShowList.Data { + if applyListReq.Type == "bundlePayPrice" { + if item.BundlePayPrice != nil { + showIds = append(showIds, item.BundlePayPrice.ShowUid) + } + } else { + if item.Exhibition != nil { + for _, exhibition := range item.Exhibition.ApprovalExhibitions { + if exhibition.ArtExhibitionDetail != nil { + showIds = append(showIds, exhibition.ArtExhibitionDetail.ShowUID) + } + } + } + } + + } + + //通过showUid过滤 + //filterList := make([]*artShow.ShowDetail, 0) + //for _, newShow := range showListRes.Data { + // isFilter := false + // for _, id := range showIds { + // if newShow.ShowUID == id { + // isFilter = true + // break + // } + // } + // if !isFilter { + // filterList = append(filterList, newShow) + // } + //} + //showListRes.Data = filterList + } + fmt.Println("==============查询画展包列表==================") + showListReq.ShowUid = showIds + showListRes, err := GrpcArtShowImpl.ShowListApply(context.Background(), &showListReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + fmt.Println(showListRes) + showListRes.Total = int64(len(showListRes.Data)) + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showListRes.Msg, + Data: showListRes, + Status: e.Ok, + }) +} + +type ShowListRespData struct { + *artShow.ShowDetail + InviteStatus int `json:"InviteStatus"` //邀请函状态 1=待发送 2=待回复 3=已同意 4=已拒绝 5=不可发起 + LetterUid string `json:"LetterUid"` //邀请函uid +} + +func ShowListWithRelLately(c *gin.Context) { + var showListReq artShow.ShowListReq + if err := c.ShouldBind(&showListReq); err != nil { + logger.Errorf("ShowList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 获取 当前用户是否有限期 + isShow := hasExhibitionAuthV2(c, 0) + fmt.Println("isShow ===== ", isShow) + if len(isShow) < 1 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + + /* + 1、传入 showListReq is_show == nil 以权限为准 + 2、传入 showListReq is_show != nil , is_show in 权限 取 is_show ; is_show over 权限 报错 + */ + if len(showListReq.IsShow) < 1 { + showListReq.IsShow = make([]int32, 0) + for i := 0; i < len(isShow); i++ { + showListReq.IsShow = append(showListReq.IsShow, int32(isShow[i])) + fmt.Println("is_show ====== ", isShow[i]) + } + } else { + isExist := false + for i := 0; i < len(showListReq.IsShow); i++ { + fmt.Println("showListReq.IsShow ====== ", showListReq.IsShow[i]) + for j := 0; j < len(isShow); j++ { + if showListReq.IsShow[i] == int32(isShow[j]) { + isExist = true + break + } else { + isExist = false + } + } + } + if isExist == false { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + } + + showListRes, err := GrpcArtShowImpl.ShowListWithRelLately(context.Background(), &showListReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 查询 推荐人信息 展示并 更新到 画展包 + updateArtShowAgentReq := new(artShow.UpdateArtShowAgentReq) + updateArtShowAgentReq.Data = make([]*artShow.ArtShowAgent, 0) + for i := 0; i < len(showListRes.Data); i++ { + if showListRes.Data[i].Agent == "" { + bindAndGetArtPackageRequest := new(artistinfoArtshow.BindAndGetArtPackageRequest) + bindAndGetArtPackageRequest.ArtPackageUid = showListRes.Data[i].ShowUID + bindAndGetArtPackageRequest.ArtistUid = showListRes.Data[i].ArtistUID + fmt.Printf("request BindAndGetArtPackageAndBrokerSupplement info is : %+v\n", bindAndGetArtPackageRequest) + bindAndGetArtPackageResponse, err := GrpcArtistInfoArtshowImpl.BindAndGetArtPackageAndBrokerSupplement(context.Background(), bindAndGetArtPackageRequest) + if err != nil { + continue + } + if bindAndGetArtPackageResponse.Data.Name != "" { + fmt.Println("agent 获取 ========================================= 开始") + fmt.Println("agent is : ", bindAndGetArtPackageResponse.Data.Name) + fmt.Println("agent 获取 ========================================= 结束") + artShowAgent := new(artShow.ArtShowAgent) + artShowAgent.Agent = bindAndGetArtPackageResponse.Data.Name + artShowAgent.ShowUID = showListRes.Data[i].ShowUID + updateArtShowAgentReq.Data = append(updateArtShowAgentReq.Data, artShowAgent) + // 保存到展示的列表中 + showListRes.Data[i].Agent = bindAndGetArtPackageResponse.Data.Name + } + } + } + + if len(updateArtShowAgentReq.Data) > 0 { + commonRes, err := GrpcArtShowImpl.UpdateArtShowAgent(context.Background(), updateArtShowAgentReq) + if err != nil { + logger.Errorf("UpdateArtShowAgent Response err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: commonRes.Msg, + Status: e.Failed, + }) + return + } + } + + newShowListRes := struct { + artShow.ShowListRes + Data []*ShowListRespData + }{} + newShowListRes.Msg = showListRes.Msg + newShowListRes.Data = make([]*ShowListRespData, 0) + + // 排序 (查看画展包详情中,将已存在经纪人信息但尚未存在底价数据的画展包置顶) + //fmt.Println("is_detail :", showListReq.IsDetail) + if showListReq.IsDetail == "1" { + hasAgentShowList := make([]*ShowListRespData, 0) + notHasAgentShowList := make([]*ShowListRespData, 0) + for i := 0; i < len(showListRes.Data); i++ { + if showListRes.Data[i].Price == 0 && showListRes.Data[i].Agent != "" { + fmt.Println("添加 排序 ==== 开始 ===") + fmt.Printf("showDetail : %+v", showListRes.Data[i]) + fmt.Println("添加 排序 ==== 结束 ===") + hasAgentShowList = append(hasAgentShowList, &ShowListRespData{ShowDetail: showListRes.Data[i]}) + } else { + notHasAgentShowList = append(notHasAgentShowList, &ShowListRespData{ShowDetail: showListRes.Data[i]}) + } + } + newShowListRes.Data = append(newShowListRes.Data, hasAgentShowList...) + newShowListRes.Data = append(newShowListRes.Data, notHasAgentShowList...) + } else { + for i, _ := range showListRes.Data { + newShowListRes.Data = append(newShowListRes.Data, &ShowListRespData{ShowDetail: showListRes.Data[i]}) + } + } + + newShowListRes.Total = showListRes.Total + newShowListRes.TotalPackageNum = showListRes.TotalPackageNum + newShowListRes.TotalArtistNum = showListRes.TotalArtistNum + newShowListRes.CurrentShowTime = showListRes.CurrentShowTime + newShowListRes.EndShowTime = showListRes.EndShowTime + newShowListRes.StartShowTime = showListRes.StartShowTime + + //检查是否已发送邀请函 + if len(newShowListRes.Data) > 0 { + var where = "show_uid in (" + for i, v := range newShowListRes.Data { + where += "'" + v.ShowUID + "'" + if i < len(newShowListRes.Data)-1 { + where += "," + } + } + where += ")" + if config.Env == "test" || config.Env == "dev" { + time.Sleep(time.Millisecond * 200) + } + letterRes, err := GrpcArtistImpl.GetInvitationLetterList(c, &artist.GetInvitationLetterListRequest{Page: 1, PageSize: -1, Where: where}) + if err != nil { + ErrorWithMark(c, e.Failed, err, "GetArtistOneQueryCheckRecordList Err") + return + } + currentTime := stime.Currentime(stime.Format_Normal_YMDhm) + fmt.Println("currentTime", currentTime) + //查询当前数据中所有画家的邀请函 + var allArtistUids []string + for _, t := range newShowListRes.Data { + allArtistUids = append(allArtistUids, t.ArtistUID) + } + if config.Env == "test" || config.Env == "dev" { + time.Sleep(time.Millisecond * 200) + } + allArtistLetters, errs := GrpcArtistImpl.GetInvitationLetterList(context.Background(), &artist.GetInvitationLetterListRequest{Page: 1, PageSize: -1, Where: "artist_uuid in ('" + strings.Join(allArtistUids, "','") + "')"}) + if errs != nil { + ErrorWithMark(c, e.Failed, errs, "获取画家所有数据失败 GetInvitationLetterList Err") + return + } + for i, v1 := range newShowListRes.Data { + newShowListRes.Data[i].InviteStatus = 1 + foundLetter := false + for _, v2 := range letterRes.List { + v2 := v2 + if v1.ShowUID == v2.ShowUid { + foundLetter = true + newShowListRes.Data[i].LetterUid = v2.Uuid + switch { + case v2.IsCome == 0: + newShowListRes.Data[i].InviteStatus = 2 + case v2.IsCome == 1: + if v2.IsPreload == 1 { + //预发起邀请函时,画家如果同意前往,则状态为填写信息 + newShowListRes.Data[i].InviteStatus = 6 + } else { + newShowListRes.Data[i].InviteStatus = 3 //已同意 + } + case v2.IsCome == 2: + newShowListRes.Data[i].InviteStatus = 4 + } + break + } + } + fmt.Println("foundLetter", foundLetter) + if !foundLetter { + //newShowListRes.Data[i].InviteStatus = 5 + //查询已发起邀请函的画展包的画展时间是否超过当前时间,超过则可发起邀请函否则不可发起 + if config.Env == "test" || config.Env == "dev" { + time.Sleep(time.Millisecond * 200) + } else { + time.Sleep(time.Millisecond * 50) + } + //改为从所有刚才数据中筛选当前画家的 + //artistLetters, errs := GrpcArtistImpl.GetInvitationLetterList(context.Background(), &artist.GetInvitationLetterListRequest{Page: 1, PageSize: -1, Query: &artist.InvitationLetterData{ArtistUuid: v1.ArtistUID}}) + //if errs != nil { + // ErrorWithMark(c, e.Failed, errs, "GetInvitationLetterList Err") + // return + //} + //if artistLetters.Total == 0 { + // continue + //} + //var showUids []string + //for _, v := range artistLetters.List { + // showUids = append(showUids, v.ShowUid) + //} + var artistLetters []*artist.InvitationLetterData + for _, v := range allArtistLetters.List { + if v.ArtistUuid == v1.ArtistUID { + v := v + artistLetters = append(artistLetters, v) + } + } + if len(artistLetters) == 0 { + continue + } + var showUids []string + for _, v := range artistLetters { + showUids = append(showUids, v.ShowUid) + } + if config.Env == "test" || config.Env == "dev" { + time.Sleep(time.Millisecond * 200) + } else { + time.Sleep(time.Millisecond * 50) + } + showTimeList, errs := GrpcArtShowImpl.GetShowTimeWithShowUid(context.Background(), &artShow.GetShowTimeWithShowUidReq{ShowUids: showUids}) + if errs != nil { + ErrorWithMark(c, e.Failed, errs, "GetShowTimeWithShowUid Err") + return + } + for _, v := range showTimeList.Data { + if v.ShowTime != "" { + if v.ShowTime > currentTime { + fmt.Println("画展时间未超过当前时间") + newShowListRes.Data[i].InviteStatus = 5 + break + } + } else if v.PreTime != "" { + if v.PreTime > currentTime { + fmt.Println("预计画展时间未超过当前时间") + newShowListRes.Data[i].InviteStatus = 5 + break + } + } + } + } + } + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: newShowListRes.Msg, + Data: newShowListRes, + Status: e.Ok, + }) +} + +func ShowArtworkInfo(c *gin.Context) { + var artworkDetailReq artShow.ArtworkDetailReq + if err := c.ShouldBind(&artworkDetailReq); err != nil { + logger.Errorf("ShowInfo ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showArtworkDetailRes, err := GrpcArtShowImpl.ShowArtworkInfo(context.Background(), &artworkDetailReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + artworkUids := make([]string, 0) + for i := 0; i < len(showArtworkDetailRes.Data); i++ { + if showArtworkDetailRes.Data[i].SmallPic == "" { + artworkUids = append(artworkUids, showArtworkDetailRes.Data[i].ArtworkUID) + } + } + + if len(artworkUids) > 0 { + artworkPreviewListResp, err := GrpcArtworkQueryImpl.ArtworkPreviewList(context.Background(), &artwork_query.ArtworkPreviewListRequest{ + ArtworkUids: artworkUids, + }) + + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + for i := 0; i < len(showArtworkDetailRes.Data); i++ { + if showArtworkDetailRes.Data[i].SmallPic != "" { // 如果 画展包里面的 smallPic 不为 "" 则 跳过 + continue + } + for j := 0; j < len(artworkPreviewListResp.Data); j++ { + if showArtworkDetailRes.Data[i].ArtworkUID == artworkPreviewListResp.Data[j].ArtworkUid { + if artworkPreviewListResp.Data[j].DigiArtImg != "" { + showArtworkDetailRes.Data[i].SmallPic = artworkPreviewListResp.Data[j].DigiArtImg + continue + } + + if artworkPreviewListResp.Data[j].HdPic != "" { + showArtworkDetailRes.Data[i].SmallPic = artworkPreviewListResp.Data[j].HdPic + continue + } + + if artworkPreviewListResp.Data[j].PhotoPic != "" { + showArtworkDetailRes.Data[i].SmallPic = artworkPreviewListResp.Data[j].PhotoPic + continue + } + } + } + } + + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showArtworkDetailRes.Msg, + Data: showArtworkDetailRes, + Status: e.Ok, + }) +} + +func ShowDetail(c *gin.Context) { + var showDetailReq artShow.ShowDetailReq + if err := c.ShouldBind(&showDetailReq); err != nil { + logger.Errorf("ShowInfo ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showDetailRes, err := GrpcArtShowImpl.ShowDetail(context.Background(), &showDetailReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showDetailRes.Msg, + Data: showDetailRes, + Status: e.Ok, + }) +} + +func ShowStatisticalInfo(c *gin.Context) { + var showStatisticalInfoReq artShow.ShowStatisticalInfoReq + if err := c.ShouldBind(&showStatisticalInfoReq); err != nil { + logger.Errorf("ShowStatisticalInfo ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showStatisticalInfoRes, err := GrpcArtShowImpl.ShowStatisticalInfo(context.Background(), &showStatisticalInfoReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showStatisticalInfoRes.Msg, + Data: showStatisticalInfoRes, + Status: e.Ok, + }) +} + +func ArtworkPrice(c *gin.Context) { + var artworkPriceReq artShow.ArtworkPriceReq + if err := c.ShouldBind(&artworkPriceReq); err != nil { + logger.Errorf("ArtworkPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + artworkPriceRes, err := GrpcArtShowImpl.ArtworkPrice(context.Background(), &artworkPriceReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: artworkPriceRes.Msg, + Data: artworkPriceRes, + Status: e.Ok, + }) +} + +func CreateApply(c *gin.Context) { + var saveApplyReq artShow.SaveApplyReq + if err := c.ShouldBind(&saveApplyReq); err != nil { + logger.Errorf("CreateApply ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + saveApplyRes, err := GrpcArtShowImpl.CreateApply(context.Background(), &saveApplyReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: saveApplyRes.Msg, + Status: e.Ok, + }) +} + +func UpdateApply(c *gin.Context) { + var saveApplyReq artShow.SaveApplyReq + if err := c.ShouldBind(&saveApplyReq); err != nil { + logger.Errorf("UpdateApply ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + saveApplyRes, err := GrpcArtShowImpl.UpdateApply(context.Background(), &saveApplyReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: saveApplyRes.Msg, + Status: e.Ok, + }) +} + +func DelApply(c *gin.Context) { + var delApplyReq artShow.DelApplyReq + if err := c.ShouldBind(&delApplyReq); err != nil { + logger.Errorf("DelApply ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + commonRes, err := GrpcArtShowImpl.DelApply(context.Background(), &delApplyReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: commonRes.Msg, + Status: e.Ok, + }) +} + +func ShowListWithApply(c *gin.Context) { + var showListReq artShow.ShowListReq + if err := c.ShouldBind(&showListReq); err != nil { + logger.Errorf("ShowListWithApply ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showListRes, err := GrpcArtShowImpl.ShowListWithApply(context.Background(), &showListReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showListRes.Msg, + Data: showListRes, + Status: e.Ok, + }) +} + +func UpdateApplyStatus(c *gin.Context) { + var updateApplyStatusReq artShow.UpdateApplyStatusReq + if err := c.ShouldBind(&updateApplyStatusReq); err != nil { + logger.Errorf("UpdateApplyStatus ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + commonRes, err := GrpcArtShowImpl.UpdateApplyStatus(context.Background(), &updateApplyStatusReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: commonRes.Msg, + Status: e.Ok, + }) +} + +func ApplyList(c *gin.Context) { + var applyListReq artShow.ApplyListReq + if err := c.ShouldBind(&applyListReq); err != nil { + logger.Errorf("ApplyList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + applyListRes, err := GrpcArtShowImpl.ApplyList(context.Background(), &applyListReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: applyListRes.Msg, + Data: applyListRes, + Status: e.Ok, + }) +} + +func ApplyRelInfoDetail(c *gin.Context) { + var applyShowReq artShow.ApplyShowReq + if err := c.ShouldBind(&applyShowReq); err != nil { + logger.Errorf("ApplyRelInfoDetail ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + applyShowRes, err := GrpcArtShowImpl.ApplyDetail(context.Background(), &applyShowReq) + //fmt.Println(applyShowRes.Show) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: applyShowRes.Msg, + Data: applyShowRes.Show, + Status: e.Ok, + }) +} + +func ShowListForArtwork(c *gin.Context) { + var showListForArtworkReq artShow.ShowListForArtworkReq + if err := c.ShouldBind(&showListForArtworkReq); err != nil { + logger.Errorf("ShowListForArtwork ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showListForArtworkRes, err := GrpcArtShowImpl.ShowListForArtwork(context.Background(), &showListForArtworkReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showListForArtworkRes.Msg, + Data: showListForArtworkRes, + Status: e.Ok, + }) +} + +func CancelShow(c *gin.Context) { + var cancelShowReq artShow.CancelShowReq + if err := c.ShouldBind(&cancelShowReq); err != nil { + logger.Errorf("CancelShow ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + queryArtShowStatusReq := new(artwork_third_party.ArtShowStatusReq) + queryArtShowStatusReq.ArtShowIds = append(queryArtShowStatusReq.ArtShowIds, cancelShowReq.ShowUID...) + + res, err := GrpcArtworkThirdPartyImpl.GetArtShowStatus(context.Background(), queryArtShowStatusReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(res.Data) < 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "查询画作系统画展包状态错误", + Status: e.Failed, + }) + return + } + for _, showStatus := range res.Data { + if showStatus.StorageStatus > model.StorageStatusAuth { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "无法删除已出库画展包", + Status: e.Failed, + }) + return + } + } + + commonRes, err := GrpcArtShowImpl.CancelShow(context.Background(), &cancelShowReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: commonRes.Msg, + Status: e.Ok, + }) +} + +func QuerySaleAddress(c *gin.Context) { + var saleAddressRes artShow.SaleAddressReq + if err := c.ShouldBind(&saleAddressRes); err != nil { + logger.Errorf("CancelShow ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := GrpcArtShowImpl.QuerySaleAddress(c, &saleAddressRes) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res.Address, + Status: e.Ok, + }) +} + +// HasExhibitionAuthV2 获取画展宝权限(departmentId不指定可以传0) 内部1 画展2,3 +func hasExhibitionAuthV2(c *gin.Context, departmentId uint64) []uint8 { + + var authCodes []uint8 + userInfo := login.GetUserInfoFromC(c) + + //内部 + req := position.DoIHavaAuthRequest{ + UserId: userInfo.ID, + Url: e.ExhibitionInsideKey, + DepartmentID: departmentId, + } + + res, err := PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + authCodes = append(authCodes, 1) + } + + req = position.DoIHavaAuthRequest{ + UserId: userInfo.ID, + Url: e.ExhibitionShowKey, + DepartmentID: departmentId, + } + + res, err = PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + authCodes = append(authCodes, 2) + authCodes = append(authCodes, 3) + authCodes = append(authCodes, 4) + } + + fmt.Println(authCodes) + return authCodes + +} + +// HasExhibitionAuth 获取画展宝权限(departmentId不指定可以传0) 内部1 画展2,3 +func hasExhibitionAuth(c *gin.Context, departmentId uint64) []uint8 { + + var authCodes []uint8 + userInfo := login.GetUserInfoFromC(c) + + if departmentId == 0 { + departmentId = userInfo.PositionUsers[0].DepartmentId + } + + fmt.Println(userInfo) + //内部 + req := position.DoIHavaAuthRequest{ + UserId: userInfo.ID, + Url: e.ExhibitionInsideKey, + DepartmentID: departmentId, + } + + res, err := PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + authCodes = append(authCodes, 1) + } + + req = position.DoIHavaAuthRequest{ + UserId: userInfo.ID, + Url: e.ExhibitionShowKey, + DepartmentID: departmentId, + } + + res, err = PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + authCodes = append(authCodes, 2) + authCodes = append(authCodes, 3) + authCodes = append(authCodes, 4) + } + + fmt.Println(authCodes) + return authCodes + +} + +func QueryShowDate(c *gin.Context) { + var showListReq artShow.ShowListReq + if err := c.ShouldBind(&showListReq); err != nil { + logger.Errorf("ShowList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 获取 当前用户是否有限期 + isShow := hasExhibitionAuthV2(c, 0) + fmt.Println("isShow ===== ", isShow) + if len(isShow) < 1 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + + /* + 1、传入 showListReq is_show == nil 以权限为准 + 2、传入 showListReq is_show != nil , is_show in 权限 取 is_show ; is_show over 权限 报错 + */ + if len(showListReq.IsShow) < 1 { + showListReq.IsShow = make([]int32, 0) + for i := 0; i < len(isShow); i++ { + showListReq.IsShow = append(showListReq.IsShow, int32(isShow[i])) + fmt.Println("is_show ====== ", isShow[i]) + } + } else { + isExist := false + for i := 0; i < len(showListReq.IsShow); i++ { + fmt.Println("showListReq.IsShow ====== ", showListReq.IsShow[i]) + for j := 0; j < len(isShow); j++ { + if showListReq.IsShow[i] == int32(isShow[j]) { + isExist = true + break + } else { + isExist = false + } + } + } + if isExist == false { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorAuthInsufficientAuthority), + Status: e.Failed, + }) + return + } + } + + showListRes, err := GrpcArtShowImpl.ShowListWithRel(context.Background(), &showListReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + dateMap := make(map[string]string, 0) + + if len(showListRes.Data) > 0 { + for i := 0; i < len(showListRes.Data); i++ { + if showListRes.Data[i].ShowTime != "" { + date := strings.Split(showListRes.Data[i].ShowTime, " ") + if len(date) == 1 { + date = strings.Split(showListRes.Data[i].ShowTime, "T") + } + dateMap[date[len(date)-len(date)]] = date[len(date)-len(date)] + } else if showListRes.Data[i].ShowTime == "" && showListRes.Data[i].PreTime != "" { + date := strings.Split(showListRes.Data[i].PreTime, " ") + dateMap[date[len(date)-len(date)]] = date[len(date)-len(date)] + } + } + } + + dates := make([]string, 0) + if len(dateMap) > 0 { + for _, v := range dateMap { + dates = append(dates, v) + } + } + + sort.Strings(dates) + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showListRes.Msg, + Data: dates, + Status: e.Ok, + }) + +} + +func ShowListNoPriceNum(c *gin.Context) { + req := artShow.ShowStatisticalInfoReq{IsShow: 2} + res, err := GrpcArtShowImpl.ShowStatisticalInfo(context.Background(), &req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res.Data.NoPriceNum, + Status: e.Ok, + }) +} + +func ShowTimeList(c *gin.Context) { + timesReq := new(artShow.TimesReq) + if err := c.ShouldBind(×Req); err != nil { + logger.Errorf("ShowTimeList err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Ok, + }) + return + } + res, err := GrpcArtShowImpl.ShowTimeList(context.Background(), timesReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func AllTimeList(c *gin.Context) { + timesReq := new(artShow.TimesReq) + if err := c.ShouldBind(×Req); err != nil { + logger.Errorf("AllTimeList err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + res, err := GrpcArtShowImpl.AllTimeList(context.Background(), timesReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func FindEntertainment(c *gin.Context) { + timesReq := new(artShow.TimesReq) + if err := c.ShouldBind(×Req); err != nil { + logger.Errorf("FindEntertainment err", err) + + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := GrpcArtShowImpl.FindEntertainment(context.Background(), timesReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + if len(res.Data) == 0 { + goto ret + } else { + artistMap := make(map[string]string) + artistDataReq := new(artist.ArtistDataRequest) + artistDataReq.Uids = make([]string, 0) + for i := 0; i < len(res.Data); i++ { + artistDataReq.Uids = append(artistDataReq.Uids, res.Data[i].ArtistUID) + } + + artistDataRes, err := GrpcArtistImpl.ArtistData(context.Background(), artistDataReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorQueryArtistData, + Status: e.Ok, + }) + return + } + + for i := 0; i < len(artistDataRes.Data); i++ { + artistMap[artistDataRes.Data[i].ProfileInfo.Uid] = artistDataRes.Data[i].ProfileInfo.Phone + } + + for i := 0; i < len(res.Data); i++ { + res.Data[i].TelNum = artistMap[res.Data[i].ArtistUID] + } + } + +ret: + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func SaveEntertainment(c *gin.Context) { + timesReq := new(artShow.ArtistEntertainment) + if err := c.ShouldBind(×Req); err != nil { + logger.Errorf("SaveEntertainment err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + //获取操作人的名字 + if timesReq.UpdatedBy == "" { + accInfo, err, _ := GetAccInfoWithToken(c) + if err != nil { + timesReq.UpdatedBy = "backend" + } else { + timesReq.UpdatedBy = utils.If(accInfo.NickName == "", "backend", accInfo.NickName).(string) + } + } + fmt.Println("timesReq.UpdatedBy", timesReq.UpdatedBy) + if timesReq.TravelWay == 1 { + timesReq.Transportation = "" + } + res, err := GrpcArtShowImpl.UpdateEntertainment(context.Background(), timesReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func FindNoPriceShow(c *gin.Context) { + req := new(artShow.CommonReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("FindNoPriceShow err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.Page == 0 { + req.Page = 1 + } + if req.PageSize == 0 { + req.PageSize = 20 + } + + res, err := GrpcArtShowImpl.QueryNoPriceShow(context.Background(), req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + for _, resItem := range res.Data { + if resItem.Price == 0 { + detail, err := GrpcArtistInfoArtshowImpl.GetArtshowArtistRulerFloorPriceDetail(context.Background(), &artistinfoArtshow.GetArtshowArtistRulerFloorPriceByIdRequest{ + ArtistUid: resItem.ArtistUID, + }) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "获取(" + resItem.ArtistName + ")画家平尺单价失败", + Status: e.Failed, + }) + return + } + if detail.FloorPrice != 0 { + resItem.Price = int64(float32(resItem.Ruler) * detail.FloorPrice) + resItem.IsCalPrice = 1 + } + } + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func UpdateShowPrice(c *gin.Context) { + req := new(artShow.UpdateShowPriceReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SaveEntertainment err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := GrpcArtShowImpl.UpdateShowPrice(context.Background(), req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func UpdateArtShowHost(c *gin.Context) { + req := new(artShow.UpdateArtShowHostReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateArtShowHost err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _, err := GrpcArtShowImpl.UpdateArtShowHost(context.Background(), req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Status: e.Ok, + }) +} + +func OnQueryShowList(c *gin.Context) { + oneQueryShowListReq := new(artShow.OneQueryShowListReq) + if err := c.ShouldBind(&oneQueryShowListReq); err != nil { + logger.Errorf("oneQueryShowListReq ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if oneQueryShowListReq.Permission == "auth_search_warehouse" || oneQueryShowListReq.Permission == "auth_search_training" || oneQueryShowListReq.Permission == "auth_search_publicize" { + oneQueryShowListReq.IsShow = append(oneQueryShowListReq.IsShow, []int32{e.ARTSHOW_SALE_ADDRESS_PASS, e.ARTSHOW_REWARD_PASS}...) + } else { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.ErrorNotAllow, + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + + ruleReq := new(rule.RulesRequest) + ruleReq.AccountID = userInfo.ID + ruleResp, err := RuleProvider.Rules(context.Background(), ruleReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorQueryRules, + Status: e.Failed, + }) + return + } + authMap := make(map[string]string, 0) + for i := 0; i < len(ruleResp.MyButtonAuths); i++ { + authMap[ruleResp.MyButtonAuths[i].Url] = ruleResp.MyButtonAuths[i].Url + } + + if authMap["r_onesearch_artshow_nolimit"] == "r_onesearch_artshow_nolimit" { + oneQueryShowListReq.Permission = "" + } else { + oneQueryShowListReq.Permission = "r_onesearch_artshow_nolimit" + } + + showListRes, err := GrpcArtShowImpl.OneQueryShowList(context.Background(), oneQueryShowListReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: showListRes, + Status: e.Ok, + }) +} + +func FindEntertainmentGroupField(c *gin.Context) { + req := new(artShow.CommonReq) + res, err := GrpcArtShowImpl.FindEntertainmentFieldGroup(context.Background(), req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func ArtworkPriceWholeInfo(c *gin.Context) { + var artworkPriceWholeInfoReq model.ArtworkPriceWholeInfoReq + if err := c.ShouldBind(&artworkPriceWholeInfoReq); err != nil { + logger.Errorf("ArtworkPriceWholeInfo ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + var artworkPriceWholeInfoResp model.ArtworkPriceWholeInfoResp + var artworkPriceReq artShow.ArtworkPriceReq + artworkPriceReq.Tfnum = artworkPriceWholeInfoReq.Tfnum + + artworkPriceRes, err := GrpcArtShowImpl.ArtworkPriceWholeInfo(context.Background(), &artworkPriceReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _ = copier.CopyWithOption(&artworkPriceWholeInfoResp, artworkPriceRes, copier.Option{DeepCopy: true}) + + zap.L().Info(" dci 文件上传 :", zap.Any("GetUploadUrlResponse :", artworkPriceRes)) + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: artworkPriceWholeInfoResp, + Status: e.Ok, + }) + +} + +func SavePolicy(c *gin.Context) { + var policy artShow.PricePolicy + if err := c.ShouldBind(&policy); err != nil { + logger.Errorf("PricePolicy ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + honorCountReq := new(artist.HonorCountReq) + honorCountReq.ArtistUid = policy.ArtistUID + honorCountResp, err := GrpcArtistImpl.HonorCount(c, honorCountReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorQueryHonorInfo, + Status: e.Failed, + }) + return + } + + fmt.Println("=============== honorCount 1 =========================") + fmt.Printf("honorCountResp %+v\n ", honorCountResp) + fmt.Println("=============== honorCount 2 =========================") + + if honorCountResp != nil { + policy.Factor = new(artShow.PricePolicyFactor) + //policy.Factor.PaintingCount = showDetailRes.Data[i].ArtworkNum + //policy.Factor.AverageCanvasSize = float32(math.Round(float64(showDetailRes.Data[i].Ruler / showDetailRes.Data[i].ArtworkNum))) + //policy.Factor.TaifengExhibitionCount = float32(honorCountResp.CaaJoinYear) + policy.Factor.MeixieYears = float32(honorCountResp.CaaJoinYear) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.Exhibition) + policy.Factor.ArtistProfessionalismIndex = float32(honorCountResp.Professionalism) + policy.Factor.ArtistCollectibilityIndex = float32(honorCountResp.Collectible) + policy.Factor.ArtistExperienceEducationIndex = float32(honorCountResp.Education) + policy.Factor.ArtistInfluencePopularityIndex = float32(honorCountResp.Influence) + policy.Factor.StudyAbroadExperienceCount = float32(honorCountResp.StudyTourCount) + policy.Factor.AwardExperienceCount = float32(honorCountResp.AwardCount) + policy.Factor.NationalTitleCount = float32(honorCountResp.NationTitleCount) + policy.Factor.ProvincialTitleCount = float32(honorCountResp.ProvinceTitleCount) + policy.Factor.OtherTitleCount = float32(honorCountResp.OtherTitleCount) + policy.Factor.PublishedPaintingCount = float32(honorCountResp.ArtworkPublishCount) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.OutsidePublishCount) + policy.Factor.AcademicPublicationCount = float32(honorCountResp.AcademicPublishCount) + policy.Factor.ThirdPartyCuratorComment = float32(honorCountResp.ThirdCommentCount) + } + + fmt.Println("=============== policy 1 =========================") + fmt.Printf("policy %+v\n ", policy) + fmt.Println("=============== policy 2 =========================") + + _, err = GrpcArtShowImpl.CreatePricePolicy(context.Background(), &policy) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.Success), + Status: e.Ok, + }) + +} + +func QueryPolicy(c *gin.Context) { + var queryPolicyReq artShow.QueryPolicyReq + if err := c.ShouldBind(&queryPolicyReq); err != nil { + logger.Errorf("QueryPolicyReq ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + policy, err := GrpcArtShowImpl.QueryPricePolicy(context.Background(), &queryPolicyReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + honorCountReq := new(artist.HonorCountReq) + honorCountReq.ArtistUid = policy.ArtistUID + honorCountResp, err := GrpcArtistImpl.HonorCount(c, honorCountReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorQueryHonorInfo, + Status: e.Failed, + }) + return + } + + fmt.Println("=============== honorCount 1 =========================") + fmt.Printf("honorCountResp %+v\n ", honorCountResp) + fmt.Println("=============== honorCount 2 =========================") + + if honorCountResp != nil { + //policy.Factor = new(artShow.PricePolicyFactor) + //policy.Factor.PaintingCount = showDetailRes.Data[i].ArtworkNum + //policy.Factor.AverageCanvasSize = float32(math.Round(float64(showDetailRes.Data[i].Ruler / showDetailRes.Data[i].ArtworkNum))) + //policy.Factor.TaifengExhibitionCount = float32(honorCountResp.CaaJoinYear) + policy.Factor.MeixieYears = float32(honorCountResp.CaaJoinYear) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.Exhibition) + policy.Factor.ArtistProfessionalismIndex = float32(honorCountResp.Professionalism) + policy.Factor.ArtistCollectibilityIndex = float32(honorCountResp.Collectible) + policy.Factor.ArtistExperienceEducationIndex = float32(honorCountResp.Education) + policy.Factor.ArtistInfluencePopularityIndex = float32(honorCountResp.Influence) + policy.Factor.StudyAbroadExperienceCount = float32(honorCountResp.StudyTourCount) + policy.Factor.AwardExperienceCount = float32(honorCountResp.AwardCount) + policy.Factor.NationalTitleCount = float32(honorCountResp.NationTitleCount) + policy.Factor.ProvincialTitleCount = float32(honorCountResp.ProvinceTitleCount) + policy.Factor.OtherTitleCount = float32(honorCountResp.OtherTitleCount) + policy.Factor.PublishedPaintingCount = float32(honorCountResp.ArtworkPublishCount) + policy.Factor.ExternalExhibitionCount = float32(honorCountResp.OutsidePublishCount) + policy.Factor.AcademicPublicationCount = float32(honorCountResp.AcademicPublishCount) + policy.Factor.ThirdPartyCuratorComment = float32(honorCountResp.ThirdCommentCount) + } + + fmt.Println("=============== policy 1 =========================") + fmt.Printf("policy %+v\n ", policy) + fmt.Println("=============== policy 2 =========================") + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: policy, + Status: e.Ok, + }) + +} + +func CanShow(c *gin.Context) { + var canShowReq artShow.CanShowReq + if err := c.ShouldBind(&canShowReq); err != nil { + logger.Errorf("CanShow ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + approvalReq := new(approval.ArtShowApprovalListReq) + approvalReq.ShowUid = canShowReq.ShowUID + result, err := ApprovalProvider.ListApprovalByShowUID(context.Background(), approvalReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "查询画展包审批状态失败", + Status: e.Failed, + }) + return + } + + if result.Count > 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "该画展包状态不可修改", + Status: e.Failed, + }) + return + } + + _, err1 := GrpcArtShowImpl.CanShow(context.Background(), &canShowReq) + if err1 != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorUpdateCanShowStatus, + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +// 是否 只有查看 可画展画展包权限 +func hasCanShowAuth(c *gin.Context) (canShow int32) { + + canShow = 0 + userInfo := login.GetUserInfoFromC(c) + + fmt.Println(userInfo) + //内部 + req := position.DoIHavaAuthRequest{ + UserId: userInfo.ID, + Url: e.QueryCanShow, + //DepartmentID: departmentId, + } + + res, err := PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + canShow = e.CanShow + } + + return canShow + +} + +// 发起画展包核验 +var ongoingRequests sync.Map + +func ShowStartCheck(c *gin.Context) { + var req = struct { + ShowUid string `json:"showUid"` + ArtistUid string `json:"artistUid"` + }{} + if err := c.ShouldBindJSON(&req); err != nil { + logger.Errorf("ShowStartCheck ShouldBindJSON err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if req.ShowUid == "" { + ErrorWithMark(c, e.InvalidParams, nil, "", "画展uid不能为空") + return + } + if req.ArtistUid == "" { + ErrorWithMark(c, e.InvalidParams, nil, "", "画家uid不能为空") + return + } + // 一个画展包同一时间,只能请求一次 + // 检查是否已经有正在进行的请求 + if _, ongoing := ongoingRequests.LoadOrStore(req.ShowUid, true); ongoing { + // 如果有正在进行的请求,则返回错误 + service.Error(c, e.Failed, errors.New("警告:请勿重复提交!")) + return + } + //showDetail, err := GrpcArtShowImpl.GetArtShowData(c, &artShow.GetArtShowRequest{ShowUid: req.ShowUid}) + //if err != nil { + // service.Error(c, e.Failed, err) + // return + //} + //if showDetail.IsSend == 2 { + // service.Error(c, e.Failed, errors.New("已发起审核:请勿重复提交!")) + // return + //} + // 执行完成删除记录 + defer ongoingRequests.Delete(req.ShowUid) + fmt.Println("ShowStartCheck 11111111111111111") + // 创建画家的一键审批记录 + artistDataRes, err := GrpcArtistImpl.ArtistDetail(c, &artist.DetailRequest{Uid: req.ArtistUid}) + if err != nil { + logger.Error("GrpcArtistImpl.ArtistDetail err", zap.Error(err)) + ErrorWithMark(c, e.Failed, err, " GrpcArtistImpl.ArtistDetail Error:"+err.Error(), "查询失败") + return + } + //if artistDataRes.ProfileInfo.Resume == "" { + // ErrorWithMark(c, e.Failed, err, "artistDataRes.ProfileInfo.Resume == \"\"", "请填写画家个人简介后再发起核验") + // return + //} + fmt.Printf("resum1:%s\n", artistDataRes.ProfileInfo.Resume) + _, err = GrpcArtistImpl.CreateArtistOneQueryCheckRecord(c, &artist.ArtistOneQueryCheckRecordData{ + ArtistUID: req.ArtistUid, + ShowUid: req.ShowUid, + Resume1: artistDataRes.ProfileInfo.Resume, + }) + if err != nil { + logger.Error("GrpcArtistImpl.CreateArtistOneQueryCheckRecord err", err) + ErrorWithMark(c, e.Failed, err, "GrpcArtistImpl.CreateArtistOneQueryCheckRecord Error:"+err.Error(), "查询失败") + return + } + fmt.Println("ShowStartCheck 3333333333333333333333333") + // 修改画作的审批状态为待核验 + showInfo, err := GrpcArtShowImpl.ShowWithArtwork(c, &artShow.ArtworkDetailReq{ + ShowUID: req.ShowUid, + }) + if err != nil { + logger.Errorf("GrpcArtShowImpl.ShowArtworkInfo err", err) + ErrorWithMark(c, e.Failed, err, "GrpcArtShowImpl.ShowArtworkInfo Error:"+err.Error(), "查询失败") + return + } + fmt.Println("ShowStartCheck 222222222222222222222") + if len(showInfo.ArtworkUIDs) > 0 { + _, err = GrpcArtworkImpl.OneQueryAudit(c, &artwork.OneQueryAuditReq{ + ArtworkUidList: showInfo.ArtworkUIDs, + CheckStatus: 2, + }) + if err != nil { + logger.Error("GrpcArtworkImpl.OneQueryAudit err:", err) + ErrorWithMark(c, e.Failed, err, "GrpcArtworkImpl.OneQueryAudit Error:"+err.Error(), "查询失败") + return + } + } + fmt.Println("ShowStartCheck 444444444444444444444444") + + //画展包审发起状态改为已发起 + resp, err := GrpcArtShowImpl.IsSend(c, &artShow.IsSendReq{ + ShowUID: req.ShowUid, + IsSend: 2, + }) + fmt.Println("ShowStartCheck 555555555555555555555") + if err != nil { + logger.Error("GrpcArtShowImpl.IsSend err", err) + if resp != nil && resp.Msg != "" { + ErrorWithMark(c, e.Failed, err, " GrpcArtShowImpl.IsSend Error:"+err.Error(), resp.Msg) + return + } + ErrorWithMark(c, e.Failed, err, " GrpcArtShowImpl.IsSend Error:"+err.Error(), "查询失败") + return + } + Success(c) +} + +func GetAccInfoWithToken(ctx *gin.Context) (accInfo *account.AccountInfo, err error, code int) { + authorization := ctx.GetHeader(e.Authorization) + if authorization == "" { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + + jwt, err := secret.GetJwtFromStr(authorization) + if err != nil { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + + //0 解密 + info, err := AccountProvider.DecryptJwt(ctx, &account.DecryptJwtRequest{ + Token: jwt, + }) + if err != nil { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + //1 获取用户的账号信息 + infoRes, err := AccountProvider.Info(ctx, &account.InfoRequest{ + ID: info.ID, + }) + if err != nil { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + accInfo = infoRes.Info + return +} + +func ArtworkPriceListV2(ctx *gin.Context) { + var ( + artworkListReq *artShow.ArtworkPriceListV2Req + artworkListRes *artShow.ArtworkPriceListRes + err error + ) + if err = ctx.ShouldBind(&artworkListReq); err != nil { + zap.L().Error("ArtworkPriceListV2 err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if artworkListRes, err = GrpcArtShowImpl.ArtworkPriceListV2(context.Background(), artworkListReq); err != nil { + zap.L().Error("ArtworkPriceListV2 err query", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), artworkListRes) + return +} + +func UpdateArtworkPriceV2(ctx *gin.Context) { + var ( + updateReq *artShow.UpdateArtworkPriceV2Req + updateRes *artShow.UpdateArtworkPriceV2Res + err error + ) + if err = ctx.ShouldBind(&updateReq); err != nil { + zap.L().Error("UpdateArtworkPriceV2 err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if updateRes, err = GrpcArtShowImpl.UpdateArtworkPriceV2(context.Background(), updateReq); err != nil { + zap.L().Error("UpdateArtworkPriceV2 err query", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), updateRes) + return +} + +func CalPriceSingle(ctx *gin.Context) { + var ( + calReq *artShow.UpdateArtworkPriceV2Req + calRes *artShow.ArtworkPriceListRes + err error + ) + if err = ctx.ShouldBind(&calReq); err != nil { + zap.L().Error("CalPriceSingle err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if calRes, err = GrpcArtShowImpl.CalPrice(context.Background(), calReq); err != nil { + zap.L().Error("CalPriceSingle err query", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), calRes) + return +} + +func TalentAgencyList(ctx *gin.Context) { + var ( + req *artShow.TalentAgencyListReq + res *artShow.TalentAgencyListRes + err error + ) + if err = ctx.ShouldBind(&req); err != nil { + zap.L().Error("TalentAgencyList err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if res, err = GrpcArtShowImpl.TalentAgencyList(context.Background(), req); err != nil { + zap.L().Error("TalentAgencyList err query", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), res) + return +} diff --git a/pkg/service/art_show_export.go b/pkg/service/art_show_export.go new file mode 100644 index 0000000..1f8458a --- /dev/null +++ b/pkg/service/art_show_export.go @@ -0,0 +1,903 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/360EntSecGroup-Skylar/excelize" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/golang/freetype" + "golang.org/x/image/font" + "image" + "image/color" + "image/draw" + "image/png" + "io/ioutil" + "os" + "strconv" + "strings" + "time" +) + +func ExportShowPrice(c *gin.Context) { + var exportShowPriceReq model.ExportShowPrice + if err := c.ShouldBind(&exportShowPriceReq); err != nil { + logger.Errorf("ExportShowPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(exportShowPriceReq.ShowInfos) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画展包 uid 为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画展包 uid 为空", + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(exportShowPriceReq.ShowInfos); i++ { + uids = append(uids, exportShowPriceReq.ShowInfos[i].UID) + } + artworkDataReq.ArtShowIds = uids + + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 文件的路径 压缩包的名字 + now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/artshow/" + utils.CheckDirPath(dirPath, true) + + zipPathName := now + ".zip" + zipPath := fmt.Sprintf("./runtime/%s/", now+"_"+exportShowPriceReq.ExportType) + utils.CheckDirPath(zipPath, true) + + //// 获取 画作价格信息 + //artworkPriceReq := artShow.ShowDetailReq{} + applyInfos := make([]*model.ApplyInfo, 0) + //filePaths := make([]string, 0) + var msg string + for i := 0; i < len(exportShowPriceReq.ShowInfos); i++ { + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + // 获取 画作价格信息 + artworkPriceReq := artShow.ShowDetailReq{} + artworkPriceReq.ShowUID = append(artworkPriceReq.ShowUID, exportShowPriceReq.ShowInfos[i].UID) + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = append(showDetailReq.ShowUID, exportShowPriceReq.ShowInfos[i].UID) + artShowInfo, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 每个画展包创建一个文件夹 + newDirPath := dirPath + artShowInfo.Data[len(artShowInfo.Data)-1].ShowName + utils.CheckDirPath(newDirPath, true) + // 生成 表格 + //paths, applyInfo, err := logic.ExportShowPrice(artworkPriceList.Data, artworkData, artShowInfo.Data, exportShowPriceReq.ExportType, newDirPath) + _, applyInfo, err, m := logic.ExportShowPrice(artworkPriceList.Data, artworkData, artShowInfo.Data[len(artShowInfo.Data)-1], exportShowPriceReq.ExportType, newDirPath) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + + if m != "" { + msg = m + } else { + msg = "导出成功" + } + //filePaths = append(filePaths, newDirPath+"/") + // 获取 付款明细数据 + if applyInfo != nil { + applyInfos = append(applyInfos, applyInfo) + } + } + + // 生成 付款明细 表格 + if len(applyInfos) > 0 { + _, err := logic.ExportShowPricePayInfo(applyInfos, dirPath) + if err != nil { + logger.Errorf("ExportShowPricePayInfo query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + //filePaths = append(filePaths, path) + } + + if err := utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + logger.Errorf("CompressByFiles err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorZip, + Status: e.Failed, + }) + return + } + + if err = os.RemoveAll(dirPath); err != nil { + logger.Errorf("RemoveAll err", err) + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Join([]string{strings.Replace(zipPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), zipPathName}, ""), "runtime", "static", 1) + + ResponseQuickMsg(c, e.Ok, msg, map[string]string{ + "ExportUrl": exportUrl, + }) + +} + +func ExportEntertainment(c *gin.Context) { + req := new(model.ExportEntertainment) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ExportEntertainment ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 文件的路径 压缩包的名字 + //now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/entertainment" + utils.CheckDirPath(dirPath, true) + + //zipPathName := now + ".zip" + //zipPath := fmt.Sprintf("./runtime/%s/", req.ShowDate+"_"+now) + //utils.CheckDirPath(zipPath, true) + + if len(req.Data) == 0 { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: e.ErrorExport, + Status: e.Ok, + }) + return + } + + xlsx := excelize.NewFile() + index := "Sheet1" + + xlsx.MergeCell("Sheet1", "B1", "I1") + + songTi12LeftBoldStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"left"},"font":{"bold":true,"size":12,"family":"宋体"}}`) + songTi12CenterBoldStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center"},"font":{"bold":true,"size":12,"family":"宋体"}}`) + songTi12LeftStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"left"},"font":{"size":12,"family":"宋体"}}`) + + xlsx.SetCellStyle(index, "A1", "A1", songTi12LeftBoldStyle) + xlsx.SetCellValue(index, "A1", "画展日期") + + xlsx.MergeCell("Sheet1", "B1", "I1") + xlsx.SetCellStyle(index, "B1", "B1", songTi12CenterBoldStyle) + xlsx.SetCellValue(index, "B1", req.ShowDate) + + secondRow := []interface{}{"画家姓名", "画展地址", "联系方式", "随行人员", "到达日期", "到达时间", "出行方式", "车次号", "到达地点", "入住酒店", "接送人", "邀请人", "画展时间"} + xlsx.SetCellStyle(index, "A2", "M2", songTi12LeftBoldStyle) + xlsx.SetSheetRow(index, "A2", &secondRow) + + rowIndex := 2 + for i := 0; i < len(req.Data); i++ { + rowIndex++ + xlsx.SetCellStyle(index, fmt.Sprintf("A%v", rowIndex), fmt.Sprintf("L%v", rowIndex), songTi12LeftStyle) + xlsx.SetCellValue(index, fmt.Sprintf("A%v", rowIndex), req.Data[i].ArtistName) + xlsx.SetCellValue(index, fmt.Sprintf("B%v", rowIndex), req.Data[i].Address) + xlsx.SetCellValue(index, fmt.Sprintf("C%v", rowIndex), req.Data[i].TelNum) + xlsx.SetCellValue(index, fmt.Sprintf("D%v", rowIndex), req.Data[i].Entourage) + xlsx.SetCellValue(index, fmt.Sprintf("E%v", rowIndex), req.Data[i].ArrivalDate) + xlsx.SetCellValue(index, fmt.Sprintf("F%v", rowIndex), req.Data[i].ArrivalTime) + var travelWay string + if req.Data[i].TravelWay == 1 { + travelWay = "自驾" + } else if req.Data[i].TravelWay == 2 { + travelWay = "公共交通" + } else { + travelWay = "" + } + xlsx.SetCellValue(index, fmt.Sprintf("G%v", rowIndex), travelWay) + xlsx.SetCellValue(index, fmt.Sprintf("H%v", rowIndex), req.Data[i].TrainNum) + xlsx.SetCellValue(index, fmt.Sprintf("I%v", rowIndex), req.Data[i].ArrivalAddress) + xlsx.SetCellValue(index, fmt.Sprintf("J%v", rowIndex), req.Data[i].Hotel) + xlsx.SetCellValue(index, fmt.Sprintf("K%v", rowIndex), req.Data[i].Receiver) + xlsx.SetCellValue(index, fmt.Sprintf("L%v", rowIndex), req.Data[i].Agent) + xlsx.SetCellValue(index, fmt.Sprintf("M%v", rowIndex), req.Data[i].ShowTime) + } + + startTime := strings.Split(req.ShowDate, " - ")[0] + var fileName string + if len(strings.Split(startTime, " ")) > 1 { + fileName = strings.Split(startTime, " ")[0] + } else { + fileName = startTime + } + path := dirPath + "/" + "画展日期:" + fileName + ".xlsx" + err := xlsx.SaveAs(path) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorFileCreate), + Status: e.Ok, + }) + return + } + + //if err := utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + // logger.Errorf("CompressByFiles err", err) + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + // }) + // return + //} + + //if err = os.Remove(dirPath + path); err != nil { + // logger.Errorf("Remove err", err) + //} + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Replace(path, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), "runtime", "static", 1) + //var exportUrl = fmt.Sprintf("%s%s/%s", httpType, c.Request.Host, dirPath + path) + + ResponseQuickMsg(c, e.Ok, "导出成功", map[string]string{ + "ExportUrl": exportUrl, + }) + +} + +func ExportShowPriceOneQuery(c *gin.Context) { + var exportShowPriceReq model.ExportOneQueryShowPrice + if err := c.ShouldBind(&exportShowPriceReq); err != nil { + logger.Errorf("ExportShowPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if exportShowPriceReq.ExportType != "cp" && exportShowPriceReq.ExportType != "aw" { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.ErrorExportNotAllowed, + Status: e.Failed, + }) + return + } + + if len(exportShowPriceReq.OneQueryShowInfos) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画展包 uid 为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画展包 uid 为空", + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(exportShowPriceReq.OneQueryShowInfos); i++ { + uids = append(uids, exportShowPriceReq.OneQueryShowInfos[i].ShowUID) + } + artworkDataReq.ArtShowIds = uids + + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 文件的路径 压缩包的名字 + now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/artshow/" + utils.CheckDirPath(dirPath, true) + + zipPathName := now + ".zip" + zipPath := fmt.Sprintf("./runtime/%s/", now+"_"+exportShowPriceReq.ExportType) + utils.CheckDirPath(zipPath, true) + + // 获取 画作价格信息 + artworkPriceReq := artShow.ShowDetailReq{} + + var retPath string + var msg string + for i := 0; i < len(exportShowPriceReq.OneQueryShowInfos); i++ { + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + artworkPriceReq.ShowUID = append(artworkPriceReq.ShowUID, exportShowPriceReq.OneQueryShowInfos[i].ShowUID) + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(artworkPriceList.Data) == 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorNotFoundArtwork, + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = append(showDetailReq.ShowUID, exportShowPriceReq.OneQueryShowInfos[i].ShowUID) + artShowInfo, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 每个画展包创建一个文件夹 + newDirPath := dirPath + artShowInfo.Data[len(artShowInfo.Data)-1].ShowName + utils.CheckDirPath(newDirPath, true) + // 生成 表格 + path, err, m := logic.OneQueryExportShowPrice(artworkPriceList.Data, artworkData, artShowInfo.Data[len(artShowInfo.Data)-1], exportShowPriceReq.ExportType, newDirPath) + if err != nil { + logger.Errorf("OneQueryShowPrice query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + + if len(path) == 1 { + retPath = path[0] + } + + if m != "" { + msg = m + } else { + msg = "导出成功" + } + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + if retPath != "" { + retPath = strings.Replace(retPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1) + } + + if len(exportShowPriceReq.OneQueryShowInfos) > 1 { + if err = utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + logger.Errorf("CompressByFiles err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err = os.RemoveAll(dirPath); err != nil { + logger.Errorf("RemoveAll err", err) + } + retPath = strings.Join([]string{strings.Replace(zipPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), zipPathName}, "") + } + + var exportUrl = strings.Replace(retPath, "runtime", "static", 1) + + ResponseQuickMsg(c, e.Ok, msg, map[string]string{ + "ExportUrl": exportUrl, + }) + +} + +func ExportShowFieldOneQuery(c *gin.Context) { + oneQueryShowListReq := new(artShow.OneQueryShowListReq) + if err := c.ShouldBind(&oneQueryShowListReq); err != nil { + logger.Errorf("oneQueryShowListReq ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showListRes, err := GrpcArtShowImpl.OneQueryShowList(context.Background(), oneQueryShowListReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var fileName string + if len(showListRes.Data) > 0 { + columns := []string{"画展包名称", "画家姓名", "时间", "地点"} + var data []interface{} + for _, v := range showListRes.Data { + var temp []string + temp = append(temp, v.ShowName) + temp = append(temp, v.ArtistName) + temp = append(temp, v.ShowTime) + temp = append(temp, v.Address) + data = append(data, &temp) + } + fileName = fmt.Sprintf("画展包数据%v.xlsx", time.Now().Unix()) + _, err = utils.ToExcelByType(columns, data, "slice", "./runtime/"+fileName) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + } + } + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, fileName) + ResponseQuickMsg(c, e.Ok, "导出成功", map[string]string{ + "url": exportUrl, + }) + return +} + +func ExportEntertainmentImage(c *gin.Context) { + req := new(model.ExportEntertainment) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ExportEntertainment ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 文件的路径 压缩包的名字 + //now := strconv.FormatInt(time.Now().Unix(), 10) + originFile, err := os.Open("./data/entertainmentImage.png") + + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: e.ErrorReadTemp, + Status: e.Ok, + }) + return + } + defer originFile.Close() + + dirPath := "./runtime/entertainment" + utils.CheckDirPath(dirPath, true) + + if len(req.Data) == 0 { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: e.ErrorExport, + Status: e.Ok, + }) + return + } + + originImg, err := png.Decode(originFile) // 解码 + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: e.ErrorEncodeImage, + Status: e.Ok, + }) + return + } + + startTime := strings.Split(req.ShowDate, " - ")[0] + var fileName string + if len(strings.Split(startTime, " ")) > 1 { + fileName = strings.Split(startTime, " ")[0] + } else { + fileName = startTime + } + path := dirPath + "/" + "画展日期-" + fileName + ".png" + saveFile, err := os.Create(path) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorFileCreate), + Status: e.Ok, + }) + return + } + defer saveFile.Close() + + fontPath := "./data/font1716.ttf" + + var showDateSize float64 = 24 + outImage, _ := addLabel(originImg, req.ShowDate, 650, 125, color.RGBA{0, 0, 0, 255}, showDateSize, fontPath) + var worldSize float64 = 14 + y := 177 + int(worldSize) + for i := 0; i < len(req.Data); i++ { + lineX := 30 + if i > 0 { + if i > 4 { + y = y + int(worldSize) + 18 + } else { + y = y + int(worldSize) + 18 - i + } + } + + outImage, _ = addLabel(outImage, req.Data[i].ArtistName, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 80 + outImage, _ = addLabel(outImage, req.Data[i].Address, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 98 + outImage, _ = addLabel(outImage, req.Data[i].TelNum, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 120 + outImage, _ = addLabel(outImage, req.Data[i].Entourage, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 80 + outImage, _ = addLabel(outImage, req.Data[i].ArrivalDate, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 115 + outImage, _ = addLabel(outImage, req.Data[i].ArrivalTime, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + var travelWay string + if req.Data[i].TravelWay == 1 { + travelWay = "自驾" + } else if req.Data[i].TravelWay == 2 { + travelWay = "公共交通" + } else { + travelWay = "" + } + lineX += 100 + outImage, _ = addLabel(outImage, travelWay, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 100 + outImage, _ = addLabel(outImage, req.Data[i].TrainNum, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 110 + outImage, _ = addLabel(outImage, req.Data[i].ArrivalAddress, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 132 + outImage, _ = addLabel(outImage, req.Data[i].Hotel, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 350 + outImage, _ = addLabel(outImage, req.Data[i].Receiver, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 210 + var agent string + if strings.Count(req.Data[i].Agent, "丰链") > 0 { + agent = "公司" + } else if strings.Count(req.Data[i].Agent, "泰丰") > 0 { + agent = "公司" + } else { + agent = req.Data[i].Agent + } + + outImage, _ = addLabel(outImage, agent, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + lineX += 160 + outImage, _ = addLabel(outImage, req.Data[i].ShowTime, lineX, y, color.RGBA{0, 0, 0, 255}, worldSize, fontPath) + + } + + err = png.Encode(saveFile, outImage) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: e.GetMsg(e.ErrorFileCreate), + Status: e.Ok, + }) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Replace(path, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), "runtime", "static", 1) + //var exportUrl = fmt.Sprintf("%s%s/%s", httpType, c.Request.Host, dirPath + path) + + ResponseQuickMsg(c, e.Ok, "导出成功", map[string]string{ + "ExportUrl": exportUrl, + }) + +} + +func addLabel(img image.Image, label string, x, y int, fontColor color.Color, size float64, fontPath string) (image.Image, error) { + bound := img.Bounds() + // 创建一个新的图片 + rgba := image.NewRGBA(image.Rect(0, 0, bound.Dx(), bound.Dy())) + // 读取字体 + fontBytes, err := ioutil.ReadFile(fontPath) + if err != nil { + return rgba, err + } + myFont, err := freetype.ParseFont(fontBytes) + if err != nil { + return rgba, err + } + + draw.Draw(rgba, rgba.Bounds(), img, bound.Min, draw.Src) + c := freetype.NewContext() + c.SetDPI(72) + c.SetFont(myFont) + c.SetFontSize(size) + c.SetClip(rgba.Bounds()) + c.SetDst(rgba) + uni := image.NewUniform(fontColor) + c.SetSrc(uni) + c.SetHinting(font.HintingNone) + + // 在指定的位置显示 + pt := freetype.Pt(x, y+int(c.PointToFixed(size)>>6)) + if _, err := c.DrawString(label, pt); err != nil { + return rgba, err + } + + return rgba, nil +} + +func ExportByArtist(c *gin.Context) { + var exportByArtistReq model.ExportShowPrice + if err := c.ShouldBind(&exportByArtistReq); err != nil { + logger.Errorf("ExportShowPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(exportByArtistReq.ShowInfos) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画展包 uid 为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画展包 uid 为空", + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(exportByArtistReq.ShowInfos); i++ { + uids = append(uids, exportByArtistReq.ShowInfos[i].UID) + } + artworkDataReq.ArtShowIds = uids + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 文件的路径 压缩包的名字 + now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/artshow/" + utils.CheckDirPath(dirPath, true) + + zipPathName := now + ".zip" + zipPath := fmt.Sprintf("./runtime/%s/", now+"_"+exportByArtistReq.ExportType) + utils.CheckDirPath(zipPath, true) + + // 获取 画作价格信息 + + artworkPriceReq := artShow.ShowDetailReq{} + applyInfos := make([]*model.ApplyInfo, 0) + + var msg string + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + artworkPriceReq.ShowUID = uids + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = uids + artShowInfos, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //用画家名创建文件夹 + newDirPath := dirPath + artShowInfos.Data[0].ArtistName + utils.CheckDirPath(newDirPath, true) + + // 生成 表格 + _, applyInfo, err, m := logic.ExportByArtist(artworkPriceList.Data, artworkData, artShowInfos.Data, exportByArtistReq.ExportType, newDirPath) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if m != "" { + msg = m + } else { + msg = "导出成功" + } + // 获取 付款明细数据 + if applyInfo != nil { + applyInfos = append(applyInfos, applyInfo) + } + + // 生成 付款明细 表格 + if len(applyInfos) > 0 { + _, err := logic.ExportShowPricePayInfo(applyInfos, dirPath) + if err != nil { + logger.Errorf("ExportShowPricePayInfo query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + //filePaths = append(filePaths, path) + } + + if err := utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + logger.Errorf("CompressByFiles err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorZip, + Status: e.Failed, + }) + return + } + + if err = os.RemoveAll(dirPath); err != nil { + logger.Errorf("RemoveAll err", err) + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Join([]string{strings.Replace(zipPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), zipPathName}, ""), "runtime", "static", 1) + + ResponseQuickMsg(c, e.Ok, msg, map[string]string{ + "ExportUrl": exportUrl, + }) + +} diff --git a/pkg/service/art_show_export_withoutCopyright.go b/pkg/service/art_show_export_withoutCopyright.go new file mode 100644 index 0000000..386070f --- /dev/null +++ b/pkg/service/art_show_export_withoutCopyright.go @@ -0,0 +1,519 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "os" + "strconv" + "strings" + "time" +) + +func ExportShowPrice_withoutCopyright(c *gin.Context) { + var exportShowPriceReq model.ExportShowPrice + if err := c.ShouldBind(&exportShowPriceReq); err != nil { + logger.Errorf("ExportShowPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(exportShowPriceReq.ShowInfos) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画展包 uid 为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画展包 uid 为空", + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(exportShowPriceReq.ShowInfos); i++ { + uids = append(uids, exportShowPriceReq.ShowInfos[i].UID) + } + artworkDataReq.ArtShowIds = uids + + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 文件的路径 压缩包的名字 + now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/artshow/" + utils.CheckDirPath(dirPath, true) + + zipPathName := now + ".zip" + zipPath := fmt.Sprintf("./runtime/%s/", now+"_"+exportShowPriceReq.ExportType) + utils.CheckDirPath(zipPath, true) + + //// 获取 画作价格信息 + //artworkPriceReq := artShow.ShowDetailReq{} + applyInfos := make([]*model.ApplyInfo, 0) + //filePaths := make([]string, 0) + var msg string + for i := 0; i < len(exportShowPriceReq.ShowInfos); i++ { + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + // 获取 画作价格信息 + artworkPriceReq := artShow.ShowDetailReq{} + artworkPriceReq.ShowUID = append(artworkPriceReq.ShowUID, exportShowPriceReq.ShowInfos[i].UID) + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = append(showDetailReq.ShowUID, exportShowPriceReq.ShowInfos[i].UID) + artShowInfo, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 每个画展包创建一个文件夹 + newDirPath := dirPath + artShowInfo.Data[len(artShowInfo.Data)-1].ShowName + utils.CheckDirPath(newDirPath, true) + // 生成 表格 + //paths, applyInfo, err := logic.ExportShowPrice(artworkPriceList.Data, artworkData, artShowInfo.Data, exportShowPriceReq.ExportType, newDirPath) + _, applyInfo, err, m := logic.ExportShowPrice_withoutCopyright(artworkPriceList.Data, artworkData, artShowInfo.Data[len(artShowInfo.Data)-1], exportShowPriceReq.ExportType, newDirPath) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + + if m != "" { + msg = m + } else { + msg = "导出成功" + } + //filePaths = append(filePaths, newDirPath+"/") + // 获取 付款明细数据 + if applyInfo != nil { + applyInfos = append(applyInfos, applyInfo) + } + } + + // 生成 付款明细 表格 + if len(applyInfos) > 0 { + _, err := logic.ExportShowPricePayInfo_withoutCopyright(applyInfos, dirPath) + if err != nil { + logger.Errorf("ExportShowPricePayInfo query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + //filePaths = append(filePaths, path) + } + + if err := utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + logger.Errorf("CompressByFiles err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorZip, + Status: e.Failed, + }) + return + } + + if err = os.RemoveAll(dirPath); err != nil { + logger.Errorf("RemoveAll err", err) + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Join([]string{strings.Replace(zipPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), zipPathName}, ""), "runtime", "static", 1) + + ResponseQuickMsg(c, e.Ok, msg, map[string]string{ + "ExportUrl": exportUrl, + }) + +} + +func ExportShowPriceOneQuery_withoutCopyright(c *gin.Context) { + var exportShowPriceReq model.ExportOneQueryShowPrice + if err := c.ShouldBind(&exportShowPriceReq); err != nil { + logger.Errorf("ExportShowPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if exportShowPriceReq.ExportType != "cp" && exportShowPriceReq.ExportType != "aw" { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: e.ErrorExportNotAllowed, + Status: e.Failed, + }) + return + } + + if len(exportShowPriceReq.OneQueryShowInfos) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画展包 uid 为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画展包 uid 为空", + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(exportShowPriceReq.OneQueryShowInfos); i++ { + uids = append(uids, exportShowPriceReq.OneQueryShowInfos[i].ShowUID) + } + artworkDataReq.ArtShowIds = uids + + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 文件的路径 压缩包的名字 + now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/artshow/" + utils.CheckDirPath(dirPath, true) + + zipPathName := now + ".zip" + zipPath := fmt.Sprintf("./runtime/%s/", now+"_"+exportShowPriceReq.ExportType) + utils.CheckDirPath(zipPath, true) + + // 获取 画作价格信息 + artworkPriceReq := artShow.ShowDetailReq{} + + var retPath string + var msg string + for i := 0; i < len(exportShowPriceReq.OneQueryShowInfos); i++ { + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + artworkPriceReq.ShowUID = append(artworkPriceReq.ShowUID, exportShowPriceReq.OneQueryShowInfos[i].ShowUID) + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(artworkPriceList.Data) == 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorNotFoundArtwork, + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = append(showDetailReq.ShowUID, exportShowPriceReq.OneQueryShowInfos[i].ShowUID) + artShowInfo, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 每个画展包创建一个文件夹 + newDirPath := dirPath + artShowInfo.Data[len(artShowInfo.Data)-1].ShowName + utils.CheckDirPath(newDirPath, true) + // 生成 表格 + path, err, m := logic.OneQueryExportShowPrice_withoutCopyright(artworkPriceList.Data, artworkData, artShowInfo.Data[len(artShowInfo.Data)-1], exportShowPriceReq.ExportType, newDirPath) + if err != nil { + logger.Errorf("OneQueryShowPrice query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + + if len(path) == 1 { + retPath = path[0] + } + + if m != "" { + msg = m + } else { + msg = "导出成功" + } + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + if retPath != "" { + retPath = strings.Replace(retPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1) + } + + if len(exportShowPriceReq.OneQueryShowInfos) > 1 { + if err = utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + logger.Errorf("CompressByFiles err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err = os.RemoveAll(dirPath); err != nil { + logger.Errorf("RemoveAll err", err) + } + retPath = strings.Join([]string{strings.Replace(zipPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), zipPathName}, "") + } + + var exportUrl = strings.Replace(retPath, "runtime", "static", 1) + + ResponseQuickMsg(c, e.Ok, msg, map[string]string{ + "ExportUrl": exportUrl, + }) + +} + +func ExportByArtist_withoutCopyright(c *gin.Context) { + var exportByArtistReq model.ExportShowPrice + if err := c.ShouldBind(&exportByArtistReq); err != nil { + logger.Errorf("ExportShowPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(exportByArtistReq.ShowInfos) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画展包 uid 为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画展包 uid 为空", + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(exportByArtistReq.ShowInfos); i++ { + uids = append(uids, exportByArtistReq.ShowInfos[i].UID) + } + artworkDataReq.ArtShowIds = uids + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 文件的路径 压缩包的名字 + now := strconv.FormatInt(time.Now().Unix(), 10) + dirPath := "./runtime/artshow/" + utils.CheckDirPath(dirPath, true) + + zipPathName := now + ".zip" + zipPath := fmt.Sprintf("./runtime/%s/", now+"_"+exportByArtistReq.ExportType) + utils.CheckDirPath(zipPath, true) + + // 获取 画作价格信息 + + artworkPriceReq := artShow.ShowDetailReq{} + applyInfos := make([]*model.ApplyInfo, 0) + + var msg string + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + artworkPriceReq.ShowUID = uids + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = uids + artShowInfos, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //用画家名创建文件夹 + newDirPath := dirPath + artShowInfos.Data[0].ArtistName + utils.CheckDirPath(newDirPath, true) + + // 生成 表格 + _, applyInfo, err, m := logic.ExportByArtist_withoutCopyright(artworkPriceList.Data, artworkData, artShowInfos.Data, exportByArtistReq.ExportType, newDirPath) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if m != "" { + msg = m + } else { + msg = "导出成功" + } + // 获取 付款明细数据 + if applyInfo != nil { + applyInfos = append(applyInfos, applyInfo) + } + + // 生成 付款明细 表格 + if len(applyInfos) > 0 { + _, err := logic.ExportShowPricePayInfo_withoutCopyright(applyInfos, dirPath) + if err != nil { + logger.Errorf("ExportShowPricePayInfo query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorSaveFile, + Status: e.Failed, + }) + return + } + //filePaths = append(filePaths, path) + } + + if err := utils.ZipFile(dirPath, zipPath+zipPathName); err != nil { + logger.Errorf("CompressByFiles err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorZip, + Status: e.Failed, + }) + return + } + + if err = os.RemoveAll(dirPath); err != nil { + logger.Errorf("RemoveAll err", err) + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl = strings.Replace(strings.Join([]string{strings.Replace(zipPath, ".", fmt.Sprintf("%s%s", httpType, c.Request.Host), 1), zipPathName}, ""), "runtime", "static", 1) + + ResponseQuickMsg(c, e.Ok, msg, map[string]string{ + "ExportUrl": exportUrl, + }) + +} diff --git a/pkg/service/artist.go b/pkg/service/artist.go new file mode 100644 index 0000000..133c6b7 --- /dev/null +++ b/pkg/service/artist.go @@ -0,0 +1,1830 @@ +package service + +import ( + "bytes" + "context" + "dubbo.apache.org/dubbo-go/v3/common/constant" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/base64" + "encoding/json" + "errors" + "fmt" + _ "github.com/Workiva/go-datastructures/threadsafe/err" + service "github.com/fonchain_enterprise/fonchain-main/api" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + projectConf "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic/ocr" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + pkgResponse "github.com/fonchain_enterprise/fonchain-main/pkg/model/response" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + baiduUtils "github.com/fonchain_enterprise/utils/baidu" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "io/ioutil" + "reflect" + "sort" + "strings" + "time" +) + +func CreateProfile(c *gin.Context) { + // 1. 获取参数及参数的校验 + var profileRequest artist.ProfileRequest + if err := c.ShouldBind(&profileRequest); err != nil { + logger.Errorf("CreateProfileHandler ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err := profileRequest.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.CreateProfile(context.Background(), &profileRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.DataInfo, + }) +} + +func UpdateProfile(c *gin.Context) { + // 1. 获取参数及参数的校验 + var profileRequest artist.ProfileRequest + if err := c.ShouldBind(&profileRequest); err != nil { + logger.Errorf("UpdateProfile ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + var logicArtist logic.ArtistInfo + profileRequest.Name = logicArtist.RecheckArtistName(profileRequest.Name) + if err := profileRequest.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + atta := make(map[string]interface{}, 2) + userInfoAny, ok := c.Get("mLoginInfo") + loginInfo := model.LoginInfo{} + if ok { + loginInfo = userInfoAny.(model.LoginInfo) + loginInfoByte, _ := json.Marshal(loginInfo) + atta["userinfo"] = string(loginInfoByte) + } + if projectConf.Env == "dev" { + loginInfo.ID = 1 + loginInfo.NickName = "admin" + } + limitInfo, _err := CheckEditLimit(c, profileRequest.TagName, profileRequest.Uid) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), limitInfo) + return + } + reqContext := context.WithValue(context.Background(), constant.DubboCtxKey("attachment"), atta) + resp, err := GrpcArtistImpl.UpdateProfile(reqContext, &profileRequest) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if resp.BankInfoChange { + req1 := paybill.RecordReq{ + ArtistUid: profileRequest.Uid, + OldArtist: &paybill.Artist{ + BankNum: resp.OldBank.BankNum, + BankCode: resp.OldBank.BankCode, + BankName: resp.OldBank.BankName, + }, + NewArtist: &paybill.Artist{ + BankNum: profileRequest.BankNum, + BankCode: profileRequest.BankCode, + BankName: profileRequest.BankName, + }, + OperatorId: uint32(loginInfo.ID), + OperatorName: loginInfo.NickName, + } + // 账单列表 + _, err = GrpcPayBillImpl.Record(context.Background(), &req1) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + RemoveEditLimit(profileRequest.TagName, profileRequest.Uid) + SyncArtistInfo(profileRequest.Uid, profileRequest.Name) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), resp.DataInfo) +} + +func SyncArtistInfo(artistUid string, artistName string) { + var profileRequest artwork.UpArtistInfoRequest + var infoReq artwork.UpArtistInfoRequest_ArtistInfo + infoReq.ArtistName = artistName + infoReq.ArtistUuid = artistUid + profileRequest.Data = append(profileRequest.Data, &infoReq) + resp, err := GrpcArtworkImpl.UpdateArtistInfo(context.Background(), &profileRequest) + logger.Info("updateArtworkInfo", resp) + if err != nil { + logger.Errorf("updateArtworkInfo err", err) + } +} + +func Detail(c *gin.Context) { + // 1. 获取参数及参数的校验 + //var id = c.Param("id") + var detailRequest artist.DetailRequest + //detailRequest.Uid = id + if err := c.ShouldBind(&detailRequest); err != nil { + logger.Errorf("GetDetailHandler ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtistImpl.ArtistDetail(context.Background(), &detailRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.HonorInfo) == 0 { + resp.HonorInfo = []*artist.HonorRequest{} + } + resp.ProfileInfo.Resume = DownloadIfHttpLongText(resp.ProfileInfo.Resume) + //从最近一次的画展包核验数据中获取个人简介2 + recordRes, err := GrpcArtistImpl.GetArtistOneQueryCheckRecordList(c, &artist.GetArtistOneQueryCheckRecordListRequest{ + Query: &artist.ArtistOneQueryCheckRecordData{ArtistUID: resp.ProfileInfo.Uid}, + Page: 1, + PageSize: -1, + Order: "created_at desc", + }) + if err != nil { + zap.L().Error("获取画展阿波核验数据失败", zap.Error(err)) + } + if recordRes.Total > 0 { + for _, v := range recordRes.List { + if v.Resume2 != "" { + resp.ProfileInfo.Resume2 = v.Resume2 + break + } + } + } + //查询画展次数 + if resp.ProfileInfo != nil { + resp.ProfileInfo.ArtistShowCount = fmt.Sprintf("%s(0)", resp.ProfileInfo.Name) + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: []string{resp.ProfileInfo.Uid}}) + if _err == nil && len(artshowResp.ArtistShowCount) > 0 { + resp.ProfileInfo.ArtistShowCount = fmt.Sprintf("%s(%d)", resp.ProfileInfo.Name, artshowResp.ArtistShowCount[0].ShowCount) + } + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp, + }) +} + +func List(c *gin.Context) { + // 1. 获取参数及参数的校验 + var listReq artist.ArtistListRequest + var paramMap map[string]interface{} + bodyByte, _ := ioutil.ReadAll(c.Request.Body) + if err := json.Unmarshal(bodyByte, ¶mMap); err != nil { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.JsonUnmarshal), nil) + return + } + c.Request.Body = ioutil.NopCloser(bytes.NewBuffer(bodyByte)) + + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("ListHandler ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + _, ok := paramMap["Gender"] + if !ok { + listReq.Gender = -1 + } + /*if listReq.MasterType == model.MasterTypeEmpty { //默认是查询普通 + listReq.MasterType = model.MasterTypeNo + }*/ + resp, err := GrpcArtistImpl.ArtistList(context.Background(), &listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(resp.Data) == 0 { + resp.Data = []*artist.ProfileRequest{} + } + var artistUids []string = make([]string, 0, len(resp.Data)) + for k, v := range resp.Data { + artistUids = append(artistUids, v.Uid) + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(0)", v.Name) + if v.BlackListStatus == 2 { + listTimes, _ := stime.DatetimeToTimes(v.BlackListTime, stime.Format_Normal_YMDhms) + if listTimes > 0 && (int64(listTimes)+86400*365) < time.Now().Unix() { + v.BlackListStatus = 100 + } + resp.Data[k].Name = fmt.Sprintf("#%s", v.Name) + } + } + // 查询画展次数 + if len(resp.Data) > 0 && listReq.PageSize <= 50 { + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(c, &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + fmt.Println("artistUids", artistUids) + fmt.Println("artshowResp", artshowResp) + zap.L().Info("artist-list", zap.Any("artistUids", artistUids)) + zap.L().Info("artist-list", zap.Any("artshowResp", artshowResp)) + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp.Data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.Uid == v1.ArtistUid { + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.Name, v1.ShowCount) + break + } + } + } + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// ListExport 导出画家 +func ListExport(c *gin.Context) { + var listReq artist.ExportArtistRequest + + if c.Request.Method == "POST" { + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("ListExport ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + dataStr, err := json.Marshal(&listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var dataBase64 string = base64.StdEncoding.EncodeToString(dataStr) + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s%s?data=%s", httpType, c.Request.Host, c.Request.RequestURI, dataBase64) + ResponseQuickMsg(c, e.Ok, "", map[string]interface{}{"ExportUrl": exportUrl}) + return + } + if c.Request.Method != "GET" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.Error), nil) + return + } + dataAny, ok := c.GetQuery("data") + if !ok { + return + } + dataStr := fmt.Sprintf("%v", dataAny) + dataJsonStr, err := base64.StdEncoding.DecodeString(dataStr) + if err != nil { + return + } + if err = json.Unmarshal(dataJsonStr, &listReq); err != nil { + return + } + resp, err := GrpcArtistImpl.ExportArtist(context.Background(), &listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //组装数据 + if len(resp.Data) == 0 { + resp.Data = []*artist.ExportArtistResponse_Info{} + } + columns := strings.Split(resp.ColumnDesc, ",") // excel 字段 + columnStruct := strings.Split(resp.StructName, ",") // struct 字段 + data, _ := logic.RegroupArtistExcelData(resp.Data, columnStruct) + content, _ := utils.ToExcelByType(columns, data, "slice", "") + utils.ResponseXls(c, content, model.ArtistExcelName) +} + +// ExportArtistField 导出字段列表 +func ExportArtistField(c *gin.Context) { + var req artist.ExportFieldListRequest + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("ExportArtistField ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if req.MasterType == model.MasterTypeEmpty { + req.MasterType = model.MasterTypeNo + } + var resp *artist.ExportFieldListResponse + if resp, err = GrpcArtistImpl.ExportFieldList(context.Background(), &req); err != nil { + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +func Media(c *gin.Context) { + var ( + mediaReq artist.MediaRequest + artistDetail *artist.DetailResponse + err error + ) + if err = c.ShouldBind(&mediaReq); err != nil { + logger.Errorf("MediaHandler ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + limitInfo, _err := CheckEditLimit(c, mediaReq.TagName, mediaReq.Uid) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), limitInfo) + return + } + // 查询详情 + if artistDetail, err = GrpcArtistImpl.ArtistDetail(c, &artist.DetailRequest{Uid: mediaReq.Uid}); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var cardInfo *baiduUtils.OrcRes + var logicOcr = new(ocr.Card) + mediaReq.CardIdInfo = &artist.CardIdInfo{} + if mediaReq.CardFace != "" && artistDetail.MediaInfo.CardFace != mediaReq.CardFace { + cardInfo, _err = logicOcr.CardInfo(mediaReq.CardFace, "front") + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), limitInfo) + return + } + if cardInfo.IdCard == "" { + ResponseQuickMsg(c, e.Failed, e.ERROR_CARDID_OCR, nil) + return + } + _ = copier.CopyWithOption(&mediaReq.CardIdInfo, cardInfo, copier.Option{IgnoreEmpty: true}) + mediaReq.CardIdInfo.CardId = cardInfo.IdCard + mediaReq.CardIdInfo.Address = cardInfo.Path + } + if mediaReq.CardNational != "" && artistDetail.MediaInfo.CardNational != mediaReq.CardNational { + cardInfo, _err = logicOcr.CardInfo(mediaReq.CardNational, "back") + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + if cardInfo.ExpireStartTime == "" { + ResponseQuickMsg(c, e.Failed, e.ERROR_CARDID_OCR, nil) + return + } + _ = copier.CopyWithOption(&mediaReq.CardIdInfo, cardInfo, copier.Option{IgnoreEmpty: true}) + } + resp, err := GrpcArtistImpl.UpdateMedia(context.Background(), &mediaReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + RemoveEditLimit(mediaReq.TagName, mediaReq.Uid) + // 解析最后一个访谈视频发送至画家宝 + if len(mediaReq.InterviewVideos) > 0 { + if resp.DataInfo.Send { + var newVideoUrl string = mediaReq.InterviewVideos[len(mediaReq.InterviewVideos)-1].OriUrl + var newVideoCover string = mediaReq.InterviewVideos[len(mediaReq.InterviewVideos)-1].CoverUrl + _, err = GrpcArtistInfoArtshowImpl.UpdateLockedArtshowVideo(context.Background(), &artistinfoArtshow.UpdateLockedArtshowVideoRequest{ + ArtistUid: mediaReq.Uid, + VideoUrl: newVideoUrl, + VideoCover: newVideoCover, + }) + if err != nil { + logger.Errorf("UpdateLockedArtshowVideo err", err) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorUpdateVideo), nil) + return + } + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.DataInfo) +} + +// Indexs 更新指数 +func Indexs(c *gin.Context) { + var indexReq artist.IndexRequest + if err := c.ShouldBind(&indexReq); err != nil { + logger.Errorf("Indexs ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + indexReq.InSource = artist.InSource_InSourceManager + /*resp, err := GrpcArtistImpl.UpdateIndex(context.Background(), &indexReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + }*/ + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.Success), + Status: e.Ok, + Data: map[string]interface{}{ + "Uid": indexReq.Uid, + }, + }) +} + +// Honor 更新荣誉 +func Honor(c *gin.Context) { + var honorReq artist.HonorRequest + if err := c.ShouldBind(&honorReq); err != nil { + logger.Errorf("Honor ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtistImpl.UpdateHonor(context.Background(), &honorReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.DataInfo, + }) +} + +// HonorDel 删除荣誉 +func HonorDel(c *gin.Context) { + var honorReq artist.HonorDelRequest + if err := c.ShouldBind(&honorReq); err != nil { + logger.Errorf("Honor HonorDel err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtistImpl.HonorDel(context.Background(), &honorReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} +func ContractAdd(c *gin.Context) { + var contractReq artist.ContractAddRequest + if err := c.ShouldBind(&contractReq); err != nil { + logger.Errorf("Contract ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtistImpl.ContractAdd(context.Background(), &contractReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func ContractEdit(c *gin.Context) { + var contractReq artist.ContractAddRequest + if err := c.ShouldBind(&contractReq); err != nil { + logger.Errorf("Contract ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtistImpl.ContractUpdate(context.Background(), &contractReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func ContractList(c *gin.Context) { + var contractReq artist.ContractListRequest + if err := c.ShouldBind(&contractReq); err != nil { + logger.Errorf("ContractList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.ContractList(context.Background(), &contractReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) +} + +func DelArtist(c *gin.Context) { + var delReq artist.DelRequest + if err := c.ShouldBind(&delReq); err != nil { + logger.Errorf("DelArtist ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtistImpl.DelArtist(context.Background(), &delReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func IdName(c *gin.Context) { + var idNameReq artist.ArtIdNameRequest + if err := c.ShouldBind(&idNameReq); err != nil { + logger.Errorf("idNameReq ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.ArtistIdName(context.Background(), &idNameReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, v := range resp.Items { + if v.BlackListStatus == 2 { + v.Name = fmt.Sprintf("#%s", v.Name) + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Items) +} + +func InvitationAdd(c *gin.Context) { + var req artist.InvitationAddRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationAdd ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //确认个人简介信息是否已经核验 + //res, err := GrpcArtistImpl.GetArtistOneQueryCheckRecordList(c, &artist.GetArtistOneQueryCheckRecordListRequest{ + // Query: &artist.ArtistOneQueryCheckRecordData{ShowUid: req.ShowUid}, + // Page: 1, + // PageSize: 1, + //}) + //if err != nil { + // ErrorWithMark(c, e.Failed, err, "", "查询核验状态失败!") + // return + //} + //if res.Total == 0 { + // ErrorWithMark(c, e.Failed, nil, "", "请先完成画家核验后再发送邀请函!") + // return + //} + //发送邀请函 + //req.Address = "苏州" //默认为苏州 + //fmt.Println("req.ShowUid", req.ShowUid) + //resp, err := GrpcArtistImpl.InvitationAdd(context.Background(), &req) + //if err != nil { + // ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + //} + //go func() { + // var theseArtists, err = GrpcArtistInfoUserImpl.FindUsers(c, &artistInfoUser.FindUsersRequest{MgmtArtistUids: req.ArtistUuids}) + // if err != nil { + // fmt.Printf("app通知发送失败。获取画家信息失败:%s\n", err.Error()) + // return + // } + // //设置别名 + // var alias []string + // for _, v := range theseArtists.Data { + // alias = append(alias, fmt.Sprintf("user_%d_%s", v.Id, v.TelNum)) + // } + // //发送通知 + // if len(alias) > 0 { + // appPusher := push.DefaultArtistinfoPusher() + // appPusher.Audience.SetAlias(alias) + // appPusher.Notice.Title = "恭喜您收到了一张画展邀请函!" + // appPusher.Notice.Alert = "请进入画家宝点击邀请函以查看详情。" + // appPusher.SetAndroidIntentPage("action=com.jiyi.jy_jpush_third.JYThirdActivity;component=uni.UNID335ADB/com.jiyi.jy_jpush_third.JYThirdActivity") + // if config.Env == "test" { + // //测试环境 + // appPusher.SetExtrasKeyVale("pageLink", "http://artisttest.szjixun.cn/pages/invite/index") + // } else { + // //生成环境 + // appPusher.SetExtrasKeyVale("pageLink", "/pages/invite/index") + // } + // //appPusher.SetIosPageLink("/pages/invite/index") + // err = appPusher.PushNotify() + // if err != nil { + // fmt.Println("app通知发送失败:" + err.Error()) + // } + // } + //}() + //徐嘉鸿新增逻辑,查询画展包的画展时间如果小于今天则不发送邀请 updated by xjj 2024-05-21 + showListRes, err := GrpcArtShowImpl.ShowDetail(c, &artShow.ShowDetailReq{ + ShowUID: []string{req.ShowUid}, + }) + if err != nil { + ErrorWithMark(c, e.Failed, err, "", "查询画展包信息失败!") + return + } + if len(showListRes.Data) > 0 { + var packageShowTime string + if showListRes.Data[0].ShowTime != "" { + packageShowTime = showListRes.Data[0].ShowTime + } else if showListRes.Data[0].PreTime != "" { + packageShowTime = showListRes.Data[0].PreTime + } + var now = time.Now().Format(stime.Format_Normal_YMD) + if packageShowTime < now { + ResponseQuickMsg(c, e.Failed, "画展时间已过,无法发送邀请函!", nil) + return + } + } else { + ResponseQuickMsg(c, e.Failed, "画展包信息不存在!,无法发送邀请函", nil) + return + } + resp, err := SendInvitationLetter(&req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func InvitationList(c *gin.Context) { + var req artist.InvitationListRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + res, err := GrpcArtistImpl.InvitationList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var resp []InvitationData + if len(res.Data) > 0 { + for _, v := range res.Data { + v := v + inviteStatus := 0 + switch { + case v.IsCome == 0: + inviteStatus = 2 + case v.IsCome == 1: + inviteStatus = 3 + case v.IsCome == 2: + inviteStatus = 4 + } + resp = append(resp, InvitationData{ + InviteStatus: inviteStatus, + InvitationUpdateRequest: v, + }) + } + } + + ResponseQuickMsg(c, e.Ok, res.Msg, resp) + return +} + +func InvitationUpdate(c *gin.Context) { + var req artist.InvitationUpdateRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationUpdate ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.InvitationUpdate(c, &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func InvitationDel(c *gin.Context) { + var req artist.InvitationDelRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationDel ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.InvitationDel(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func InvitationInfo(c *gin.Context) { + var req artist.InvitationInfoRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationInfo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.InvitationInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Info) + return +} + +func DownloadArtist(c *gin.Context) { + var listReq artist.ExportArtistRequest + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("ListExport ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.ExportArtist(context.Background(), &listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + columnDesc := strings.Split(resp.ColumnDesc, ",") // excel 字段 + columnStruct := strings.Split(resp.StructName, ",") // struct 字段 + var adminId uint64 + if config.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + } + if resp.Data == nil { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + zipPath, err := logic.RegroupArtistDownloadData(resp.Data, columnStruct, columnDesc, adminId) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/%s", httpType, c.Request.Host, zipPath) + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "ExportUrl": exportUrl, + }) + return +} + +func GetCardIdWithImg(c *gin.Context) { + var listReq artist.GetCardIdWithImgReq + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("GetCardIdWithImg ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := listReq.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.GetCardIdWithImg(context.Background(), &listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func DelContract(c *gin.Context) { + var req artist.DelContractReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelContract ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.DelContract(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func ArtistOneQueryList(c *gin.Context) { + var req artist.OneQueryReq + var reqModel model.OneQueryReq + var err error + if err = c.ShouldBind(&reqModel); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("ArtistOneQueryList --1") + //查询黑名单中的画家 + var blackArtistUids []string + blackListRes, err := GrpcArtistImpl.BlackList(context.Background(), &artist.BlackListReq{Page: 1, PageSize: -1, Gender: -1, BlackListStatus: 2}) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("ArtistOneQueryList --2") + for i, _ := range blackListRes.Data { + blackArtistUids = append(blackArtistUids, blackListRes.Data[i].ArtistUuid) + } + fmt.Println("blackArtistUids", blackArtistUids) + if reqModel.Permission == model.PermissionFinance && reqModel.AllArtist == 1 { + var count int32 + var respALl []*AristOneQueryRespData + respALl, count, err = AllArtist(reqModel) + if err != nil { + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Failed), nil) + return + } + respALl = AristOneQueryRespDataCount(respALl, blackArtistUids...) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), map[string]interface{}{ + "Data": respALl, + "Count": count, + }) + return + } + //临时使用旧版本逻辑 + //ArtistOneQueryListOldLogic(c, reqModel) + //return + fmt.Printf("request:%+v\n", reqModel) + // 查询指定月的画展包 + if reqModel.ShowTime != "" { + //qst := strings.Split(reqModel.ShowTime, "-") + //month, _ := strconv.Atoi(qst[1]) + //queryShowTime := fmt.Sprintf("%s.%d", qst[0], month) + showList, errs := GrpcArtShowImpl.GetShowUidWithShowTime(c, &artShow.GetShowUidWithShowTimeReq{ShowTimes: []string{reqModel.ShowTime}}) + if errs != nil { + ErrorWithMark(c, e.Failed, errs, "GetShowUidWithShowTime Err:"+errs.Error(), "查询失败") + return + } + if len(showList.ShowUids) == 0 { + var resp = &artist.OneQueryResp{Data: []*artist.OneQueryResp_Info{}, Page: req.Page, PageSize: req.PageSize} + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return + } + req.ShowUids = showList.ShowUids + } + fmt.Println("showUids", req.ShowUids) + _ = copier.Copy(&req, reqModel) + //fmt.Println("111111111111111111111") + //var artistResp *artShow.ArtistWithShowTimeResp + //if artistResp, err = GrpcArtShowImpl.ArtistWithShowTime(context.Background(), &artShow.ArtistWithShowTimeReq{ShowTime: reqModel.ShowTime}); err != nil { + // fmt.Println("ArtistWithShowTime err", err) + // ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + //} + //fmt.Println("2222222222222") + //fmt.Printf("ShowTimeArtistUuids:%+v\n", artistResp.ArtistUids) + //if len(artistResp.ArtistUids) > 0 { + // req.ShowTimeArtistUuids = artistResp.ArtistUids + //} else { + // fmt.Println("OUT1") + // var resp = &artist.OneQueryResp{Data: []*artist.OneQueryResp_Info{}, Page: req.Page, PageSize: req.PageSize} + // ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + // return + //} + fmt.Println("3333333333333333") + + if req.Permission == model.PermissionTraining { + passResp, errS := GrpcArtworkQueryImpl.GetPassArtist(context.Background(), &artwork_query.GetPassArtistReq{}) + if errS != nil { + ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + fmt.Printf("PassArtistUuids:%+v\n", passResp.ArtistUuids) + if len(passResp.ArtistUuids) > 0 { + req.PassArtistUuids = passResp.ArtistUuids + } else { + fmt.Println("OUT2") + var resp = &artist.OneQueryResp{Data: []*artist.OneQueryResp_Info{}, Page: req.Page, PageSize: req.PageSize} + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return + } + } + fmt.Println("4444444444444444444") + // 如果出库时间不为空 查询满足出库时间的画家 + if req.StockOutTime != "" { + stockResp, _err := GrpcArtworkQueryImpl.StockOutArtist(context.Background(), &artwork_query.StockOutArtistReq{StockOutTime: req.StockOutTime}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + fmt.Printf("StockOutArtistUuids:%+v\n", stockResp.ArtistUuids) + if len(stockResp.ArtistUuids) > 0 { + req.StockOutArtistUuids = stockResp.ArtistUuids + } else { + fmt.Println("OUT3") + var resp = &artist.OneQueryResp{Data: []*artist.OneQueryResp_Info{}, Page: req.Page, PageSize: req.PageSize} + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return + } + } + fmt.Println("5555555555555") + //查询拥有暂存数据的画家 + if req.CheckStatus == 10 { + req.CheckStatus = 2 + //获取暂存数据的画家列表 + var artistList, errs = GetArtistUidListFromOneQueryDataCache() + if errs != nil { + zap.L().Error("ArtistOneQueryList-GetArtistUidListFromOneQueryDataCached err", zap.Error(errs)) + Error(c, e.Failed, errs, "缓存读取失败") + return + } + if len(artistList) > 0 { + // artistList和ShowTimeArtistUuids取交集 + if len(req.ShowTimeArtistUuids) > 0 { + req.ShowTimeArtistUuids = utils.Intersection(artistList, req.ShowTimeArtistUuids) + } + //artistList和PassArtistUuids取交集 + if len(req.PassArtistUuids) > 0 { + req.PassArtistUuids = utils.Intersection(artistList, req.PassArtistUuids) + } + //artistList和StockOutArtistUuids取交集 + if len(req.StockOutArtistUuids) > 0 { + req.StockOutArtistUuids = utils.Intersection(artistList, req.StockOutArtistUuids) + } + } + } + if req.CheckStatus != 1 { + //查询核验数据 + fmt.Println("GrpcArtistImpl.OneQuery START") + fmt.Printf("OneQuery request params:%+v\n\n", &req) + resp, errs := GrpcArtistImpl.OneQuery(c, &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + fmt.Printf("OneQuery result:%+v \n\n", resp) + if resp.Count == 0 { + ResponseList(c, []struct{}{}, OptionPage(req.Page, req.PageSize, resp.Count)) + return + } + fmt.Println("UpdateArtistOneQueryDataUseCache start") + //查询缓存中的暂存数据 + resp2, err := UpdateArtistOneQueryDataUseCache(resp.Data, req.Permission, reqModel.ShowTime) + if err != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + fmt.Println("UpdateArtistOneQueryDataUseCache end") + fmt.Println("UpdateArtistOneQueryDataUseInvitationLetter start") + //查询邀请函中的数据 + err = UpdateArtistOneQueryDataUseInvitationLetter(resp2) + if err != nil { + ErrorWithMark(c, e.Failed, err, "", "获取画家邀请函信息失败") + return + } + fmt.Println("UpdateArtistOneQueryDataUseInvitationLetter end") + //查询画展时间 + fmt.Println("UpdateArtistOneQueryDataUseArtShow start") + err = UpdateArtistOneQueryDataUseArtShow(resp2) + if err != nil { + ErrorWithMark(c, e.Failed, err, "", "获取画展包邀请时间失败") + return + } + fmt.Println("UpdateArtistOneQueryDataUseArtShow end") + resp2 = AristOneQueryRespInfoCount(resp2, blackArtistUids...) + //下载在线存储的长文本个人简介 + for i, _ := range resp2 { + if strings.HasPrefix(resp2[i].Resume, "http") { + resp2[i].Resume = DownloadIfHttpLongText(resp2[i].Resume) + } + if strings.HasPrefix(resp2[i].Resume2, "http") { + resp2[i].Resume2 = DownloadIfHttpLongText(resp2[i].Resume2) + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]any{"Data": resp2, "Page": resp.Page, "PageSize": resp.PageSize, "Count": resp.Count}) + return + } else { + //查询未发起核验的画家 + var ( + startShowTime = "" + endShowTime = "" + ) + if reqModel.ShowTime != "" { + startShowTime = reqModel.ShowTime + "-01 00:00:00" + reqTime, _ := stime.StringToTimeWithFormat(reqModel.ShowTime, "2006-01") + endTime := time.Date(reqTime.Year(), reqTime.Month(), 1, 0, 0, 0, 0, stime.Loc.Shanghai()) + endShowTime = stime.TimeToString(endTime, stime.Format_Normal_YMDhms) + } + fmt.Println("startShowTime", startShowTime) + fmt.Println("endShowTime", endShowTime) + //从画展包获取未发起核验的画家数据 + showList, errs := GrpcArtShowImpl.ShowList(c, &artShow.ShowListReq{ + Page: 1, + PageSize: -1, + StartShowTime: startShowTime, + EndShowTime: endShowTime, + IsSend: 1, + }) + fmt.Println("showList.total", showList.Total) + if errs != nil { + ErrorWithMark(c, e.Failed, errs, "GrpcArtShowImpl.ShowList Err", "查询失败") + return + } + fmt.Println("6666666666666666666666") + if showList.Total == 0 { + var resp = &artist.OneQueryResp{Data: []*artist.OneQueryResp_Info{}, Page: req.Page, PageSize: req.PageSize} + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return + } + //非教培仅展示画家列表,不展示画展包信息,所以要去重 + if reqModel.Permission != model.PermissionTraining { + uniqueData := make(map[string]*artShow.ShowDetail) + for _, v := range showList.Data { + v := v + if _, ok := uniqueData[v.ArtistUID]; !ok { + uniqueData[v.ArtistUID] = v + } + } + showList.Data = make([]*artShow.ShowDetail, 0) + showList.Total = int64(len(uniqueData)) + for _, v := range uniqueData { + showList.Data = append(showList.Data, v) + } + } + // 重新排序确保画家位置不变 + sort.Slice(showList.Data, func(i, j int) bool { + if showList.Data[i].CreateTime == showList.Data[j].CreateTime { + return showList.Data[i].Tnum > showList.Data[j].Tnum + } else { + return showList.Data[i].CreateTime > showList.Data[j].CreateTime + } + }) + var artistUids []string + for k, v := range showList.Data { + if int32(k) >= reqModel.PageSize*(reqModel.Page-1) && int32(k) < reqModel.PageSize*reqModel.Page { + artistUids = append(artistUids, v.ArtistUID) + } + } + fmt.Println("artistUids", artistUids) + var artistsRes = &artist.ArtistListResponse{} + if len(artistUids) > 0 { + var artistListRequest = &artist.ArtistListRequest{Uids: artistUids, Page: 1, PageSize: int32(len(artistUids)), Gender: -1} + fmt.Println("artistListRequest.Gender", artistListRequest.Gender) + artistsRes, err = GrpcArtistImpl.ArtistList(c, artistListRequest) + if err != nil { + ErrorWithMark(c, e.Failed, err, "ArtistList Err", "查询失败") + return + } + } + fmt.Println("artistsRes.Count", len(artistsRes.Data)) + var resp2 = []*AristOneQueryRespData{} + for k, v := range showList.Data { + if int32(k) >= reqModel.PageSize*(reqModel.Page-1) && int32(k) < reqModel.PageSize*reqModel.Page { + fmt.Println("k", k) + var currentArtist *artist.ProfileRequest + foundArtist := false + for i, a := range artistsRes.Data { + fmt.Println("a.Uid", a.Uid) + if a.Uid == v.ArtistUID { + foundArtist = true + currentArtist = artistsRes.Data[i] + break + } + } + if !foundArtist { + fmt.Println("找不到画家:", v.ArtistUID) + continue + } + resp2 = append(resp2, &AristOneQueryRespData{ + OneQueryResp_Info: artist.OneQueryResp_Info{ + CardId: currentArtist.CardId, + Tnum: v.Tnum, + StyleFaction: currentArtist.StyleFaction, + Resume: currentArtist.Resume, + Age: currentArtist.Age, + CaaCertNum: currentArtist.CaaCertNum, + PenName: currentArtist.PenName, + CoopPlatform: currentArtist.CoopPlatform, + Gender: currentArtist.Gender, + Student: currentArtist.Student, + Teacher: currentArtist.Teacher, + NativePlace: currentArtist.NativePlace, + Name: currentArtist.Name, + School: currentArtist.School, + Position: currentArtist.Position, + StageName: currentArtist.StageName, + CaaJoinTime: currentArtist.CaaJoinTime, + ArtistUuid: currentArtist.Uid, + JoinShow: currentArtist.JoinShow, + Phone: currentArtist.Phone, + Resume2: currentArtist.Resume2, + CheckStatus: 1, + ShowUid: v.ShowUID, + }, + QueryShowTime: reqModel.ShowTime, + ShowUid: v.ShowUID, + ShowName: v.ShowName, + ShowTime: v.ShowTime, + PreTime: v.PreTime, + }) + } + } + resp2 = AristOneQueryRespInfoCount(resp2, blackArtistUids...) + //下载在线存储的长文本个人简介 + for i, _ := range resp2 { + if strings.HasPrefix(resp2[i].Resume, "http") { + resp2[i].Resume = DownloadIfHttpLongText(resp2[i].Resume) + } + if strings.HasPrefix(resp2[i].Resume2, "http") { + resp2[i].Resume2 = DownloadIfHttpLongText(resp2[i].Resume2) + } + } + ResponseQuickMsg(c, e.Ok, "查询成功", map[string]any{"Data": resp2, "Page": reqModel.Page, "PageSize": reqModel.PageSize, "Count": len(showList.Data)}) + return + } + + return +} + +func AllArtist(reqModel model.OneQueryReq) (respALl []*AristOneQueryRespData, count int32, err error) { + artistResp, _err := GrpcArtistImpl.OneQueryAllArtist(context.Background(), &artist.OneQueryAllArtistReq{ + Page: reqModel.Page, + PageSize: reqModel.PageSize, + Keyword: reqModel.Keyword, + PkUuid: reqModel.PkUuid, + ArtistUuids: reqModel.SearchArtistUuids, + }) + if _err != nil { + err = _err + return + } + count = artistResp.Count + var artistUuids string + for _, currentArtist := range artistResp.Data { + if strings.Contains(artistUuids, currentArtist.ArtistUuid) { + continue + } + artistUuids = fmt.Sprintf("%s,%s", artistUuids, currentArtist.ArtistUuid) + oneQueryRespInfo := artist.OneQueryResp_Info{} + _ = copier.Copy(&oneQueryRespInfo, currentArtist) + respALl = append(respALl, &AristOneQueryRespData{ + OneQueryResp_Info: oneQueryRespInfo, + //QueryShowTime: reqModel.ShowTime, + //ShowUid: v.ShowUID, + //ShowName: v.ShowName, + //ShowTime: v.ShowTime, + //PreTime: v.PreTime, + }) + } + return +} + +func ArtistOneQueryExport(c *gin.Context) { + /*type Person struct { + Name string + Age int + } + people := []Person{ + {"Alice", 30}, + {"Bob", 25}, + {"Charlie", 35}, + } + + // 遍历切片中的每个结构体 + for _, p := range people { + // 使用反射获取结构体的类型信息 + t := reflect.TypeOf(p) + v := reflect.ValueOf(p) + + // 遍历结构体的字段并输出字段名和值 + for i := 0; i < t.NumField(); i++ { + fieldName := t.Field(i).Name + fieldValue := v.Field(i).Interface() + fmt.Printf("%s: %v\n", fieldName, fieldValue) + } + } + ResponseQuickMsg(c, e.Failed, "", nil) + return*/ + var resp *artist.OneQueryResp = &artist.OneQueryResp{} + var req artist.OneQueryReq + var err error + var reqModel model.OneQueryReq + if err = c.ShouldBind(&reqModel); err != nil { + logger.Errorf("ArtistOneQueryExport ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if reqModel.ExportAll == 1 { + reqModel.AllArtist = 1 + reqModel.ColumnsFields = model.ExportOneQueryArtistFields + } + _ = copier.Copy(&req, reqModel) + if reqModel.Permission == model.PermissionFinance && reqModel.AllArtist == 1 { + var respALl []*AristOneQueryRespData + respALl, _, err = AllArtist(reqModel) + if err != nil { + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Failed), nil) + return + } + _ = copier.Copy(&resp.Data, respALl) + } else { + // 如果没有时间默认当月 + if reqModel.ShowTime == "" { + reqModel.ShowTime = time.Now().Format("2006-01") + } + var artistResp *artShow.ArtistWithShowTimeResp + if artistResp, err = GrpcArtShowImpl.ArtistWithShowTime(context.Background(), &artShow.ArtistWithShowTimeReq{ShowTime: reqModel.ShowTime}); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(artistResp.ArtistUids) > 0 { + req.ShowTimeArtistUuids = artistResp.ArtistUids + } + if req.Permission == model.PermissionTraining { + passResp, errS := GrpcArtworkQueryImpl.GetPassArtist(context.Background(), &artwork_query.GetPassArtistReq{}) + if errS != nil { + ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + req.PassArtistUuids = passResp.ArtistUuids + } + // 如果出库时间不为空 查询满足出库时间的画家 + if req.StockOutTime != "" { + stockResp, _err := GrpcArtworkQueryImpl.StockOutArtist(context.Background(), &artwork_query.StockOutArtistReq{StockOutTime: req.StockOutTime}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + req.StockOutArtistUuids = stockResp.ArtistUuids + if len(req.StockOutArtistUuids) == 0 { + req.StockOutArtistUuids = []string{"-1"} + } + } + resp, err = GrpcArtistImpl.OneQuery(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + + var adminId uint64 + var fileName string + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + var genderMap = make(map[string]string, 3) + genderMap = map[string]string{"0": "女", "1": "男", "3": "未知"} + if len(resp.Data) > 0 { + var dataSliceKv []map[string]interface{} = make([]map[string]interface{}, 0, len(resp.Data)) + var artistUuids string + for _, vv := range resp.Data { + if strings.Contains(artistUuids, vv.ArtistUuid) { + continue + } + artistUuids = fmt.Sprintf("%s,%s", artistUuids, vv.ArtistUuid) + var info model.OneQueryArtistRespInfo + _ = copier.Copy(&info, vv) + t := reflect.TypeOf(info) + v := reflect.ValueOf(info) + var tmp map[string]interface{} = make(map[string]interface{}) + for i := 0; i < t.NumField(); i++ { + fieldName := t.Field(i).Name + fieldValue := v.Field(i).Interface() + tmp[fieldName] = fieldValue + } + dataSliceKv = append(dataSliceKv, tmp) + } + var columns []string + for _, column := range req.ColumnsFields { + if _, ok := model.OneQueryArtistColumn[column]; ok { + columns = append(columns, model.OneQueryArtistColumn[column]) + } + } + var data []interface{} + for _, v := range dataSliceKv { + var temp []string + for _, column := range req.ColumnsFields { + var columnVal string + if v[column] == nil { + continue + } + columnVal = fmt.Sprintf("%v", v[column]) + if column == "Gender" { + columnVal = genderMap[columnVal] + } + temp = append(temp, columnVal) + } + data = append(data, &temp) + } + fileName = fmt.Sprintf("画家数据%d.xlsx", adminId) + _, err = utils.ToExcelByType(columns, data, "slice", "./runtime/"+fileName) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, fileName) + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "url": exportUrl, + }) + return +} + +func SendIndexes(c *gin.Context) { + var req model.ArtistInfo + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("SendIndexes ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + resp, _err := GrpcArtistImpl.ArtistDetail(context.Background(), &artist.DetailRequest{Uid: req.ArtistUuid}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + if resp.ProfileInfo.CardId == "" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorArtistCardId), nil) + return + } + var indexexInfo model.IndexesInfo + if err = json.Unmarshal([]byte(resp.ProfileInfo.Indexs), &indexexInfo); err != nil { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorIndexes), nil) + return + } + timeNow := time.Now().Unix() + param := fmt.Sprintf("Browse_point=%v&Card_id=%v&Coll_point=%v&Edu_point=%v&Exhibition_point=%v&Skill_point=%v&Timestamp=%d", + indexexInfo.Influence, resp.ProfileInfo.CardId, indexexInfo.Collectible, indexexInfo.Education, indexexInfo.Exhibition, indexexInfo.Professionalism, timeNow) + sign := utils.Md5Str(param) + postData := model.SendIndexesReq{ + CardID: resp.ProfileInfo.CardId, + ExhibitionPoint: indexexInfo.Exhibition, + SkillPoint: indexexInfo.Professionalism, + BrowsePoint: indexexInfo.Influence, + CollPoint: indexexInfo.Collectible, + EduPoint: indexexInfo.Education, + Timestamp: int(timeNow), + Sign: sign, + } + _, respSend, err := utils.PostBody(config.SendIndexesUrl, postData) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), respSend) + return + } + var sendResp model.RespSendIndexes + _ = json.Unmarshal([]byte(respSend), &sendResp) + if sendResp.Code == 0 { + ResponseQuickMsg(c, e.Failed, sendResp.Msg, respSend) + return + } + var reqLog artist.AddIndexesLogReq + _ = copier.Copy(&reqLog, indexexInfo) + reqLog.ArtistUuid = req.ArtistUuid + _, err = GrpcArtistImpl.AddIndexesLog(context.Background(), &reqLog) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), nil) + return +} + +func IndexesLog(c *gin.Context) { + var req artist.IndexesLogReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("IndexesLog ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + resp, _err := GrpcArtistImpl.IndexesLog(context.Background(), &artist.IndexesLogReq{ArtistUuid: req.ArtistUuid}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func BatchUpdLowArtist(c *gin.Context) { + var batchUpdLowArtistReq artist.BatchUpdLowArtistReq + //if err := c.ShouldBind(&batchUpdLowArtistReq); err != nil { + // logger.Errorf("BatchUpdLowArtist ShouldBind err", err) + // ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + // return + //} + resp, err := GrpcArtistImpl.BatchUpdLowArtist(context.Background(), &batchUpdLowArtistReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return + +} + +func SaveLowArtist(c *gin.Context) { + var lowArtist artist.LowArtist + if err := c.ShouldBind(&lowArtist); err != nil { + logger.Errorf("SaveLowArtist ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + return + } + resp, err := GrpcArtistImpl.SaveLowArtist(context.Background(), &lowArtist) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return + +} + +func LowArtistList(c *gin.Context) { + var lowArtistListReq artist.LowArtistListReq + if err := c.ShouldBind(&lowArtistListReq); err != nil { + logger.Errorf("LowArtistList ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + return + } + resp, err := GrpcArtistImpl.LowArtistList(context.Background(), &lowArtistListReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return + +} +func SyncLowArtist() { + var lowArtistListReq artist.LowArtistListReq + lowArtistListReq.Sync = 1 + _, err := GrpcArtistImpl.LowArtistList(context.Background(), &lowArtistListReq) + if err != nil { + return + } +} + +func InvitationDetail(c *gin.Context) { + var req artist.InvitationInfoRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationInfo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.GetInvitationLetterDetail(c, &artist.GetInvitationLetterDetailReq{LetterUid: req.Uuid}) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //从画家招待获取出行信息 + fmt.Println("InvitationDetail------------1") + entertainmentRes, err := GrpcArtShowImpl.GetArtistEntertainmentList(c, &artShow.GetArtistEntertainmentListRequest{ + Query: &artShow.ArtistEntertainment{ShowUID: resp.ShowUid}, + Page: 1, + PageSize: 1, + }) + if err != nil { + Error(c, e.Failed, err, "从画家招待获取出行信息失败") + return + } + fmt.Println("InvitationDetail--------------------2") + if entertainmentRes.Total > 0 { + fmt.Println("InvitationDetail-----------------3") + var TravelWay int32 //画家招待的出行方式和邀请函中的定义是反过来的 + if entertainmentRes.List[0].TravelWay == 1 { + TravelWay = 2 + } else if entertainmentRes.List[0].TravelWay == 2 { + TravelWay = 1 + } + //resp.Address = entertainmentRes.List[0].Address + //resp.ShowTime = entertainmentRes.List[0].ShowTime + resp.ArrivalDate = entertainmentRes.List[0].ArrivalDate + resp.ArrivalTime = entertainmentRes.List[0].ArrivalTime + resp.TrainNumber = entertainmentRes.List[0].TrainNum + resp.ArrivalPlace = entertainmentRes.List[0].ArrivalAddress + resp.TravelMethod = TravelWay + resp.TravelCert = entertainmentRes.List[0].Transportation + } + //如果画展包已经完成审批,则使用审批完成后的画展时间和地址 + showRelRes, err := GrpcArtShowImpl.GetShowRelDetail(context.Background(), &artShow.GetShowRelByIdRequest{ShowUid: resp.ShowUid}) + if err == nil && showRelRes.Address != "" && showRelRes.ShowTime != "" { + resp.Address = showRelRes.Address + resp.ShowTime = showRelRes.ShowTime + } + fmt.Printf("InvitationDetail resp:%+v\n", resp) + //增加artistShowCount字段 + invitationLetter, _ := GrpcArtistImpl.GetInvitationLetterList(c, &artist.GetInvitationLetterListRequest{Query: &artist.InvitationLetterData{Uuid: resp.LetterUid}, Page: 1, PageSize: 1}) + var mapData = make(map[string]interface{}) + jsonBytes, _ := json.Marshal(resp) + _ = json.Unmarshal(jsonBytes, &mapData) + countList, _ := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: []string{invitationLetter.List[0].ArtistUuid}}) + if countList != nil && len(countList.ArtistShowCount) > 0 { + mapData["artistShowCount"] = fmt.Sprintf("%s(%d)", invitationLetter.List[0].ArtistName, countList.ArtistShowCount[0].ShowCount) + } else { + mapData["artistShowCount"] = fmt.Sprintf("%s(0)", resp.ArtistName) + } + ResponseQuickMsg(c, e.Ok, "查询成功", mapData) + return +} + +func AristOneQueryRespDataCount(data []*AristOneQueryRespData, blackArtistUidList ...string) (newData []*AristOneQueryRespData) { + newData = data + if len(newData) == 0 { + return + } + var artistUids []string = make([]string, 0, len(newData)) + for k, v := range newData { + artistUids = append(artistUids, v.ArtistUuid) + newData[k].ArtistShowCount = fmt.Sprintf("%s(0)", v.Name) + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range newData { + if len(blackArtistUidList) > 0 { + for _, blackUid := range blackArtistUidList { + if blackUid == v.ArtistUuid { + newData[k].Name = "#" + newData[k].Name + continue + } + } + } + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + newData[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.Name, v1.ShowCount) + break + } + } + } + } + return +} + +func AristOneQueryRespInfoCount(data []*AristOneQueryRespData, blackListUidList ...string) (newData []*AristOneQueryRespData) { + newData = data + if len(newData) == 0 { + return + } + var artistUids []string = make([]string, 0, len(newData)) + for k, v := range newData { + artistUids = append(artistUids, v.ArtistUuid) + newData[k].ArtistShowCount = fmt.Sprintf("%s(0)", v.Name) + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range newData { + if len(blackListUidList) > 0 { + for _, blackUid := range blackListUidList { + if blackUid == v.ArtistUuid { + newData[k].Name = "#" + newData[k].Name + break + } + } + } + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + newData[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.Name, v1.ShowCount) + break + } + } + } + } + return +} + +func ArtistBaseInfo(ctx *gin.Context) { + req := artist.ArtistBaseInfoReq{} + if err := ctx.ShouldBind(&req); err != nil { + logger.Errorf("ListHandler ShouldBind err", err) + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.ArtistBaseInfo(ctx, &req) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp.ArtistShowCount = fmt.Sprintf("%s(0)", resp.Name) + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: []string{resp.ArtistUuid}}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + resp.ArtistShowCount = fmt.Sprintf("%s(%d)", resp.Name, artshowResp.ArtistShowCount[0].ShowCount) + resp.ShowCount = artshowResp.ArtistShowCount[0].ShowCount + if resp.BlackListStatus == 2 { + resp.Name = fmt.Sprintf("#%s", resp.Name) + } + } + ResponseQuickMsg(ctx, e.Ok, "", resp) + return +} + +func ArtistBaseList(ctx *gin.Context) { + req := artist.ArtistBaseListReq{} + if err := ctx.ShouldBind(&req); err != nil { + logger.Errorf("ArtistBaseList ShouldBind err", err) + ResponseQuickMsg(ctx, e.Failed, "", nil) + return + } + resp, err := GrpcArtistImpl.ArtistBaseList(ctx, &req) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if resp == nil || resp.Data == nil { + ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Ok), nil) + return + } + var artistUuids []string + if resp.Data != nil { + for k, v := range resp.Data { + v.ArtistShowCount = fmt.Sprintf("%s(0)", v.Name) + artistUuids = append(artistUuids, v.Uid) + if v.BlackListStatus == 2 { + resp.Data[k].Name = fmt.Sprintf("#%s", v.Name) + } + } + } + // 如果有过滤操作就再去查询画作那边的画家 + if req.FilterType == "HAS_ARTWORK" { + artistResp, _err := GrpcArtworkQueryImpl.ArtworkArtistList(ctx, &artwork_query.ArtworkArtistListReq{}) + if _err == nil && len(artistResp.Data) > 0 { + tempData := resp.Data + resp.Data = nil + for _, v := range tempData { + for _, vv := range artistResp.Data { + if v.Uid == vv.ArtistUuid { + v.ArtistShowCount = fmt.Sprintf("%s(%d)", v.Name, vv.ArtworkNum) + v.ShowCount = vv.ArtworkNum + resp.Data = append(resp.Data, v) + } + } + } + } + } + resp.Count = int32(len(resp.Data)) + if len(resp.Data) <= 50 && req.PageSize <= 50 { + artShowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUuids}) + if _err == nil && len(artShowResp.ArtistShowCount) > 0 { + for _, v := range resp.Data { + for _, vv := range artShowResp.ArtistShowCount { + if v.Uid == vv.ArtistUid { + v.ArtistShowCount = fmt.Sprintf("%s(%d)", v.Name, vv.ShowCount) + v.ShowCount = vv.ShowCount + } + } + } + } + } + // 如果有过滤标志,就要去画作那边查询 + ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Ok), resp) + return +} + +func SearchList(ctx *gin.Context) { + req := artist.ArtistSearchReq{} + if err := ctx.ShouldBind(&req); err != nil { + zap.L().Error("SearchList ShouldBind err", zap.Error(err)) + ResponseQuickMsg(ctx, e.Failed, "", nil) + return + } + resp, err := GrpcArtistImpl.ArtistSearch(ctx, &req) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + for _, v := range resp.Data { + if v.BlackListStatus == 2 { + listTimes, _ := stime.DatetimeToTimes(v.BlackListTime, stime.Format_Normal_YMDhms) + if listTimes > 0 && (int64(listTimes)+86400*365) < time.Now().Unix() { + v.BlackListStatus = 100 + } + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} +func CheckEditLimit(ctx *gin.Context, tagName string, artistUuid string) (limitInfo pkgResponse.EditLimitInfo, err error) { + userInfoAny, ok := ctx.Get("mLoginInfo") + loginInfo := model.LoginInfo{} + if ok { + loginInfo = userInfoAny.(model.LoginInfo) + } + if projectConf.Env == "dev" { + loginInfo.ID = 1 + loginInfo.NickName = "admin" + } + cacheLimitKey := fmt.Sprintf("editLimit_%s_%s", tagName, artistUuid) + limitVal := cache.RedisClient.Get(cacheLimitKey) + + if limitVal.Val() != "" { + _ = json.Unmarshal([]byte(limitVal.Val()), &limitInfo) + if limitInfo.AdminID != loginInfo.ID { + err = errors.New(e.ERROR_EDIT_LIMIT) + return + } + } + return +} + +func RemoveEditLimit(tagName string, artistUuid string) { + cacheLimitKey := fmt.Sprintf("editLimit_%s_%s", tagName, artistUuid) + cache.RedisClient.Del(cacheLimitKey) +} diff --git a/pkg/service/artist/artist.go b/pkg/service/artist/artist.go new file mode 100644 index 0000000..1ac0c42 --- /dev/null +++ b/pkg/service/artist/artist.go @@ -0,0 +1,71 @@ +package artist + +import ( + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + projectConf "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + pkdRequest "github.com/fonchain_enterprise/fonchain-main/pkg/model/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/response" + service "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/google/uuid" + "github.com/jinzhu/copier" + "time" +) + +func EditLimit(ctx *gin.Context) { + var listReq pkdRequest.EditLimitReq + if err := ctx.ShouldBind(&listReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if listReq.TagName == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + var userInfo model.LoginInfo + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + userInfo = mLoginInfoAny.(model.LoginInfo) + } + if projectConf.Env == "dev" { + userInfo.ID = 1 + userInfo.NickName = "admin" + } + var limitInfoResponse response.EditLimitInfo + _ = copier.Copy(&limitInfoResponse, &userInfo) + limitInfoResponse.AdminID = userInfo.ID + limitInfoResponse.Uuid = uuid.New().String() + limitInfoResponse.TagName = listReq.TagName + limitInfoByte, _ := json.Marshal(limitInfoResponse) + cacheKey := fmt.Sprintf("editLimit_%s_%s", listReq.TagName, listReq.ArtistUuid) + reply := cache.RedisClient.SetNX(cacheKey, string(limitInfoByte), time.Minute*10) + if !reply.Val() { + limitVal := cache.RedisClient.Get(cacheKey) + _ = json.Unmarshal([]byte(limitVal.Val()), &limitInfoResponse) + if limitInfoResponse.AdminID != userInfo.ID { + service.ResponseQuickMsg(ctx, e.Failed, e.ERROR_EDIT_LIMIT, limitInfoResponse) + return + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), limitInfoResponse) + return +} + +func UpdateContract(ctx *gin.Context) { + var req artist.UpdateArtistContractReq + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcArtistImpl.UpdateArtistContract(ctx, &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} diff --git a/pkg/service/artist/black.go b/pkg/service/artist/black.go new file mode 100644 index 0000000..eaff653 --- /dev/null +++ b/pkg/service/artist/black.go @@ -0,0 +1,51 @@ +package artist + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "time" +) + +func BlackList(ctx *gin.Context) { + req := artist.BlackListReq{} + if err := ctx.ShouldBind(&req); err != nil { + zap.L().Error("BlackList ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, "", nil) + return + } + resp, _err := service.GrpcArtistImpl.BlackList(ctx, &req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + for _, v := range resp.Data { + if v.BlackListStatus == 2 { + listTimes, _ := stime.DatetimeToTimes(v.BlackListTime, stime.Format_Normal_YMDhms) + if listTimes > 0 && (int64(listTimes)+86400*365) < time.Now().Unix() { + v.BlackListStatus = 100 + } + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func BlackListUpdate(ctx *gin.Context) { + req := artist.BlackListUpdateReq{} + if err := ctx.ShouldBind(&req); err != nil { + zap.L().Error("BlackListUpdate ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, _err := service.GrpcArtistImpl.BlackListUpdate(ctx, &req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} diff --git a/pkg/service/artistDto.go b/pkg/service/artistDto.go new file mode 100644 index 0000000..28973d6 --- /dev/null +++ b/pkg/service/artistDto.go @@ -0,0 +1,14 @@ +// Package service ----------------------------- +// @file : artistDto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/3/6 13:22 +// ------------------------------------------- +package service + +import "github.com/fonchain_enterprise/fonchain-main/api/artist" + +type InvitationData struct { + InviteStatus int `json:"InviteStatus"` // 邀请函状态 2=待回复 3=已同意 4=已拒绝 + *artist.InvitationUpdateRequest +} diff --git a/pkg/service/artistInfo/area/areaBankInfo.go b/pkg/service/artistInfo/area/areaBankInfo.go new file mode 100644 index 0000000..a7ea0d5 --- /dev/null +++ b/pkg/service/artistInfo/area/areaBankInfo.go @@ -0,0 +1,170 @@ +// Package area ----------------------------- +// @file : areaBankInfo.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/22 上午10:44 +// ------------------------------------------- +package area + +import ( + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/utils/bankQuery" + "sync" + + "strings" +) + +const CacheAreaBankKey = "area_bank_info" + +var cacheLocker sync.Mutex + +type AreaBank struct { + AreaInfo + BankList []bankQuery.Bank + Children []*AreaBank +} +type BankService struct { +} + +func (a BankService) GetAreaBankListFromCache() (bankList []*AreaBank, err error) { + bankList = []*AreaBank{} + cacheLocker.Lock() + cacheBytes, err := AreaRedis().Get(a.getCacheKey(0)).Bytes() + cacheLocker.Unlock() + if err != nil { + if err.Error() == "redis: nil" { + err = nil + return + } + fmt.Println("从缓存获取银行数据失败", err) + return + } else if len(cacheBytes) > 0 { + fmt.Println("cacheBytes", string(cacheBytes)) + err = json.Unmarshal(cacheBytes, &bankList) + if err != nil { + fmt.Println("从缓存解析省市区数据失败", err) + } + } else { + fmt.Println("缓存为空") + } + return +} +func (a BankService) getCacheKey(day int) string { + //var now = time.Now() + //var timeDate string + //if day != 0 { + // //最多只能查询前两天的缓存 + // if day > 2 { + // day = 2 + // } + // timeDate = now.AddDate(0, 0, day).Format(stime.Format_NoSpacer_YMD) + //} else { + // timeDate = now.Format(stime.Format_NoSpacer_YMD) + //} + //return fmt.Sprintf("%s:%s", CacheAreaBankKey, timeDate) + return CacheAreaBankKey +} + +func (a BankService) SetCache(areaBankList []*AreaBank) { + cacheData, _ := json.Marshal(areaBankList) + fmt.Println("缓存数据", string(cacheData)) + cacheLocker.Lock() + var err = AreaRedis().Set(a.getCacheKey(0), cacheData, 0).Err() + cacheLocker.Unlock() + if err != nil { + fmt.Println("缓存失败", err) + } +} + +// bankName 总行名称 +// LBankName 支行名称 +func (a BankService) QueryBanInfoList(province, city, bankName, LBankName string) (data []bankQuery.Bank, err error) { + if province == "" || city == "" { + err = fmt.Errorf("省市不能为空") + return + } + data = make([]bankQuery.Bank, 0) + //从缓存中查询 + var all []*AreaBank + all, err = a.GetAreaBankListFromCache() + if err != nil { + return + } + for _, v := range all { + if strings.Contains(v.Name, province) || strings.Contains(province, v.Name) { + for _, vv := range v.Children { + if strings.Contains(vv.Name, city) || strings.Contains(city, vv.Name) { + //银行信息查询 + for _, bank := range vv.BankList { + bank := bank + if bankName != "" && !strings.Contains(bank.Bank, bankName) && !strings.Contains(bankName, bank.Bank) { + continue + } + if LBankName != "" && !strings.Contains(bank.LName, LBankName) && !strings.Contains(LBankName, bank.LName) { + continue + } + data = append(data, bank) + } + } + } + } + } + if len(data) > 0 { + return + } + fmt.Println("缓存中没有数据,开始抓取银行数据") + // 总行名称需要与第三方接口匹配,转换为第三方接口的名称 + if convertBankName, ok := mainBankNameConvertMap[bankName]; ok { + bankName = convertBankName + } + data, err = new(BankInfoCrawler2).Request3(province, city, bankName, LBankName, "") + if err != nil { + return + } + //存入缓存 + if len(data) > 0 { + go func() { + if len(all) == 0 { + areaTree, _ := GetChinaAreaTree() + all = make([]*AreaBank, 0) + areaBytes, _ := json.Marshal(areaTree) + json.Unmarshal(areaBytes, &all) + } + for i, v := range all { + if strings.Contains(v.Name, province) || strings.Contains(province, v.Name) { + fmt.Println("省份匹配", v.Name) + for ii, vv := range v.Children { + if strings.Contains(vv.Name, city) || strings.Contains(city, vv.Name) { + fmt.Println("市匹配", vv.Name) + all[i].Children[ii].BankList = append(all[i].Children[ii].BankList, data...) + //all[i].Children[ii].BankList去重 + break + } + } + } + } + //fmt.Printf("all:%+v\n", all) + a.SetCache(all) + }() + } + return +} + +func (a BankService) QueryMainBanInfoList() (data []string) { + //var all []*AreaBank + //all = a.GetAllAreaBank() + //var mainBankMap = make(map[string]bool) + //for _, v := range all { + // for _, vv := range v.Children { + // for _, bank := range vv.BankList { + // mainBankMap[bank.Bank] = true + // } + // } + //} + //for k := range mainBankMap { + // data = append(data, k) + //} + //return + return mainBankList +} diff --git a/pkg/service/artistInfo/area/areaBankInfoCrawler2.go b/pkg/service/artistInfo/area/areaBankInfoCrawler2.go new file mode 100644 index 0000000..3c406e4 --- /dev/null +++ b/pkg/service/artistInfo/area/areaBankInfoCrawler2.go @@ -0,0 +1,84 @@ +// Package area ----------------------------- +// @file : areaBankInfoCrawler2.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/23 下午3:36 +// ------------------------------------------- +package area + +import ( + "fmt" + "github.com/fonchain_enterprise/utils/bankQuery" + "strconv" + "time" +) + +type BankInfoCrawler2 struct { +} // 省、市、区 +func (b BankInfoCrawler2) Request2(province, city, bankName, lBankName, card string) (data []bankQuery.Record2, err error) { + var pageTotal int + res, err := bankQuery.BankQuery2(bankQuery.QueryReq2{ + Bank: bankName, + Province: province, + City: city, + Key: lBankName, + Card: card, + Page: "1", + }) + if err != nil { + return + } + pageTotal, _ = strconv.Atoi(res.TotalPage) + fmt.Println("数据总页数", pageTotal) + data = append(data, res.Record...) + for p := 2; p <= 5; p++ { //最大查询页数为5页 + fmt.Println("当前页数", p) + res, err = bankQuery.BankQuery2(bankQuery.QueryReq2{ + Card: card, + Bank: bankName, + Province: province, + City: city, + Key: lBankName, + Page: fmt.Sprintf("%d", p), + }) + if err != nil { + return + } + data = append(data, res.Record...) + time.Sleep(time.Millisecond * 200) + } + return +} +func (b BankInfoCrawler2) Request3(province, city, bankName, lBankName, cardNo string) (data []bankQuery.Bank, err error) { + res, err := bankQuery.BankQuery3(bankQuery.QueryReq3{ + BankName: bankName, + CardNo: cardNo, + Keyword: lBankName, + City: city, + Province: province, + Page: "1", + }) + if err != nil { + return + } + //pageTotal, _ = strconv.Atoi(res.TotalPage) + //fmt.Println("数据总页数", pageTotal) + data = append(data, res.Data...) + for p := 2; p <= 5; p++ { //最大查询页数为5页 + fmt.Println("当前页数", p) + res, err = bankQuery.BankQuery3(bankQuery.QueryReq3{ + BankName: bankName, + CardNo: cardNo, + Keyword: lBankName, + City: city, + Province: province, + Page: fmt.Sprintf("%d", p), + }) + if err != nil { + return + } + data = append(data, res.Data...) + time.Sleep(time.Millisecond * 200) + } + return +} diff --git a/pkg/service/artistInfo/area/areaOrigin.go b/pkg/service/artistInfo/area/areaOrigin.go new file mode 100644 index 0000000..6c50a23 --- /dev/null +++ b/pkg/service/artistInfo/area/areaOrigin.go @@ -0,0 +1,3686 @@ +package area + +var mainBankList = []string{ + "农业银行", "工商银行", "建设银行", "中国邮政储蓄银行", "中国银行", "招商银行", "中信银行", "交通银行", "浦发银行", "平安银行", "兴业银行", + "民生银行", "广发银行", "光大银行", "华夏银行", "南京银行", "浙江农商联合银行", "河南农信", "山东农信", "安徽农信", "广东农信银行", + "河北省农村信用社", "江苏农信", "四川农信", "云南农信", "湖南农信", "上海银行", "微众银行", "内蒙古农信", "甘肃农信", "福建农信银行", "江苏银行", + "山西农信", "江西农信", "百信银行", "陕西农信", "中原银行", "宁波银行", "重庆农商行", "北京银行", "徽商银行", "长沙银行", + "四川银行", "桂林银行", "广州农商银行", "黄河农商银行", "贵州银行", "东莞农商银行", "甘肃银行", "吉林银行", "辽宁农商银行", "浙商银行", + "深圳农商银行", "青海农信", "成都银行", "东莞银行", "成都农商银行", "青岛银行", "杭州银行", "盛京银行", "北京农商银行", "哈尔滨银行", + "贵阳银行", "郑州银行", "兰州银行", "河北银行", "台州银行", "顺德农商行", "泰隆银行", "广州银行", "天津银行", "九江银行", + "北部湾银行", "汉口银行", "齐鲁银行", "长安银行", "苏州银行", "上海农商银行", "湖南银行", "江南农商银行", "宁夏银行", "山西银行", + "江西银行", "重庆银行", "常熟农商银行", "铝土铝行", "沧州银行", "晋商银行", "天津农商", "蒙商银行", "日照银行", "富滇银行", + "张家口银行", "赣州银行", "昆仑银行", "锦州银行", "稠州银行", "济宁银行", "无锡农商银行", "厦门银行", "昆山农商", "福建海峡银行", + "四川天府银行", "莱商银行", "潍坊银行", "民泰银行", "江阴农商银行", "邯郸银行", "承德银行", "廊坊银行", "威海商业银行", "重庆三峡银行", + "张家港农商行", "上饶银行", "邢台银行", "泉州银行", "临商银行", "齐商银行", "东营银行", "厦门国际银行", "大连农商行", "泰安银行", + "德州银行", "阜新银行", "烟台银行", "青隆村镇银行", "南洋商业银行", "上海华瑞银行", "江西裕民银行", +} + +// 总行名称转换map +var mainBankNameConvertMap = map[string]string{ + "浙江农商联合银行": "杭州联合农村商业银行股份有限公司", //??? + "河南农信": "河南省农村信用社联合社", + "山东农信": "山东省农村信用社联合社", + "安徽农信": "安徽省农村信用社联合社", + "广东农信银行": "广东省农村信用社联合社", + "江苏农信": "江苏省农村信用社联合社", + "四川农信": "四川省农村信用社联合社", + "云南农信": "云南省农村信用社联合社", + "湖南农信": "湖南省农村信用社联合社", + "内蒙古农信": "内蒙古自治区农村信用社联合社", + "甘肃农信": "甘肃", //?? + "福建农信银行": "福建省农村信用社联合社", + "山西农信": "山西省农村信用社联合社", + "江西农信": "江西省农村信用社联合社", + "陕西农信": "陕西省农村信用社联合社资金清算中心", //?? + "广州农商银行": "广州农村商业银行", + "黄河农商银行": "宁夏黄河农村商业银行股份有限公司", + "东莞农商银行": "东莞农村商业银行股份有限公司", + "辽宁农商银行": "辽宁农村商业银行", + "深圳农商银行": "深圳农村商业银行股份有限公司", + "青海农信": "青海省农村信用社资金清算中心", //?? + "北京农商银行": "北京农村商业银行股份有限公司", + "顺德农商行": "广东顺德农村商业银行股份有限公司", + "泰隆银行": "泰隆", + "江南农商银行": "江苏江南农村商业银行股份有限公司", + "稠州银行": "稠州", + "无锡农商银行": "无锡农村商业银行股份有限公司", + "昆山农商": "昆山农村商业银行", + "民泰银行": "民泰", + "江阴农商银行": "江苏江阴农村商业银行股份有限公司", + "威海商业银行": "威海市商业银行", + "张家港农商行": "张家港农村商业银行", + "大连农商行": "大连农村商业银行", + "邮储银行": "中国邮政储蓄银行", +} +var areaList = `[{"id":1,"pid":0,"name":"中国","level":1,"area_code":"","town_code":"","country_id":1} +,{"id":2,"pid":1,"name":"北京市","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":3,"pid":1,"name":"天津市","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":4,"pid":1,"name":"河北省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":5,"pid":1,"name":"山西省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":6,"pid":1,"name":"内蒙古自治区","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":7,"pid":1,"name":"辽宁省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":8,"pid":1,"name":"吉林省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":9,"pid":1,"name":"黑龙江省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":10,"pid":1,"name":"上海市","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":11,"pid":1,"name":"江苏省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":12,"pid":1,"name":"浙江省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":13,"pid":1,"name":"安徽省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":14,"pid":1,"name":"福建省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":15,"pid":1,"name":"江西省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":16,"pid":1,"name":"山东省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":17,"pid":1,"name":"河南省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":18,"pid":1,"name":"湖北省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":19,"pid":1,"name":"湖南省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":20,"pid":1,"name":"广东省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":21,"pid":1,"name":"广西壮族自治区","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":22,"pid":1,"name":"海南省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":23,"pid":1,"name":"重庆市","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":24,"pid":1,"name":"四川省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":25,"pid":1,"name":"贵州省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":26,"pid":1,"name":"云南省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":27,"pid":1,"name":"西藏自治区","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":28,"pid":1,"name":"陕西省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":29,"pid":1,"name":"甘肃省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":30,"pid":1,"name":"青海省","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":31,"pid":1,"name":"宁夏回族自治区","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":32,"pid":1,"name":"新疆维吾尔自治区","level":2,"area_code":"","town_code":"","country_id":1} +,{"id":33,"pid":2,"name":"市辖区","level":3,"area_code":"110100000000","town_code":"","country_id":1} +,{"id":34,"pid":3,"name":"市辖区","level":3,"area_code":"120100000000","town_code":"","country_id":1} +,{"id":35,"pid":4,"name":"石家庄市","level":3,"area_code":"130100000000","town_code":"","country_id":1} +,{"id":36,"pid":4,"name":"唐山市","level":3,"area_code":"130200000000","town_code":"","country_id":1} +,{"id":37,"pid":4,"name":"秦皇岛市","level":3,"area_code":"130300000000","town_code":"","country_id":1} +,{"id":38,"pid":4,"name":"邯郸市","level":3,"area_code":"130400000000","town_code":"","country_id":1} +,{"id":39,"pid":4,"name":"邢台市","level":3,"area_code":"130500000000","town_code":"","country_id":1} +,{"id":40,"pid":4,"name":"保定市","level":3,"area_code":"130600000000","town_code":"","country_id":1} +,{"id":41,"pid":4,"name":"张家口市","level":3,"area_code":"130700000000","town_code":"","country_id":1} +,{"id":42,"pid":4,"name":"承德市","level":3,"area_code":"130800000000","town_code":"","country_id":1} +,{"id":43,"pid":4,"name":"沧州市","level":3,"area_code":"130900000000","town_code":"","country_id":1} +,{"id":44,"pid":4,"name":"廊坊市","level":3,"area_code":"131000000000","town_code":"","country_id":1} +,{"id":45,"pid":4,"name":"衡水市","level":3,"area_code":"131100000000","town_code":"","country_id":1} +,{"id":46,"pid":4,"name":"雄安新区","level":3,"area_code":"133100000000","town_code":"","country_id":1} +,{"id":47,"pid":5,"name":"太原市","level":3,"area_code":"140100000000","town_code":"","country_id":1} +,{"id":48,"pid":5,"name":"大同市","level":3,"area_code":"140200000000","town_code":"","country_id":1} +,{"id":49,"pid":5,"name":"阳泉市","level":3,"area_code":"140300000000","town_code":"","country_id":1} +,{"id":50,"pid":5,"name":"长治市","level":3,"area_code":"140400000000","town_code":"","country_id":1} +,{"id":51,"pid":5,"name":"晋城市","level":3,"area_code":"140500000000","town_code":"","country_id":1} +,{"id":52,"pid":5,"name":"朔州市","level":3,"area_code":"140600000000","town_code":"","country_id":1} +,{"id":53,"pid":5,"name":"晋中市","level":3,"area_code":"140700000000","town_code":"","country_id":1} +,{"id":54,"pid":5,"name":"运城市","level":3,"area_code":"140800000000","town_code":"","country_id":1} +,{"id":55,"pid":5,"name":"忻州市","level":3,"area_code":"140900000000","town_code":"","country_id":1} +,{"id":56,"pid":5,"name":"临汾市","level":3,"area_code":"141000000000","town_code":"","country_id":1} +,{"id":57,"pid":5,"name":"吕梁市","level":3,"area_code":"141100000000","town_code":"","country_id":1} +,{"id":58,"pid":6,"name":"呼和浩特市","level":3,"area_code":"150100000000","town_code":"","country_id":1} +,{"id":59,"pid":6,"name":"包头市","level":3,"area_code":"150200000000","town_code":"","country_id":1} +,{"id":60,"pid":6,"name":"乌海市","level":3,"area_code":"150300000000","town_code":"","country_id":1} +,{"id":61,"pid":6,"name":"赤峰市","level":3,"area_code":"150400000000","town_code":"","country_id":1} +,{"id":62,"pid":6,"name":"通辽市","level":3,"area_code":"150500000000","town_code":"","country_id":1} +,{"id":63,"pid":6,"name":"鄂尔多斯市","level":3,"area_code":"150600000000","town_code":"","country_id":1} +,{"id":64,"pid":6,"name":"呼伦贝尔市","level":3,"area_code":"150700000000","town_code":"","country_id":1} +,{"id":65,"pid":6,"name":"巴彦淖尔市","level":3,"area_code":"150800000000","town_code":"","country_id":1} +,{"id":66,"pid":6,"name":"乌兰察布市","level":3,"area_code":"150900000000","town_code":"","country_id":1} +,{"id":67,"pid":6,"name":"兴安盟","level":3,"area_code":"152200000000","town_code":"","country_id":1} +,{"id":68,"pid":6,"name":"锡林郭勒盟","level":3,"area_code":"152500000000","town_code":"","country_id":1} +,{"id":69,"pid":6,"name":"阿拉善盟","level":3,"area_code":"152900000000","town_code":"","country_id":1} +,{"id":70,"pid":7,"name":"沈阳市","level":3,"area_code":"210100000000","town_code":"","country_id":1} +,{"id":71,"pid":7,"name":"大连市","level":3,"area_code":"210200000000","town_code":"","country_id":1} +,{"id":72,"pid":7,"name":"鞍山市","level":3,"area_code":"210300000000","town_code":"","country_id":1} +,{"id":73,"pid":7,"name":"抚顺市","level":3,"area_code":"210400000000","town_code":"","country_id":1} +,{"id":74,"pid":7,"name":"本溪市","level":3,"area_code":"210500000000","town_code":"","country_id":1} +,{"id":75,"pid":7,"name":"丹东市","level":3,"area_code":"210600000000","town_code":"","country_id":1} +,{"id":76,"pid":7,"name":"锦州市","level":3,"area_code":"210700000000","town_code":"","country_id":1} +,{"id":77,"pid":7,"name":"营口市","level":3,"area_code":"210800000000","town_code":"","country_id":1} +,{"id":78,"pid":7,"name":"阜新市","level":3,"area_code":"210900000000","town_code":"","country_id":1} +,{"id":79,"pid":7,"name":"辽阳市","level":3,"area_code":"211000000000","town_code":"","country_id":1} +,{"id":80,"pid":7,"name":"盘锦市","level":3,"area_code":"211100000000","town_code":"","country_id":1} +,{"id":81,"pid":7,"name":"铁岭市","level":3,"area_code":"211200000000","town_code":"","country_id":1} +,{"id":82,"pid":7,"name":"朝阳市","level":3,"area_code":"211300000000","town_code":"","country_id":1} +,{"id":83,"pid":7,"name":"葫芦岛市","level":3,"area_code":"211400000000","town_code":"","country_id":1} +,{"id":84,"pid":8,"name":"长春市","level":3,"area_code":"220100000000","town_code":"","country_id":1} +,{"id":85,"pid":8,"name":"吉林市","level":3,"area_code":"220200000000","town_code":"","country_id":1} +,{"id":86,"pid":8,"name":"四平市","level":3,"area_code":"220300000000","town_code":"","country_id":1} +,{"id":87,"pid":8,"name":"辽源市","level":3,"area_code":"220400000000","town_code":"","country_id":1} +,{"id":88,"pid":8,"name":"通化市","level":3,"area_code":"220500000000","town_code":"","country_id":1} +,{"id":89,"pid":8,"name":"白山市","level":3,"area_code":"220600000000","town_code":"","country_id":1} +,{"id":90,"pid":8,"name":"松原市","level":3,"area_code":"220700000000","town_code":"","country_id":1} +,{"id":91,"pid":8,"name":"白城市","level":3,"area_code":"220800000000","town_code":"","country_id":1} +,{"id":92,"pid":8,"name":"延边朝鲜族自治州","level":3,"area_code":"222400000000","town_code":"","country_id":1} +,{"id":93,"pid":9,"name":"哈尔滨市","level":3,"area_code":"230100000000","town_code":"","country_id":1} +,{"id":94,"pid":9,"name":"齐齐哈尔市","level":3,"area_code":"230200000000","town_code":"","country_id":1} +,{"id":95,"pid":9,"name":"鸡西市","level":3,"area_code":"230300000000","town_code":"","country_id":1} +,{"id":96,"pid":9,"name":"鹤岗市","level":3,"area_code":"230400000000","town_code":"","country_id":1} +,{"id":97,"pid":9,"name":"双鸭山市","level":3,"area_code":"230500000000","town_code":"","country_id":1} +,{"id":98,"pid":9,"name":"大庆市","level":3,"area_code":"230600000000","town_code":"","country_id":1} +,{"id":99,"pid":9,"name":"伊春市","level":3,"area_code":"230700000000","town_code":"","country_id":1} +,{"id":100,"pid":9,"name":"佳木斯市","level":3,"area_code":"230800000000","town_code":"","country_id":1} +,{"id":101,"pid":9,"name":"七台河市","level":3,"area_code":"230900000000","town_code":"","country_id":1} +,{"id":102,"pid":9,"name":"牡丹江市","level":3,"area_code":"231000000000","town_code":"","country_id":1} +,{"id":103,"pid":9,"name":"黑河市","level":3,"area_code":"231100000000","town_code":"","country_id":1} +,{"id":104,"pid":9,"name":"绥化市","level":3,"area_code":"231200000000","town_code":"","country_id":1} +,{"id":105,"pid":9,"name":"大兴安岭地区","level":3,"area_code":"232700000000","town_code":"","country_id":1} +,{"id":106,"pid":10,"name":"市辖区","level":3,"area_code":"310100000000","town_code":"","country_id":1} +,{"id":107,"pid":11,"name":"南京市","level":3,"area_code":"320100000000","town_code":"","country_id":1} +,{"id":108,"pid":11,"name":"无锡市","level":3,"area_code":"320200000000","town_code":"","country_id":1} +,{"id":109,"pid":11,"name":"徐州市","level":3,"area_code":"320300000000","town_code":"","country_id":1} +,{"id":110,"pid":11,"name":"常州市","level":3,"area_code":"320400000000","town_code":"","country_id":1} +,{"id":111,"pid":11,"name":"苏州市","level":3,"area_code":"320500000000","town_code":"","country_id":1} +,{"id":112,"pid":11,"name":"南通市","level":3,"area_code":"320600000000","town_code":"","country_id":1} +,{"id":113,"pid":11,"name":"连云港市","level":3,"area_code":"320700000000","town_code":"","country_id":1} +,{"id":114,"pid":11,"name":"淮安市","level":3,"area_code":"320800000000","town_code":"","country_id":1} +,{"id":115,"pid":11,"name":"盐城市","level":3,"area_code":"320900000000","town_code":"","country_id":1} +,{"id":116,"pid":11,"name":"扬州市","level":3,"area_code":"321000000000","town_code":"","country_id":1} +,{"id":117,"pid":11,"name":"镇江市","level":3,"area_code":"321100000000","town_code":"","country_id":1} +,{"id":118,"pid":11,"name":"泰州市","level":3,"area_code":"321200000000","town_code":"","country_id":1} +,{"id":119,"pid":11,"name":"宿迁市","level":3,"area_code":"321300000000","town_code":"","country_id":1} +,{"id":120,"pid":12,"name":"杭州市","level":3,"area_code":"330100000000","town_code":"","country_id":1} +,{"id":121,"pid":12,"name":"宁波市","level":3,"area_code":"330200000000","town_code":"","country_id":1} +,{"id":122,"pid":12,"name":"温州市","level":3,"area_code":"330300000000","town_code":"","country_id":1} +,{"id":123,"pid":12,"name":"嘉兴市","level":3,"area_code":"330400000000","town_code":"","country_id":1} +,{"id":124,"pid":12,"name":"湖州市","level":3,"area_code":"330500000000","town_code":"","country_id":1} +,{"id":125,"pid":12,"name":"绍兴市","level":3,"area_code":"330600000000","town_code":"","country_id":1} +,{"id":126,"pid":12,"name":"金华市","level":3,"area_code":"330700000000","town_code":"","country_id":1} +,{"id":127,"pid":12,"name":"衢州市","level":3,"area_code":"330800000000","town_code":"","country_id":1} +,{"id":128,"pid":12,"name":"舟山市","level":3,"area_code":"330900000000","town_code":"","country_id":1} +,{"id":129,"pid":12,"name":"台州市","level":3,"area_code":"331000000000","town_code":"","country_id":1} +,{"id":130,"pid":12,"name":"丽水市","level":3,"area_code":"331100000000","town_code":"","country_id":1} +,{"id":131,"pid":13,"name":"合肥市","level":3,"area_code":"340100000000","town_code":"","country_id":1} +,{"id":132,"pid":13,"name":"芜湖市","level":3,"area_code":"340200000000","town_code":"","country_id":1} +,{"id":133,"pid":13,"name":"蚌埠市","level":3,"area_code":"340300000000","town_code":"","country_id":1} +,{"id":134,"pid":13,"name":"淮南市","level":3,"area_code":"340400000000","town_code":"","country_id":1} +,{"id":135,"pid":13,"name":"马鞍山市","level":3,"area_code":"340500000000","town_code":"","country_id":1} +,{"id":136,"pid":13,"name":"淮北市","level":3,"area_code":"340600000000","town_code":"","country_id":1} +,{"id":137,"pid":13,"name":"铜陵市","level":3,"area_code":"340700000000","town_code":"","country_id":1} +,{"id":138,"pid":13,"name":"安庆市","level":3,"area_code":"340800000000","town_code":"","country_id":1} +,{"id":139,"pid":13,"name":"黄山市","level":3,"area_code":"341000000000","town_code":"","country_id":1} +,{"id":140,"pid":13,"name":"滁州市","level":3,"area_code":"341100000000","town_code":"","country_id":1} +,{"id":141,"pid":13,"name":"阜阳市","level":3,"area_code":"341200000000","town_code":"","country_id":1} +,{"id":142,"pid":13,"name":"宿州市","level":3,"area_code":"341300000000","town_code":"","country_id":1} +,{"id":143,"pid":13,"name":"六安市","level":3,"area_code":"341500000000","town_code":"","country_id":1} +,{"id":144,"pid":13,"name":"亳州市","level":3,"area_code":"341600000000","town_code":"","country_id":1} +,{"id":145,"pid":13,"name":"池州市","level":3,"area_code":"341700000000","town_code":"","country_id":1} +,{"id":146,"pid":13,"name":"宣城市","level":3,"area_code":"341800000000","town_code":"","country_id":1} +,{"id":147,"pid":14,"name":"福州市","level":3,"area_code":"350100000000","town_code":"","country_id":1} +,{"id":148,"pid":14,"name":"厦门市","level":3,"area_code":"350200000000","town_code":"","country_id":1} +,{"id":149,"pid":14,"name":"莆田市","level":3,"area_code":"350300000000","town_code":"","country_id":1} +,{"id":150,"pid":14,"name":"三明市","level":3,"area_code":"350400000000","town_code":"","country_id":1} +,{"id":151,"pid":14,"name":"泉州市","level":3,"area_code":"350500000000","town_code":"","country_id":1} +,{"id":152,"pid":14,"name":"漳州市","level":3,"area_code":"350600000000","town_code":"","country_id":1} +,{"id":153,"pid":14,"name":"南平市","level":3,"area_code":"350700000000","town_code":"","country_id":1} +,{"id":154,"pid":14,"name":"龙岩市","level":3,"area_code":"350800000000","town_code":"","country_id":1} +,{"id":155,"pid":14,"name":"宁德市","level":3,"area_code":"350900000000","town_code":"","country_id":1} +,{"id":156,"pid":15,"name":"南昌市","level":3,"area_code":"360100000000","town_code":"","country_id":1} +,{"id":157,"pid":15,"name":"景德镇市","level":3,"area_code":"360200000000","town_code":"","country_id":1} +,{"id":158,"pid":15,"name":"萍乡市","level":3,"area_code":"360300000000","town_code":"","country_id":1} +,{"id":159,"pid":15,"name":"九江市","level":3,"area_code":"360400000000","town_code":"","country_id":1} +,{"id":160,"pid":15,"name":"新余市","level":3,"area_code":"360500000000","town_code":"","country_id":1} +,{"id":161,"pid":15,"name":"鹰潭市","level":3,"area_code":"360600000000","town_code":"","country_id":1} +,{"id":162,"pid":15,"name":"赣州市","level":3,"area_code":"360700000000","town_code":"","country_id":1} +,{"id":163,"pid":15,"name":"吉安市","level":3,"area_code":"360800000000","town_code":"","country_id":1} +,{"id":164,"pid":15,"name":"宜春市","level":3,"area_code":"360900000000","town_code":"","country_id":1} +,{"id":165,"pid":15,"name":"抚州市","level":3,"area_code":"361000000000","town_code":"","country_id":1} +,{"id":166,"pid":15,"name":"上饶市","level":3,"area_code":"361100000000","town_code":"","country_id":1} +,{"id":167,"pid":16,"name":"济南市","level":3,"area_code":"370100000000","town_code":"","country_id":1} +,{"id":168,"pid":16,"name":"青岛市","level":3,"area_code":"370200000000","town_code":"","country_id":1} +,{"id":169,"pid":16,"name":"淄博市","level":3,"area_code":"370300000000","town_code":"","country_id":1} +,{"id":170,"pid":16,"name":"枣庄市","level":3,"area_code":"370400000000","town_code":"","country_id":1} +,{"id":171,"pid":16,"name":"东营市","level":3,"area_code":"370500000000","town_code":"","country_id":1} +,{"id":172,"pid":16,"name":"烟台市","level":3,"area_code":"370600000000","town_code":"","country_id":1} +,{"id":173,"pid":16,"name":"潍坊市","level":3,"area_code":"370700000000","town_code":"","country_id":1} +,{"id":174,"pid":16,"name":"济宁市","level":3,"area_code":"370800000000","town_code":"","country_id":1} +,{"id":175,"pid":16,"name":"泰安市","level":3,"area_code":"370900000000","town_code":"","country_id":1} +,{"id":176,"pid":16,"name":"威海市","level":3,"area_code":"371000000000","town_code":"","country_id":1} +,{"id":177,"pid":16,"name":"日照市","level":3,"area_code":"371100000000","town_code":"","country_id":1} +,{"id":178,"pid":16,"name":"临沂市","level":3,"area_code":"371300000000","town_code":"","country_id":1} +,{"id":179,"pid":16,"name":"德州市","level":3,"area_code":"371400000000","town_code":"","country_id":1} +,{"id":180,"pid":16,"name":"聊城市","level":3,"area_code":"371500000000","town_code":"","country_id":1} +,{"id":181,"pid":16,"name":"滨州市","level":3,"area_code":"371600000000","town_code":"","country_id":1} +,{"id":182,"pid":16,"name":"菏泽市","level":3,"area_code":"371700000000","town_code":"","country_id":1} +,{"id":183,"pid":17,"name":"郑州市","level":3,"area_code":"410100000000","town_code":"","country_id":1} +,{"id":184,"pid":17,"name":"开封市","level":3,"area_code":"410200000000","town_code":"","country_id":1} +,{"id":185,"pid":17,"name":"洛阳市","level":3,"area_code":"410300000000","town_code":"","country_id":1} +,{"id":186,"pid":17,"name":"平顶山市","level":3,"area_code":"410400000000","town_code":"","country_id":1} +,{"id":187,"pid":17,"name":"安阳市","level":3,"area_code":"410500000000","town_code":"","country_id":1} +,{"id":188,"pid":17,"name":"鹤壁市","level":3,"area_code":"410600000000","town_code":"","country_id":1} +,{"id":189,"pid":17,"name":"新乡市","level":3,"area_code":"410700000000","town_code":"","country_id":1} +,{"id":190,"pid":17,"name":"焦作市","level":3,"area_code":"410800000000","town_code":"","country_id":1} +,{"id":191,"pid":17,"name":"濮阳市","level":3,"area_code":"410900000000","town_code":"","country_id":1} +,{"id":192,"pid":17,"name":"许昌市","level":3,"area_code":"411000000000","town_code":"","country_id":1} +,{"id":193,"pid":17,"name":"漯河市","level":3,"area_code":"411100000000","town_code":"","country_id":1} +,{"id":194,"pid":17,"name":"三门峡市","level":3,"area_code":"411200000000","town_code":"","country_id":1} +,{"id":195,"pid":17,"name":"南阳市","level":3,"area_code":"411300000000","town_code":"","country_id":1} +,{"id":196,"pid":17,"name":"商丘市","level":3,"area_code":"411400000000","town_code":"","country_id":1} +,{"id":197,"pid":17,"name":"信阳市","level":3,"area_code":"411500000000","town_code":"","country_id":1} +,{"id":198,"pid":17,"name":"周口市","level":3,"area_code":"411600000000","town_code":"","country_id":1} +,{"id":199,"pid":17,"name":"驻马店市","level":3,"area_code":"411700000000","town_code":"","country_id":1} +,{"id":200,"pid":17,"name":"省直辖县级行政区划","level":3,"area_code":"419000000000","town_code":"","country_id":1} +,{"id":201,"pid":18,"name":"武汉市","level":3,"area_code":"420100000000","town_code":"","country_id":1} +,{"id":202,"pid":18,"name":"黄石市","level":3,"area_code":"420200000000","town_code":"","country_id":1} +,{"id":203,"pid":18,"name":"十堰市","level":3,"area_code":"420300000000","town_code":"","country_id":1} +,{"id":204,"pid":18,"name":"宜昌市","level":3,"area_code":"420500000000","town_code":"","country_id":1} +,{"id":205,"pid":18,"name":"襄阳市","level":3,"area_code":"420600000000","town_code":"","country_id":1} +,{"id":206,"pid":18,"name":"鄂州市","level":3,"area_code":"420700000000","town_code":"","country_id":1} +,{"id":207,"pid":18,"name":"荆门市","level":3,"area_code":"420800000000","town_code":"","country_id":1} +,{"id":208,"pid":18,"name":"孝感市","level":3,"area_code":"420900000000","town_code":"","country_id":1} +,{"id":209,"pid":18,"name":"荆州市","level":3,"area_code":"421000000000","town_code":"","country_id":1} +,{"id":210,"pid":18,"name":"黄冈市","level":3,"area_code":"421100000000","town_code":"","country_id":1} +,{"id":211,"pid":18,"name":"咸宁市","level":3,"area_code":"421200000000","town_code":"","country_id":1} +,{"id":212,"pid":18,"name":"随州市","level":3,"area_code":"421300000000","town_code":"","country_id":1} +,{"id":213,"pid":18,"name":"恩施土家族苗族自治州","level":3,"area_code":"422800000000","town_code":"","country_id":1} +,{"id":214,"pid":18,"name":"省直辖县级行政区划","level":3,"area_code":"429000000000","town_code":"","country_id":1} +,{"id":215,"pid":19,"name":"长沙市","level":3,"area_code":"430100000000","town_code":"","country_id":1} +,{"id":216,"pid":19,"name":"株洲市","level":3,"area_code":"430200000000","town_code":"","country_id":1} +,{"id":217,"pid":19,"name":"湘潭市","level":3,"area_code":"430300000000","town_code":"","country_id":1} +,{"id":218,"pid":19,"name":"衡阳市","level":3,"area_code":"430400000000","town_code":"","country_id":1} +,{"id":219,"pid":19,"name":"邵阳市","level":3,"area_code":"430500000000","town_code":"","country_id":1} +,{"id":220,"pid":19,"name":"岳阳市","level":3,"area_code":"430600000000","town_code":"","country_id":1} +,{"id":221,"pid":19,"name":"常德市","level":3,"area_code":"430700000000","town_code":"","country_id":1} +,{"id":222,"pid":19,"name":"张家界市","level":3,"area_code":"430800000000","town_code":"","country_id":1} +,{"id":223,"pid":19,"name":"益阳市","level":3,"area_code":"430900000000","town_code":"","country_id":1} +,{"id":224,"pid":19,"name":"郴州市","level":3,"area_code":"431000000000","town_code":"","country_id":1} +,{"id":225,"pid":19,"name":"永州市","level":3,"area_code":"431100000000","town_code":"","country_id":1} +,{"id":226,"pid":19,"name":"怀化市","level":3,"area_code":"431200000000","town_code":"","country_id":1} +,{"id":227,"pid":19,"name":"娄底市","level":3,"area_code":"431300000000","town_code":"","country_id":1} +,{"id":228,"pid":19,"name":"湘西土家族苗族自治州","level":3,"area_code":"433100000000","town_code":"","country_id":1} +,{"id":229,"pid":20,"name":"广州市","level":3,"area_code":"440100000000","town_code":"","country_id":1} +,{"id":230,"pid":20,"name":"韶关市","level":3,"area_code":"440200000000","town_code":"","country_id":1} +,{"id":231,"pid":20,"name":"深圳市","level":3,"area_code":"440300000000","town_code":"","country_id":1} +,{"id":232,"pid":20,"name":"珠海市","level":3,"area_code":"440400000000","town_code":"","country_id":1} +,{"id":233,"pid":20,"name":"汕头市","level":3,"area_code":"440500000000","town_code":"","country_id":1} +,{"id":234,"pid":20,"name":"佛山市","level":3,"area_code":"440600000000","town_code":"","country_id":1} +,{"id":235,"pid":20,"name":"江门市","level":3,"area_code":"440700000000","town_code":"","country_id":1} +,{"id":236,"pid":20,"name":"湛江市","level":3,"area_code":"440800000000","town_code":"","country_id":1} +,{"id":237,"pid":20,"name":"茂名市","level":3,"area_code":"440900000000","town_code":"","country_id":1} +,{"id":238,"pid":20,"name":"肇庆市","level":3,"area_code":"441200000000","town_code":"","country_id":1} +,{"id":239,"pid":20,"name":"惠州市","level":3,"area_code":"441300000000","town_code":"","country_id":1} +,{"id":240,"pid":20,"name":"梅州市","level":3,"area_code":"441400000000","town_code":"","country_id":1} +,{"id":241,"pid":20,"name":"汕尾市","level":3,"area_code":"441500000000","town_code":"","country_id":1} +,{"id":242,"pid":20,"name":"河源市","level":3,"area_code":"441600000000","town_code":"","country_id":1} +,{"id":243,"pid":20,"name":"阳江市","level":3,"area_code":"441700000000","town_code":"","country_id":1} +,{"id":244,"pid":20,"name":"清远市","level":3,"area_code":"441800000000","town_code":"","country_id":1} +,{"id":245,"pid":20,"name":"东莞市","level":3,"area_code":"441900000000","town_code":"","country_id":1} +,{"id":246,"pid":20,"name":"中山市","level":3,"area_code":"442000000000","town_code":"","country_id":1} +,{"id":247,"pid":20,"name":"潮州市","level":3,"area_code":"445100000000","town_code":"","country_id":1} +,{"id":248,"pid":20,"name":"揭阳市","level":3,"area_code":"445200000000","town_code":"","country_id":1} +,{"id":249,"pid":20,"name":"云浮市","level":3,"area_code":"445300000000","town_code":"","country_id":1} +,{"id":250,"pid":21,"name":"南宁市","level":3,"area_code":"450100000000","town_code":"","country_id":1} +,{"id":251,"pid":21,"name":"柳州市","level":3,"area_code":"450200000000","town_code":"","country_id":1} +,{"id":252,"pid":21,"name":"桂林市","level":3,"area_code":"450300000000","town_code":"","country_id":1} +,{"id":253,"pid":21,"name":"梧州市","level":3,"area_code":"450400000000","town_code":"","country_id":1} +,{"id":254,"pid":21,"name":"北海市","level":3,"area_code":"450500000000","town_code":"","country_id":1} +,{"id":255,"pid":21,"name":"防城港市","level":3,"area_code":"450600000000","town_code":"","country_id":1} +,{"id":256,"pid":21,"name":"钦州市","level":3,"area_code":"450700000000","town_code":"","country_id":1} +,{"id":257,"pid":21,"name":"贵港市","level":3,"area_code":"450800000000","town_code":"","country_id":1} +,{"id":258,"pid":21,"name":"玉林市","level":3,"area_code":"450900000000","town_code":"","country_id":1} +,{"id":259,"pid":21,"name":"百色市","level":3,"area_code":"451000000000","town_code":"","country_id":1} +,{"id":260,"pid":21,"name":"贺州市","level":3,"area_code":"451100000000","town_code":"","country_id":1} +,{"id":261,"pid":21,"name":"河池市","level":3,"area_code":"451200000000","town_code":"","country_id":1} +,{"id":262,"pid":21,"name":"来宾市","level":3,"area_code":"451300000000","town_code":"","country_id":1} +,{"id":263,"pid":21,"name":"崇左市","level":3,"area_code":"451400000000","town_code":"","country_id":1} +,{"id":264,"pid":22,"name":"海口市","level":3,"area_code":"460100000000","town_code":"","country_id":1} +,{"id":265,"pid":22,"name":"三亚市","level":3,"area_code":"460200000000","town_code":"","country_id":1} +,{"id":266,"pid":22,"name":"三沙市","level":3,"area_code":"460300000000","town_code":"","country_id":1} +,{"id":267,"pid":22,"name":"儋州市","level":3,"area_code":"460400000000","town_code":"","country_id":1} +,{"id":268,"pid":22,"name":"省直辖县级行政区划","level":3,"area_code":"469000000000","town_code":"","country_id":1} +,{"id":269,"pid":23,"name":"市辖区","level":3,"area_code":"500100000000","town_code":"","country_id":1} +,{"id":270,"pid":23,"name":"县","level":3,"area_code":"500200000000","town_code":"","country_id":1} +,{"id":271,"pid":24,"name":"成都市","level":3,"area_code":"510100000000","town_code":"","country_id":1} +,{"id":272,"pid":24,"name":"自贡市","level":3,"area_code":"510300000000","town_code":"","country_id":1} +,{"id":273,"pid":24,"name":"攀枝花市","level":3,"area_code":"510400000000","town_code":"","country_id":1} +,{"id":274,"pid":24,"name":"泸州市","level":3,"area_code":"510500000000","town_code":"","country_id":1} +,{"id":275,"pid":24,"name":"德阳市","level":3,"area_code":"510600000000","town_code":"","country_id":1} +,{"id":276,"pid":24,"name":"绵阳市","level":3,"area_code":"510700000000","town_code":"","country_id":1} +,{"id":277,"pid":24,"name":"广元市","level":3,"area_code":"510800000000","town_code":"","country_id":1} +,{"id":278,"pid":24,"name":"遂宁市","level":3,"area_code":"510900000000","town_code":"","country_id":1} +,{"id":279,"pid":24,"name":"内江市","level":3,"area_code":"511000000000","town_code":"","country_id":1} +,{"id":280,"pid":24,"name":"乐山市","level":3,"area_code":"511100000000","town_code":"","country_id":1} +,{"id":281,"pid":24,"name":"南充市","level":3,"area_code":"511300000000","town_code":"","country_id":1} +,{"id":282,"pid":24,"name":"眉山市","level":3,"area_code":"511400000000","town_code":"","country_id":1} +,{"id":283,"pid":24,"name":"宜宾市","level":3,"area_code":"511500000000","town_code":"","country_id":1} +,{"id":284,"pid":24,"name":"广安市","level":3,"area_code":"511600000000","town_code":"","country_id":1} +,{"id":285,"pid":24,"name":"达州市","level":3,"area_code":"511700000000","town_code":"","country_id":1} +,{"id":286,"pid":24,"name":"雅安市","level":3,"area_code":"511800000000","town_code":"","country_id":1} +,{"id":287,"pid":24,"name":"巴中市","level":3,"area_code":"511900000000","town_code":"","country_id":1} +,{"id":288,"pid":24,"name":"资阳市","level":3,"area_code":"512000000000","town_code":"","country_id":1} +,{"id":289,"pid":24,"name":"阿坝藏族羌族自治州","level":3,"area_code":"513200000000","town_code":"","country_id":1} +,{"id":290,"pid":24,"name":"甘孜藏族自治州","level":3,"area_code":"513300000000","town_code":"","country_id":1} +,{"id":291,"pid":24,"name":"凉山彝族自治州","level":3,"area_code":"513400000000","town_code":"","country_id":1} +,{"id":292,"pid":25,"name":"贵阳市","level":3,"area_code":"520100000000","town_code":"","country_id":1} +,{"id":293,"pid":25,"name":"六盘水市","level":3,"area_code":"520200000000","town_code":"","country_id":1} +,{"id":294,"pid":25,"name":"遵义市","level":3,"area_code":"520300000000","town_code":"","country_id":1} +,{"id":295,"pid":25,"name":"安顺市","level":3,"area_code":"520400000000","town_code":"","country_id":1} +,{"id":296,"pid":25,"name":"毕节市","level":3,"area_code":"520500000000","town_code":"","country_id":1} +,{"id":297,"pid":25,"name":"铜仁市","level":3,"area_code":"520600000000","town_code":"","country_id":1} +,{"id":298,"pid":25,"name":"黔西南布依族苗族自治州","level":3,"area_code":"522300000000","town_code":"","country_id":1} +,{"id":299,"pid":25,"name":"黔东南苗族侗族自治州","level":3,"area_code":"522600000000","town_code":"","country_id":1} +,{"id":300,"pid":25,"name":"黔南布依族苗族自治州","level":3,"area_code":"522700000000","town_code":"","country_id":1} +,{"id":301,"pid":26,"name":"昆明市","level":3,"area_code":"530100000000","town_code":"","country_id":1} +,{"id":302,"pid":26,"name":"曲靖市","level":3,"area_code":"530300000000","town_code":"","country_id":1} +,{"id":303,"pid":26,"name":"玉溪市","level":3,"area_code":"530400000000","town_code":"","country_id":1} +,{"id":304,"pid":26,"name":"保山市","level":3,"area_code":"530500000000","town_code":"","country_id":1} +,{"id":305,"pid":26,"name":"昭通市","level":3,"area_code":"530600000000","town_code":"","country_id":1} +,{"id":306,"pid":26,"name":"丽江市","level":3,"area_code":"530700000000","town_code":"","country_id":1} +,{"id":307,"pid":26,"name":"普洱市","level":3,"area_code":"530800000000","town_code":"","country_id":1} +,{"id":308,"pid":26,"name":"临沧市","level":3,"area_code":"530900000000","town_code":"","country_id":1} +,{"id":309,"pid":26,"name":"楚雄彝族自治州","level":3,"area_code":"532300000000","town_code":"","country_id":1} +,{"id":310,"pid":26,"name":"红河哈尼族彝族自治州","level":3,"area_code":"532500000000","town_code":"","country_id":1} +,{"id":311,"pid":26,"name":"文山壮族苗族自治州","level":3,"area_code":"532600000000","town_code":"","country_id":1} +,{"id":312,"pid":26,"name":"西双版纳傣族自治州","level":3,"area_code":"532800000000","town_code":"","country_id":1} +,{"id":313,"pid":26,"name":"大理白族自治州","level":3,"area_code":"532900000000","town_code":"","country_id":1} +,{"id":314,"pid":26,"name":"德宏傣族景颇族自治州","level":3,"area_code":"533100000000","town_code":"","country_id":1} +,{"id":315,"pid":26,"name":"怒江傈僳族自治州","level":3,"area_code":"533300000000","town_code":"","country_id":1} +,{"id":316,"pid":26,"name":"迪庆藏族自治州","level":3,"area_code":"533400000000","town_code":"","country_id":1} +,{"id":317,"pid":27,"name":"拉萨市","level":3,"area_code":"540100000000","town_code":"","country_id":1} +,{"id":318,"pid":27,"name":"日喀则市","level":3,"area_code":"540200000000","town_code":"","country_id":1} +,{"id":319,"pid":27,"name":"昌都市","level":3,"area_code":"540300000000","town_code":"","country_id":1} +,{"id":320,"pid":27,"name":"林芝市","level":3,"area_code":"540400000000","town_code":"","country_id":1} +,{"id":321,"pid":27,"name":"山南市","level":3,"area_code":"540500000000","town_code":"","country_id":1} +,{"id":322,"pid":27,"name":"那曲市","level":3,"area_code":"540600000000","town_code":"","country_id":1} +,{"id":323,"pid":27,"name":"阿里地区","level":3,"area_code":"542500000000","town_code":"","country_id":1} +,{"id":324,"pid":28,"name":"西安市","level":3,"area_code":"610100000000","town_code":"","country_id":1} +,{"id":325,"pid":28,"name":"铜川市","level":3,"area_code":"610200000000","town_code":"","country_id":1} +,{"id":326,"pid":28,"name":"宝鸡市","level":3,"area_code":"610300000000","town_code":"","country_id":1} +,{"id":327,"pid":28,"name":"咸阳市","level":3,"area_code":"610400000000","town_code":"","country_id":1} +,{"id":328,"pid":28,"name":"渭南市","level":3,"area_code":"610500000000","town_code":"","country_id":1} +,{"id":329,"pid":28,"name":"延安市","level":3,"area_code":"610600000000","town_code":"","country_id":1} +,{"id":330,"pid":28,"name":"汉中市","level":3,"area_code":"610700000000","town_code":"","country_id":1} +,{"id":331,"pid":28,"name":"榆林市","level":3,"area_code":"610800000000","town_code":"","country_id":1} +,{"id":332,"pid":28,"name":"安康市","level":3,"area_code":"610900000000","town_code":"","country_id":1} +,{"id":333,"pid":28,"name":"商洛市","level":3,"area_code":"611000000000","town_code":"","country_id":1} +,{"id":334,"pid":29,"name":"兰州市","level":3,"area_code":"620100000000","town_code":"","country_id":1} +,{"id":335,"pid":29,"name":"嘉峪关市","level":3,"area_code":"620200000000","town_code":"","country_id":1} +,{"id":336,"pid":29,"name":"金昌市","level":3,"area_code":"620300000000","town_code":"","country_id":1} +,{"id":337,"pid":29,"name":"白银市","level":3,"area_code":"620400000000","town_code":"","country_id":1} +,{"id":338,"pid":29,"name":"天水市","level":3,"area_code":"620500000000","town_code":"","country_id":1} +,{"id":339,"pid":29,"name":"武威市","level":3,"area_code":"620600000000","town_code":"","country_id":1} +,{"id":340,"pid":29,"name":"张掖市","level":3,"area_code":"620700000000","town_code":"","country_id":1} +,{"id":341,"pid":29,"name":"平凉市","level":3,"area_code":"620800000000","town_code":"","country_id":1} +,{"id":342,"pid":29,"name":"酒泉市","level":3,"area_code":"620900000000","town_code":"","country_id":1} +,{"id":343,"pid":29,"name":"庆阳市","level":3,"area_code":"621000000000","town_code":"","country_id":1} +,{"id":344,"pid":29,"name":"定西市","level":3,"area_code":"621100000000","town_code":"","country_id":1} +,{"id":345,"pid":29,"name":"陇南市","level":3,"area_code":"621200000000","town_code":"","country_id":1} +,{"id":346,"pid":29,"name":"临夏回族自治州","level":3,"area_code":"622900000000","town_code":"","country_id":1} +,{"id":347,"pid":29,"name":"甘南藏族自治州","level":3,"area_code":"623000000000","town_code":"","country_id":1} +,{"id":348,"pid":30,"name":"西宁市","level":3,"area_code":"630100000000","town_code":"","country_id":1} +,{"id":349,"pid":30,"name":"海东市","level":3,"area_code":"630200000000","town_code":"","country_id":1} +,{"id":350,"pid":30,"name":"海北藏族自治州","level":3,"area_code":"632200000000","town_code":"","country_id":1} +,{"id":351,"pid":30,"name":"黄南藏族自治州","level":3,"area_code":"632300000000","town_code":"","country_id":1} +,{"id":352,"pid":30,"name":"海南藏族自治州","level":3,"area_code":"632500000000","town_code":"","country_id":1} +,{"id":353,"pid":30,"name":"果洛藏族自治州","level":3,"area_code":"632600000000","town_code":"","country_id":1} +,{"id":354,"pid":30,"name":"玉树藏族自治州","level":3,"area_code":"632700000000","town_code":"","country_id":1} +,{"id":355,"pid":30,"name":"海西蒙古族藏族自治州","level":3,"area_code":"632800000000","town_code":"","country_id":1} +,{"id":356,"pid":31,"name":"银川市","level":3,"area_code":"640100000000","town_code":"","country_id":1} +,{"id":357,"pid":31,"name":"石嘴山市","level":3,"area_code":"640200000000","town_code":"","country_id":1} +,{"id":358,"pid":31,"name":"吴忠市","level":3,"area_code":"640300000000","town_code":"","country_id":1} +,{"id":359,"pid":31,"name":"固原市","level":3,"area_code":"640400000000","town_code":"","country_id":1} +,{"id":360,"pid":31,"name":"中卫市","level":3,"area_code":"640500000000","town_code":"","country_id":1} +,{"id":361,"pid":32,"name":"乌鲁木齐市","level":3,"area_code":"650100000000","town_code":"","country_id":1} +,{"id":362,"pid":32,"name":"克拉玛依市","level":3,"area_code":"650200000000","town_code":"","country_id":1} +,{"id":363,"pid":32,"name":"吐鲁番市","level":3,"area_code":"650400000000","town_code":"","country_id":1} +,{"id":364,"pid":32,"name":"哈密市","level":3,"area_code":"650500000000","town_code":"","country_id":1} +,{"id":365,"pid":32,"name":"昌吉回族自治州","level":3,"area_code":"652300000000","town_code":"","country_id":1} +,{"id":366,"pid":32,"name":"博尔塔拉蒙古自治州","level":3,"area_code":"652700000000","town_code":"","country_id":1} +,{"id":367,"pid":32,"name":"巴音郭楞蒙古自治州","level":3,"area_code":"652800000000","town_code":"","country_id":1} +,{"id":368,"pid":32,"name":"阿克苏地区","level":3,"area_code":"652900000000","town_code":"","country_id":1} +,{"id":369,"pid":32,"name":"克孜勒苏柯尔克孜自治州","level":3,"area_code":"653000000000","town_code":"","country_id":1} +,{"id":370,"pid":32,"name":"喀什地区","level":3,"area_code":"653100000000","town_code":"","country_id":1} +,{"id":371,"pid":32,"name":"和田地区","level":3,"area_code":"653200000000","town_code":"","country_id":1} +,{"id":372,"pid":32,"name":"伊犁哈萨克自治州","level":3,"area_code":"654000000000","town_code":"","country_id":1} +,{"id":373,"pid":32,"name":"塔城地区","level":3,"area_code":"654200000000","town_code":"","country_id":1} +,{"id":374,"pid":32,"name":"阿勒泰地区","level":3,"area_code":"654300000000","town_code":"","country_id":1} +,{"id":375,"pid":32,"name":"自治区直辖县级行政区划","level":3,"area_code":"659000000000","town_code":"","country_id":1} +,{"id":376,"pid":33,"name":"东城区","level":4,"area_code":"110101000000","town_code":"","country_id":1} +,{"id":377,"pid":33,"name":"西城区","level":4,"area_code":"110102000000","town_code":"","country_id":1} +,{"id":378,"pid":33,"name":"朝阳区","level":4,"area_code":"110105000000","town_code":"","country_id":1} +,{"id":379,"pid":33,"name":"丰台区","level":4,"area_code":"110106000000","town_code":"","country_id":1} +,{"id":380,"pid":33,"name":"石景山区","level":4,"area_code":"110107000000","town_code":"","country_id":1} +,{"id":381,"pid":33,"name":"海淀区","level":4,"area_code":"110108000000","town_code":"","country_id":1} +,{"id":382,"pid":33,"name":"门头沟区","level":4,"area_code":"110109000000","town_code":"","country_id":1} +,{"id":383,"pid":33,"name":"房山区","level":4,"area_code":"110111000000","town_code":"","country_id":1} +,{"id":384,"pid":33,"name":"通州区","level":4,"area_code":"110112000000","town_code":"","country_id":1} +,{"id":385,"pid":33,"name":"顺义区","level":4,"area_code":"110113000000","town_code":"","country_id":1} +,{"id":386,"pid":33,"name":"昌平区","level":4,"area_code":"110114000000","town_code":"","country_id":1} +,{"id":387,"pid":33,"name":"大兴区","level":4,"area_code":"110115000000","town_code":"","country_id":1} +,{"id":388,"pid":33,"name":"怀柔区","level":4,"area_code":"110116000000","town_code":"","country_id":1} +,{"id":389,"pid":33,"name":"平谷区","level":4,"area_code":"110117000000","town_code":"","country_id":1} +,{"id":390,"pid":33,"name":"密云区","level":4,"area_code":"110118000000","town_code":"","country_id":1} +,{"id":391,"pid":33,"name":"延庆区","level":4,"area_code":"110119000000","town_code":"","country_id":1} +,{"id":392,"pid":34,"name":"和平区","level":4,"area_code":"120101000000","town_code":"","country_id":1} +,{"id":393,"pid":34,"name":"河东区","level":4,"area_code":"120102000000","town_code":"","country_id":1} +,{"id":394,"pid":34,"name":"河西区","level":4,"area_code":"120103000000","town_code":"","country_id":1} +,{"id":395,"pid":34,"name":"南开区","level":4,"area_code":"120104000000","town_code":"","country_id":1} +,{"id":396,"pid":34,"name":"河北区","level":4,"area_code":"120105000000","town_code":"","country_id":1} +,{"id":397,"pid":34,"name":"红桥区","level":4,"area_code":"120106000000","town_code":"","country_id":1} +,{"id":398,"pid":34,"name":"东丽区","level":4,"area_code":"120110000000","town_code":"","country_id":1} +,{"id":399,"pid":34,"name":"西青区","level":4,"area_code":"120111000000","town_code":"","country_id":1} +,{"id":400,"pid":34,"name":"津南区","level":4,"area_code":"120112000000","town_code":"","country_id":1} +,{"id":401,"pid":34,"name":"北辰区","level":4,"area_code":"120113000000","town_code":"","country_id":1} +,{"id":402,"pid":34,"name":"武清区","level":4,"area_code":"120114000000","town_code":"","country_id":1} +,{"id":403,"pid":34,"name":"宝坻区","level":4,"area_code":"120115000000","town_code":"","country_id":1} +,{"id":404,"pid":34,"name":"滨海新区","level":4,"area_code":"120116000000","town_code":"","country_id":1} +,{"id":405,"pid":34,"name":"宁河区","level":4,"area_code":"120117000000","town_code":"","country_id":1} +,{"id":406,"pid":34,"name":"静海区","level":4,"area_code":"120118000000","town_code":"","country_id":1} +,{"id":407,"pid":34,"name":"蓟州区","level":4,"area_code":"120119000000","town_code":"","country_id":1} +,{"id":408,"pid":35,"name":"市辖区","level":4,"area_code":"130101000000","town_code":"","country_id":1} +,{"id":409,"pid":35,"name":"长安区","level":4,"area_code":"130102000000","town_code":"","country_id":1} +,{"id":410,"pid":35,"name":"桥西区","level":4,"area_code":"130104000000","town_code":"","country_id":1} +,{"id":411,"pid":35,"name":"新华区","level":4,"area_code":"130105000000","town_code":"","country_id":1} +,{"id":412,"pid":35,"name":"井陉矿区","level":4,"area_code":"130107000000","town_code":"","country_id":1} +,{"id":413,"pid":35,"name":"裕华区","level":4,"area_code":"130108000000","town_code":"","country_id":1} +,{"id":414,"pid":35,"name":"藁城区","level":4,"area_code":"130109000000","town_code":"","country_id":1} +,{"id":415,"pid":35,"name":"鹿泉区","level":4,"area_code":"130110000000","town_code":"","country_id":1} +,{"id":416,"pid":35,"name":"栾城区","level":4,"area_code":"130111000000","town_code":"","country_id":1} +,{"id":417,"pid":35,"name":"井陉县","level":4,"area_code":"130121000000","town_code":"","country_id":1} +,{"id":418,"pid":35,"name":"正定县","level":4,"area_code":"130123000000","town_code":"","country_id":1} +,{"id":419,"pid":35,"name":"行唐县","level":4,"area_code":"130125000000","town_code":"","country_id":1} +,{"id":420,"pid":35,"name":"灵寿县","level":4,"area_code":"130126000000","town_code":"","country_id":1} +,{"id":421,"pid":35,"name":"高邑县","level":4,"area_code":"130127000000","town_code":"","country_id":1} +,{"id":422,"pid":35,"name":"深泽县","level":4,"area_code":"130128000000","town_code":"","country_id":1} +,{"id":423,"pid":35,"name":"赞皇县","level":4,"area_code":"130129000000","town_code":"","country_id":1} +,{"id":424,"pid":35,"name":"无极县","level":4,"area_code":"130130000000","town_code":"","country_id":1} +,{"id":425,"pid":35,"name":"平山县","level":4,"area_code":"130131000000","town_code":"","country_id":1} +,{"id":426,"pid":35,"name":"元氏县","level":4,"area_code":"130132000000","town_code":"","country_id":1} +,{"id":427,"pid":35,"name":"赵县","level":4,"area_code":"130133000000","town_code":"","country_id":1} +,{"id":428,"pid":35,"name":"石家庄高新技术产业开发区","level":4,"area_code":"130171000000","town_code":"","country_id":1} +,{"id":429,"pid":35,"name":"石家庄循环化工园区","level":4,"area_code":"130172000000","town_code":"","country_id":1} +,{"id":430,"pid":35,"name":"辛集市","level":4,"area_code":"130181000000","town_code":"","country_id":1} +,{"id":431,"pid":35,"name":"晋州市","level":4,"area_code":"130183000000","town_code":"","country_id":1} +,{"id":432,"pid":35,"name":"新乐市","level":4,"area_code":"130184000000","town_code":"","country_id":1} +,{"id":433,"pid":36,"name":"市辖区","level":4,"area_code":"130201000000","town_code":"","country_id":1} +,{"id":434,"pid":36,"name":"路南区","level":4,"area_code":"130202000000","town_code":"","country_id":1} +,{"id":435,"pid":36,"name":"路北区","level":4,"area_code":"130203000000","town_code":"","country_id":1} +,{"id":436,"pid":36,"name":"古冶区","level":4,"area_code":"130204000000","town_code":"","country_id":1} +,{"id":437,"pid":36,"name":"开平区","level":4,"area_code":"130205000000","town_code":"","country_id":1} +,{"id":438,"pid":36,"name":"丰南区","level":4,"area_code":"130207000000","town_code":"","country_id":1} +,{"id":439,"pid":36,"name":"丰润区","level":4,"area_code":"130208000000","town_code":"","country_id":1} +,{"id":440,"pid":36,"name":"曹妃甸区","level":4,"area_code":"130209000000","town_code":"","country_id":1} +,{"id":441,"pid":36,"name":"滦南县","level":4,"area_code":"130224000000","town_code":"","country_id":1} +,{"id":442,"pid":36,"name":"乐亭县","level":4,"area_code":"130225000000","town_code":"","country_id":1} +,{"id":443,"pid":36,"name":"迁西县","level":4,"area_code":"130227000000","town_code":"","country_id":1} +,{"id":444,"pid":36,"name":"玉田县","level":4,"area_code":"130229000000","town_code":"","country_id":1} +,{"id":445,"pid":36,"name":"河北唐山芦台经济开发区","level":4,"area_code":"130271000000","town_code":"","country_id":1} +,{"id":446,"pid":36,"name":"唐山市汉沽管理区","level":4,"area_code":"130272000000","town_code":"","country_id":1} +,{"id":447,"pid":36,"name":"唐山高新技术产业开发区","level":4,"area_code":"130273000000","town_code":"","country_id":1} +,{"id":448,"pid":36,"name":"河北唐山海港经济开发区","level":4,"area_code":"130274000000","town_code":"","country_id":1} +,{"id":449,"pid":36,"name":"遵化市","level":4,"area_code":"130281000000","town_code":"","country_id":1} +,{"id":450,"pid":36,"name":"迁安市","level":4,"area_code":"130283000000","town_code":"","country_id":1} +,{"id":451,"pid":36,"name":"滦州市","level":4,"area_code":"130284000000","town_code":"","country_id":1} +,{"id":452,"pid":37,"name":"市辖区","level":4,"area_code":"130301000000","town_code":"","country_id":1} +,{"id":453,"pid":37,"name":"海港区","level":4,"area_code":"130302000000","town_code":"","country_id":1} +,{"id":454,"pid":37,"name":"山海关区","level":4,"area_code":"130303000000","town_code":"","country_id":1} +,{"id":455,"pid":37,"name":"北戴河区","level":4,"area_code":"130304000000","town_code":"","country_id":1} +,{"id":456,"pid":37,"name":"抚宁区","level":4,"area_code":"130306000000","town_code":"","country_id":1} +,{"id":457,"pid":37,"name":"青龙满族自治县","level":4,"area_code":"130321000000","town_code":"","country_id":1} +,{"id":458,"pid":37,"name":"昌黎县","level":4,"area_code":"130322000000","town_code":"","country_id":1} +,{"id":459,"pid":37,"name":"卢龙县","level":4,"area_code":"130324000000","town_code":"","country_id":1} +,{"id":460,"pid":37,"name":"秦皇岛市经济技术开发区","level":4,"area_code":"130371000000","town_code":"","country_id":1} +,{"id":461,"pid":37,"name":"北戴河新区","level":4,"area_code":"130372000000","town_code":"","country_id":1} +,{"id":462,"pid":38,"name":"市辖区","level":4,"area_code":"130401000000","town_code":"","country_id":1} +,{"id":463,"pid":38,"name":"邯山区","level":4,"area_code":"130402000000","town_code":"","country_id":1} +,{"id":464,"pid":38,"name":"丛台区","level":4,"area_code":"130403000000","town_code":"","country_id":1} +,{"id":465,"pid":38,"name":"复兴区","level":4,"area_code":"130404000000","town_code":"","country_id":1} +,{"id":466,"pid":38,"name":"峰峰矿区","level":4,"area_code":"130406000000","town_code":"","country_id":1} +,{"id":467,"pid":38,"name":"肥乡区","level":4,"area_code":"130407000000","town_code":"","country_id":1} +,{"id":468,"pid":38,"name":"永年区","level":4,"area_code":"130408000000","town_code":"","country_id":1} +,{"id":469,"pid":38,"name":"临漳县","level":4,"area_code":"130423000000","town_code":"","country_id":1} +,{"id":470,"pid":38,"name":"成安县","level":4,"area_code":"130424000000","town_code":"","country_id":1} +,{"id":471,"pid":38,"name":"大名县","level":4,"area_code":"130425000000","town_code":"","country_id":1} +,{"id":472,"pid":38,"name":"涉县","level":4,"area_code":"130426000000","town_code":"","country_id":1} +,{"id":473,"pid":38,"name":"磁县","level":4,"area_code":"130427000000","town_code":"","country_id":1} +,{"id":474,"pid":38,"name":"邱县","level":4,"area_code":"130430000000","town_code":"","country_id":1} +,{"id":475,"pid":38,"name":"鸡泽县","level":4,"area_code":"130431000000","town_code":"","country_id":1} +,{"id":476,"pid":38,"name":"广平县","level":4,"area_code":"130432000000","town_code":"","country_id":1} +,{"id":477,"pid":38,"name":"馆陶县","level":4,"area_code":"130433000000","town_code":"","country_id":1} +,{"id":478,"pid":38,"name":"魏县","level":4,"area_code":"130434000000","town_code":"","country_id":1} +,{"id":479,"pid":38,"name":"曲周县","level":4,"area_code":"130435000000","town_code":"","country_id":1} +,{"id":480,"pid":38,"name":"邯郸经济技术开发区","level":4,"area_code":"130471000000","town_code":"","country_id":1} +,{"id":481,"pid":38,"name":"邯郸冀南新区","level":4,"area_code":"130473000000","town_code":"","country_id":1} +,{"id":482,"pid":38,"name":"武安市","level":4,"area_code":"130481000000","town_code":"","country_id":1} +,{"id":483,"pid":39,"name":"市辖区","level":4,"area_code":"130501000000","town_code":"","country_id":1} +,{"id":484,"pid":39,"name":"襄都区","level":4,"area_code":"130502000000","town_code":"","country_id":1} +,{"id":485,"pid":39,"name":"信都区","level":4,"area_code":"130503000000","town_code":"","country_id":1} +,{"id":486,"pid":39,"name":"任泽区","level":4,"area_code":"130505000000","town_code":"","country_id":1} +,{"id":487,"pid":39,"name":"南和区","level":4,"area_code":"130506000000","town_code":"","country_id":1} +,{"id":488,"pid":39,"name":"临城县","level":4,"area_code":"130522000000","town_code":"","country_id":1} +,{"id":489,"pid":39,"name":"内丘县","level":4,"area_code":"130523000000","town_code":"","country_id":1} +,{"id":490,"pid":39,"name":"柏乡县","level":4,"area_code":"130524000000","town_code":"","country_id":1} +,{"id":491,"pid":39,"name":"隆尧县","level":4,"area_code":"130525000000","town_code":"","country_id":1} +,{"id":492,"pid":39,"name":"宁晋县","level":4,"area_code":"130528000000","town_code":"","country_id":1} +,{"id":493,"pid":39,"name":"巨鹿县","level":4,"area_code":"130529000000","town_code":"","country_id":1} +,{"id":494,"pid":39,"name":"新河县","level":4,"area_code":"130530000000","town_code":"","country_id":1} +,{"id":495,"pid":39,"name":"广宗县","level":4,"area_code":"130531000000","town_code":"","country_id":1} +,{"id":496,"pid":39,"name":"平乡县","level":4,"area_code":"130532000000","town_code":"","country_id":1} +,{"id":497,"pid":39,"name":"威县","level":4,"area_code":"130533000000","town_code":"","country_id":1} +,{"id":498,"pid":39,"name":"清河县","level":4,"area_code":"130534000000","town_code":"","country_id":1} +,{"id":499,"pid":39,"name":"临西县","level":4,"area_code":"130535000000","town_code":"","country_id":1} +,{"id":500,"pid":39,"name":"河北邢台经济开发区","level":4,"area_code":"130571000000","town_code":"","country_id":1} +,{"id":501,"pid":39,"name":"南宫市","level":4,"area_code":"130581000000","town_code":"","country_id":1} +,{"id":502,"pid":39,"name":"沙河市","level":4,"area_code":"130582000000","town_code":"","country_id":1} +,{"id":503,"pid":40,"name":"市辖区","level":4,"area_code":"130601000000","town_code":"","country_id":1} +,{"id":504,"pid":40,"name":"竞秀区","level":4,"area_code":"130602000000","town_code":"","country_id":1} +,{"id":505,"pid":40,"name":"莲池区","level":4,"area_code":"130606000000","town_code":"","country_id":1} +,{"id":506,"pid":40,"name":"满城区","level":4,"area_code":"130607000000","town_code":"","country_id":1} +,{"id":507,"pid":40,"name":"清苑区","level":4,"area_code":"130608000000","town_code":"","country_id":1} +,{"id":508,"pid":40,"name":"徐水区","level":4,"area_code":"130609000000","town_code":"","country_id":1} +,{"id":509,"pid":40,"name":"涞水县","level":4,"area_code":"130623000000","town_code":"","country_id":1} +,{"id":510,"pid":40,"name":"阜平县","level":4,"area_code":"130624000000","town_code":"","country_id":1} +,{"id":511,"pid":40,"name":"定兴县","level":4,"area_code":"130626000000","town_code":"","country_id":1} +,{"id":512,"pid":40,"name":"唐县","level":4,"area_code":"130627000000","town_code":"","country_id":1} +,{"id":513,"pid":40,"name":"高阳县","level":4,"area_code":"130628000000","town_code":"","country_id":1} +,{"id":514,"pid":40,"name":"容城县","level":4,"area_code":"130629000000","town_code":"","country_id":1} +,{"id":515,"pid":40,"name":"涞源县","level":4,"area_code":"130630000000","town_code":"","country_id":1} +,{"id":516,"pid":40,"name":"望都县","level":4,"area_code":"130631000000","town_code":"","country_id":1} +,{"id":517,"pid":40,"name":"安新县","level":4,"area_code":"130632000000","town_code":"","country_id":1} +,{"id":518,"pid":40,"name":"易县","level":4,"area_code":"130633000000","town_code":"","country_id":1} +,{"id":519,"pid":40,"name":"曲阳县","level":4,"area_code":"130634000000","town_code":"","country_id":1} +,{"id":520,"pid":40,"name":"蠡县","level":4,"area_code":"130635000000","town_code":"","country_id":1} +,{"id":521,"pid":40,"name":"顺平县","level":4,"area_code":"130636000000","town_code":"","country_id":1} +,{"id":522,"pid":40,"name":"博野县","level":4,"area_code":"130637000000","town_code":"","country_id":1} +,{"id":523,"pid":40,"name":"雄县","level":4,"area_code":"130638000000","town_code":"","country_id":1} +,{"id":524,"pid":40,"name":"保定高新技术产业开发区","level":4,"area_code":"130671000000","town_code":"","country_id":1} +,{"id":525,"pid":40,"name":"保定白沟新城","level":4,"area_code":"130672000000","town_code":"","country_id":1} +,{"id":526,"pid":40,"name":"涿州市","level":4,"area_code":"130681000000","town_code":"","country_id":1} +,{"id":527,"pid":40,"name":"定州市","level":4,"area_code":"130682000000","town_code":"","country_id":1} +,{"id":528,"pid":40,"name":"安国市","level":4,"area_code":"130683000000","town_code":"","country_id":1} +,{"id":529,"pid":40,"name":"高碑店市","level":4,"area_code":"130684000000","town_code":"","country_id":1} +,{"id":530,"pid":41,"name":"市辖区","level":4,"area_code":"130701000000","town_code":"","country_id":1} +,{"id":531,"pid":41,"name":"桥东区","level":4,"area_code":"130702000000","town_code":"","country_id":1} +,{"id":532,"pid":41,"name":"桥西区","level":4,"area_code":"130703000000","town_code":"","country_id":1} +,{"id":533,"pid":41,"name":"宣化区","level":4,"area_code":"130705000000","town_code":"","country_id":1} +,{"id":534,"pid":41,"name":"下花园区","level":4,"area_code":"130706000000","town_code":"","country_id":1} +,{"id":535,"pid":41,"name":"万全区","level":4,"area_code":"130708000000","town_code":"","country_id":1} +,{"id":536,"pid":41,"name":"崇礼区","level":4,"area_code":"130709000000","town_code":"","country_id":1} +,{"id":537,"pid":41,"name":"张北县","level":4,"area_code":"130722000000","town_code":"","country_id":1} +,{"id":538,"pid":41,"name":"康保县","level":4,"area_code":"130723000000","town_code":"","country_id":1} +,{"id":539,"pid":41,"name":"沽源县","level":4,"area_code":"130724000000","town_code":"","country_id":1} +,{"id":540,"pid":41,"name":"尚义县","level":4,"area_code":"130725000000","town_code":"","country_id":1} +,{"id":541,"pid":41,"name":"蔚县","level":4,"area_code":"130726000000","town_code":"","country_id":1} +,{"id":542,"pid":41,"name":"阳原县","level":4,"area_code":"130727000000","town_code":"","country_id":1} +,{"id":543,"pid":41,"name":"怀安县","level":4,"area_code":"130728000000","town_code":"","country_id":1} +,{"id":544,"pid":41,"name":"怀来县","level":4,"area_code":"130730000000","town_code":"","country_id":1} +,{"id":545,"pid":41,"name":"涿鹿县","level":4,"area_code":"130731000000","town_code":"","country_id":1} +,{"id":546,"pid":41,"name":"赤城县","level":4,"area_code":"130732000000","town_code":"","country_id":1} +,{"id":547,"pid":41,"name":"张家口经济开发区","level":4,"area_code":"130771000000","town_code":"","country_id":1} +,{"id":548,"pid":41,"name":"张家口市察北管理区","level":4,"area_code":"130772000000","town_code":"","country_id":1} +,{"id":549,"pid":41,"name":"张家口市塞北管理区","level":4,"area_code":"130773000000","town_code":"","country_id":1} +,{"id":550,"pid":42,"name":"市辖区","level":4,"area_code":"130801000000","town_code":"","country_id":1} +,{"id":551,"pid":42,"name":"双桥区","level":4,"area_code":"130802000000","town_code":"","country_id":1} +,{"id":552,"pid":42,"name":"双滦区","level":4,"area_code":"130803000000","town_code":"","country_id":1} +,{"id":553,"pid":42,"name":"鹰手营子矿区","level":4,"area_code":"130804000000","town_code":"","country_id":1} +,{"id":554,"pid":42,"name":"承德县","level":4,"area_code":"130821000000","town_code":"","country_id":1} +,{"id":555,"pid":42,"name":"兴隆县","level":4,"area_code":"130822000000","town_code":"","country_id":1} +,{"id":556,"pid":42,"name":"滦平县","level":4,"area_code":"130824000000","town_code":"","country_id":1} +,{"id":557,"pid":42,"name":"隆化县","level":4,"area_code":"130825000000","town_code":"","country_id":1} +,{"id":558,"pid":42,"name":"丰宁满族自治县","level":4,"area_code":"130826000000","town_code":"","country_id":1} +,{"id":559,"pid":42,"name":"宽城满族自治县","level":4,"area_code":"130827000000","town_code":"","country_id":1} +,{"id":560,"pid":42,"name":"围场满族蒙古族自治县","level":4,"area_code":"130828000000","town_code":"","country_id":1} +,{"id":561,"pid":42,"name":"承德高新技术产业开发区","level":4,"area_code":"130871000000","town_code":"","country_id":1} +,{"id":562,"pid":42,"name":"平泉市","level":4,"area_code":"130881000000","town_code":"","country_id":1} +,{"id":563,"pid":43,"name":"市辖区","level":4,"area_code":"130901000000","town_code":"","country_id":1} +,{"id":564,"pid":43,"name":"新华区","level":4,"area_code":"130902000000","town_code":"","country_id":1} +,{"id":565,"pid":43,"name":"运河区","level":4,"area_code":"130903000000","town_code":"","country_id":1} +,{"id":566,"pid":43,"name":"沧县","level":4,"area_code":"130921000000","town_code":"","country_id":1} +,{"id":567,"pid":43,"name":"青县","level":4,"area_code":"130922000000","town_code":"","country_id":1} +,{"id":568,"pid":43,"name":"东光县","level":4,"area_code":"130923000000","town_code":"","country_id":1} +,{"id":569,"pid":43,"name":"海兴县","level":4,"area_code":"130924000000","town_code":"","country_id":1} +,{"id":570,"pid":43,"name":"盐山县","level":4,"area_code":"130925000000","town_code":"","country_id":1} +,{"id":571,"pid":43,"name":"肃宁县","level":4,"area_code":"130926000000","town_code":"","country_id":1} +,{"id":572,"pid":43,"name":"南皮县","level":4,"area_code":"130927000000","town_code":"","country_id":1} +,{"id":573,"pid":43,"name":"吴桥县","level":4,"area_code":"130928000000","town_code":"","country_id":1} +,{"id":574,"pid":43,"name":"献县","level":4,"area_code":"130929000000","town_code":"","country_id":1} +,{"id":575,"pid":43,"name":"孟村回族自治县","level":4,"area_code":"130930000000","town_code":"","country_id":1} +,{"id":576,"pid":43,"name":"河北沧州经济开发区","level":4,"area_code":"130971000000","town_code":"","country_id":1} +,{"id":577,"pid":43,"name":"沧州高新技术产业开发区","level":4,"area_code":"130972000000","town_code":"","country_id":1} +,{"id":578,"pid":43,"name":"沧州渤海新区","level":4,"area_code":"130973000000","town_code":"","country_id":1} +,{"id":579,"pid":43,"name":"泊头市","level":4,"area_code":"130981000000","town_code":"","country_id":1} +,{"id":580,"pid":43,"name":"任丘市","level":4,"area_code":"130982000000","town_code":"","country_id":1} +,{"id":581,"pid":43,"name":"黄骅市","level":4,"area_code":"130983000000","town_code":"","country_id":1} +,{"id":582,"pid":43,"name":"河间市","level":4,"area_code":"130984000000","town_code":"","country_id":1} +,{"id":583,"pid":44,"name":"市辖区","level":4,"area_code":"131001000000","town_code":"","country_id":1} +,{"id":584,"pid":44,"name":"安次区","level":4,"area_code":"131002000000","town_code":"","country_id":1} +,{"id":585,"pid":44,"name":"广阳区","level":4,"area_code":"131003000000","town_code":"","country_id":1} +,{"id":586,"pid":44,"name":"固安县","level":4,"area_code":"131022000000","town_code":"","country_id":1} +,{"id":587,"pid":44,"name":"永清县","level":4,"area_code":"131023000000","town_code":"","country_id":1} +,{"id":588,"pid":44,"name":"香河县","level":4,"area_code":"131024000000","town_code":"","country_id":1} +,{"id":589,"pid":44,"name":"大城县","level":4,"area_code":"131025000000","town_code":"","country_id":1} +,{"id":590,"pid":44,"name":"文安县","level":4,"area_code":"131026000000","town_code":"","country_id":1} +,{"id":591,"pid":44,"name":"大厂回族自治县","level":4,"area_code":"131028000000","town_code":"","country_id":1} +,{"id":592,"pid":44,"name":"廊坊经济技术开发区","level":4,"area_code":"131071000000","town_code":"","country_id":1} +,{"id":593,"pid":44,"name":"霸州市","level":4,"area_code":"131081000000","town_code":"","country_id":1} +,{"id":594,"pid":44,"name":"三河市","level":4,"area_code":"131082000000","town_code":"","country_id":1} +,{"id":595,"pid":45,"name":"市辖区","level":4,"area_code":"131101000000","town_code":"","country_id":1} +,{"id":596,"pid":45,"name":"桃城区","level":4,"area_code":"131102000000","town_code":"","country_id":1} +,{"id":597,"pid":45,"name":"冀州区","level":4,"area_code":"131103000000","town_code":"","country_id":1} +,{"id":598,"pid":45,"name":"枣强县","level":4,"area_code":"131121000000","town_code":"","country_id":1} +,{"id":599,"pid":45,"name":"武邑县","level":4,"area_code":"131122000000","town_code":"","country_id":1} +,{"id":600,"pid":45,"name":"武强县","level":4,"area_code":"131123000000","town_code":"","country_id":1} +,{"id":601,"pid":45,"name":"饶阳县","level":4,"area_code":"131124000000","town_code":"","country_id":1} +,{"id":602,"pid":45,"name":"安平县","level":4,"area_code":"131125000000","town_code":"","country_id":1} +,{"id":603,"pid":45,"name":"故城县","level":4,"area_code":"131126000000","town_code":"","country_id":1} +,{"id":604,"pid":45,"name":"景县","level":4,"area_code":"131127000000","town_code":"","country_id":1} +,{"id":605,"pid":45,"name":"阜城县","level":4,"area_code":"131128000000","town_code":"","country_id":1} +,{"id":606,"pid":45,"name":"河北衡水高新技术产业开发区","level":4,"area_code":"131171000000","town_code":"","country_id":1} +,{"id":607,"pid":45,"name":"衡水滨湖新区","level":4,"area_code":"131172000000","town_code":"","country_id":1} +,{"id":608,"pid":45,"name":"深州市","level":4,"area_code":"131182000000","town_code":"","country_id":1} +,{"id":609,"pid":47,"name":"市辖区","level":4,"area_code":"140101000000","town_code":"","country_id":1} +,{"id":610,"pid":47,"name":"小店区","level":4,"area_code":"140105000000","town_code":"","country_id":1} +,{"id":611,"pid":47,"name":"迎泽区","level":4,"area_code":"140106000000","town_code":"","country_id":1} +,{"id":612,"pid":47,"name":"杏花岭区","level":4,"area_code":"140107000000","town_code":"","country_id":1} +,{"id":613,"pid":47,"name":"尖草坪区","level":4,"area_code":"140108000000","town_code":"","country_id":1} +,{"id":614,"pid":47,"name":"万柏林区","level":4,"area_code":"140109000000","town_code":"","country_id":1} +,{"id":615,"pid":47,"name":"晋源区","level":4,"area_code":"140110000000","town_code":"","country_id":1} +,{"id":616,"pid":47,"name":"清徐县","level":4,"area_code":"140121000000","town_code":"","country_id":1} +,{"id":617,"pid":47,"name":"阳曲县","level":4,"area_code":"140122000000","town_code":"","country_id":1} +,{"id":618,"pid":47,"name":"娄烦县","level":4,"area_code":"140123000000","town_code":"","country_id":1} +,{"id":619,"pid":47,"name":"山西转型综合改革示范区","level":4,"area_code":"140171000000","town_code":"","country_id":1} +,{"id":620,"pid":47,"name":"古交市","level":4,"area_code":"140181000000","town_code":"","country_id":1} +,{"id":621,"pid":48,"name":"市辖区","level":4,"area_code":"140201000000","town_code":"","country_id":1} +,{"id":622,"pid":48,"name":"新荣区","level":4,"area_code":"140212000000","town_code":"","country_id":1} +,{"id":623,"pid":48,"name":"平城区","level":4,"area_code":"140213000000","town_code":"","country_id":1} +,{"id":624,"pid":48,"name":"云冈区","level":4,"area_code":"140214000000","town_code":"","country_id":1} +,{"id":625,"pid":48,"name":"云州区","level":4,"area_code":"140215000000","town_code":"","country_id":1} +,{"id":626,"pid":48,"name":"阳高县","level":4,"area_code":"140221000000","town_code":"","country_id":1} +,{"id":627,"pid":48,"name":"天镇县","level":4,"area_code":"140222000000","town_code":"","country_id":1} +,{"id":628,"pid":48,"name":"广灵县","level":4,"area_code":"140223000000","town_code":"","country_id":1} +,{"id":629,"pid":48,"name":"灵丘县","level":4,"area_code":"140224000000","town_code":"","country_id":1} +,{"id":630,"pid":48,"name":"浑源县","level":4,"area_code":"140225000000","town_code":"","country_id":1} +,{"id":631,"pid":48,"name":"左云县","level":4,"area_code":"140226000000","town_code":"","country_id":1} +,{"id":632,"pid":48,"name":"山西大同经济开发区","level":4,"area_code":"140271000000","town_code":"","country_id":1} +,{"id":633,"pid":49,"name":"市辖区","level":4,"area_code":"140301000000","town_code":"","country_id":1} +,{"id":634,"pid":49,"name":"城区","level":4,"area_code":"140302000000","town_code":"","country_id":1} +,{"id":635,"pid":49,"name":"矿区","level":4,"area_code":"140303000000","town_code":"","country_id":1} +,{"id":636,"pid":49,"name":"郊区","level":4,"area_code":"140311000000","town_code":"","country_id":1} +,{"id":637,"pid":49,"name":"平定县","level":4,"area_code":"140321000000","town_code":"","country_id":1} +,{"id":638,"pid":49,"name":"盂县","level":4,"area_code":"140322000000","town_code":"","country_id":1} +,{"id":639,"pid":50,"name":"市辖区","level":4,"area_code":"140401000000","town_code":"","country_id":1} +,{"id":640,"pid":50,"name":"潞州区","level":4,"area_code":"140403000000","town_code":"","country_id":1} +,{"id":641,"pid":50,"name":"上党区","level":4,"area_code":"140404000000","town_code":"","country_id":1} +,{"id":642,"pid":50,"name":"屯留区","level":4,"area_code":"140405000000","town_code":"","country_id":1} +,{"id":643,"pid":50,"name":"潞城区","level":4,"area_code":"140406000000","town_code":"","country_id":1} +,{"id":644,"pid":50,"name":"襄垣县","level":4,"area_code":"140423000000","town_code":"","country_id":1} +,{"id":645,"pid":50,"name":"平顺县","level":4,"area_code":"140425000000","town_code":"","country_id":1} +,{"id":646,"pid":50,"name":"黎城县","level":4,"area_code":"140426000000","town_code":"","country_id":1} +,{"id":647,"pid":50,"name":"壶关县","level":4,"area_code":"140427000000","town_code":"","country_id":1} +,{"id":648,"pid":50,"name":"长子县","level":4,"area_code":"140428000000","town_code":"","country_id":1} +,{"id":649,"pid":50,"name":"武乡县","level":4,"area_code":"140429000000","town_code":"","country_id":1} +,{"id":650,"pid":50,"name":"沁县","level":4,"area_code":"140430000000","town_code":"","country_id":1} +,{"id":651,"pid":50,"name":"沁源县","level":4,"area_code":"140431000000","town_code":"","country_id":1} +,{"id":652,"pid":51,"name":"市辖区","level":4,"area_code":"140501000000","town_code":"","country_id":1} +,{"id":653,"pid":51,"name":"城区","level":4,"area_code":"140502000000","town_code":"","country_id":1} +,{"id":654,"pid":51,"name":"沁水县","level":4,"area_code":"140521000000","town_code":"","country_id":1} +,{"id":655,"pid":51,"name":"阳城县","level":4,"area_code":"140522000000","town_code":"","country_id":1} +,{"id":656,"pid":51,"name":"陵川县","level":4,"area_code":"140524000000","town_code":"","country_id":1} +,{"id":657,"pid":51,"name":"泽州县","level":4,"area_code":"140525000000","town_code":"","country_id":1} +,{"id":658,"pid":51,"name":"高平市","level":4,"area_code":"140581000000","town_code":"","country_id":1} +,{"id":659,"pid":52,"name":"市辖区","level":4,"area_code":"140601000000","town_code":"","country_id":1} +,{"id":660,"pid":52,"name":"朔城区","level":4,"area_code":"140602000000","town_code":"","country_id":1} +,{"id":661,"pid":52,"name":"平鲁区","level":4,"area_code":"140603000000","town_code":"","country_id":1} +,{"id":662,"pid":52,"name":"山阴县","level":4,"area_code":"140621000000","town_code":"","country_id":1} +,{"id":663,"pid":52,"name":"应县","level":4,"area_code":"140622000000","town_code":"","country_id":1} +,{"id":664,"pid":52,"name":"右玉县","level":4,"area_code":"140623000000","town_code":"","country_id":1} +,{"id":665,"pid":52,"name":"山西朔州经济开发区","level":4,"area_code":"140671000000","town_code":"","country_id":1} +,{"id":666,"pid":52,"name":"怀仁市","level":4,"area_code":"140681000000","town_code":"","country_id":1} +,{"id":667,"pid":53,"name":"市辖区","level":4,"area_code":"140701000000","town_code":"","country_id":1} +,{"id":668,"pid":53,"name":"榆次区","level":4,"area_code":"140702000000","town_code":"","country_id":1} +,{"id":669,"pid":53,"name":"太谷区","level":4,"area_code":"140703000000","town_code":"","country_id":1} +,{"id":670,"pid":53,"name":"榆社县","level":4,"area_code":"140721000000","town_code":"","country_id":1} +,{"id":671,"pid":53,"name":"左权县","level":4,"area_code":"140722000000","town_code":"","country_id":1} +,{"id":672,"pid":53,"name":"和顺县","level":4,"area_code":"140723000000","town_code":"","country_id":1} +,{"id":673,"pid":53,"name":"昔阳县","level":4,"area_code":"140724000000","town_code":"","country_id":1} +,{"id":674,"pid":53,"name":"寿阳县","level":4,"area_code":"140725000000","town_code":"","country_id":1} +,{"id":675,"pid":53,"name":"祁县","level":4,"area_code":"140727000000","town_code":"","country_id":1} +,{"id":676,"pid":53,"name":"平遥县","level":4,"area_code":"140728000000","town_code":"","country_id":1} +,{"id":677,"pid":53,"name":"灵石县","level":4,"area_code":"140729000000","town_code":"","country_id":1} +,{"id":678,"pid":53,"name":"介休市","level":4,"area_code":"140781000000","town_code":"","country_id":1} +,{"id":679,"pid":54,"name":"市辖区","level":4,"area_code":"140801000000","town_code":"","country_id":1} +,{"id":680,"pid":54,"name":"盐湖区","level":4,"area_code":"140802000000","town_code":"","country_id":1} +,{"id":681,"pid":54,"name":"临猗县","level":4,"area_code":"140821000000","town_code":"","country_id":1} +,{"id":682,"pid":54,"name":"万荣县","level":4,"area_code":"140822000000","town_code":"","country_id":1} +,{"id":683,"pid":54,"name":"闻喜县","level":4,"area_code":"140823000000","town_code":"","country_id":1} +,{"id":684,"pid":54,"name":"稷山县","level":4,"area_code":"140824000000","town_code":"","country_id":1} +,{"id":685,"pid":54,"name":"新绛县","level":4,"area_code":"140825000000","town_code":"","country_id":1} +,{"id":686,"pid":54,"name":"绛县","level":4,"area_code":"140826000000","town_code":"","country_id":1} +,{"id":687,"pid":54,"name":"垣曲县","level":4,"area_code":"140827000000","town_code":"","country_id":1} +,{"id":688,"pid":54,"name":"夏县","level":4,"area_code":"140828000000","town_code":"","country_id":1} +,{"id":689,"pid":54,"name":"平陆县","level":4,"area_code":"140829000000","town_code":"","country_id":1} +,{"id":690,"pid":54,"name":"芮城县","level":4,"area_code":"140830000000","town_code":"","country_id":1} +,{"id":691,"pid":54,"name":"永济市","level":4,"area_code":"140881000000","town_code":"","country_id":1} +,{"id":692,"pid":54,"name":"河津市","level":4,"area_code":"140882000000","town_code":"","country_id":1} +,{"id":693,"pid":55,"name":"市辖区","level":4,"area_code":"140901000000","town_code":"","country_id":1} +,{"id":694,"pid":55,"name":"忻府区","level":4,"area_code":"140902000000","town_code":"","country_id":1} +,{"id":695,"pid":55,"name":"定襄县","level":4,"area_code":"140921000000","town_code":"","country_id":1} +,{"id":696,"pid":55,"name":"五台县","level":4,"area_code":"140922000000","town_code":"","country_id":1} +,{"id":697,"pid":55,"name":"代县","level":4,"area_code":"140923000000","town_code":"","country_id":1} +,{"id":698,"pid":55,"name":"繁峙县","level":4,"area_code":"140924000000","town_code":"","country_id":1} +,{"id":699,"pid":55,"name":"宁武县","level":4,"area_code":"140925000000","town_code":"","country_id":1} +,{"id":700,"pid":55,"name":"静乐县","level":4,"area_code":"140926000000","town_code":"","country_id":1} +,{"id":701,"pid":55,"name":"神池县","level":4,"area_code":"140927000000","town_code":"","country_id":1} +,{"id":702,"pid":55,"name":"五寨县","level":4,"area_code":"140928000000","town_code":"","country_id":1} +,{"id":703,"pid":55,"name":"岢岚县","level":4,"area_code":"140929000000","town_code":"","country_id":1} +,{"id":704,"pid":55,"name":"河曲县","level":4,"area_code":"140930000000","town_code":"","country_id":1} +,{"id":705,"pid":55,"name":"保德县","level":4,"area_code":"140931000000","town_code":"","country_id":1} +,{"id":706,"pid":55,"name":"偏关县","level":4,"area_code":"140932000000","town_code":"","country_id":1} +,{"id":707,"pid":55,"name":"五台山风景名胜区","level":4,"area_code":"140971000000","town_code":"","country_id":1} +,{"id":708,"pid":55,"name":"原平市","level":4,"area_code":"140981000000","town_code":"","country_id":1} +,{"id":709,"pid":56,"name":"市辖区","level":4,"area_code":"141001000000","town_code":"","country_id":1} +,{"id":710,"pid":56,"name":"尧都区","level":4,"area_code":"141002000000","town_code":"","country_id":1} +,{"id":711,"pid":56,"name":"曲沃县","level":4,"area_code":"141021000000","town_code":"","country_id":1} +,{"id":712,"pid":56,"name":"翼城县","level":4,"area_code":"141022000000","town_code":"","country_id":1} +,{"id":713,"pid":56,"name":"襄汾县","level":4,"area_code":"141023000000","town_code":"","country_id":1} +,{"id":714,"pid":56,"name":"洪洞县","level":4,"area_code":"141024000000","town_code":"","country_id":1} +,{"id":715,"pid":56,"name":"古县","level":4,"area_code":"141025000000","town_code":"","country_id":1} +,{"id":716,"pid":56,"name":"安泽县","level":4,"area_code":"141026000000","town_code":"","country_id":1} +,{"id":717,"pid":56,"name":"浮山县","level":4,"area_code":"141027000000","town_code":"","country_id":1} +,{"id":718,"pid":56,"name":"吉县","level":4,"area_code":"141028000000","town_code":"","country_id":1} +,{"id":719,"pid":56,"name":"乡宁县","level":4,"area_code":"141029000000","town_code":"","country_id":1} +,{"id":720,"pid":56,"name":"大宁县","level":4,"area_code":"141030000000","town_code":"","country_id":1} +,{"id":721,"pid":56,"name":"隰县","level":4,"area_code":"141031000000","town_code":"","country_id":1} +,{"id":722,"pid":56,"name":"永和县","level":4,"area_code":"141032000000","town_code":"","country_id":1} +,{"id":723,"pid":56,"name":"蒲县","level":4,"area_code":"141033000000","town_code":"","country_id":1} +,{"id":724,"pid":56,"name":"汾西县","level":4,"area_code":"141034000000","town_code":"","country_id":1} +,{"id":725,"pid":56,"name":"侯马市","level":4,"area_code":"141081000000","town_code":"","country_id":1} +,{"id":726,"pid":56,"name":"霍州市","level":4,"area_code":"141082000000","town_code":"","country_id":1} +,{"id":727,"pid":57,"name":"市辖区","level":4,"area_code":"141101000000","town_code":"","country_id":1} +,{"id":728,"pid":57,"name":"离石区","level":4,"area_code":"141102000000","town_code":"","country_id":1} +,{"id":729,"pid":57,"name":"文水县","level":4,"area_code":"141121000000","town_code":"","country_id":1} +,{"id":730,"pid":57,"name":"交城县","level":4,"area_code":"141122000000","town_code":"","country_id":1} +,{"id":731,"pid":57,"name":"兴县","level":4,"area_code":"141123000000","town_code":"","country_id":1} +,{"id":732,"pid":57,"name":"临县","level":4,"area_code":"141124000000","town_code":"","country_id":1} +,{"id":733,"pid":57,"name":"柳林县","level":4,"area_code":"141125000000","town_code":"","country_id":1} +,{"id":734,"pid":57,"name":"石楼县","level":4,"area_code":"141126000000","town_code":"","country_id":1} +,{"id":735,"pid":57,"name":"岚县","level":4,"area_code":"141127000000","town_code":"","country_id":1} +,{"id":736,"pid":57,"name":"方山县","level":4,"area_code":"141128000000","town_code":"","country_id":1} +,{"id":737,"pid":57,"name":"中阳县","level":4,"area_code":"141129000000","town_code":"","country_id":1} +,{"id":738,"pid":57,"name":"交口县","level":4,"area_code":"141130000000","town_code":"","country_id":1} +,{"id":739,"pid":57,"name":"孝义市","level":4,"area_code":"141181000000","town_code":"","country_id":1} +,{"id":740,"pid":57,"name":"汾阳市","level":4,"area_code":"141182000000","town_code":"","country_id":1} +,{"id":741,"pid":58,"name":"市辖区","level":4,"area_code":"150101000000","town_code":"","country_id":1} +,{"id":742,"pid":58,"name":"新城区","level":4,"area_code":"150102000000","town_code":"","country_id":1} +,{"id":743,"pid":58,"name":"回民区","level":4,"area_code":"150103000000","town_code":"","country_id":1} +,{"id":744,"pid":58,"name":"玉泉区","level":4,"area_code":"150104000000","town_code":"","country_id":1} +,{"id":745,"pid":58,"name":"赛罕区","level":4,"area_code":"150105000000","town_code":"","country_id":1} +,{"id":746,"pid":58,"name":"土默特左旗","level":4,"area_code":"150121000000","town_code":"","country_id":1} +,{"id":747,"pid":58,"name":"托克托县","level":4,"area_code":"150122000000","town_code":"","country_id":1} +,{"id":748,"pid":58,"name":"和林格尔县","level":4,"area_code":"150123000000","town_code":"","country_id":1} +,{"id":749,"pid":58,"name":"清水河县","level":4,"area_code":"150124000000","town_code":"","country_id":1} +,{"id":750,"pid":58,"name":"武川县","level":4,"area_code":"150125000000","town_code":"","country_id":1} +,{"id":751,"pid":58,"name":"呼和浩特经济技术开发区","level":4,"area_code":"150172000000","town_code":"","country_id":1} +,{"id":752,"pid":59,"name":"市辖区","level":4,"area_code":"150201000000","town_code":"","country_id":1} +,{"id":753,"pid":59,"name":"东河区","level":4,"area_code":"150202000000","town_code":"","country_id":1} +,{"id":754,"pid":59,"name":"昆都仑区","level":4,"area_code":"150203000000","town_code":"","country_id":1} +,{"id":755,"pid":59,"name":"青山区","level":4,"area_code":"150204000000","town_code":"","country_id":1} +,{"id":756,"pid":59,"name":"石拐区","level":4,"area_code":"150205000000","town_code":"","country_id":1} +,{"id":757,"pid":59,"name":"白云鄂博矿区","level":4,"area_code":"150206000000","town_code":"","country_id":1} +,{"id":758,"pid":59,"name":"九原区","level":4,"area_code":"150207000000","town_code":"","country_id":1} +,{"id":759,"pid":59,"name":"土默特右旗","level":4,"area_code":"150221000000","town_code":"","country_id":1} +,{"id":760,"pid":59,"name":"固阳县","level":4,"area_code":"150222000000","town_code":"","country_id":1} +,{"id":761,"pid":59,"name":"达尔罕茂明安联合旗","level":4,"area_code":"150223000000","town_code":"","country_id":1} +,{"id":762,"pid":59,"name":"包头稀土高新技术产业开发区","level":4,"area_code":"150271000000","town_code":"","country_id":1} +,{"id":763,"pid":60,"name":"市辖区","level":4,"area_code":"150301000000","town_code":"","country_id":1} +,{"id":764,"pid":60,"name":"海勃湾区","level":4,"area_code":"150302000000","town_code":"","country_id":1} +,{"id":765,"pid":60,"name":"海南区","level":4,"area_code":"150303000000","town_code":"","country_id":1} +,{"id":766,"pid":60,"name":"乌达区","level":4,"area_code":"150304000000","town_code":"","country_id":1} +,{"id":767,"pid":61,"name":"市辖区","level":4,"area_code":"150401000000","town_code":"","country_id":1} +,{"id":768,"pid":61,"name":"红山区","level":4,"area_code":"150402000000","town_code":"","country_id":1} +,{"id":769,"pid":61,"name":"元宝山区","level":4,"area_code":"150403000000","town_code":"","country_id":1} +,{"id":770,"pid":61,"name":"松山区","level":4,"area_code":"150404000000","town_code":"","country_id":1} +,{"id":771,"pid":61,"name":"阿鲁科尔沁旗","level":4,"area_code":"150421000000","town_code":"","country_id":1} +,{"id":772,"pid":61,"name":"巴林左旗","level":4,"area_code":"150422000000","town_code":"","country_id":1} +,{"id":773,"pid":61,"name":"巴林右旗","level":4,"area_code":"150423000000","town_code":"","country_id":1} +,{"id":774,"pid":61,"name":"林西县","level":4,"area_code":"150424000000","town_code":"","country_id":1} +,{"id":775,"pid":61,"name":"克什克腾旗","level":4,"area_code":"150425000000","town_code":"","country_id":1} +,{"id":776,"pid":61,"name":"翁牛特旗","level":4,"area_code":"150426000000","town_code":"","country_id":1} +,{"id":777,"pid":61,"name":"喀喇沁旗","level":4,"area_code":"150428000000","town_code":"","country_id":1} +,{"id":778,"pid":61,"name":"宁城县","level":4,"area_code":"150429000000","town_code":"","country_id":1} +,{"id":779,"pid":61,"name":"敖汉旗","level":4,"area_code":"150430000000","town_code":"","country_id":1} +,{"id":780,"pid":62,"name":"市辖区","level":4,"area_code":"150501000000","town_code":"","country_id":1} +,{"id":781,"pid":62,"name":"科尔沁区","level":4,"area_code":"150502000000","town_code":"","country_id":1} +,{"id":782,"pid":62,"name":"科尔沁左翼中旗","level":4,"area_code":"150521000000","town_code":"","country_id":1} +,{"id":783,"pid":62,"name":"科尔沁左翼后旗","level":4,"area_code":"150522000000","town_code":"","country_id":1} +,{"id":784,"pid":62,"name":"开鲁县","level":4,"area_code":"150523000000","town_code":"","country_id":1} +,{"id":785,"pid":62,"name":"库伦旗","level":4,"area_code":"150524000000","town_code":"","country_id":1} +,{"id":786,"pid":62,"name":"奈曼旗","level":4,"area_code":"150525000000","town_code":"","country_id":1} +,{"id":787,"pid":62,"name":"扎鲁特旗","level":4,"area_code":"150526000000","town_code":"","country_id":1} +,{"id":788,"pid":62,"name":"通辽经济技术开发区","level":4,"area_code":"150571000000","town_code":"","country_id":1} +,{"id":789,"pid":62,"name":"霍林郭勒市","level":4,"area_code":"150581000000","town_code":"","country_id":1} +,{"id":790,"pid":63,"name":"市辖区","level":4,"area_code":"150601000000","town_code":"","country_id":1} +,{"id":791,"pid":63,"name":"东胜区","level":4,"area_code":"150602000000","town_code":"","country_id":1} +,{"id":792,"pid":63,"name":"康巴什区","level":4,"area_code":"150603000000","town_code":"","country_id":1} +,{"id":793,"pid":63,"name":"达拉特旗","level":4,"area_code":"150621000000","town_code":"","country_id":1} +,{"id":794,"pid":63,"name":"准格尔旗","level":4,"area_code":"150622000000","town_code":"","country_id":1} +,{"id":795,"pid":63,"name":"鄂托克前旗","level":4,"area_code":"150623000000","town_code":"","country_id":1} +,{"id":796,"pid":63,"name":"鄂托克旗","level":4,"area_code":"150624000000","town_code":"","country_id":1} +,{"id":797,"pid":63,"name":"杭锦旗","level":4,"area_code":"150625000000","town_code":"","country_id":1} +,{"id":798,"pid":63,"name":"乌审旗","level":4,"area_code":"150626000000","town_code":"","country_id":1} +,{"id":799,"pid":63,"name":"伊金霍洛旗","level":4,"area_code":"150627000000","town_code":"","country_id":1} +,{"id":800,"pid":64,"name":"市辖区","level":4,"area_code":"150701000000","town_code":"","country_id":1} +,{"id":801,"pid":64,"name":"海拉尔区","level":4,"area_code":"150702000000","town_code":"","country_id":1} +,{"id":802,"pid":64,"name":"扎赉诺尔区","level":4,"area_code":"150703000000","town_code":"","country_id":1} +,{"id":803,"pid":64,"name":"阿荣旗","level":4,"area_code":"150721000000","town_code":"","country_id":1} +,{"id":804,"pid":64,"name":"莫力达瓦达斡尔族自治旗","level":4,"area_code":"150722000000","town_code":"","country_id":1} +,{"id":805,"pid":64,"name":"鄂伦春自治旗","level":4,"area_code":"150723000000","town_code":"","country_id":1} +,{"id":806,"pid":64,"name":"鄂温克族自治旗","level":4,"area_code":"150724000000","town_code":"","country_id":1} +,{"id":807,"pid":64,"name":"陈巴尔虎旗","level":4,"area_code":"150725000000","town_code":"","country_id":1} +,{"id":808,"pid":64,"name":"新巴尔虎左旗","level":4,"area_code":"150726000000","town_code":"","country_id":1} +,{"id":809,"pid":64,"name":"新巴尔虎右旗","level":4,"area_code":"150727000000","town_code":"","country_id":1} +,{"id":810,"pid":64,"name":"满洲里市","level":4,"area_code":"150781000000","town_code":"","country_id":1} +,{"id":811,"pid":64,"name":"牙克石市","level":4,"area_code":"150782000000","town_code":"","country_id":1} +,{"id":812,"pid":64,"name":"扎兰屯市","level":4,"area_code":"150783000000","town_code":"","country_id":1} +,{"id":813,"pid":64,"name":"额尔古纳市","level":4,"area_code":"150784000000","town_code":"","country_id":1} +,{"id":814,"pid":64,"name":"根河市","level":4,"area_code":"150785000000","town_code":"","country_id":1} +,{"id":815,"pid":65,"name":"市辖区","level":4,"area_code":"150801000000","town_code":"","country_id":1} +,{"id":816,"pid":65,"name":"临河区","level":4,"area_code":"150802000000","town_code":"","country_id":1} +,{"id":817,"pid":65,"name":"五原县","level":4,"area_code":"150821000000","town_code":"","country_id":1} +,{"id":818,"pid":65,"name":"磴口县","level":4,"area_code":"150822000000","town_code":"","country_id":1} +,{"id":819,"pid":65,"name":"乌拉特前旗","level":4,"area_code":"150823000000","town_code":"","country_id":1} +,{"id":820,"pid":65,"name":"乌拉特中旗","level":4,"area_code":"150824000000","town_code":"","country_id":1} +,{"id":821,"pid":65,"name":"乌拉特后旗","level":4,"area_code":"150825000000","town_code":"","country_id":1} +,{"id":822,"pid":65,"name":"杭锦后旗","level":4,"area_code":"150826000000","town_code":"","country_id":1} +,{"id":823,"pid":66,"name":"市辖区","level":4,"area_code":"150901000000","town_code":"","country_id":1} +,{"id":824,"pid":66,"name":"集宁区","level":4,"area_code":"150902000000","town_code":"","country_id":1} +,{"id":825,"pid":66,"name":"卓资县","level":4,"area_code":"150921000000","town_code":"","country_id":1} +,{"id":826,"pid":66,"name":"化德县","level":4,"area_code":"150922000000","town_code":"","country_id":1} +,{"id":827,"pid":66,"name":"商都县","level":4,"area_code":"150923000000","town_code":"","country_id":1} +,{"id":828,"pid":66,"name":"兴和县","level":4,"area_code":"150924000000","town_code":"","country_id":1} +,{"id":829,"pid":66,"name":"凉城县","level":4,"area_code":"150925000000","town_code":"","country_id":1} +,{"id":830,"pid":66,"name":"察哈尔右翼前旗","level":4,"area_code":"150926000000","town_code":"","country_id":1} +,{"id":831,"pid":66,"name":"察哈尔右翼中旗","level":4,"area_code":"150927000000","town_code":"","country_id":1} +,{"id":832,"pid":66,"name":"察哈尔右翼后旗","level":4,"area_code":"150928000000","town_code":"","country_id":1} +,{"id":833,"pid":66,"name":"四子王旗","level":4,"area_code":"150929000000","town_code":"","country_id":1} +,{"id":834,"pid":66,"name":"丰镇市","level":4,"area_code":"150981000000","town_code":"","country_id":1} +,{"id":835,"pid":67,"name":"乌兰浩特市","level":4,"area_code":"152201000000","town_code":"","country_id":1} +,{"id":836,"pid":67,"name":"阿尔山市","level":4,"area_code":"152202000000","town_code":"","country_id":1} +,{"id":837,"pid":67,"name":"科尔沁右翼前旗","level":4,"area_code":"152221000000","town_code":"","country_id":1} +,{"id":838,"pid":67,"name":"科尔沁右翼中旗","level":4,"area_code":"152222000000","town_code":"","country_id":1} +,{"id":839,"pid":67,"name":"扎赉特旗","level":4,"area_code":"152223000000","town_code":"","country_id":1} +,{"id":840,"pid":67,"name":"突泉县","level":4,"area_code":"152224000000","town_code":"","country_id":1} +,{"id":841,"pid":68,"name":"二连浩特市","level":4,"area_code":"152501000000","town_code":"","country_id":1} +,{"id":842,"pid":68,"name":"锡林浩特市","level":4,"area_code":"152502000000","town_code":"","country_id":1} +,{"id":843,"pid":68,"name":"阿巴嘎旗","level":4,"area_code":"152522000000","town_code":"","country_id":1} +,{"id":844,"pid":68,"name":"苏尼特左旗","level":4,"area_code":"152523000000","town_code":"","country_id":1} +,{"id":845,"pid":68,"name":"苏尼特右旗","level":4,"area_code":"152524000000","town_code":"","country_id":1} +,{"id":846,"pid":68,"name":"东乌珠穆沁旗","level":4,"area_code":"152525000000","town_code":"","country_id":1} +,{"id":847,"pid":68,"name":"西乌珠穆沁旗","level":4,"area_code":"152526000000","town_code":"","country_id":1} +,{"id":848,"pid":68,"name":"太仆寺旗","level":4,"area_code":"152527000000","town_code":"","country_id":1} +,{"id":849,"pid":68,"name":"镶黄旗","level":4,"area_code":"152528000000","town_code":"","country_id":1} +,{"id":850,"pid":68,"name":"正镶白旗","level":4,"area_code":"152529000000","town_code":"","country_id":1} +,{"id":851,"pid":68,"name":"正蓝旗","level":4,"area_code":"152530000000","town_code":"","country_id":1} +,{"id":852,"pid":68,"name":"多伦县","level":4,"area_code":"152531000000","town_code":"","country_id":1} +,{"id":853,"pid":68,"name":"乌拉盖管理区管委会","level":4,"area_code":"152571000000","town_code":"","country_id":1} +,{"id":854,"pid":69,"name":"阿拉善左旗","level":4,"area_code":"152921000000","town_code":"","country_id":1} +,{"id":855,"pid":69,"name":"阿拉善右旗","level":4,"area_code":"152922000000","town_code":"","country_id":1} +,{"id":856,"pid":69,"name":"额济纳旗","level":4,"area_code":"152923000000","town_code":"","country_id":1} +,{"id":857,"pid":69,"name":"内蒙古阿拉善高新技术产业开发区","level":4,"area_code":"152971000000","town_code":"","country_id":1} +,{"id":858,"pid":70,"name":"市辖区","level":4,"area_code":"210101000000","town_code":"","country_id":1} +,{"id":859,"pid":70,"name":"和平区","level":4,"area_code":"210102000000","town_code":"","country_id":1} +,{"id":860,"pid":70,"name":"沈河区","level":4,"area_code":"210103000000","town_code":"","country_id":1} +,{"id":861,"pid":70,"name":"大东区","level":4,"area_code":"210104000000","town_code":"","country_id":1} +,{"id":862,"pid":70,"name":"皇姑区","level":4,"area_code":"210105000000","town_code":"","country_id":1} +,{"id":863,"pid":70,"name":"铁西区","level":4,"area_code":"210106000000","town_code":"","country_id":1} +,{"id":864,"pid":70,"name":"苏家屯区","level":4,"area_code":"210111000000","town_code":"","country_id":1} +,{"id":865,"pid":70,"name":"浑南区","level":4,"area_code":"210112000000","town_code":"","country_id":1} +,{"id":866,"pid":70,"name":"沈北新区","level":4,"area_code":"210113000000","town_code":"","country_id":1} +,{"id":867,"pid":70,"name":"于洪区","level":4,"area_code":"210114000000","town_code":"","country_id":1} +,{"id":868,"pid":70,"name":"辽中区","level":4,"area_code":"210115000000","town_code":"","country_id":1} +,{"id":869,"pid":70,"name":"康平县","level":4,"area_code":"210123000000","town_code":"","country_id":1} +,{"id":870,"pid":70,"name":"法库县","level":4,"area_code":"210124000000","town_code":"","country_id":1} +,{"id":871,"pid":70,"name":"新民市","level":4,"area_code":"210181000000","town_code":"","country_id":1} +,{"id":872,"pid":71,"name":"市辖区","level":4,"area_code":"210201000000","town_code":"","country_id":1} +,{"id":873,"pid":71,"name":"中山区","level":4,"area_code":"210202000000","town_code":"","country_id":1} +,{"id":874,"pid":71,"name":"西岗区","level":4,"area_code":"210203000000","town_code":"","country_id":1} +,{"id":875,"pid":71,"name":"沙河口区","level":4,"area_code":"210204000000","town_code":"","country_id":1} +,{"id":876,"pid":71,"name":"甘井子区","level":4,"area_code":"210211000000","town_code":"","country_id":1} +,{"id":877,"pid":71,"name":"旅顺口区","level":4,"area_code":"210212000000","town_code":"","country_id":1} +,{"id":878,"pid":71,"name":"金州区","level":4,"area_code":"210213000000","town_code":"","country_id":1} +,{"id":879,"pid":71,"name":"普兰店区","level":4,"area_code":"210214000000","town_code":"","country_id":1} +,{"id":880,"pid":71,"name":"长海县","level":4,"area_code":"210224000000","town_code":"","country_id":1} +,{"id":881,"pid":71,"name":"瓦房店市","level":4,"area_code":"210281000000","town_code":"","country_id":1} +,{"id":882,"pid":71,"name":"庄河市","level":4,"area_code":"210283000000","town_code":"","country_id":1} +,{"id":883,"pid":72,"name":"市辖区","level":4,"area_code":"210301000000","town_code":"","country_id":1} +,{"id":884,"pid":72,"name":"铁东区","level":4,"area_code":"210302000000","town_code":"","country_id":1} +,{"id":885,"pid":72,"name":"铁西区","level":4,"area_code":"210303000000","town_code":"","country_id":1} +,{"id":886,"pid":72,"name":"立山区","level":4,"area_code":"210304000000","town_code":"","country_id":1} +,{"id":887,"pid":72,"name":"千山区","level":4,"area_code":"210311000000","town_code":"","country_id":1} +,{"id":888,"pid":72,"name":"台安县","level":4,"area_code":"210321000000","town_code":"","country_id":1} +,{"id":889,"pid":72,"name":"岫岩满族自治县","level":4,"area_code":"210323000000","town_code":"","country_id":1} +,{"id":890,"pid":72,"name":"海城市","level":4,"area_code":"210381000000","town_code":"","country_id":1} +,{"id":891,"pid":73,"name":"市辖区","level":4,"area_code":"210401000000","town_code":"","country_id":1} +,{"id":892,"pid":73,"name":"新抚区","level":4,"area_code":"210402000000","town_code":"","country_id":1} +,{"id":893,"pid":73,"name":"东洲区","level":4,"area_code":"210403000000","town_code":"","country_id":1} +,{"id":894,"pid":73,"name":"望花区","level":4,"area_code":"210404000000","town_code":"","country_id":1} +,{"id":895,"pid":73,"name":"顺城区","level":4,"area_code":"210411000000","town_code":"","country_id":1} +,{"id":896,"pid":73,"name":"抚顺县","level":4,"area_code":"210421000000","town_code":"","country_id":1} +,{"id":897,"pid":73,"name":"新宾满族自治县","level":4,"area_code":"210422000000","town_code":"","country_id":1} +,{"id":898,"pid":73,"name":"清原满族自治县","level":4,"area_code":"210423000000","town_code":"","country_id":1} +,{"id":899,"pid":74,"name":"市辖区","level":4,"area_code":"210501000000","town_code":"","country_id":1} +,{"id":900,"pid":74,"name":"平山区","level":4,"area_code":"210502000000","town_code":"","country_id":1} +,{"id":901,"pid":74,"name":"溪湖区","level":4,"area_code":"210503000000","town_code":"","country_id":1} +,{"id":902,"pid":74,"name":"明山区","level":4,"area_code":"210504000000","town_code":"","country_id":1} +,{"id":903,"pid":74,"name":"南芬区","level":4,"area_code":"210505000000","town_code":"","country_id":1} +,{"id":904,"pid":74,"name":"本溪满族自治县","level":4,"area_code":"210521000000","town_code":"","country_id":1} +,{"id":905,"pid":74,"name":"桓仁满族自治县","level":4,"area_code":"210522000000","town_code":"","country_id":1} +,{"id":906,"pid":75,"name":"市辖区","level":4,"area_code":"210601000000","town_code":"","country_id":1} +,{"id":907,"pid":75,"name":"元宝区","level":4,"area_code":"210602000000","town_code":"","country_id":1} +,{"id":908,"pid":75,"name":"振兴区","level":4,"area_code":"210603000000","town_code":"","country_id":1} +,{"id":909,"pid":75,"name":"振安区","level":4,"area_code":"210604000000","town_code":"","country_id":1} +,{"id":910,"pid":75,"name":"宽甸满族自治县","level":4,"area_code":"210624000000","town_code":"","country_id":1} +,{"id":911,"pid":75,"name":"东港市","level":4,"area_code":"210681000000","town_code":"","country_id":1} +,{"id":912,"pid":75,"name":"凤城市","level":4,"area_code":"210682000000","town_code":"","country_id":1} +,{"id":913,"pid":76,"name":"市辖区","level":4,"area_code":"210701000000","town_code":"","country_id":1} +,{"id":914,"pid":76,"name":"古塔区","level":4,"area_code":"210702000000","town_code":"","country_id":1} +,{"id":915,"pid":76,"name":"凌河区","level":4,"area_code":"210703000000","town_code":"","country_id":1} +,{"id":916,"pid":76,"name":"太和区","level":4,"area_code":"210711000000","town_code":"","country_id":1} +,{"id":917,"pid":76,"name":"黑山县","level":4,"area_code":"210726000000","town_code":"","country_id":1} +,{"id":918,"pid":76,"name":"义县","level":4,"area_code":"210727000000","town_code":"","country_id":1} +,{"id":919,"pid":76,"name":"凌海市","level":4,"area_code":"210781000000","town_code":"","country_id":1} +,{"id":920,"pid":76,"name":"北镇市","level":4,"area_code":"210782000000","town_code":"","country_id":1} +,{"id":921,"pid":77,"name":"市辖区","level":4,"area_code":"210801000000","town_code":"","country_id":1} +,{"id":922,"pid":77,"name":"站前区","level":4,"area_code":"210802000000","town_code":"","country_id":1} +,{"id":923,"pid":77,"name":"西市区","level":4,"area_code":"210803000000","town_code":"","country_id":1} +,{"id":924,"pid":77,"name":"鲅鱼圈区","level":4,"area_code":"210804000000","town_code":"","country_id":1} +,{"id":925,"pid":77,"name":"老边区","level":4,"area_code":"210811000000","town_code":"","country_id":1} +,{"id":926,"pid":77,"name":"盖州市","level":4,"area_code":"210881000000","town_code":"","country_id":1} +,{"id":927,"pid":77,"name":"大石桥市","level":4,"area_code":"210882000000","town_code":"","country_id":1} +,{"id":928,"pid":78,"name":"市辖区","level":4,"area_code":"210901000000","town_code":"","country_id":1} +,{"id":929,"pid":78,"name":"海州区","level":4,"area_code":"210902000000","town_code":"","country_id":1} +,{"id":930,"pid":78,"name":"新邱区","level":4,"area_code":"210903000000","town_code":"","country_id":1} +,{"id":931,"pid":78,"name":"太平区","level":4,"area_code":"210904000000","town_code":"","country_id":1} +,{"id":932,"pid":78,"name":"清河门区","level":4,"area_code":"210905000000","town_code":"","country_id":1} +,{"id":933,"pid":78,"name":"细河区","level":4,"area_code":"210911000000","town_code":"","country_id":1} +,{"id":934,"pid":78,"name":"阜新蒙古族自治县","level":4,"area_code":"210921000000","town_code":"","country_id":1} +,{"id":935,"pid":78,"name":"彰武县","level":4,"area_code":"210922000000","town_code":"","country_id":1} +,{"id":936,"pid":79,"name":"市辖区","level":4,"area_code":"211001000000","town_code":"","country_id":1} +,{"id":937,"pid":79,"name":"白塔区","level":4,"area_code":"211002000000","town_code":"","country_id":1} +,{"id":938,"pid":79,"name":"文圣区","level":4,"area_code":"211003000000","town_code":"","country_id":1} +,{"id":939,"pid":79,"name":"宏伟区","level":4,"area_code":"211004000000","town_code":"","country_id":1} +,{"id":940,"pid":79,"name":"弓长岭区","level":4,"area_code":"211005000000","town_code":"","country_id":1} +,{"id":941,"pid":79,"name":"太子河区","level":4,"area_code":"211011000000","town_code":"","country_id":1} +,{"id":942,"pid":79,"name":"辽阳县","level":4,"area_code":"211021000000","town_code":"","country_id":1} +,{"id":943,"pid":79,"name":"灯塔市","level":4,"area_code":"211081000000","town_code":"","country_id":1} +,{"id":944,"pid":80,"name":"市辖区","level":4,"area_code":"211101000000","town_code":"","country_id":1} +,{"id":945,"pid":80,"name":"双台子区","level":4,"area_code":"211102000000","town_code":"","country_id":1} +,{"id":946,"pid":80,"name":"兴隆台区","level":4,"area_code":"211103000000","town_code":"","country_id":1} +,{"id":947,"pid":80,"name":"大洼区","level":4,"area_code":"211104000000","town_code":"","country_id":1} +,{"id":948,"pid":80,"name":"盘山县","level":4,"area_code":"211122000000","town_code":"","country_id":1} +,{"id":949,"pid":81,"name":"市辖区","level":4,"area_code":"211201000000","town_code":"","country_id":1} +,{"id":950,"pid":81,"name":"银州区","level":4,"area_code":"211202000000","town_code":"","country_id":1} +,{"id":951,"pid":81,"name":"清河区","level":4,"area_code":"211204000000","town_code":"","country_id":1} +,{"id":952,"pid":81,"name":"铁岭县","level":4,"area_code":"211221000000","town_code":"","country_id":1} +,{"id":953,"pid":81,"name":"西丰县","level":4,"area_code":"211223000000","town_code":"","country_id":1} +,{"id":954,"pid":81,"name":"昌图县","level":4,"area_code":"211224000000","town_code":"","country_id":1} +,{"id":955,"pid":81,"name":"调兵山市","level":4,"area_code":"211281000000","town_code":"","country_id":1} +,{"id":956,"pid":81,"name":"开原市","level":4,"area_code":"211282000000","town_code":"","country_id":1} +,{"id":957,"pid":82,"name":"市辖区","level":4,"area_code":"211301000000","town_code":"","country_id":1} +,{"id":958,"pid":82,"name":"双塔区","level":4,"area_code":"211302000000","town_code":"","country_id":1} +,{"id":959,"pid":82,"name":"龙城区","level":4,"area_code":"211303000000","town_code":"","country_id":1} +,{"id":960,"pid":82,"name":"朝阳县","level":4,"area_code":"211321000000","town_code":"","country_id":1} +,{"id":961,"pid":82,"name":"建平县","level":4,"area_code":"211322000000","town_code":"","country_id":1} +,{"id":962,"pid":82,"name":"喀喇沁左翼蒙古族自治县","level":4,"area_code":"211324000000","town_code":"","country_id":1} +,{"id":963,"pid":82,"name":"北票市","level":4,"area_code":"211381000000","town_code":"","country_id":1} +,{"id":964,"pid":82,"name":"凌源市","level":4,"area_code":"211382000000","town_code":"","country_id":1} +,{"id":965,"pid":83,"name":"市辖区","level":4,"area_code":"211401000000","town_code":"","country_id":1} +,{"id":966,"pid":83,"name":"连山区","level":4,"area_code":"211402000000","town_code":"","country_id":1} +,{"id":967,"pid":83,"name":"龙港区","level":4,"area_code":"211403000000","town_code":"","country_id":1} +,{"id":968,"pid":83,"name":"南票区","level":4,"area_code":"211404000000","town_code":"","country_id":1} +,{"id":969,"pid":83,"name":"绥中县","level":4,"area_code":"211421000000","town_code":"","country_id":1} +,{"id":970,"pid":83,"name":"建昌县","level":4,"area_code":"211422000000","town_code":"","country_id":1} +,{"id":971,"pid":83,"name":"兴城市","level":4,"area_code":"211481000000","town_code":"","country_id":1} +,{"id":972,"pid":84,"name":"市辖区","level":4,"area_code":"220101000000","town_code":"","country_id":1} +,{"id":973,"pid":84,"name":"南关区","level":4,"area_code":"220102000000","town_code":"","country_id":1} +,{"id":974,"pid":84,"name":"宽城区","level":4,"area_code":"220103000000","town_code":"","country_id":1} +,{"id":975,"pid":84,"name":"朝阳区","level":4,"area_code":"220104000000","town_code":"","country_id":1} +,{"id":976,"pid":84,"name":"二道区","level":4,"area_code":"220105000000","town_code":"","country_id":1} +,{"id":977,"pid":84,"name":"绿园区","level":4,"area_code":"220106000000","town_code":"","country_id":1} +,{"id":978,"pid":84,"name":"双阳区","level":4,"area_code":"220112000000","town_code":"","country_id":1} +,{"id":979,"pid":84,"name":"九台区","level":4,"area_code":"220113000000","town_code":"","country_id":1} +,{"id":980,"pid":84,"name":"农安县","level":4,"area_code":"220122000000","town_code":"","country_id":1} +,{"id":981,"pid":84,"name":"长春经济技术开发区","level":4,"area_code":"220171000000","town_code":"","country_id":1} +,{"id":982,"pid":84,"name":"长春净月高新技术产业开发区","level":4,"area_code":"220172000000","town_code":"","country_id":1} +,{"id":983,"pid":84,"name":"长春高新技术产业开发区","level":4,"area_code":"220173000000","town_code":"","country_id":1} +,{"id":984,"pid":84,"name":"长春汽车经济技术开发区","level":4,"area_code":"220174000000","town_code":"","country_id":1} +,{"id":985,"pid":84,"name":"榆树市","level":4,"area_code":"220182000000","town_code":"","country_id":1} +,{"id":986,"pid":84,"name":"德惠市","level":4,"area_code":"220183000000","town_code":"","country_id":1} +,{"id":987,"pid":84,"name":"公主岭市","level":4,"area_code":"220184000000","town_code":"","country_id":1} +,{"id":988,"pid":85,"name":"市辖区","level":4,"area_code":"220201000000","town_code":"","country_id":1} +,{"id":989,"pid":85,"name":"昌邑区","level":4,"area_code":"220202000000","town_code":"","country_id":1} +,{"id":990,"pid":85,"name":"龙潭区","level":4,"area_code":"220203000000","town_code":"","country_id":1} +,{"id":991,"pid":85,"name":"船营区","level":4,"area_code":"220204000000","town_code":"","country_id":1} +,{"id":992,"pid":85,"name":"丰满区","level":4,"area_code":"220211000000","town_code":"","country_id":1} +,{"id":993,"pid":85,"name":"永吉县","level":4,"area_code":"220221000000","town_code":"","country_id":1} +,{"id":994,"pid":85,"name":"吉林经济开发区","level":4,"area_code":"220271000000","town_code":"","country_id":1} +,{"id":995,"pid":85,"name":"吉林高新技术产业开发区","level":4,"area_code":"220272000000","town_code":"","country_id":1} +,{"id":996,"pid":85,"name":"吉林中国新加坡食品区","level":4,"area_code":"220273000000","town_code":"","country_id":1} +,{"id":997,"pid":85,"name":"蛟河市","level":4,"area_code":"220281000000","town_code":"","country_id":1} +,{"id":998,"pid":85,"name":"桦甸市","level":4,"area_code":"220282000000","town_code":"","country_id":1} +,{"id":999,"pid":85,"name":"舒兰市","level":4,"area_code":"220283000000","town_code":"","country_id":1} +,{"id":1000,"pid":85,"name":"磐石市","level":4,"area_code":"220284000000","town_code":"","country_id":1} +,{"id":1001,"pid":86,"name":"市辖区","level":4,"area_code":"220301000000","town_code":"","country_id":1} +,{"id":1002,"pid":86,"name":"铁西区","level":4,"area_code":"220302000000","town_code":"","country_id":1} +,{"id":1003,"pid":86,"name":"铁东区","level":4,"area_code":"220303000000","town_code":"","country_id":1} +,{"id":1004,"pid":86,"name":"梨树县","level":4,"area_code":"220322000000","town_code":"","country_id":1} +,{"id":1005,"pid":86,"name":"伊通满族自治县","level":4,"area_code":"220323000000","town_code":"","country_id":1} +,{"id":1006,"pid":86,"name":"双辽市","level":4,"area_code":"220382000000","town_code":"","country_id":1} +,{"id":1007,"pid":87,"name":"市辖区","level":4,"area_code":"220401000000","town_code":"","country_id":1} +,{"id":1008,"pid":87,"name":"龙山区","level":4,"area_code":"220402000000","town_code":"","country_id":1} +,{"id":1009,"pid":87,"name":"西安区","level":4,"area_code":"220403000000","town_code":"","country_id":1} +,{"id":1010,"pid":87,"name":"东丰县","level":4,"area_code":"220421000000","town_code":"","country_id":1} +,{"id":1011,"pid":87,"name":"东辽县","level":4,"area_code":"220422000000","town_code":"","country_id":1} +,{"id":1012,"pid":88,"name":"市辖区","level":4,"area_code":"220501000000","town_code":"","country_id":1} +,{"id":1013,"pid":88,"name":"东昌区","level":4,"area_code":"220502000000","town_code":"","country_id":1} +,{"id":1014,"pid":88,"name":"二道江区","level":4,"area_code":"220503000000","town_code":"","country_id":1} +,{"id":1015,"pid":88,"name":"通化县","level":4,"area_code":"220521000000","town_code":"","country_id":1} +,{"id":1016,"pid":88,"name":"辉南县","level":4,"area_code":"220523000000","town_code":"","country_id":1} +,{"id":1017,"pid":88,"name":"柳河县","level":4,"area_code":"220524000000","town_code":"","country_id":1} +,{"id":1018,"pid":88,"name":"梅河口市","level":4,"area_code":"220581000000","town_code":"","country_id":1} +,{"id":1019,"pid":88,"name":"集安市","level":4,"area_code":"220582000000","town_code":"","country_id":1} +,{"id":1020,"pid":89,"name":"市辖区","level":4,"area_code":"220601000000","town_code":"","country_id":1} +,{"id":1021,"pid":89,"name":"浑江区","level":4,"area_code":"220602000000","town_code":"","country_id":1} +,{"id":1022,"pid":89,"name":"江源区","level":4,"area_code":"220605000000","town_code":"","country_id":1} +,{"id":1023,"pid":89,"name":"抚松县","level":4,"area_code":"220621000000","town_code":"","country_id":1} +,{"id":1024,"pid":89,"name":"靖宇县","level":4,"area_code":"220622000000","town_code":"","country_id":1} +,{"id":1025,"pid":89,"name":"长白朝鲜族自治县","level":4,"area_code":"220623000000","town_code":"","country_id":1} +,{"id":1026,"pid":89,"name":"临江市","level":4,"area_code":"220681000000","town_code":"","country_id":1} +,{"id":1027,"pid":90,"name":"市辖区","level":4,"area_code":"220701000000","town_code":"","country_id":1} +,{"id":1028,"pid":90,"name":"宁江区","level":4,"area_code":"220702000000","town_code":"","country_id":1} +,{"id":1029,"pid":90,"name":"前郭尔罗斯蒙古族自治县","level":4,"area_code":"220721000000","town_code":"","country_id":1} +,{"id":1030,"pid":90,"name":"长岭县","level":4,"area_code":"220722000000","town_code":"","country_id":1} +,{"id":1031,"pid":90,"name":"乾安县","level":4,"area_code":"220723000000","town_code":"","country_id":1} +,{"id":1032,"pid":90,"name":"吉林松原经济开发区","level":4,"area_code":"220771000000","town_code":"","country_id":1} +,{"id":1033,"pid":90,"name":"扶余市","level":4,"area_code":"220781000000","town_code":"","country_id":1} +,{"id":1034,"pid":91,"name":"市辖区","level":4,"area_code":"220801000000","town_code":"","country_id":1} +,{"id":1035,"pid":91,"name":"洮北区","level":4,"area_code":"220802000000","town_code":"","country_id":1} +,{"id":1036,"pid":91,"name":"镇赉县","level":4,"area_code":"220821000000","town_code":"","country_id":1} +,{"id":1037,"pid":91,"name":"通榆县","level":4,"area_code":"220822000000","town_code":"","country_id":1} +,{"id":1038,"pid":91,"name":"吉林白城经济开发区","level":4,"area_code":"220871000000","town_code":"","country_id":1} +,{"id":1039,"pid":91,"name":"洮南市","level":4,"area_code":"220881000000","town_code":"","country_id":1} +,{"id":1040,"pid":91,"name":"大安市","level":4,"area_code":"220882000000","town_code":"","country_id":1} +,{"id":1041,"pid":92,"name":"延吉市","level":4,"area_code":"222401000000","town_code":"","country_id":1} +,{"id":1042,"pid":92,"name":"图们市","level":4,"area_code":"222402000000","town_code":"","country_id":1} +,{"id":1043,"pid":92,"name":"敦化市","level":4,"area_code":"222403000000","town_code":"","country_id":1} +,{"id":1044,"pid":92,"name":"珲春市","level":4,"area_code":"222404000000","town_code":"","country_id":1} +,{"id":1045,"pid":92,"name":"龙井市","level":4,"area_code":"222405000000","town_code":"","country_id":1} +,{"id":1046,"pid":92,"name":"和龙市","level":4,"area_code":"222406000000","town_code":"","country_id":1} +,{"id":1047,"pid":92,"name":"汪清县","level":4,"area_code":"222424000000","town_code":"","country_id":1} +,{"id":1048,"pid":92,"name":"安图县","level":4,"area_code":"222426000000","town_code":"","country_id":1} +,{"id":1049,"pid":93,"name":"市辖区","level":4,"area_code":"230101000000","town_code":"","country_id":1} +,{"id":1050,"pid":93,"name":"道里区","level":4,"area_code":"230102000000","town_code":"","country_id":1} +,{"id":1051,"pid":93,"name":"南岗区","level":4,"area_code":"230103000000","town_code":"","country_id":1} +,{"id":1052,"pid":93,"name":"道外区","level":4,"area_code":"230104000000","town_code":"","country_id":1} +,{"id":1053,"pid":93,"name":"平房区","level":4,"area_code":"230108000000","town_code":"","country_id":1} +,{"id":1054,"pid":93,"name":"松北区","level":4,"area_code":"230109000000","town_code":"","country_id":1} +,{"id":1055,"pid":93,"name":"香坊区","level":4,"area_code":"230110000000","town_code":"","country_id":1} +,{"id":1056,"pid":93,"name":"呼兰区","level":4,"area_code":"230111000000","town_code":"","country_id":1} +,{"id":1057,"pid":93,"name":"阿城区","level":4,"area_code":"230112000000","town_code":"","country_id":1} +,{"id":1058,"pid":93,"name":"双城区","level":4,"area_code":"230113000000","town_code":"","country_id":1} +,{"id":1059,"pid":93,"name":"依兰县","level":4,"area_code":"230123000000","town_code":"","country_id":1} +,{"id":1060,"pid":93,"name":"方正县","level":4,"area_code":"230124000000","town_code":"","country_id":1} +,{"id":1061,"pid":93,"name":"宾县","level":4,"area_code":"230125000000","town_code":"","country_id":1} +,{"id":1062,"pid":93,"name":"巴彦县","level":4,"area_code":"230126000000","town_code":"","country_id":1} +,{"id":1063,"pid":93,"name":"木兰县","level":4,"area_code":"230127000000","town_code":"","country_id":1} +,{"id":1064,"pid":93,"name":"通河县","level":4,"area_code":"230128000000","town_code":"","country_id":1} +,{"id":1065,"pid":93,"name":"延寿县","level":4,"area_code":"230129000000","town_code":"","country_id":1} +,{"id":1066,"pid":93,"name":"尚志市","level":4,"area_code":"230183000000","town_code":"","country_id":1} +,{"id":1067,"pid":93,"name":"五常市","level":4,"area_code":"230184000000","town_code":"","country_id":1} +,{"id":1068,"pid":94,"name":"市辖区","level":4,"area_code":"230201000000","town_code":"","country_id":1} +,{"id":1069,"pid":94,"name":"龙沙区","level":4,"area_code":"230202000000","town_code":"","country_id":1} +,{"id":1070,"pid":94,"name":"建华区","level":4,"area_code":"230203000000","town_code":"","country_id":1} +,{"id":1071,"pid":94,"name":"铁锋区","level":4,"area_code":"230204000000","town_code":"","country_id":1} +,{"id":1072,"pid":94,"name":"昂昂溪区","level":4,"area_code":"230205000000","town_code":"","country_id":1} +,{"id":1073,"pid":94,"name":"富拉尔基区","level":4,"area_code":"230206000000","town_code":"","country_id":1} +,{"id":1074,"pid":94,"name":"碾子山区","level":4,"area_code":"230207000000","town_code":"","country_id":1} +,{"id":1075,"pid":94,"name":"梅里斯达斡尔族区","level":4,"area_code":"230208000000","town_code":"","country_id":1} +,{"id":1076,"pid":94,"name":"龙江县","level":4,"area_code":"230221000000","town_code":"","country_id":1} +,{"id":1077,"pid":94,"name":"依安县","level":4,"area_code":"230223000000","town_code":"","country_id":1} +,{"id":1078,"pid":94,"name":"泰来县","level":4,"area_code":"230224000000","town_code":"","country_id":1} +,{"id":1079,"pid":94,"name":"甘南县","level":4,"area_code":"230225000000","town_code":"","country_id":1} +,{"id":1080,"pid":94,"name":"富裕县","level":4,"area_code":"230227000000","town_code":"","country_id":1} +,{"id":1081,"pid":94,"name":"克山县","level":4,"area_code":"230229000000","town_code":"","country_id":1} +,{"id":1082,"pid":94,"name":"克东县","level":4,"area_code":"230230000000","town_code":"","country_id":1} +,{"id":1083,"pid":94,"name":"拜泉县","level":4,"area_code":"230231000000","town_code":"","country_id":1} +,{"id":1084,"pid":94,"name":"讷河市","level":4,"area_code":"230281000000","town_code":"","country_id":1} +,{"id":1085,"pid":95,"name":"市辖区","level":4,"area_code":"230301000000","town_code":"","country_id":1} +,{"id":1086,"pid":95,"name":"鸡冠区","level":4,"area_code":"230302000000","town_code":"","country_id":1} +,{"id":1087,"pid":95,"name":"恒山区","level":4,"area_code":"230303000000","town_code":"","country_id":1} +,{"id":1088,"pid":95,"name":"滴道区","level":4,"area_code":"230304000000","town_code":"","country_id":1} +,{"id":1089,"pid":95,"name":"梨树区","level":4,"area_code":"230305000000","town_code":"","country_id":1} +,{"id":1090,"pid":95,"name":"城子河区","level":4,"area_code":"230306000000","town_code":"","country_id":1} +,{"id":1091,"pid":95,"name":"麻山区","level":4,"area_code":"230307000000","town_code":"","country_id":1} +,{"id":1092,"pid":95,"name":"鸡东县","level":4,"area_code":"230321000000","town_code":"","country_id":1} +,{"id":1093,"pid":95,"name":"虎林市","level":4,"area_code":"230381000000","town_code":"","country_id":1} +,{"id":1094,"pid":95,"name":"密山市","level":4,"area_code":"230382000000","town_code":"","country_id":1} +,{"id":1095,"pid":96,"name":"市辖区","level":4,"area_code":"230401000000","town_code":"","country_id":1} +,{"id":1096,"pid":96,"name":"向阳区","level":4,"area_code":"230402000000","town_code":"","country_id":1} +,{"id":1097,"pid":96,"name":"工农区","level":4,"area_code":"230403000000","town_code":"","country_id":1} +,{"id":1098,"pid":96,"name":"南山区","level":4,"area_code":"230404000000","town_code":"","country_id":1} +,{"id":1099,"pid":96,"name":"兴安区","level":4,"area_code":"230405000000","town_code":"","country_id":1} +,{"id":1100,"pid":96,"name":"东山区","level":4,"area_code":"230406000000","town_code":"","country_id":1} +,{"id":1101,"pid":96,"name":"兴山区","level":4,"area_code":"230407000000","town_code":"","country_id":1} +,{"id":1102,"pid":96,"name":"萝北县","level":4,"area_code":"230421000000","town_code":"","country_id":1} +,{"id":1103,"pid":96,"name":"绥滨县","level":4,"area_code":"230422000000","town_code":"","country_id":1} +,{"id":1104,"pid":97,"name":"市辖区","level":4,"area_code":"230501000000","town_code":"","country_id":1} +,{"id":1105,"pid":97,"name":"尖山区","level":4,"area_code":"230502000000","town_code":"","country_id":1} +,{"id":1106,"pid":97,"name":"岭东区","level":4,"area_code":"230503000000","town_code":"","country_id":1} +,{"id":1107,"pid":97,"name":"四方台区","level":4,"area_code":"230505000000","town_code":"","country_id":1} +,{"id":1108,"pid":97,"name":"宝山区","level":4,"area_code":"230506000000","town_code":"","country_id":1} +,{"id":1109,"pid":97,"name":"集贤县","level":4,"area_code":"230521000000","town_code":"","country_id":1} +,{"id":1110,"pid":97,"name":"友谊县","level":4,"area_code":"230522000000","town_code":"","country_id":1} +,{"id":1111,"pid":97,"name":"宝清县","level":4,"area_code":"230523000000","town_code":"","country_id":1} +,{"id":1112,"pid":97,"name":"饶河县","level":4,"area_code":"230524000000","town_code":"","country_id":1} +,{"id":1113,"pid":98,"name":"市辖区","level":4,"area_code":"230601000000","town_code":"","country_id":1} +,{"id":1114,"pid":98,"name":"萨尔图区","level":4,"area_code":"230602000000","town_code":"","country_id":1} +,{"id":1115,"pid":98,"name":"龙凤区","level":4,"area_code":"230603000000","town_code":"","country_id":1} +,{"id":1116,"pid":98,"name":"让胡路区","level":4,"area_code":"230604000000","town_code":"","country_id":1} +,{"id":1117,"pid":98,"name":"红岗区","level":4,"area_code":"230605000000","town_code":"","country_id":1} +,{"id":1118,"pid":98,"name":"大同区","level":4,"area_code":"230606000000","town_code":"","country_id":1} +,{"id":1119,"pid":98,"name":"肇州县","level":4,"area_code":"230621000000","town_code":"","country_id":1} +,{"id":1120,"pid":98,"name":"肇源县","level":4,"area_code":"230622000000","town_code":"","country_id":1} +,{"id":1121,"pid":98,"name":"林甸县","level":4,"area_code":"230623000000","town_code":"","country_id":1} +,{"id":1122,"pid":98,"name":"杜尔伯特蒙古族自治县","level":4,"area_code":"230624000000","town_code":"","country_id":1} +,{"id":1123,"pid":98,"name":"大庆高新技术产业开发区","level":4,"area_code":"230671000000","town_code":"","country_id":1} +,{"id":1124,"pid":99,"name":"市辖区","level":4,"area_code":"230701000000","town_code":"","country_id":1} +,{"id":1125,"pid":99,"name":"伊美区","level":4,"area_code":"230717000000","town_code":"","country_id":1} +,{"id":1126,"pid":99,"name":"乌翠区","level":4,"area_code":"230718000000","town_code":"","country_id":1} +,{"id":1127,"pid":99,"name":"友好区","level":4,"area_code":"230719000000","town_code":"","country_id":1} +,{"id":1128,"pid":99,"name":"嘉荫县","level":4,"area_code":"230722000000","town_code":"","country_id":1} +,{"id":1129,"pid":99,"name":"汤旺县","level":4,"area_code":"230723000000","town_code":"","country_id":1} +,{"id":1130,"pid":99,"name":"丰林县","level":4,"area_code":"230724000000","town_code":"","country_id":1} +,{"id":1131,"pid":99,"name":"大箐山县","level":4,"area_code":"230725000000","town_code":"","country_id":1} +,{"id":1132,"pid":99,"name":"南岔县","level":4,"area_code":"230726000000","town_code":"","country_id":1} +,{"id":1133,"pid":99,"name":"金林区","level":4,"area_code":"230751000000","town_code":"","country_id":1} +,{"id":1134,"pid":99,"name":"铁力市","level":4,"area_code":"230781000000","town_code":"","country_id":1} +,{"id":1135,"pid":100,"name":"市辖区","level":4,"area_code":"230801000000","town_code":"","country_id":1} +,{"id":1136,"pid":100,"name":"向阳区","level":4,"area_code":"230803000000","town_code":"","country_id":1} +,{"id":1137,"pid":100,"name":"前进区","level":4,"area_code":"230804000000","town_code":"","country_id":1} +,{"id":1138,"pid":100,"name":"东风区","level":4,"area_code":"230805000000","town_code":"","country_id":1} +,{"id":1139,"pid":100,"name":"郊区","level":4,"area_code":"230811000000","town_code":"","country_id":1} +,{"id":1140,"pid":100,"name":"桦南县","level":4,"area_code":"230822000000","town_code":"","country_id":1} +,{"id":1141,"pid":100,"name":"桦川县","level":4,"area_code":"230826000000","town_code":"","country_id":1} +,{"id":1142,"pid":100,"name":"汤原县","level":4,"area_code":"230828000000","town_code":"","country_id":1} +,{"id":1143,"pid":100,"name":"同江市","level":4,"area_code":"230881000000","town_code":"","country_id":1} +,{"id":1144,"pid":100,"name":"富锦市","level":4,"area_code":"230882000000","town_code":"","country_id":1} +,{"id":1145,"pid":100,"name":"抚远市","level":4,"area_code":"230883000000","town_code":"","country_id":1} +,{"id":1146,"pid":101,"name":"市辖区","level":4,"area_code":"230901000000","town_code":"","country_id":1} +,{"id":1147,"pid":101,"name":"新兴区","level":4,"area_code":"230902000000","town_code":"","country_id":1} +,{"id":1148,"pid":101,"name":"桃山区","level":4,"area_code":"230903000000","town_code":"","country_id":1} +,{"id":1149,"pid":101,"name":"茄子河区","level":4,"area_code":"230904000000","town_code":"","country_id":1} +,{"id":1150,"pid":101,"name":"勃利县","level":4,"area_code":"230921000000","town_code":"","country_id":1} +,{"id":1151,"pid":102,"name":"市辖区","level":4,"area_code":"231001000000","town_code":"","country_id":1} +,{"id":1152,"pid":102,"name":"东安区","level":4,"area_code":"231002000000","town_code":"","country_id":1} +,{"id":1153,"pid":102,"name":"阳明区","level":4,"area_code":"231003000000","town_code":"","country_id":1} +,{"id":1154,"pid":102,"name":"爱民区","level":4,"area_code":"231004000000","town_code":"","country_id":1} +,{"id":1155,"pid":102,"name":"西安区","level":4,"area_code":"231005000000","town_code":"","country_id":1} +,{"id":1156,"pid":102,"name":"林口县","level":4,"area_code":"231025000000","town_code":"","country_id":1} +,{"id":1157,"pid":102,"name":"绥芬河市","level":4,"area_code":"231081000000","town_code":"","country_id":1} +,{"id":1158,"pid":102,"name":"海林市","level":4,"area_code":"231083000000","town_code":"","country_id":1} +,{"id":1159,"pid":102,"name":"宁安市","level":4,"area_code":"231084000000","town_code":"","country_id":1} +,{"id":1160,"pid":102,"name":"穆棱市","level":4,"area_code":"231085000000","town_code":"","country_id":1} +,{"id":1161,"pid":102,"name":"东宁市","level":4,"area_code":"231086000000","town_code":"","country_id":1} +,{"id":1162,"pid":103,"name":"市辖区","level":4,"area_code":"231101000000","town_code":"","country_id":1} +,{"id":1163,"pid":103,"name":"爱辉区","level":4,"area_code":"231102000000","town_code":"","country_id":1} +,{"id":1164,"pid":103,"name":"逊克县","level":4,"area_code":"231123000000","town_code":"","country_id":1} +,{"id":1165,"pid":103,"name":"孙吴县","level":4,"area_code":"231124000000","town_code":"","country_id":1} +,{"id":1166,"pid":103,"name":"北安市","level":4,"area_code":"231181000000","town_code":"","country_id":1} +,{"id":1167,"pid":103,"name":"五大连池市","level":4,"area_code":"231182000000","town_code":"","country_id":1} +,{"id":1168,"pid":103,"name":"嫩江市","level":4,"area_code":"231183000000","town_code":"","country_id":1} +,{"id":1169,"pid":104,"name":"市辖区","level":4,"area_code":"231201000000","town_code":"","country_id":1} +,{"id":1170,"pid":104,"name":"北林区","level":4,"area_code":"231202000000","town_code":"","country_id":1} +,{"id":1171,"pid":104,"name":"望奎县","level":4,"area_code":"231221000000","town_code":"","country_id":1} +,{"id":1172,"pid":104,"name":"兰西县","level":4,"area_code":"231222000000","town_code":"","country_id":1} +,{"id":1173,"pid":104,"name":"青冈县","level":4,"area_code":"231223000000","town_code":"","country_id":1} +,{"id":1174,"pid":104,"name":"庆安县","level":4,"area_code":"231224000000","town_code":"","country_id":1} +,{"id":1175,"pid":104,"name":"明水县","level":4,"area_code":"231225000000","town_code":"","country_id":1} +,{"id":1176,"pid":104,"name":"绥棱县","level":4,"area_code":"231226000000","town_code":"","country_id":1} +,{"id":1177,"pid":104,"name":"安达市","level":4,"area_code":"231281000000","town_code":"","country_id":1} +,{"id":1178,"pid":104,"name":"肇东市","level":4,"area_code":"231282000000","town_code":"","country_id":1} +,{"id":1179,"pid":104,"name":"海伦市","level":4,"area_code":"231283000000","town_code":"","country_id":1} +,{"id":1180,"pid":105,"name":"漠河市","level":4,"area_code":"232701000000","town_code":"","country_id":1} +,{"id":1181,"pid":105,"name":"呼玛县","level":4,"area_code":"232721000000","town_code":"","country_id":1} +,{"id":1182,"pid":105,"name":"塔河县","level":4,"area_code":"232722000000","town_code":"","country_id":1} +,{"id":1183,"pid":105,"name":"加格达奇区","level":4,"area_code":"232761000000","town_code":"","country_id":1} +,{"id":1184,"pid":105,"name":"松岭区","level":4,"area_code":"232762000000","town_code":"","country_id":1} +,{"id":1185,"pid":105,"name":"新林区","level":4,"area_code":"232763000000","town_code":"","country_id":1} +,{"id":1186,"pid":105,"name":"呼中区","level":4,"area_code":"232764000000","town_code":"","country_id":1} +,{"id":1187,"pid":106,"name":"黄浦区","level":4,"area_code":"310101000000","town_code":"","country_id":1} +,{"id":1188,"pid":106,"name":"徐汇区","level":4,"area_code":"310104000000","town_code":"","country_id":1} +,{"id":1189,"pid":106,"name":"长宁区","level":4,"area_code":"310105000000","town_code":"","country_id":1} +,{"id":1190,"pid":106,"name":"静安区","level":4,"area_code":"310106000000","town_code":"","country_id":1} +,{"id":1191,"pid":106,"name":"普陀区","level":4,"area_code":"310107000000","town_code":"","country_id":1} +,{"id":1192,"pid":106,"name":"虹口区","level":4,"area_code":"310109000000","town_code":"","country_id":1} +,{"id":1193,"pid":106,"name":"杨浦区","level":4,"area_code":"310110000000","town_code":"","country_id":1} +,{"id":1194,"pid":106,"name":"闵行区","level":4,"area_code":"310112000000","town_code":"","country_id":1} +,{"id":1195,"pid":106,"name":"宝山区","level":4,"area_code":"310113000000","town_code":"","country_id":1} +,{"id":1196,"pid":106,"name":"嘉定区","level":4,"area_code":"310114000000","town_code":"","country_id":1} +,{"id":1197,"pid":106,"name":"浦东新区","level":4,"area_code":"310115000000","town_code":"","country_id":1} +,{"id":1198,"pid":106,"name":"金山区","level":4,"area_code":"310116000000","town_code":"","country_id":1} +,{"id":1199,"pid":106,"name":"松江区","level":4,"area_code":"310117000000","town_code":"","country_id":1} +,{"id":1200,"pid":106,"name":"青浦区","level":4,"area_code":"310118000000","town_code":"","country_id":1} +,{"id":1201,"pid":106,"name":"奉贤区","level":4,"area_code":"310120000000","town_code":"","country_id":1} +,{"id":1202,"pid":106,"name":"崇明区","level":4,"area_code":"310151000000","town_code":"","country_id":1} +,{"id":1203,"pid":107,"name":"市辖区","level":4,"area_code":"320101000000","town_code":"","country_id":1} +,{"id":1204,"pid":107,"name":"玄武区","level":4,"area_code":"320102000000","town_code":"","country_id":1} +,{"id":1205,"pid":107,"name":"秦淮区","level":4,"area_code":"320104000000","town_code":"","country_id":1} +,{"id":1206,"pid":107,"name":"建邺区","level":4,"area_code":"320105000000","town_code":"","country_id":1} +,{"id":1207,"pid":107,"name":"鼓楼区","level":4,"area_code":"320106000000","town_code":"","country_id":1} +,{"id":1208,"pid":107,"name":"浦口区","level":4,"area_code":"320111000000","town_code":"","country_id":1} +,{"id":1209,"pid":107,"name":"栖霞区","level":4,"area_code":"320113000000","town_code":"","country_id":1} +,{"id":1210,"pid":107,"name":"雨花台区","level":4,"area_code":"320114000000","town_code":"","country_id":1} +,{"id":1211,"pid":107,"name":"江宁区","level":4,"area_code":"320115000000","town_code":"","country_id":1} +,{"id":1212,"pid":107,"name":"六合区","level":4,"area_code":"320116000000","town_code":"","country_id":1} +,{"id":1213,"pid":107,"name":"溧水区","level":4,"area_code":"320117000000","town_code":"","country_id":1} +,{"id":1214,"pid":107,"name":"高淳区","level":4,"area_code":"320118000000","town_code":"","country_id":1} +,{"id":1215,"pid":108,"name":"市辖区","level":4,"area_code":"320201000000","town_code":"","country_id":1} +,{"id":1216,"pid":108,"name":"锡山区","level":4,"area_code":"320205000000","town_code":"","country_id":1} +,{"id":1217,"pid":108,"name":"惠山区","level":4,"area_code":"320206000000","town_code":"","country_id":1} +,{"id":1218,"pid":108,"name":"滨湖区","level":4,"area_code":"320211000000","town_code":"","country_id":1} +,{"id":1219,"pid":108,"name":"梁溪区","level":4,"area_code":"320213000000","town_code":"","country_id":1} +,{"id":1220,"pid":108,"name":"新吴区","level":4,"area_code":"320214000000","town_code":"","country_id":1} +,{"id":1221,"pid":108,"name":"江阴市","level":4,"area_code":"320281000000","town_code":"","country_id":1} +,{"id":1222,"pid":108,"name":"宜兴市","level":4,"area_code":"320282000000","town_code":"","country_id":1} +,{"id":1223,"pid":109,"name":"市辖区","level":4,"area_code":"320301000000","town_code":"","country_id":1} +,{"id":1224,"pid":109,"name":"鼓楼区","level":4,"area_code":"320302000000","town_code":"","country_id":1} +,{"id":1225,"pid":109,"name":"云龙区","level":4,"area_code":"320303000000","town_code":"","country_id":1} +,{"id":1226,"pid":109,"name":"贾汪区","level":4,"area_code":"320305000000","town_code":"","country_id":1} +,{"id":1227,"pid":109,"name":"泉山区","level":4,"area_code":"320311000000","town_code":"","country_id":1} +,{"id":1228,"pid":109,"name":"铜山区","level":4,"area_code":"320312000000","town_code":"","country_id":1} +,{"id":1229,"pid":109,"name":"丰县","level":4,"area_code":"320321000000","town_code":"","country_id":1} +,{"id":1230,"pid":109,"name":"沛县","level":4,"area_code":"320322000000","town_code":"","country_id":1} +,{"id":1231,"pid":109,"name":"睢宁县","level":4,"area_code":"320324000000","town_code":"","country_id":1} +,{"id":1232,"pid":109,"name":"徐州经济技术开发区","level":4,"area_code":"320371000000","town_code":"","country_id":1} +,{"id":1233,"pid":109,"name":"新沂市","level":4,"area_code":"320381000000","town_code":"","country_id":1} +,{"id":1234,"pid":109,"name":"邳州市","level":4,"area_code":"320382000000","town_code":"","country_id":1} +,{"id":1235,"pid":110,"name":"市辖区","level":4,"area_code":"320401000000","town_code":"","country_id":1} +,{"id":1236,"pid":110,"name":"天宁区","level":4,"area_code":"320402000000","town_code":"","country_id":1} +,{"id":1237,"pid":110,"name":"钟楼区","level":4,"area_code":"320404000000","town_code":"","country_id":1} +,{"id":1238,"pid":110,"name":"新北区","level":4,"area_code":"320411000000","town_code":"","country_id":1} +,{"id":1239,"pid":110,"name":"武进区","level":4,"area_code":"320412000000","town_code":"","country_id":1} +,{"id":1240,"pid":110,"name":"金坛区","level":4,"area_code":"320413000000","town_code":"","country_id":1} +,{"id":1241,"pid":110,"name":"溧阳市","level":4,"area_code":"320481000000","town_code":"","country_id":1} +,{"id":1242,"pid":111,"name":"市辖区","level":4,"area_code":"320501000000","town_code":"","country_id":1} +,{"id":1243,"pid":111,"name":"虎丘区","level":4,"area_code":"320505000000","town_code":"","country_id":1} +,{"id":1244,"pid":111,"name":"吴中区","level":4,"area_code":"320506000000","town_code":"","country_id":1} +,{"id":1245,"pid":111,"name":"相城区","level":4,"area_code":"320507000000","town_code":"","country_id":1} +,{"id":1246,"pid":111,"name":"姑苏区","level":4,"area_code":"320508000000","town_code":"","country_id":1} +,{"id":1247,"pid":111,"name":"吴江区","level":4,"area_code":"320509000000","town_code":"","country_id":1} +,{"id":1248,"pid":111,"name":"苏州工业园区","level":4,"area_code":"320576000000","town_code":"","country_id":1} +,{"id":1249,"pid":111,"name":"常熟市","level":4,"area_code":"320581000000","town_code":"","country_id":1} +,{"id":1250,"pid":111,"name":"张家港市","level":4,"area_code":"320582000000","town_code":"","country_id":1} +,{"id":1251,"pid":111,"name":"昆山市","level":4,"area_code":"320583000000","town_code":"","country_id":1} +,{"id":1252,"pid":111,"name":"太仓市","level":4,"area_code":"320585000000","town_code":"","country_id":1} +,{"id":1253,"pid":112,"name":"市辖区","level":4,"area_code":"320601000000","town_code":"","country_id":1} +,{"id":1254,"pid":112,"name":"通州区","level":4,"area_code":"320612000000","town_code":"","country_id":1} +,{"id":1255,"pid":112,"name":"崇川区","level":4,"area_code":"320613000000","town_code":"","country_id":1} +,{"id":1256,"pid":112,"name":"海门区","level":4,"area_code":"320614000000","town_code":"","country_id":1} +,{"id":1257,"pid":112,"name":"如东县","level":4,"area_code":"320623000000","town_code":"","country_id":1} +,{"id":1258,"pid":112,"name":"南通经济技术开发区","level":4,"area_code":"320671000000","town_code":"","country_id":1} +,{"id":1259,"pid":112,"name":"启东市","level":4,"area_code":"320681000000","town_code":"","country_id":1} +,{"id":1260,"pid":112,"name":"如皋市","level":4,"area_code":"320682000000","town_code":"","country_id":1} +,{"id":1261,"pid":112,"name":"海安市","level":4,"area_code":"320685000000","town_code":"","country_id":1} +,{"id":1262,"pid":113,"name":"市辖区","level":4,"area_code":"320701000000","town_code":"","country_id":1} +,{"id":1263,"pid":113,"name":"连云区","level":4,"area_code":"320703000000","town_code":"","country_id":1} +,{"id":1264,"pid":113,"name":"海州区","level":4,"area_code":"320706000000","town_code":"","country_id":1} +,{"id":1265,"pid":113,"name":"赣榆区","level":4,"area_code":"320707000000","town_code":"","country_id":1} +,{"id":1266,"pid":113,"name":"东海县","level":4,"area_code":"320722000000","town_code":"","country_id":1} +,{"id":1267,"pid":113,"name":"灌云县","level":4,"area_code":"320723000000","town_code":"","country_id":1} +,{"id":1268,"pid":113,"name":"灌南县","level":4,"area_code":"320724000000","town_code":"","country_id":1} +,{"id":1269,"pid":113,"name":"连云港经济技术开发区","level":4,"area_code":"320771000000","town_code":"","country_id":1} +,{"id":1270,"pid":114,"name":"市辖区","level":4,"area_code":"320801000000","town_code":"","country_id":1} +,{"id":1271,"pid":114,"name":"淮安区","level":4,"area_code":"320803000000","town_code":"","country_id":1} +,{"id":1272,"pid":114,"name":"淮阴区","level":4,"area_code":"320804000000","town_code":"","country_id":1} +,{"id":1273,"pid":114,"name":"清江浦区","level":4,"area_code":"320812000000","town_code":"","country_id":1} +,{"id":1274,"pid":114,"name":"洪泽区","level":4,"area_code":"320813000000","town_code":"","country_id":1} +,{"id":1275,"pid":114,"name":"涟水县","level":4,"area_code":"320826000000","town_code":"","country_id":1} +,{"id":1276,"pid":114,"name":"盱眙县","level":4,"area_code":"320830000000","town_code":"","country_id":1} +,{"id":1277,"pid":114,"name":"金湖县","level":4,"area_code":"320831000000","town_code":"","country_id":1} +,{"id":1278,"pid":114,"name":"淮安经济技术开发区","level":4,"area_code":"320871000000","town_code":"","country_id":1} +,{"id":1279,"pid":115,"name":"市辖区","level":4,"area_code":"320901000000","town_code":"","country_id":1} +,{"id":1280,"pid":115,"name":"亭湖区","level":4,"area_code":"320902000000","town_code":"","country_id":1} +,{"id":1281,"pid":115,"name":"盐都区","level":4,"area_code":"320903000000","town_code":"","country_id":1} +,{"id":1282,"pid":115,"name":"大丰区","level":4,"area_code":"320904000000","town_code":"","country_id":1} +,{"id":1283,"pid":115,"name":"响水县","level":4,"area_code":"320921000000","town_code":"","country_id":1} +,{"id":1284,"pid":115,"name":"滨海县","level":4,"area_code":"320922000000","town_code":"","country_id":1} +,{"id":1285,"pid":115,"name":"阜宁县","level":4,"area_code":"320923000000","town_code":"","country_id":1} +,{"id":1286,"pid":115,"name":"射阳县","level":4,"area_code":"320924000000","town_code":"","country_id":1} +,{"id":1287,"pid":115,"name":"建湖县","level":4,"area_code":"320925000000","town_code":"","country_id":1} +,{"id":1288,"pid":115,"name":"盐城经济技术开发区","level":4,"area_code":"320971000000","town_code":"","country_id":1} +,{"id":1289,"pid":115,"name":"东台市","level":4,"area_code":"320981000000","town_code":"","country_id":1} +,{"id":1290,"pid":116,"name":"市辖区","level":4,"area_code":"321001000000","town_code":"","country_id":1} +,{"id":1291,"pid":116,"name":"广陵区","level":4,"area_code":"321002000000","town_code":"","country_id":1} +,{"id":1292,"pid":116,"name":"邗江区","level":4,"area_code":"321003000000","town_code":"","country_id":1} +,{"id":1293,"pid":116,"name":"江都区","level":4,"area_code":"321012000000","town_code":"","country_id":1} +,{"id":1294,"pid":116,"name":"宝应县","level":4,"area_code":"321023000000","town_code":"","country_id":1} +,{"id":1295,"pid":116,"name":"扬州经济技术开发区","level":4,"area_code":"321071000000","town_code":"","country_id":1} +,{"id":1296,"pid":116,"name":"仪征市","level":4,"area_code":"321081000000","town_code":"","country_id":1} +,{"id":1297,"pid":116,"name":"高邮市","level":4,"area_code":"321084000000","town_code":"","country_id":1} +,{"id":1298,"pid":117,"name":"市辖区","level":4,"area_code":"321101000000","town_code":"","country_id":1} +,{"id":1299,"pid":117,"name":"京口区","level":4,"area_code":"321102000000","town_code":"","country_id":1} +,{"id":1300,"pid":117,"name":"润州区","level":4,"area_code":"321111000000","town_code":"","country_id":1} +,{"id":1301,"pid":117,"name":"丹徒区","level":4,"area_code":"321112000000","town_code":"","country_id":1} +,{"id":1302,"pid":117,"name":"镇江新区","level":4,"area_code":"321171000000","town_code":"","country_id":1} +,{"id":1303,"pid":117,"name":"丹阳市","level":4,"area_code":"321181000000","town_code":"","country_id":1} +,{"id":1304,"pid":117,"name":"扬中市","level":4,"area_code":"321182000000","town_code":"","country_id":1} +,{"id":1305,"pid":117,"name":"句容市","level":4,"area_code":"321183000000","town_code":"","country_id":1} +,{"id":1306,"pid":118,"name":"市辖区","level":4,"area_code":"321201000000","town_code":"","country_id":1} +,{"id":1307,"pid":118,"name":"海陵区","level":4,"area_code":"321202000000","town_code":"","country_id":1} +,{"id":1308,"pid":118,"name":"高港区","level":4,"area_code":"321203000000","town_code":"","country_id":1} +,{"id":1309,"pid":118,"name":"姜堰区","level":4,"area_code":"321204000000","town_code":"","country_id":1} +,{"id":1310,"pid":118,"name":"兴化市","level":4,"area_code":"321281000000","town_code":"","country_id":1} +,{"id":1311,"pid":118,"name":"靖江市","level":4,"area_code":"321282000000","town_code":"","country_id":1} +,{"id":1312,"pid":118,"name":"泰兴市","level":4,"area_code":"321283000000","town_code":"","country_id":1} +,{"id":1313,"pid":119,"name":"市辖区","level":4,"area_code":"321301000000","town_code":"","country_id":1} +,{"id":1314,"pid":119,"name":"宿城区","level":4,"area_code":"321302000000","town_code":"","country_id":1} +,{"id":1315,"pid":119,"name":"宿豫区","level":4,"area_code":"321311000000","town_code":"","country_id":1} +,{"id":1316,"pid":119,"name":"沭阳县","level":4,"area_code":"321322000000","town_code":"","country_id":1} +,{"id":1317,"pid":119,"name":"泗阳县","level":4,"area_code":"321323000000","town_code":"","country_id":1} +,{"id":1318,"pid":119,"name":"泗洪县","level":4,"area_code":"321324000000","town_code":"","country_id":1} +,{"id":1319,"pid":119,"name":"宿迁经济技术开发区","level":4,"area_code":"321371000000","town_code":"","country_id":1} +,{"id":1320,"pid":120,"name":"市辖区","level":4,"area_code":"330101000000","town_code":"","country_id":1} +,{"id":1321,"pid":120,"name":"上城区","level":4,"area_code":"330102000000","town_code":"","country_id":1} +,{"id":1322,"pid":120,"name":"拱墅区","level":4,"area_code":"330105000000","town_code":"","country_id":1} +,{"id":1323,"pid":120,"name":"西湖区","level":4,"area_code":"330106000000","town_code":"","country_id":1} +,{"id":1324,"pid":120,"name":"滨江区","level":4,"area_code":"330108000000","town_code":"","country_id":1} +,{"id":1325,"pid":120,"name":"萧山区","level":4,"area_code":"330109000000","town_code":"","country_id":1} +,{"id":1326,"pid":120,"name":"余杭区","level":4,"area_code":"330110000000","town_code":"","country_id":1} +,{"id":1327,"pid":120,"name":"富阳区","level":4,"area_code":"330111000000","town_code":"","country_id":1} +,{"id":1328,"pid":120,"name":"临安区","level":4,"area_code":"330112000000","town_code":"","country_id":1} +,{"id":1329,"pid":120,"name":"临平区","level":4,"area_code":"330113000000","town_code":"","country_id":1} +,{"id":1330,"pid":120,"name":"钱塘区","level":4,"area_code":"330114000000","town_code":"","country_id":1} +,{"id":1331,"pid":120,"name":"桐庐县","level":4,"area_code":"330122000000","town_code":"","country_id":1} +,{"id":1332,"pid":120,"name":"淳安县","level":4,"area_code":"330127000000","town_code":"","country_id":1} +,{"id":1333,"pid":120,"name":"建德市","level":4,"area_code":"330182000000","town_code":"","country_id":1} +,{"id":1334,"pid":121,"name":"市辖区","level":4,"area_code":"330201000000","town_code":"","country_id":1} +,{"id":1335,"pid":121,"name":"海曙区","level":4,"area_code":"330203000000","town_code":"","country_id":1} +,{"id":1336,"pid":121,"name":"江北区","level":4,"area_code":"330205000000","town_code":"","country_id":1} +,{"id":1337,"pid":121,"name":"北仑区","level":4,"area_code":"330206000000","town_code":"","country_id":1} +,{"id":1338,"pid":121,"name":"镇海区","level":4,"area_code":"330211000000","town_code":"","country_id":1} +,{"id":1339,"pid":121,"name":"鄞州区","level":4,"area_code":"330212000000","town_code":"","country_id":1} +,{"id":1340,"pid":121,"name":"奉化区","level":4,"area_code":"330213000000","town_code":"","country_id":1} +,{"id":1341,"pid":121,"name":"象山县","level":4,"area_code":"330225000000","town_code":"","country_id":1} +,{"id":1342,"pid":121,"name":"宁海县","level":4,"area_code":"330226000000","town_code":"","country_id":1} +,{"id":1343,"pid":121,"name":"余姚市","level":4,"area_code":"330281000000","town_code":"","country_id":1} +,{"id":1344,"pid":121,"name":"慈溪市","level":4,"area_code":"330282000000","town_code":"","country_id":1} +,{"id":1345,"pid":122,"name":"市辖区","level":4,"area_code":"330301000000","town_code":"","country_id":1} +,{"id":1346,"pid":122,"name":"鹿城区","level":4,"area_code":"330302000000","town_code":"","country_id":1} +,{"id":1347,"pid":122,"name":"龙湾区","level":4,"area_code":"330303000000","town_code":"","country_id":1} +,{"id":1348,"pid":122,"name":"瓯海区","level":4,"area_code":"330304000000","town_code":"","country_id":1} +,{"id":1349,"pid":122,"name":"洞头区","level":4,"area_code":"330305000000","town_code":"","country_id":1} +,{"id":1350,"pid":122,"name":"永嘉县","level":4,"area_code":"330324000000","town_code":"","country_id":1} +,{"id":1351,"pid":122,"name":"平阳县","level":4,"area_code":"330326000000","town_code":"","country_id":1} +,{"id":1352,"pid":122,"name":"苍南县","level":4,"area_code":"330327000000","town_code":"","country_id":1} +,{"id":1353,"pid":122,"name":"文成县","level":4,"area_code":"330328000000","town_code":"","country_id":1} +,{"id":1354,"pid":122,"name":"泰顺县","level":4,"area_code":"330329000000","town_code":"","country_id":1} +,{"id":1355,"pid":122,"name":"瑞安市","level":4,"area_code":"330381000000","town_code":"","country_id":1} +,{"id":1356,"pid":122,"name":"乐清市","level":4,"area_code":"330382000000","town_code":"","country_id":1} +,{"id":1357,"pid":122,"name":"龙港市","level":4,"area_code":"330383000000","town_code":"","country_id":1} +,{"id":1358,"pid":123,"name":"市辖区","level":4,"area_code":"330401000000","town_code":"","country_id":1} +,{"id":1359,"pid":123,"name":"南湖区","level":4,"area_code":"330402000000","town_code":"","country_id":1} +,{"id":1360,"pid":123,"name":"秀洲区","level":4,"area_code":"330411000000","town_code":"","country_id":1} +,{"id":1361,"pid":123,"name":"嘉善县","level":4,"area_code":"330421000000","town_code":"","country_id":1} +,{"id":1362,"pid":123,"name":"海盐县","level":4,"area_code":"330424000000","town_code":"","country_id":1} +,{"id":1363,"pid":123,"name":"海宁市","level":4,"area_code":"330481000000","town_code":"","country_id":1} +,{"id":1364,"pid":123,"name":"平湖市","level":4,"area_code":"330482000000","town_code":"","country_id":1} +,{"id":1365,"pid":123,"name":"桐乡市","level":4,"area_code":"330483000000","town_code":"","country_id":1} +,{"id":1366,"pid":124,"name":"市辖区","level":4,"area_code":"330501000000","town_code":"","country_id":1} +,{"id":1367,"pid":124,"name":"吴兴区","level":4,"area_code":"330502000000","town_code":"","country_id":1} +,{"id":1368,"pid":124,"name":"南浔区","level":4,"area_code":"330503000000","town_code":"","country_id":1} +,{"id":1369,"pid":124,"name":"德清县","level":4,"area_code":"330521000000","town_code":"","country_id":1} +,{"id":1370,"pid":124,"name":"长兴县","level":4,"area_code":"330522000000","town_code":"","country_id":1} +,{"id":1371,"pid":124,"name":"安吉县","level":4,"area_code":"330523000000","town_code":"","country_id":1} +,{"id":1372,"pid":125,"name":"市辖区","level":4,"area_code":"330601000000","town_code":"","country_id":1} +,{"id":1373,"pid":125,"name":"越城区","level":4,"area_code":"330602000000","town_code":"","country_id":1} +,{"id":1374,"pid":125,"name":"柯桥区","level":4,"area_code":"330603000000","town_code":"","country_id":1} +,{"id":1375,"pid":125,"name":"上虞区","level":4,"area_code":"330604000000","town_code":"","country_id":1} +,{"id":1376,"pid":125,"name":"新昌县","level":4,"area_code":"330624000000","town_code":"","country_id":1} +,{"id":1377,"pid":125,"name":"诸暨市","level":4,"area_code":"330681000000","town_code":"","country_id":1} +,{"id":1378,"pid":125,"name":"嵊州市","level":4,"area_code":"330683000000","town_code":"","country_id":1} +,{"id":1379,"pid":126,"name":"市辖区","level":4,"area_code":"330701000000","town_code":"","country_id":1} +,{"id":1380,"pid":126,"name":"婺城区","level":4,"area_code":"330702000000","town_code":"","country_id":1} +,{"id":1381,"pid":126,"name":"金东区","level":4,"area_code":"330703000000","town_code":"","country_id":1} +,{"id":1382,"pid":126,"name":"武义县","level":4,"area_code":"330723000000","town_code":"","country_id":1} +,{"id":1383,"pid":126,"name":"浦江县","level":4,"area_code":"330726000000","town_code":"","country_id":1} +,{"id":1384,"pid":126,"name":"磐安县","level":4,"area_code":"330727000000","town_code":"","country_id":1} +,{"id":1385,"pid":126,"name":"兰溪市","level":4,"area_code":"330781000000","town_code":"","country_id":1} +,{"id":1386,"pid":126,"name":"义乌市","level":4,"area_code":"330782000000","town_code":"","country_id":1} +,{"id":1387,"pid":126,"name":"东阳市","level":4,"area_code":"330783000000","town_code":"","country_id":1} +,{"id":1388,"pid":126,"name":"永康市","level":4,"area_code":"330784000000","town_code":"","country_id":1} +,{"id":1389,"pid":127,"name":"市辖区","level":4,"area_code":"330801000000","town_code":"","country_id":1} +,{"id":1390,"pid":127,"name":"柯城区","level":4,"area_code":"330802000000","town_code":"","country_id":1} +,{"id":1391,"pid":127,"name":"衢江区","level":4,"area_code":"330803000000","town_code":"","country_id":1} +,{"id":1392,"pid":127,"name":"常山县","level":4,"area_code":"330822000000","town_code":"","country_id":1} +,{"id":1393,"pid":127,"name":"开化县","level":4,"area_code":"330824000000","town_code":"","country_id":1} +,{"id":1394,"pid":127,"name":"龙游县","level":4,"area_code":"330825000000","town_code":"","country_id":1} +,{"id":1395,"pid":127,"name":"江山市","level":4,"area_code":"330881000000","town_code":"","country_id":1} +,{"id":1396,"pid":128,"name":"市辖区","level":4,"area_code":"330901000000","town_code":"","country_id":1} +,{"id":1397,"pid":128,"name":"定海区","level":4,"area_code":"330902000000","town_code":"","country_id":1} +,{"id":1398,"pid":128,"name":"普陀区","level":4,"area_code":"330903000000","town_code":"","country_id":1} +,{"id":1399,"pid":128,"name":"岱山县","level":4,"area_code":"330921000000","town_code":"","country_id":1} +,{"id":1400,"pid":128,"name":"嵊泗县","level":4,"area_code":"330922000000","town_code":"","country_id":1} +,{"id":1401,"pid":129,"name":"市辖区","level":4,"area_code":"331001000000","town_code":"","country_id":1} +,{"id":1402,"pid":129,"name":"椒江区","level":4,"area_code":"331002000000","town_code":"","country_id":1} +,{"id":1403,"pid":129,"name":"黄岩区","level":4,"area_code":"331003000000","town_code":"","country_id":1} +,{"id":1404,"pid":129,"name":"路桥区","level":4,"area_code":"331004000000","town_code":"","country_id":1} +,{"id":1405,"pid":129,"name":"三门县","level":4,"area_code":"331022000000","town_code":"","country_id":1} +,{"id":1406,"pid":129,"name":"天台县","level":4,"area_code":"331023000000","town_code":"","country_id":1} +,{"id":1407,"pid":129,"name":"仙居县","level":4,"area_code":"331024000000","town_code":"","country_id":1} +,{"id":1408,"pid":129,"name":"温岭市","level":4,"area_code":"331081000000","town_code":"","country_id":1} +,{"id":1409,"pid":129,"name":"临海市","level":4,"area_code":"331082000000","town_code":"","country_id":1} +,{"id":1410,"pid":129,"name":"玉环市","level":4,"area_code":"331083000000","town_code":"","country_id":1} +,{"id":1411,"pid":130,"name":"市辖区","level":4,"area_code":"331101000000","town_code":"","country_id":1} +,{"id":1412,"pid":130,"name":"莲都区","level":4,"area_code":"331102000000","town_code":"","country_id":1} +,{"id":1413,"pid":130,"name":"青田县","level":4,"area_code":"331121000000","town_code":"","country_id":1} +,{"id":1414,"pid":130,"name":"缙云县","level":4,"area_code":"331122000000","town_code":"","country_id":1} +,{"id":1415,"pid":130,"name":"遂昌县","level":4,"area_code":"331123000000","town_code":"","country_id":1} +,{"id":1416,"pid":130,"name":"松阳县","level":4,"area_code":"331124000000","town_code":"","country_id":1} +,{"id":1417,"pid":130,"name":"云和县","level":4,"area_code":"331125000000","town_code":"","country_id":1} +,{"id":1418,"pid":130,"name":"庆元县","level":4,"area_code":"331126000000","town_code":"","country_id":1} +,{"id":1419,"pid":130,"name":"景宁畲族自治县","level":4,"area_code":"331127000000","town_code":"","country_id":1} +,{"id":1420,"pid":130,"name":"龙泉市","level":4,"area_code":"331181000000","town_code":"","country_id":1} +,{"id":1421,"pid":131,"name":"市辖区","level":4,"area_code":"340101000000","town_code":"","country_id":1} +,{"id":1422,"pid":131,"name":"瑶海区","level":4,"area_code":"340102000000","town_code":"","country_id":1} +,{"id":1423,"pid":131,"name":"庐阳区","level":4,"area_code":"340103000000","town_code":"","country_id":1} +,{"id":1424,"pid":131,"name":"蜀山区","level":4,"area_code":"340104000000","town_code":"","country_id":1} +,{"id":1425,"pid":131,"name":"包河区","level":4,"area_code":"340111000000","town_code":"","country_id":1} +,{"id":1426,"pid":131,"name":"长丰县","level":4,"area_code":"340121000000","town_code":"","country_id":1} +,{"id":1427,"pid":131,"name":"肥东县","level":4,"area_code":"340122000000","town_code":"","country_id":1} +,{"id":1428,"pid":131,"name":"肥西县","level":4,"area_code":"340123000000","town_code":"","country_id":1} +,{"id":1429,"pid":131,"name":"庐江县","level":4,"area_code":"340124000000","town_code":"","country_id":1} +,{"id":1430,"pid":131,"name":"合肥高新技术产业开发区","level":4,"area_code":"340176000000","town_code":"","country_id":1} +,{"id":1431,"pid":131,"name":"合肥经济技术开发区","level":4,"area_code":"340177000000","town_code":"","country_id":1} +,{"id":1432,"pid":131,"name":"合肥新站高新技术产业开发区","level":4,"area_code":"340178000000","town_code":"","country_id":1} +,{"id":1433,"pid":131,"name":"巢湖市","level":4,"area_code":"340181000000","town_code":"","country_id":1} +,{"id":1434,"pid":132,"name":"市辖区","level":4,"area_code":"340201000000","town_code":"","country_id":1} +,{"id":1435,"pid":132,"name":"镜湖区","level":4,"area_code":"340202000000","town_code":"","country_id":1} +,{"id":1436,"pid":132,"name":"鸠江区","level":4,"area_code":"340207000000","town_code":"","country_id":1} +,{"id":1437,"pid":132,"name":"弋江区","level":4,"area_code":"340209000000","town_code":"","country_id":1} +,{"id":1438,"pid":132,"name":"湾沚区","level":4,"area_code":"340210000000","town_code":"","country_id":1} +,{"id":1439,"pid":132,"name":"繁昌区","level":4,"area_code":"340212000000","town_code":"","country_id":1} +,{"id":1440,"pid":132,"name":"南陵县","level":4,"area_code":"340223000000","town_code":"","country_id":1} +,{"id":1441,"pid":132,"name":"芜湖经济技术开发区","level":4,"area_code":"340271000000","town_code":"","country_id":1} +,{"id":1442,"pid":132,"name":"安徽芜湖三山经济开发区","level":4,"area_code":"340272000000","town_code":"","country_id":1} +,{"id":1443,"pid":132,"name":"无为市","level":4,"area_code":"340281000000","town_code":"","country_id":1} +,{"id":1444,"pid":133,"name":"市辖区","level":4,"area_code":"340301000000","town_code":"","country_id":1} +,{"id":1445,"pid":133,"name":"龙子湖区","level":4,"area_code":"340302000000","town_code":"","country_id":1} +,{"id":1446,"pid":133,"name":"蚌山区","level":4,"area_code":"340303000000","town_code":"","country_id":1} +,{"id":1447,"pid":133,"name":"禹会区","level":4,"area_code":"340304000000","town_code":"","country_id":1} +,{"id":1448,"pid":133,"name":"淮上区","level":4,"area_code":"340311000000","town_code":"","country_id":1} +,{"id":1449,"pid":133,"name":"怀远县","level":4,"area_code":"340321000000","town_code":"","country_id":1} +,{"id":1450,"pid":133,"name":"五河县","level":4,"area_code":"340322000000","town_code":"","country_id":1} +,{"id":1451,"pid":133,"name":"固镇县","level":4,"area_code":"340323000000","town_code":"","country_id":1} +,{"id":1452,"pid":133,"name":"蚌埠市高新技术开发区","level":4,"area_code":"340371000000","town_code":"","country_id":1} +,{"id":1453,"pid":133,"name":"蚌埠市经济开发区","level":4,"area_code":"340372000000","town_code":"","country_id":1} +,{"id":1454,"pid":134,"name":"市辖区","level":4,"area_code":"340401000000","town_code":"","country_id":1} +,{"id":1455,"pid":134,"name":"大通区","level":4,"area_code":"340402000000","town_code":"","country_id":1} +,{"id":1456,"pid":134,"name":"田家庵区","level":4,"area_code":"340403000000","town_code":"","country_id":1} +,{"id":1457,"pid":134,"name":"谢家集区","level":4,"area_code":"340404000000","town_code":"","country_id":1} +,{"id":1458,"pid":134,"name":"八公山区","level":4,"area_code":"340405000000","town_code":"","country_id":1} +,{"id":1459,"pid":134,"name":"潘集区","level":4,"area_code":"340406000000","town_code":"","country_id":1} +,{"id":1460,"pid":134,"name":"凤台县","level":4,"area_code":"340421000000","town_code":"","country_id":1} +,{"id":1461,"pid":134,"name":"寿县","level":4,"area_code":"340422000000","town_code":"","country_id":1} +,{"id":1462,"pid":135,"name":"市辖区","level":4,"area_code":"340501000000","town_code":"","country_id":1} +,{"id":1463,"pid":135,"name":"花山区","level":4,"area_code":"340503000000","town_code":"","country_id":1} +,{"id":1464,"pid":135,"name":"雨山区","level":4,"area_code":"340504000000","town_code":"","country_id":1} +,{"id":1465,"pid":135,"name":"博望区","level":4,"area_code":"340506000000","town_code":"","country_id":1} +,{"id":1466,"pid":135,"name":"当涂县","level":4,"area_code":"340521000000","town_code":"","country_id":1} +,{"id":1467,"pid":135,"name":"含山县","level":4,"area_code":"340522000000","town_code":"","country_id":1} +,{"id":1468,"pid":135,"name":"和县","level":4,"area_code":"340523000000","town_code":"","country_id":1} +,{"id":1469,"pid":136,"name":"市辖区","level":4,"area_code":"340601000000","town_code":"","country_id":1} +,{"id":1470,"pid":136,"name":"杜集区","level":4,"area_code":"340602000000","town_code":"","country_id":1} +,{"id":1471,"pid":136,"name":"相山区","level":4,"area_code":"340603000000","town_code":"","country_id":1} +,{"id":1472,"pid":136,"name":"烈山区","level":4,"area_code":"340604000000","town_code":"","country_id":1} +,{"id":1473,"pid":136,"name":"濉溪县","level":4,"area_code":"340621000000","town_code":"","country_id":1} +,{"id":1474,"pid":137,"name":"市辖区","level":4,"area_code":"340701000000","town_code":"","country_id":1} +,{"id":1475,"pid":137,"name":"铜官区","level":4,"area_code":"340705000000","town_code":"","country_id":1} +,{"id":1476,"pid":137,"name":"义安区","level":4,"area_code":"340706000000","town_code":"","country_id":1} +,{"id":1477,"pid":137,"name":"郊区","level":4,"area_code":"340711000000","town_code":"","country_id":1} +,{"id":1478,"pid":137,"name":"枞阳县","level":4,"area_code":"340722000000","town_code":"","country_id":1} +,{"id":1479,"pid":138,"name":"市辖区","level":4,"area_code":"340801000000","town_code":"","country_id":1} +,{"id":1480,"pid":138,"name":"迎江区","level":4,"area_code":"340802000000","town_code":"","country_id":1} +,{"id":1481,"pid":138,"name":"大观区","level":4,"area_code":"340803000000","town_code":"","country_id":1} +,{"id":1482,"pid":138,"name":"宜秀区","level":4,"area_code":"340811000000","town_code":"","country_id":1} +,{"id":1483,"pid":138,"name":"怀宁县","level":4,"area_code":"340822000000","town_code":"","country_id":1} +,{"id":1484,"pid":138,"name":"太湖县","level":4,"area_code":"340825000000","town_code":"","country_id":1} +,{"id":1485,"pid":138,"name":"宿松县","level":4,"area_code":"340826000000","town_code":"","country_id":1} +,{"id":1486,"pid":138,"name":"望江县","level":4,"area_code":"340827000000","town_code":"","country_id":1} +,{"id":1487,"pid":138,"name":"岳西县","level":4,"area_code":"340828000000","town_code":"","country_id":1} +,{"id":1488,"pid":138,"name":"安徽安庆经济开发区","level":4,"area_code":"340871000000","town_code":"","country_id":1} +,{"id":1489,"pid":138,"name":"桐城市","level":4,"area_code":"340881000000","town_code":"","country_id":1} +,{"id":1490,"pid":138,"name":"潜山市","level":4,"area_code":"340882000000","town_code":"","country_id":1} +,{"id":1491,"pid":139,"name":"市辖区","level":4,"area_code":"341001000000","town_code":"","country_id":1} +,{"id":1492,"pid":139,"name":"屯溪区","level":4,"area_code":"341002000000","town_code":"","country_id":1} +,{"id":1493,"pid":139,"name":"黄山区","level":4,"area_code":"341003000000","town_code":"","country_id":1} +,{"id":1494,"pid":139,"name":"徽州区","level":4,"area_code":"341004000000","town_code":"","country_id":1} +,{"id":1495,"pid":139,"name":"歙县","level":4,"area_code":"341021000000","town_code":"","country_id":1} +,{"id":1496,"pid":139,"name":"休宁县","level":4,"area_code":"341022000000","town_code":"","country_id":1} +,{"id":1497,"pid":139,"name":"黟县","level":4,"area_code":"341023000000","town_code":"","country_id":1} +,{"id":1498,"pid":139,"name":"祁门县","level":4,"area_code":"341024000000","town_code":"","country_id":1} +,{"id":1499,"pid":140,"name":"市辖区","level":4,"area_code":"341101000000","town_code":"","country_id":1} +,{"id":1500,"pid":140,"name":"琅琊区","level":4,"area_code":"341102000000","town_code":"","country_id":1} +,{"id":1501,"pid":140,"name":"南谯区","level":4,"area_code":"341103000000","town_code":"","country_id":1} +,{"id":1502,"pid":140,"name":"来安县","level":4,"area_code":"341122000000","town_code":"","country_id":1} +,{"id":1503,"pid":140,"name":"全椒县","level":4,"area_code":"341124000000","town_code":"","country_id":1} +,{"id":1504,"pid":140,"name":"定远县","level":4,"area_code":"341125000000","town_code":"","country_id":1} +,{"id":1505,"pid":140,"name":"凤阳县","level":4,"area_code":"341126000000","town_code":"","country_id":1} +,{"id":1506,"pid":140,"name":"中新苏滁高新技术产业开发区","level":4,"area_code":"341171000000","town_code":"","country_id":1} +,{"id":1507,"pid":140,"name":"滁州经济技术开发区","level":4,"area_code":"341172000000","town_code":"","country_id":1} +,{"id":1508,"pid":140,"name":"天长市","level":4,"area_code":"341181000000","town_code":"","country_id":1} +,{"id":1509,"pid":140,"name":"明光市","level":4,"area_code":"341182000000","town_code":"","country_id":1} +,{"id":1510,"pid":141,"name":"市辖区","level":4,"area_code":"341201000000","town_code":"","country_id":1} +,{"id":1511,"pid":141,"name":"颍州区","level":4,"area_code":"341202000000","town_code":"","country_id":1} +,{"id":1512,"pid":141,"name":"颍东区","level":4,"area_code":"341203000000","town_code":"","country_id":1} +,{"id":1513,"pid":141,"name":"颍泉区","level":4,"area_code":"341204000000","town_code":"","country_id":1} +,{"id":1514,"pid":141,"name":"临泉县","level":4,"area_code":"341221000000","town_code":"","country_id":1} +,{"id":1515,"pid":141,"name":"太和县","level":4,"area_code":"341222000000","town_code":"","country_id":1} +,{"id":1516,"pid":141,"name":"阜南县","level":4,"area_code":"341225000000","town_code":"","country_id":1} +,{"id":1517,"pid":141,"name":"颍上县","level":4,"area_code":"341226000000","town_code":"","country_id":1} +,{"id":1518,"pid":141,"name":"阜阳合肥现代产业园区","level":4,"area_code":"341271000000","town_code":"","country_id":1} +,{"id":1519,"pid":141,"name":"阜阳经济技术开发区","level":4,"area_code":"341272000000","town_code":"","country_id":1} +,{"id":1520,"pid":141,"name":"界首市","level":4,"area_code":"341282000000","town_code":"","country_id":1} +,{"id":1521,"pid":142,"name":"市辖区","level":4,"area_code":"341301000000","town_code":"","country_id":1} +,{"id":1522,"pid":142,"name":"埇桥区","level":4,"area_code":"341302000000","town_code":"","country_id":1} +,{"id":1523,"pid":142,"name":"砀山县","level":4,"area_code":"341321000000","town_code":"","country_id":1} +,{"id":1524,"pid":142,"name":"萧县","level":4,"area_code":"341322000000","town_code":"","country_id":1} +,{"id":1525,"pid":142,"name":"灵璧县","level":4,"area_code":"341323000000","town_code":"","country_id":1} +,{"id":1526,"pid":142,"name":"泗县","level":4,"area_code":"341324000000","town_code":"","country_id":1} +,{"id":1527,"pid":142,"name":"宿州马鞍山现代产业园区","level":4,"area_code":"341371000000","town_code":"","country_id":1} +,{"id":1528,"pid":142,"name":"宿州经济技术开发区","level":4,"area_code":"341372000000","town_code":"","country_id":1} +,{"id":1529,"pid":143,"name":"市辖区","level":4,"area_code":"341501000000","town_code":"","country_id":1} +,{"id":1530,"pid":143,"name":"金安区","level":4,"area_code":"341502000000","town_code":"","country_id":1} +,{"id":1531,"pid":143,"name":"裕安区","level":4,"area_code":"341503000000","town_code":"","country_id":1} +,{"id":1532,"pid":143,"name":"叶集区","level":4,"area_code":"341504000000","town_code":"","country_id":1} +,{"id":1533,"pid":143,"name":"霍邱县","level":4,"area_code":"341522000000","town_code":"","country_id":1} +,{"id":1534,"pid":143,"name":"舒城县","level":4,"area_code":"341523000000","town_code":"","country_id":1} +,{"id":1535,"pid":143,"name":"金寨县","level":4,"area_code":"341524000000","town_code":"","country_id":1} +,{"id":1536,"pid":143,"name":"霍山县","level":4,"area_code":"341525000000","town_code":"","country_id":1} +,{"id":1537,"pid":144,"name":"市辖区","level":4,"area_code":"341601000000","town_code":"","country_id":1} +,{"id":1538,"pid":144,"name":"谯城区","level":4,"area_code":"341602000000","town_code":"","country_id":1} +,{"id":1539,"pid":144,"name":"涡阳县","level":4,"area_code":"341621000000","town_code":"","country_id":1} +,{"id":1540,"pid":144,"name":"蒙城县","level":4,"area_code":"341622000000","town_code":"","country_id":1} +,{"id":1541,"pid":144,"name":"利辛县","level":4,"area_code":"341623000000","town_code":"","country_id":1} +,{"id":1542,"pid":145,"name":"市辖区","level":4,"area_code":"341701000000","town_code":"","country_id":1} +,{"id":1543,"pid":145,"name":"贵池区","level":4,"area_code":"341702000000","town_code":"","country_id":1} +,{"id":1544,"pid":145,"name":"东至县","level":4,"area_code":"341721000000","town_code":"","country_id":1} +,{"id":1545,"pid":145,"name":"石台县","level":4,"area_code":"341722000000","town_code":"","country_id":1} +,{"id":1546,"pid":145,"name":"青阳县","level":4,"area_code":"341723000000","town_code":"","country_id":1} +,{"id":1547,"pid":146,"name":"市辖区","level":4,"area_code":"341801000000","town_code":"","country_id":1} +,{"id":1548,"pid":146,"name":"宣州区","level":4,"area_code":"341802000000","town_code":"","country_id":1} +,{"id":1549,"pid":146,"name":"郎溪县","level":4,"area_code":"341821000000","town_code":"","country_id":1} +,{"id":1550,"pid":146,"name":"泾县","level":4,"area_code":"341823000000","town_code":"","country_id":1} +,{"id":1551,"pid":146,"name":"绩溪县","level":4,"area_code":"341824000000","town_code":"","country_id":1} +,{"id":1552,"pid":146,"name":"旌德县","level":4,"area_code":"341825000000","town_code":"","country_id":1} +,{"id":1553,"pid":146,"name":"宣城市经济开发区","level":4,"area_code":"341871000000","town_code":"","country_id":1} +,{"id":1554,"pid":146,"name":"宁国市","level":4,"area_code":"341881000000","town_code":"","country_id":1} +,{"id":1555,"pid":146,"name":"广德市","level":4,"area_code":"341882000000","town_code":"","country_id":1} +,{"id":1556,"pid":147,"name":"市辖区","level":4,"area_code":"350101000000","town_code":"","country_id":1} +,{"id":1557,"pid":147,"name":"鼓楼区","level":4,"area_code":"350102000000","town_code":"","country_id":1} +,{"id":1558,"pid":147,"name":"台江区","level":4,"area_code":"350103000000","town_code":"","country_id":1} +,{"id":1559,"pid":147,"name":"仓山区","level":4,"area_code":"350104000000","town_code":"","country_id":1} +,{"id":1560,"pid":147,"name":"马尾区","level":4,"area_code":"350105000000","town_code":"","country_id":1} +,{"id":1561,"pid":147,"name":"晋安区","level":4,"area_code":"350111000000","town_code":"","country_id":1} +,{"id":1562,"pid":147,"name":"长乐区","level":4,"area_code":"350112000000","town_code":"","country_id":1} +,{"id":1563,"pid":147,"name":"闽侯县","level":4,"area_code":"350121000000","town_code":"","country_id":1} +,{"id":1564,"pid":147,"name":"连江县","level":4,"area_code":"350122000000","town_code":"","country_id":1} +,{"id":1565,"pid":147,"name":"罗源县","level":4,"area_code":"350123000000","town_code":"","country_id":1} +,{"id":1566,"pid":147,"name":"闽清县","level":4,"area_code":"350124000000","town_code":"","country_id":1} +,{"id":1567,"pid":147,"name":"永泰县","level":4,"area_code":"350125000000","town_code":"","country_id":1} +,{"id":1568,"pid":147,"name":"平潭县","level":4,"area_code":"350128000000","town_code":"","country_id":1} +,{"id":1569,"pid":147,"name":"福清市","level":4,"area_code":"350181000000","town_code":"","country_id":1} +,{"id":1570,"pid":148,"name":"市辖区","level":4,"area_code":"350201000000","town_code":"","country_id":1} +,{"id":1571,"pid":148,"name":"思明区","level":4,"area_code":"350203000000","town_code":"","country_id":1} +,{"id":1572,"pid":148,"name":"海沧区","level":4,"area_code":"350205000000","town_code":"","country_id":1} +,{"id":1573,"pid":148,"name":"湖里区","level":4,"area_code":"350206000000","town_code":"","country_id":1} +,{"id":1574,"pid":148,"name":"集美区","level":4,"area_code":"350211000000","town_code":"","country_id":1} +,{"id":1575,"pid":148,"name":"同安区","level":4,"area_code":"350212000000","town_code":"","country_id":1} +,{"id":1576,"pid":148,"name":"翔安区","level":4,"area_code":"350213000000","town_code":"","country_id":1} +,{"id":1577,"pid":149,"name":"市辖区","level":4,"area_code":"350301000000","town_code":"","country_id":1} +,{"id":1578,"pid":149,"name":"城厢区","level":4,"area_code":"350302000000","town_code":"","country_id":1} +,{"id":1579,"pid":149,"name":"涵江区","level":4,"area_code":"350303000000","town_code":"","country_id":1} +,{"id":1580,"pid":149,"name":"荔城区","level":4,"area_code":"350304000000","town_code":"","country_id":1} +,{"id":1581,"pid":149,"name":"秀屿区","level":4,"area_code":"350305000000","town_code":"","country_id":1} +,{"id":1582,"pid":149,"name":"仙游县","level":4,"area_code":"350322000000","town_code":"","country_id":1} +,{"id":1583,"pid":150,"name":"市辖区","level":4,"area_code":"350401000000","town_code":"","country_id":1} +,{"id":1584,"pid":150,"name":"三元区","level":4,"area_code":"350404000000","town_code":"","country_id":1} +,{"id":1585,"pid":150,"name":"沙县区","level":4,"area_code":"350405000000","town_code":"","country_id":1} +,{"id":1586,"pid":150,"name":"明溪县","level":4,"area_code":"350421000000","town_code":"","country_id":1} +,{"id":1587,"pid":150,"name":"清流县","level":4,"area_code":"350423000000","town_code":"","country_id":1} +,{"id":1588,"pid":150,"name":"宁化县","level":4,"area_code":"350424000000","town_code":"","country_id":1} +,{"id":1589,"pid":150,"name":"大田县","level":4,"area_code":"350425000000","town_code":"","country_id":1} +,{"id":1590,"pid":150,"name":"尤溪县","level":4,"area_code":"350426000000","town_code":"","country_id":1} +,{"id":1591,"pid":150,"name":"将乐县","level":4,"area_code":"350428000000","town_code":"","country_id":1} +,{"id":1592,"pid":150,"name":"泰宁县","level":4,"area_code":"350429000000","town_code":"","country_id":1} +,{"id":1593,"pid":150,"name":"建宁县","level":4,"area_code":"350430000000","town_code":"","country_id":1} +,{"id":1594,"pid":150,"name":"永安市","level":4,"area_code":"350481000000","town_code":"","country_id":1} +,{"id":1595,"pid":151,"name":"市辖区","level":4,"area_code":"350501000000","town_code":"","country_id":1} +,{"id":1596,"pid":151,"name":"鲤城区","level":4,"area_code":"350502000000","town_code":"","country_id":1} +,{"id":1597,"pid":151,"name":"丰泽区","level":4,"area_code":"350503000000","town_code":"","country_id":1} +,{"id":1598,"pid":151,"name":"洛江区","level":4,"area_code":"350504000000","town_code":"","country_id":1} +,{"id":1599,"pid":151,"name":"泉港区","level":4,"area_code":"350505000000","town_code":"","country_id":1} +,{"id":1600,"pid":151,"name":"惠安县","level":4,"area_code":"350521000000","town_code":"","country_id":1} +,{"id":1601,"pid":151,"name":"安溪县","level":4,"area_code":"350524000000","town_code":"","country_id":1} +,{"id":1602,"pid":151,"name":"永春县","level":4,"area_code":"350525000000","town_code":"","country_id":1} +,{"id":1603,"pid":151,"name":"德化县","level":4,"area_code":"350526000000","town_code":"","country_id":1} +,{"id":1604,"pid":151,"name":"金门县","level":4,"area_code":"350527000000","town_code":"","country_id":1} +,{"id":1605,"pid":151,"name":"石狮市","level":4,"area_code":"350581000000","town_code":"","country_id":1} +,{"id":1606,"pid":151,"name":"晋江市","level":4,"area_code":"350582000000","town_code":"","country_id":1} +,{"id":1607,"pid":151,"name":"南安市","level":4,"area_code":"350583000000","town_code":"","country_id":1} +,{"id":1608,"pid":152,"name":"市辖区","level":4,"area_code":"350601000000","town_code":"","country_id":1} +,{"id":1609,"pid":152,"name":"芗城区","level":4,"area_code":"350602000000","town_code":"","country_id":1} +,{"id":1610,"pid":152,"name":"龙文区","level":4,"area_code":"350603000000","town_code":"","country_id":1} +,{"id":1611,"pid":152,"name":"龙海区","level":4,"area_code":"350604000000","town_code":"","country_id":1} +,{"id":1612,"pid":152,"name":"长泰区","level":4,"area_code":"350605000000","town_code":"","country_id":1} +,{"id":1613,"pid":152,"name":"云霄县","level":4,"area_code":"350622000000","town_code":"","country_id":1} +,{"id":1614,"pid":152,"name":"漳浦县","level":4,"area_code":"350623000000","town_code":"","country_id":1} +,{"id":1615,"pid":152,"name":"诏安县","level":4,"area_code":"350624000000","town_code":"","country_id":1} +,{"id":1616,"pid":152,"name":"东山县","level":4,"area_code":"350626000000","town_code":"","country_id":1} +,{"id":1617,"pid":152,"name":"南靖县","level":4,"area_code":"350627000000","town_code":"","country_id":1} +,{"id":1618,"pid":152,"name":"平和县","level":4,"area_code":"350628000000","town_code":"","country_id":1} +,{"id":1619,"pid":152,"name":"华安县","level":4,"area_code":"350629000000","town_code":"","country_id":1} +,{"id":1620,"pid":153,"name":"市辖区","level":4,"area_code":"350701000000","town_code":"","country_id":1} +,{"id":1621,"pid":153,"name":"延平区","level":4,"area_code":"350702000000","town_code":"","country_id":1} +,{"id":1622,"pid":153,"name":"建阳区","level":4,"area_code":"350703000000","town_code":"","country_id":1} +,{"id":1623,"pid":153,"name":"顺昌县","level":4,"area_code":"350721000000","town_code":"","country_id":1} +,{"id":1624,"pid":153,"name":"浦城县","level":4,"area_code":"350722000000","town_code":"","country_id":1} +,{"id":1625,"pid":153,"name":"光泽县","level":4,"area_code":"350723000000","town_code":"","country_id":1} +,{"id":1626,"pid":153,"name":"松溪县","level":4,"area_code":"350724000000","town_code":"","country_id":1} +,{"id":1627,"pid":153,"name":"政和县","level":4,"area_code":"350725000000","town_code":"","country_id":1} +,{"id":1628,"pid":153,"name":"邵武市","level":4,"area_code":"350781000000","town_code":"","country_id":1} +,{"id":1629,"pid":153,"name":"武夷山市","level":4,"area_code":"350782000000","town_code":"","country_id":1} +,{"id":1630,"pid":153,"name":"建瓯市","level":4,"area_code":"350783000000","town_code":"","country_id":1} +,{"id":1631,"pid":154,"name":"市辖区","level":4,"area_code":"350801000000","town_code":"","country_id":1} +,{"id":1632,"pid":154,"name":"新罗区","level":4,"area_code":"350802000000","town_code":"","country_id":1} +,{"id":1633,"pid":154,"name":"永定区","level":4,"area_code":"350803000000","town_code":"","country_id":1} +,{"id":1634,"pid":154,"name":"长汀县","level":4,"area_code":"350821000000","town_code":"","country_id":1} +,{"id":1635,"pid":154,"name":"上杭县","level":4,"area_code":"350823000000","town_code":"","country_id":1} +,{"id":1636,"pid":154,"name":"武平县","level":4,"area_code":"350824000000","town_code":"","country_id":1} +,{"id":1637,"pid":154,"name":"连城县","level":4,"area_code":"350825000000","town_code":"","country_id":1} +,{"id":1638,"pid":154,"name":"漳平市","level":4,"area_code":"350881000000","town_code":"","country_id":1} +,{"id":1639,"pid":155,"name":"市辖区","level":4,"area_code":"350901000000","town_code":"","country_id":1} +,{"id":1640,"pid":155,"name":"蕉城区","level":4,"area_code":"350902000000","town_code":"","country_id":1} +,{"id":1641,"pid":155,"name":"霞浦县","level":4,"area_code":"350921000000","town_code":"","country_id":1} +,{"id":1642,"pid":155,"name":"古田县","level":4,"area_code":"350922000000","town_code":"","country_id":1} +,{"id":1643,"pid":155,"name":"屏南县","level":4,"area_code":"350923000000","town_code":"","country_id":1} +,{"id":1644,"pid":155,"name":"寿宁县","level":4,"area_code":"350924000000","town_code":"","country_id":1} +,{"id":1645,"pid":155,"name":"周宁县","level":4,"area_code":"350925000000","town_code":"","country_id":1} +,{"id":1646,"pid":155,"name":"柘荣县","level":4,"area_code":"350926000000","town_code":"","country_id":1} +,{"id":1647,"pid":155,"name":"福安市","level":4,"area_code":"350981000000","town_code":"","country_id":1} +,{"id":1648,"pid":155,"name":"福鼎市","level":4,"area_code":"350982000000","town_code":"","country_id":1} +,{"id":1649,"pid":156,"name":"市辖区","level":4,"area_code":"360101000000","town_code":"","country_id":1} +,{"id":1650,"pid":156,"name":"东湖区","level":4,"area_code":"360102000000","town_code":"","country_id":1} +,{"id":1651,"pid":156,"name":"西湖区","level":4,"area_code":"360103000000","town_code":"","country_id":1} +,{"id":1652,"pid":156,"name":"青云谱区","level":4,"area_code":"360104000000","town_code":"","country_id":1} +,{"id":1653,"pid":156,"name":"青山湖区","level":4,"area_code":"360111000000","town_code":"","country_id":1} +,{"id":1654,"pid":156,"name":"新建区","level":4,"area_code":"360112000000","town_code":"","country_id":1} +,{"id":1655,"pid":156,"name":"红谷滩区","level":4,"area_code":"360113000000","town_code":"","country_id":1} +,{"id":1656,"pid":156,"name":"南昌县","level":4,"area_code":"360121000000","town_code":"","country_id":1} +,{"id":1657,"pid":156,"name":"安义县","level":4,"area_code":"360123000000","town_code":"","country_id":1} +,{"id":1658,"pid":156,"name":"进贤县","level":4,"area_code":"360124000000","town_code":"","country_id":1} +,{"id":1659,"pid":157,"name":"市辖区","level":4,"area_code":"360201000000","town_code":"","country_id":1} +,{"id":1660,"pid":157,"name":"昌江区","level":4,"area_code":"360202000000","town_code":"","country_id":1} +,{"id":1661,"pid":157,"name":"珠山区","level":4,"area_code":"360203000000","town_code":"","country_id":1} +,{"id":1662,"pid":157,"name":"浮梁县","level":4,"area_code":"360222000000","town_code":"","country_id":1} +,{"id":1663,"pid":157,"name":"乐平市","level":4,"area_code":"360281000000","town_code":"","country_id":1} +,{"id":1664,"pid":158,"name":"市辖区","level":4,"area_code":"360301000000","town_code":"","country_id":1} +,{"id":1665,"pid":158,"name":"安源区","level":4,"area_code":"360302000000","town_code":"","country_id":1} +,{"id":1666,"pid":158,"name":"湘东区","level":4,"area_code":"360313000000","town_code":"","country_id":1} +,{"id":1667,"pid":158,"name":"莲花县","level":4,"area_code":"360321000000","town_code":"","country_id":1} +,{"id":1668,"pid":158,"name":"上栗县","level":4,"area_code":"360322000000","town_code":"","country_id":1} +,{"id":1669,"pid":158,"name":"芦溪县","level":4,"area_code":"360323000000","town_code":"","country_id":1} +,{"id":1670,"pid":159,"name":"市辖区","level":4,"area_code":"360401000000","town_code":"","country_id":1} +,{"id":1671,"pid":159,"name":"濂溪区","level":4,"area_code":"360402000000","town_code":"","country_id":1} +,{"id":1672,"pid":159,"name":"浔阳区","level":4,"area_code":"360403000000","town_code":"","country_id":1} +,{"id":1673,"pid":159,"name":"柴桑区","level":4,"area_code":"360404000000","town_code":"","country_id":1} +,{"id":1674,"pid":159,"name":"武宁县","level":4,"area_code":"360423000000","town_code":"","country_id":1} +,{"id":1675,"pid":159,"name":"修水县","level":4,"area_code":"360424000000","town_code":"","country_id":1} +,{"id":1676,"pid":159,"name":"永修县","level":4,"area_code":"360425000000","town_code":"","country_id":1} +,{"id":1677,"pid":159,"name":"德安县","level":4,"area_code":"360426000000","town_code":"","country_id":1} +,{"id":1678,"pid":159,"name":"都昌县","level":4,"area_code":"360428000000","town_code":"","country_id":1} +,{"id":1679,"pid":159,"name":"湖口县","level":4,"area_code":"360429000000","town_code":"","country_id":1} +,{"id":1680,"pid":159,"name":"彭泽县","level":4,"area_code":"360430000000","town_code":"","country_id":1} +,{"id":1681,"pid":159,"name":"瑞昌市","level":4,"area_code":"360481000000","town_code":"","country_id":1} +,{"id":1682,"pid":159,"name":"共青城市","level":4,"area_code":"360482000000","town_code":"","country_id":1} +,{"id":1683,"pid":159,"name":"庐山市","level":4,"area_code":"360483000000","town_code":"","country_id":1} +,{"id":1684,"pid":160,"name":"市辖区","level":4,"area_code":"360501000000","town_code":"","country_id":1} +,{"id":1685,"pid":160,"name":"渝水区","level":4,"area_code":"360502000000","town_code":"","country_id":1} +,{"id":1686,"pid":160,"name":"分宜县","level":4,"area_code":"360521000000","town_code":"","country_id":1} +,{"id":1687,"pid":161,"name":"市辖区","level":4,"area_code":"360601000000","town_code":"","country_id":1} +,{"id":1688,"pid":161,"name":"月湖区","level":4,"area_code":"360602000000","town_code":"","country_id":1} +,{"id":1689,"pid":161,"name":"余江区","level":4,"area_code":"360603000000","town_code":"","country_id":1} +,{"id":1690,"pid":161,"name":"贵溪市","level":4,"area_code":"360681000000","town_code":"","country_id":1} +,{"id":1691,"pid":162,"name":"市辖区","level":4,"area_code":"360701000000","town_code":"","country_id":1} +,{"id":1692,"pid":162,"name":"章贡区","level":4,"area_code":"360702000000","town_code":"","country_id":1} +,{"id":1693,"pid":162,"name":"南康区","level":4,"area_code":"360703000000","town_code":"","country_id":1} +,{"id":1694,"pid":162,"name":"赣县区","level":4,"area_code":"360704000000","town_code":"","country_id":1} +,{"id":1695,"pid":162,"name":"信丰县","level":4,"area_code":"360722000000","town_code":"","country_id":1} +,{"id":1696,"pid":162,"name":"大余县","level":4,"area_code":"360723000000","town_code":"","country_id":1} +,{"id":1697,"pid":162,"name":"上犹县","level":4,"area_code":"360724000000","town_code":"","country_id":1} +,{"id":1698,"pid":162,"name":"崇义县","level":4,"area_code":"360725000000","town_code":"","country_id":1} +,{"id":1699,"pid":162,"name":"安远县","level":4,"area_code":"360726000000","town_code":"","country_id":1} +,{"id":1700,"pid":162,"name":"定南县","level":4,"area_code":"360728000000","town_code":"","country_id":1} +,{"id":1701,"pid":162,"name":"全南县","level":4,"area_code":"360729000000","town_code":"","country_id":1} +,{"id":1702,"pid":162,"name":"宁都县","level":4,"area_code":"360730000000","town_code":"","country_id":1} +,{"id":1703,"pid":162,"name":"于都县","level":4,"area_code":"360731000000","town_code":"","country_id":1} +,{"id":1704,"pid":162,"name":"兴国县","level":4,"area_code":"360732000000","town_code":"","country_id":1} +,{"id":1705,"pid":162,"name":"会昌县","level":4,"area_code":"360733000000","town_code":"","country_id":1} +,{"id":1706,"pid":162,"name":"寻乌县","level":4,"area_code":"360734000000","town_code":"","country_id":1} +,{"id":1707,"pid":162,"name":"石城县","level":4,"area_code":"360735000000","town_code":"","country_id":1} +,{"id":1708,"pid":162,"name":"瑞金市","level":4,"area_code":"360781000000","town_code":"","country_id":1} +,{"id":1709,"pid":162,"name":"龙南市","level":4,"area_code":"360783000000","town_code":"","country_id":1} +,{"id":1710,"pid":163,"name":"市辖区","level":4,"area_code":"360801000000","town_code":"","country_id":1} +,{"id":1711,"pid":163,"name":"吉州区","level":4,"area_code":"360802000000","town_code":"","country_id":1} +,{"id":1712,"pid":163,"name":"青原区","level":4,"area_code":"360803000000","town_code":"","country_id":1} +,{"id":1713,"pid":163,"name":"吉安县","level":4,"area_code":"360821000000","town_code":"","country_id":1} +,{"id":1714,"pid":163,"name":"吉水县","level":4,"area_code":"360822000000","town_code":"","country_id":1} +,{"id":1715,"pid":163,"name":"峡江县","level":4,"area_code":"360823000000","town_code":"","country_id":1} +,{"id":1716,"pid":163,"name":"新干县","level":4,"area_code":"360824000000","town_code":"","country_id":1} +,{"id":1717,"pid":163,"name":"永丰县","level":4,"area_code":"360825000000","town_code":"","country_id":1} +,{"id":1718,"pid":163,"name":"泰和县","level":4,"area_code":"360826000000","town_code":"","country_id":1} +,{"id":1719,"pid":163,"name":"遂川县","level":4,"area_code":"360827000000","town_code":"","country_id":1} +,{"id":1720,"pid":163,"name":"万安县","level":4,"area_code":"360828000000","town_code":"","country_id":1} +,{"id":1721,"pid":163,"name":"安福县","level":4,"area_code":"360829000000","town_code":"","country_id":1} +,{"id":1722,"pid":163,"name":"永新县","level":4,"area_code":"360830000000","town_code":"","country_id":1} +,{"id":1723,"pid":163,"name":"井冈山市","level":4,"area_code":"360881000000","town_code":"","country_id":1} +,{"id":1724,"pid":164,"name":"市辖区","level":4,"area_code":"360901000000","town_code":"","country_id":1} +,{"id":1725,"pid":164,"name":"袁州区","level":4,"area_code":"360902000000","town_code":"","country_id":1} +,{"id":1726,"pid":164,"name":"奉新县","level":4,"area_code":"360921000000","town_code":"","country_id":1} +,{"id":1727,"pid":164,"name":"万载县","level":4,"area_code":"360922000000","town_code":"","country_id":1} +,{"id":1728,"pid":164,"name":"上高县","level":4,"area_code":"360923000000","town_code":"","country_id":1} +,{"id":1729,"pid":164,"name":"宜丰县","level":4,"area_code":"360924000000","town_code":"","country_id":1} +,{"id":1730,"pid":164,"name":"靖安县","level":4,"area_code":"360925000000","town_code":"","country_id":1} +,{"id":1731,"pid":164,"name":"铜鼓县","level":4,"area_code":"360926000000","town_code":"","country_id":1} +,{"id":1732,"pid":164,"name":"丰城市","level":4,"area_code":"360981000000","town_code":"","country_id":1} +,{"id":1733,"pid":164,"name":"樟树市","level":4,"area_code":"360982000000","town_code":"","country_id":1} +,{"id":1734,"pid":164,"name":"高安市","level":4,"area_code":"360983000000","town_code":"","country_id":1} +,{"id":1735,"pid":165,"name":"市辖区","level":4,"area_code":"361001000000","town_code":"","country_id":1} +,{"id":1736,"pid":165,"name":"临川区","level":4,"area_code":"361002000000","town_code":"","country_id":1} +,{"id":1737,"pid":165,"name":"东乡区","level":4,"area_code":"361003000000","town_code":"","country_id":1} +,{"id":1738,"pid":165,"name":"南城县","level":4,"area_code":"361021000000","town_code":"","country_id":1} +,{"id":1739,"pid":165,"name":"黎川县","level":4,"area_code":"361022000000","town_code":"","country_id":1} +,{"id":1740,"pid":165,"name":"南丰县","level":4,"area_code":"361023000000","town_code":"","country_id":1} +,{"id":1741,"pid":165,"name":"崇仁县","level":4,"area_code":"361024000000","town_code":"","country_id":1} +,{"id":1742,"pid":165,"name":"乐安县","level":4,"area_code":"361025000000","town_code":"","country_id":1} +,{"id":1743,"pid":165,"name":"宜黄县","level":4,"area_code":"361026000000","town_code":"","country_id":1} +,{"id":1744,"pid":165,"name":"金溪县","level":4,"area_code":"361027000000","town_code":"","country_id":1} +,{"id":1745,"pid":165,"name":"资溪县","level":4,"area_code":"361028000000","town_code":"","country_id":1} +,{"id":1746,"pid":165,"name":"广昌县","level":4,"area_code":"361030000000","town_code":"","country_id":1} +,{"id":1747,"pid":166,"name":"市辖区","level":4,"area_code":"361101000000","town_code":"","country_id":1} +,{"id":1748,"pid":166,"name":"信州区","level":4,"area_code":"361102000000","town_code":"","country_id":1} +,{"id":1749,"pid":166,"name":"广丰区","level":4,"area_code":"361103000000","town_code":"","country_id":1} +,{"id":1750,"pid":166,"name":"广信区","level":4,"area_code":"361104000000","town_code":"","country_id":1} +,{"id":1751,"pid":166,"name":"玉山县","level":4,"area_code":"361123000000","town_code":"","country_id":1} +,{"id":1752,"pid":166,"name":"铅山县","level":4,"area_code":"361124000000","town_code":"","country_id":1} +,{"id":1753,"pid":166,"name":"横峰县","level":4,"area_code":"361125000000","town_code":"","country_id":1} +,{"id":1754,"pid":166,"name":"弋阳县","level":4,"area_code":"361126000000","town_code":"","country_id":1} +,{"id":1755,"pid":166,"name":"余干县","level":4,"area_code":"361127000000","town_code":"","country_id":1} +,{"id":1756,"pid":166,"name":"鄱阳县","level":4,"area_code":"361128000000","town_code":"","country_id":1} +,{"id":1757,"pid":166,"name":"万年县","level":4,"area_code":"361129000000","town_code":"","country_id":1} +,{"id":1758,"pid":166,"name":"婺源县","level":4,"area_code":"361130000000","town_code":"","country_id":1} +,{"id":1759,"pid":166,"name":"德兴市","level":4,"area_code":"361181000000","town_code":"","country_id":1} +,{"id":1760,"pid":167,"name":"市辖区","level":4,"area_code":"370101000000","town_code":"","country_id":1} +,{"id":1761,"pid":167,"name":"历下区","level":4,"area_code":"370102000000","town_code":"","country_id":1} +,{"id":1762,"pid":167,"name":"市中区","level":4,"area_code":"370103000000","town_code":"","country_id":1} +,{"id":1763,"pid":167,"name":"槐荫区","level":4,"area_code":"370104000000","town_code":"","country_id":1} +,{"id":1764,"pid":167,"name":"天桥区","level":4,"area_code":"370105000000","town_code":"","country_id":1} +,{"id":1765,"pid":167,"name":"历城区","level":4,"area_code":"370112000000","town_code":"","country_id":1} +,{"id":1766,"pid":167,"name":"长清区","level":4,"area_code":"370113000000","town_code":"","country_id":1} +,{"id":1767,"pid":167,"name":"章丘区","level":4,"area_code":"370114000000","town_code":"","country_id":1} +,{"id":1768,"pid":167,"name":"济阳区","level":4,"area_code":"370115000000","town_code":"","country_id":1} +,{"id":1769,"pid":167,"name":"莱芜区","level":4,"area_code":"370116000000","town_code":"","country_id":1} +,{"id":1770,"pid":167,"name":"钢城区","level":4,"area_code":"370117000000","town_code":"","country_id":1} +,{"id":1771,"pid":167,"name":"平阴县","level":4,"area_code":"370124000000","town_code":"","country_id":1} +,{"id":1772,"pid":167,"name":"商河县","level":4,"area_code":"370126000000","town_code":"","country_id":1} +,{"id":1773,"pid":167,"name":"济南高新技术产业开发区","level":4,"area_code":"370176000000","town_code":"","country_id":1} +,{"id":1774,"pid":168,"name":"市辖区","level":4,"area_code":"370201000000","town_code":"","country_id":1} +,{"id":1775,"pid":168,"name":"市南区","level":4,"area_code":"370202000000","town_code":"","country_id":1} +,{"id":1776,"pid":168,"name":"市北区","level":4,"area_code":"370203000000","town_code":"","country_id":1} +,{"id":1777,"pid":168,"name":"黄岛区","level":4,"area_code":"370211000000","town_code":"","country_id":1} +,{"id":1778,"pid":168,"name":"崂山区","level":4,"area_code":"370212000000","town_code":"","country_id":1} +,{"id":1779,"pid":168,"name":"李沧区","level":4,"area_code":"370213000000","town_code":"","country_id":1} +,{"id":1780,"pid":168,"name":"城阳区","level":4,"area_code":"370214000000","town_code":"","country_id":1} +,{"id":1781,"pid":168,"name":"即墨区","level":4,"area_code":"370215000000","town_code":"","country_id":1} +,{"id":1782,"pid":168,"name":"胶州市","level":4,"area_code":"370281000000","town_code":"","country_id":1} +,{"id":1783,"pid":168,"name":"平度市","level":4,"area_code":"370283000000","town_code":"","country_id":1} +,{"id":1784,"pid":168,"name":"莱西市","level":4,"area_code":"370285000000","town_code":"","country_id":1} +,{"id":1785,"pid":169,"name":"市辖区","level":4,"area_code":"370301000000","town_code":"","country_id":1} +,{"id":1786,"pid":169,"name":"淄川区","level":4,"area_code":"370302000000","town_code":"","country_id":1} +,{"id":1787,"pid":169,"name":"张店区","level":4,"area_code":"370303000000","town_code":"","country_id":1} +,{"id":1788,"pid":169,"name":"博山区","level":4,"area_code":"370304000000","town_code":"","country_id":1} +,{"id":1789,"pid":169,"name":"临淄区","level":4,"area_code":"370305000000","town_code":"","country_id":1} +,{"id":1790,"pid":169,"name":"周村区","level":4,"area_code":"370306000000","town_code":"","country_id":1} +,{"id":1791,"pid":169,"name":"桓台县","level":4,"area_code":"370321000000","town_code":"","country_id":1} +,{"id":1792,"pid":169,"name":"高青县","level":4,"area_code":"370322000000","town_code":"","country_id":1} +,{"id":1793,"pid":169,"name":"沂源县","level":4,"area_code":"370323000000","town_code":"","country_id":1} +,{"id":1794,"pid":170,"name":"市辖区","level":4,"area_code":"370401000000","town_code":"","country_id":1} +,{"id":1795,"pid":170,"name":"市中区","level":4,"area_code":"370402000000","town_code":"","country_id":1} +,{"id":1796,"pid":170,"name":"薛城区","level":4,"area_code":"370403000000","town_code":"","country_id":1} +,{"id":1797,"pid":170,"name":"峄城区","level":4,"area_code":"370404000000","town_code":"","country_id":1} +,{"id":1798,"pid":170,"name":"台儿庄区","level":4,"area_code":"370405000000","town_code":"","country_id":1} +,{"id":1799,"pid":170,"name":"山亭区","level":4,"area_code":"370406000000","town_code":"","country_id":1} +,{"id":1800,"pid":170,"name":"滕州市","level":4,"area_code":"370481000000","town_code":"","country_id":1} +,{"id":1801,"pid":171,"name":"市辖区","level":4,"area_code":"370501000000","town_code":"","country_id":1} +,{"id":1802,"pid":171,"name":"东营区","level":4,"area_code":"370502000000","town_code":"","country_id":1} +,{"id":1803,"pid":171,"name":"河口区","level":4,"area_code":"370503000000","town_code":"","country_id":1} +,{"id":1804,"pid":171,"name":"垦利区","level":4,"area_code":"370505000000","town_code":"","country_id":1} +,{"id":1805,"pid":171,"name":"利津县","level":4,"area_code":"370522000000","town_code":"","country_id":1} +,{"id":1806,"pid":171,"name":"广饶县","level":4,"area_code":"370523000000","town_code":"","country_id":1} +,{"id":1807,"pid":171,"name":"东营经济技术开发区","level":4,"area_code":"370571000000","town_code":"","country_id":1} +,{"id":1808,"pid":171,"name":"东营港经济开发区","level":4,"area_code":"370572000000","town_code":"","country_id":1} +,{"id":1809,"pid":172,"name":"市辖区","level":4,"area_code":"370601000000","town_code":"","country_id":1} +,{"id":1810,"pid":172,"name":"芝罘区","level":4,"area_code":"370602000000","town_code":"","country_id":1} +,{"id":1811,"pid":172,"name":"福山区","level":4,"area_code":"370611000000","town_code":"","country_id":1} +,{"id":1812,"pid":172,"name":"牟平区","level":4,"area_code":"370612000000","town_code":"","country_id":1} +,{"id":1813,"pid":172,"name":"莱山区","level":4,"area_code":"370613000000","town_code":"","country_id":1} +,{"id":1814,"pid":172,"name":"蓬莱区","level":4,"area_code":"370614000000","town_code":"","country_id":1} +,{"id":1815,"pid":172,"name":"烟台高新技术产业开发区","level":4,"area_code":"370671000000","town_code":"","country_id":1} +,{"id":1816,"pid":172,"name":"烟台经济技术开发区","level":4,"area_code":"370676000000","town_code":"","country_id":1} +,{"id":1817,"pid":172,"name":"龙口市","level":4,"area_code":"370681000000","town_code":"","country_id":1} +,{"id":1818,"pid":172,"name":"莱阳市","level":4,"area_code":"370682000000","town_code":"","country_id":1} +,{"id":1819,"pid":172,"name":"莱州市","level":4,"area_code":"370683000000","town_code":"","country_id":1} +,{"id":1820,"pid":172,"name":"招远市","level":4,"area_code":"370685000000","town_code":"","country_id":1} +,{"id":1821,"pid":172,"name":"栖霞市","level":4,"area_code":"370686000000","town_code":"","country_id":1} +,{"id":1822,"pid":172,"name":"海阳市","level":4,"area_code":"370687000000","town_code":"","country_id":1} +,{"id":1823,"pid":173,"name":"市辖区","level":4,"area_code":"370701000000","town_code":"","country_id":1} +,{"id":1824,"pid":173,"name":"潍城区","level":4,"area_code":"370702000000","town_code":"","country_id":1} +,{"id":1825,"pid":173,"name":"寒亭区","level":4,"area_code":"370703000000","town_code":"","country_id":1} +,{"id":1826,"pid":173,"name":"坊子区","level":4,"area_code":"370704000000","town_code":"","country_id":1} +,{"id":1827,"pid":173,"name":"奎文区","level":4,"area_code":"370705000000","town_code":"","country_id":1} +,{"id":1828,"pid":173,"name":"临朐县","level":4,"area_code":"370724000000","town_code":"","country_id":1} +,{"id":1829,"pid":173,"name":"昌乐县","level":4,"area_code":"370725000000","town_code":"","country_id":1} +,{"id":1830,"pid":173,"name":"潍坊滨海经济技术开发区","level":4,"area_code":"370772000000","town_code":"","country_id":1} +,{"id":1831,"pid":173,"name":"青州市","level":4,"area_code":"370781000000","town_code":"","country_id":1} +,{"id":1832,"pid":173,"name":"诸城市","level":4,"area_code":"370782000000","town_code":"","country_id":1} +,{"id":1833,"pid":173,"name":"寿光市","level":4,"area_code":"370783000000","town_code":"","country_id":1} +,{"id":1834,"pid":173,"name":"安丘市","level":4,"area_code":"370784000000","town_code":"","country_id":1} +,{"id":1835,"pid":173,"name":"高密市","level":4,"area_code":"370785000000","town_code":"","country_id":1} +,{"id":1836,"pid":173,"name":"昌邑市","level":4,"area_code":"370786000000","town_code":"","country_id":1} +,{"id":1837,"pid":174,"name":"市辖区","level":4,"area_code":"370801000000","town_code":"","country_id":1} +,{"id":1838,"pid":174,"name":"任城区","level":4,"area_code":"370811000000","town_code":"","country_id":1} +,{"id":1839,"pid":174,"name":"兖州区","level":4,"area_code":"370812000000","town_code":"","country_id":1} +,{"id":1840,"pid":174,"name":"微山县","level":4,"area_code":"370826000000","town_code":"","country_id":1} +,{"id":1841,"pid":174,"name":"鱼台县","level":4,"area_code":"370827000000","town_code":"","country_id":1} +,{"id":1842,"pid":174,"name":"金乡县","level":4,"area_code":"370828000000","town_code":"","country_id":1} +,{"id":1843,"pid":174,"name":"嘉祥县","level":4,"area_code":"370829000000","town_code":"","country_id":1} +,{"id":1844,"pid":174,"name":"汶上县","level":4,"area_code":"370830000000","town_code":"","country_id":1} +,{"id":1845,"pid":174,"name":"泗水县","level":4,"area_code":"370831000000","town_code":"","country_id":1} +,{"id":1846,"pid":174,"name":"梁山县","level":4,"area_code":"370832000000","town_code":"","country_id":1} +,{"id":1847,"pid":174,"name":"济宁高新技术产业开发区","level":4,"area_code":"370871000000","town_code":"","country_id":1} +,{"id":1848,"pid":174,"name":"曲阜市","level":4,"area_code":"370881000000","town_code":"","country_id":1} +,{"id":1849,"pid":174,"name":"邹城市","level":4,"area_code":"370883000000","town_code":"","country_id":1} +,{"id":1850,"pid":175,"name":"市辖区","level":4,"area_code":"370901000000","town_code":"","country_id":1} +,{"id":1851,"pid":175,"name":"泰山区","level":4,"area_code":"370902000000","town_code":"","country_id":1} +,{"id":1852,"pid":175,"name":"岱岳区","level":4,"area_code":"370911000000","town_code":"","country_id":1} +,{"id":1853,"pid":175,"name":"宁阳县","level":4,"area_code":"370921000000","town_code":"","country_id":1} +,{"id":1854,"pid":175,"name":"东平县","level":4,"area_code":"370923000000","town_code":"","country_id":1} +,{"id":1855,"pid":175,"name":"新泰市","level":4,"area_code":"370982000000","town_code":"","country_id":1} +,{"id":1856,"pid":175,"name":"肥城市","level":4,"area_code":"370983000000","town_code":"","country_id":1} +,{"id":1857,"pid":176,"name":"市辖区","level":4,"area_code":"371001000000","town_code":"","country_id":1} +,{"id":1858,"pid":176,"name":"环翠区","level":4,"area_code":"371002000000","town_code":"","country_id":1} +,{"id":1859,"pid":176,"name":"文登区","level":4,"area_code":"371003000000","town_code":"","country_id":1} +,{"id":1860,"pid":176,"name":"威海火炬高技术产业开发区","level":4,"area_code":"371071000000","town_code":"","country_id":1} +,{"id":1861,"pid":176,"name":"威海经济技术开发区","level":4,"area_code":"371072000000","town_code":"","country_id":1} +,{"id":1862,"pid":176,"name":"威海临港经济技术开发区","level":4,"area_code":"371073000000","town_code":"","country_id":1} +,{"id":1863,"pid":176,"name":"荣成市","level":4,"area_code":"371082000000","town_code":"","country_id":1} +,{"id":1864,"pid":176,"name":"乳山市","level":4,"area_code":"371083000000","town_code":"","country_id":1} +,{"id":1865,"pid":177,"name":"市辖区","level":4,"area_code":"371101000000","town_code":"","country_id":1} +,{"id":1866,"pid":177,"name":"东港区","level":4,"area_code":"371102000000","town_code":"","country_id":1} +,{"id":1867,"pid":177,"name":"岚山区","level":4,"area_code":"371103000000","town_code":"","country_id":1} +,{"id":1868,"pid":177,"name":"五莲县","level":4,"area_code":"371121000000","town_code":"","country_id":1} +,{"id":1869,"pid":177,"name":"莒县","level":4,"area_code":"371122000000","town_code":"","country_id":1} +,{"id":1870,"pid":177,"name":"日照经济技术开发区","level":4,"area_code":"371171000000","town_code":"","country_id":1} +,{"id":1871,"pid":178,"name":"市辖区","level":4,"area_code":"371301000000","town_code":"","country_id":1} +,{"id":1872,"pid":178,"name":"兰山区","level":4,"area_code":"371302000000","town_code":"","country_id":1} +,{"id":1873,"pid":178,"name":"罗庄区","level":4,"area_code":"371311000000","town_code":"","country_id":1} +,{"id":1874,"pid":178,"name":"河东区","level":4,"area_code":"371312000000","town_code":"","country_id":1} +,{"id":1875,"pid":178,"name":"沂南县","level":4,"area_code":"371321000000","town_code":"","country_id":1} +,{"id":1876,"pid":178,"name":"郯城县","level":4,"area_code":"371322000000","town_code":"","country_id":1} +,{"id":1877,"pid":178,"name":"沂水县","level":4,"area_code":"371323000000","town_code":"","country_id":1} +,{"id":1878,"pid":178,"name":"兰陵县","level":4,"area_code":"371324000000","town_code":"","country_id":1} +,{"id":1879,"pid":178,"name":"费县","level":4,"area_code":"371325000000","town_code":"","country_id":1} +,{"id":1880,"pid":178,"name":"平邑县","level":4,"area_code":"371326000000","town_code":"","country_id":1} +,{"id":1881,"pid":178,"name":"莒南县","level":4,"area_code":"371327000000","town_code":"","country_id":1} +,{"id":1882,"pid":178,"name":"蒙阴县","level":4,"area_code":"371328000000","town_code":"","country_id":1} +,{"id":1883,"pid":178,"name":"临沭县","level":4,"area_code":"371329000000","town_code":"","country_id":1} +,{"id":1884,"pid":178,"name":"临沂高新技术产业开发区","level":4,"area_code":"371371000000","town_code":"","country_id":1} +,{"id":1885,"pid":179,"name":"市辖区","level":4,"area_code":"371401000000","town_code":"","country_id":1} +,{"id":1886,"pid":179,"name":"德城区","level":4,"area_code":"371402000000","town_code":"","country_id":1} +,{"id":1887,"pid":179,"name":"陵城区","level":4,"area_code":"371403000000","town_code":"","country_id":1} +,{"id":1888,"pid":179,"name":"宁津县","level":4,"area_code":"371422000000","town_code":"","country_id":1} +,{"id":1889,"pid":179,"name":"庆云县","level":4,"area_code":"371423000000","town_code":"","country_id":1} +,{"id":1890,"pid":179,"name":"临邑县","level":4,"area_code":"371424000000","town_code":"","country_id":1} +,{"id":1891,"pid":179,"name":"齐河县","level":4,"area_code":"371425000000","town_code":"","country_id":1} +,{"id":1892,"pid":179,"name":"平原县","level":4,"area_code":"371426000000","town_code":"","country_id":1} +,{"id":1893,"pid":179,"name":"夏津县","level":4,"area_code":"371427000000","town_code":"","country_id":1} +,{"id":1894,"pid":179,"name":"武城县","level":4,"area_code":"371428000000","town_code":"","country_id":1} +,{"id":1895,"pid":179,"name":"德州天衢新区","level":4,"area_code":"371471000000","town_code":"","country_id":1} +,{"id":1896,"pid":179,"name":"乐陵市","level":4,"area_code":"371481000000","town_code":"","country_id":1} +,{"id":1897,"pid":179,"name":"禹城市","level":4,"area_code":"371482000000","town_code":"","country_id":1} +,{"id":1898,"pid":180,"name":"市辖区","level":4,"area_code":"371501000000","town_code":"","country_id":1} +,{"id":1899,"pid":180,"name":"东昌府区","level":4,"area_code":"371502000000","town_code":"","country_id":1} +,{"id":1900,"pid":180,"name":"茌平区","level":4,"area_code":"371503000000","town_code":"","country_id":1} +,{"id":1901,"pid":180,"name":"阳谷县","level":4,"area_code":"371521000000","town_code":"","country_id":1} +,{"id":1902,"pid":180,"name":"莘县","level":4,"area_code":"371522000000","town_code":"","country_id":1} +,{"id":1903,"pid":180,"name":"东阿县","level":4,"area_code":"371524000000","town_code":"","country_id":1} +,{"id":1904,"pid":180,"name":"冠县","level":4,"area_code":"371525000000","town_code":"","country_id":1} +,{"id":1905,"pid":180,"name":"高唐县","level":4,"area_code":"371526000000","town_code":"","country_id":1} +,{"id":1906,"pid":180,"name":"临清市","level":4,"area_code":"371581000000","town_code":"","country_id":1} +,{"id":1907,"pid":181,"name":"市辖区","level":4,"area_code":"371601000000","town_code":"","country_id":1} +,{"id":1908,"pid":181,"name":"滨城区","level":4,"area_code":"371602000000","town_code":"","country_id":1} +,{"id":1909,"pid":181,"name":"沾化区","level":4,"area_code":"371603000000","town_code":"","country_id":1} +,{"id":1910,"pid":181,"name":"惠民县","level":4,"area_code":"371621000000","town_code":"","country_id":1} +,{"id":1911,"pid":181,"name":"阳信县","level":4,"area_code":"371622000000","town_code":"","country_id":1} +,{"id":1912,"pid":181,"name":"无棣县","level":4,"area_code":"371623000000","town_code":"","country_id":1} +,{"id":1913,"pid":181,"name":"博兴县","level":4,"area_code":"371625000000","town_code":"","country_id":1} +,{"id":1914,"pid":181,"name":"邹平市","level":4,"area_code":"371681000000","town_code":"","country_id":1} +,{"id":1915,"pid":182,"name":"市辖区","level":4,"area_code":"371701000000","town_code":"","country_id":1} +,{"id":1916,"pid":182,"name":"牡丹区","level":4,"area_code":"371702000000","town_code":"","country_id":1} +,{"id":1917,"pid":182,"name":"定陶区","level":4,"area_code":"371703000000","town_code":"","country_id":1} +,{"id":1918,"pid":182,"name":"曹县","level":4,"area_code":"371721000000","town_code":"","country_id":1} +,{"id":1919,"pid":182,"name":"单县","level":4,"area_code":"371722000000","town_code":"","country_id":1} +,{"id":1920,"pid":182,"name":"成武县","level":4,"area_code":"371723000000","town_code":"","country_id":1} +,{"id":1921,"pid":182,"name":"巨野县","level":4,"area_code":"371724000000","town_code":"","country_id":1} +,{"id":1922,"pid":182,"name":"郓城县","level":4,"area_code":"371725000000","town_code":"","country_id":1} +,{"id":1923,"pid":182,"name":"鄄城县","level":4,"area_code":"371726000000","town_code":"","country_id":1} +,{"id":1924,"pid":182,"name":"东明县","level":4,"area_code":"371728000000","town_code":"","country_id":1} +,{"id":1925,"pid":182,"name":"菏泽经济技术开发区","level":4,"area_code":"371771000000","town_code":"","country_id":1} +,{"id":1926,"pid":182,"name":"菏泽高新技术开发区","level":4,"area_code":"371772000000","town_code":"","country_id":1} +,{"id":1927,"pid":183,"name":"市辖区","level":4,"area_code":"410101000000","town_code":"","country_id":1} +,{"id":1928,"pid":183,"name":"中原区","level":4,"area_code":"410102000000","town_code":"","country_id":1} +,{"id":1929,"pid":183,"name":"二七区","level":4,"area_code":"410103000000","town_code":"","country_id":1} +,{"id":1930,"pid":183,"name":"管城回族区","level":4,"area_code":"410104000000","town_code":"","country_id":1} +,{"id":1931,"pid":183,"name":"金水区","level":4,"area_code":"410105000000","town_code":"","country_id":1} +,{"id":1932,"pid":183,"name":"上街区","level":4,"area_code":"410106000000","town_code":"","country_id":1} +,{"id":1933,"pid":183,"name":"惠济区","level":4,"area_code":"410108000000","town_code":"","country_id":1} +,{"id":1934,"pid":183,"name":"中牟县","level":4,"area_code":"410122000000","town_code":"","country_id":1} +,{"id":1935,"pid":183,"name":"郑州经济技术开发区","level":4,"area_code":"410171000000","town_code":"","country_id":1} +,{"id":1936,"pid":183,"name":"郑州高新技术产业开发区","level":4,"area_code":"410172000000","town_code":"","country_id":1} +,{"id":1937,"pid":183,"name":"郑州航空港经济综合实验区","level":4,"area_code":"410173000000","town_code":"","country_id":1} +,{"id":1938,"pid":183,"name":"巩义市","level":4,"area_code":"410181000000","town_code":"","country_id":1} +,{"id":1939,"pid":183,"name":"荥阳市","level":4,"area_code":"410182000000","town_code":"","country_id":1} +,{"id":1940,"pid":183,"name":"新密市","level":4,"area_code":"410183000000","town_code":"","country_id":1} +,{"id":1941,"pid":183,"name":"新郑市","level":4,"area_code":"410184000000","town_code":"","country_id":1} +,{"id":1942,"pid":183,"name":"登封市","level":4,"area_code":"410185000000","town_code":"","country_id":1} +,{"id":1943,"pid":184,"name":"市辖区","level":4,"area_code":"410201000000","town_code":"","country_id":1} +,{"id":1944,"pid":184,"name":"龙亭区","level":4,"area_code":"410202000000","town_code":"","country_id":1} +,{"id":1945,"pid":184,"name":"顺河回族区","level":4,"area_code":"410203000000","town_code":"","country_id":1} +,{"id":1946,"pid":184,"name":"鼓楼区","level":4,"area_code":"410204000000","town_code":"","country_id":1} +,{"id":1947,"pid":184,"name":"禹王台区","level":4,"area_code":"410205000000","town_code":"","country_id":1} +,{"id":1948,"pid":184,"name":"祥符区","level":4,"area_code":"410212000000","town_code":"","country_id":1} +,{"id":1949,"pid":184,"name":"杞县","level":4,"area_code":"410221000000","town_code":"","country_id":1} +,{"id":1950,"pid":184,"name":"通许县","level":4,"area_code":"410222000000","town_code":"","country_id":1} +,{"id":1951,"pid":184,"name":"尉氏县","level":4,"area_code":"410223000000","town_code":"","country_id":1} +,{"id":1952,"pid":184,"name":"兰考县","level":4,"area_code":"410225000000","town_code":"","country_id":1} +,{"id":1953,"pid":185,"name":"市辖区","level":4,"area_code":"410301000000","town_code":"","country_id":1} +,{"id":1954,"pid":185,"name":"老城区","level":4,"area_code":"410302000000","town_code":"","country_id":1} +,{"id":1955,"pid":185,"name":"西工区","level":4,"area_code":"410303000000","town_code":"","country_id":1} +,{"id":1956,"pid":185,"name":"瀍河回族区","level":4,"area_code":"410304000000","town_code":"","country_id":1} +,{"id":1957,"pid":185,"name":"涧西区","level":4,"area_code":"410305000000","town_code":"","country_id":1} +,{"id":1958,"pid":185,"name":"偃师区","level":4,"area_code":"410307000000","town_code":"","country_id":1} +,{"id":1959,"pid":185,"name":"孟津区","level":4,"area_code":"410308000000","town_code":"","country_id":1} +,{"id":1960,"pid":185,"name":"洛龙区","level":4,"area_code":"410311000000","town_code":"","country_id":1} +,{"id":1961,"pid":185,"name":"新安县","level":4,"area_code":"410323000000","town_code":"","country_id":1} +,{"id":1962,"pid":185,"name":"栾川县","level":4,"area_code":"410324000000","town_code":"","country_id":1} +,{"id":1963,"pid":185,"name":"嵩县","level":4,"area_code":"410325000000","town_code":"","country_id":1} +,{"id":1964,"pid":185,"name":"汝阳县","level":4,"area_code":"410326000000","town_code":"","country_id":1} +,{"id":1965,"pid":185,"name":"宜阳县","level":4,"area_code":"410327000000","town_code":"","country_id":1} +,{"id":1966,"pid":185,"name":"洛宁县","level":4,"area_code":"410328000000","town_code":"","country_id":1} +,{"id":1967,"pid":185,"name":"伊川县","level":4,"area_code":"410329000000","town_code":"","country_id":1} +,{"id":1968,"pid":185,"name":"洛阳高新技术产业开发区","level":4,"area_code":"410371000000","town_code":"","country_id":1} +,{"id":1969,"pid":186,"name":"市辖区","level":4,"area_code":"410401000000","town_code":"","country_id":1} +,{"id":1970,"pid":186,"name":"新华区","level":4,"area_code":"410402000000","town_code":"","country_id":1} +,{"id":1971,"pid":186,"name":"卫东区","level":4,"area_code":"410403000000","town_code":"","country_id":1} +,{"id":1972,"pid":186,"name":"石龙区","level":4,"area_code":"410404000000","town_code":"","country_id":1} +,{"id":1973,"pid":186,"name":"湛河区","level":4,"area_code":"410411000000","town_code":"","country_id":1} +,{"id":1974,"pid":186,"name":"宝丰县","level":4,"area_code":"410421000000","town_code":"","country_id":1} +,{"id":1975,"pid":186,"name":"叶县","level":4,"area_code":"410422000000","town_code":"","country_id":1} +,{"id":1976,"pid":186,"name":"鲁山县","level":4,"area_code":"410423000000","town_code":"","country_id":1} +,{"id":1977,"pid":186,"name":"郏县","level":4,"area_code":"410425000000","town_code":"","country_id":1} +,{"id":1978,"pid":186,"name":"平顶山高新技术产业开发区","level":4,"area_code":"410471000000","town_code":"","country_id":1} +,{"id":1979,"pid":186,"name":"平顶山市城乡一体化示范区","level":4,"area_code":"410472000000","town_code":"","country_id":1} +,{"id":1980,"pid":186,"name":"舞钢市","level":4,"area_code":"410481000000","town_code":"","country_id":1} +,{"id":1981,"pid":186,"name":"汝州市","level":4,"area_code":"410482000000","town_code":"","country_id":1} +,{"id":1982,"pid":187,"name":"市辖区","level":4,"area_code":"410501000000","town_code":"","country_id":1} +,{"id":1983,"pid":187,"name":"文峰区","level":4,"area_code":"410502000000","town_code":"","country_id":1} +,{"id":1984,"pid":187,"name":"北关区","level":4,"area_code":"410503000000","town_code":"","country_id":1} +,{"id":1985,"pid":187,"name":"殷都区","level":4,"area_code":"410505000000","town_code":"","country_id":1} +,{"id":1986,"pid":187,"name":"龙安区","level":4,"area_code":"410506000000","town_code":"","country_id":1} +,{"id":1987,"pid":187,"name":"安阳县","level":4,"area_code":"410522000000","town_code":"","country_id":1} +,{"id":1988,"pid":187,"name":"汤阴县","level":4,"area_code":"410523000000","town_code":"","country_id":1} +,{"id":1989,"pid":187,"name":"滑县","level":4,"area_code":"410526000000","town_code":"","country_id":1} +,{"id":1990,"pid":187,"name":"内黄县","level":4,"area_code":"410527000000","town_code":"","country_id":1} +,{"id":1991,"pid":187,"name":"安阳高新技术产业开发区","level":4,"area_code":"410571000000","town_code":"","country_id":1} +,{"id":1992,"pid":187,"name":"林州市","level":4,"area_code":"410581000000","town_code":"","country_id":1} +,{"id":1993,"pid":188,"name":"市辖区","level":4,"area_code":"410601000000","town_code":"","country_id":1} +,{"id":1994,"pid":188,"name":"鹤山区","level":4,"area_code":"410602000000","town_code":"","country_id":1} +,{"id":1995,"pid":188,"name":"山城区","level":4,"area_code":"410603000000","town_code":"","country_id":1} +,{"id":1996,"pid":188,"name":"淇滨区","level":4,"area_code":"410611000000","town_code":"","country_id":1} +,{"id":1997,"pid":188,"name":"浚县","level":4,"area_code":"410621000000","town_code":"","country_id":1} +,{"id":1998,"pid":188,"name":"淇县","level":4,"area_code":"410622000000","town_code":"","country_id":1} +,{"id":1999,"pid":188,"name":"鹤壁经济技术开发区","level":4,"area_code":"410671000000","town_code":"","country_id":1} +,{"id":2000,"pid":189,"name":"市辖区","level":4,"area_code":"410701000000","town_code":"","country_id":1} +,{"id":2001,"pid":189,"name":"红旗区","level":4,"area_code":"410702000000","town_code":"","country_id":1} +,{"id":2002,"pid":189,"name":"卫滨区","level":4,"area_code":"410703000000","town_code":"","country_id":1} +,{"id":2003,"pid":189,"name":"凤泉区","level":4,"area_code":"410704000000","town_code":"","country_id":1} +,{"id":2004,"pid":189,"name":"牧野区","level":4,"area_code":"410711000000","town_code":"","country_id":1} +,{"id":2005,"pid":189,"name":"新乡县","level":4,"area_code":"410721000000","town_code":"","country_id":1} +,{"id":2006,"pid":189,"name":"获嘉县","level":4,"area_code":"410724000000","town_code":"","country_id":1} +,{"id":2007,"pid":189,"name":"原阳县","level":4,"area_code":"410725000000","town_code":"","country_id":1} +,{"id":2008,"pid":189,"name":"延津县","level":4,"area_code":"410726000000","town_code":"","country_id":1} +,{"id":2009,"pid":189,"name":"封丘县","level":4,"area_code":"410727000000","town_code":"","country_id":1} +,{"id":2010,"pid":189,"name":"新乡高新技术产业开发区","level":4,"area_code":"410771000000","town_code":"","country_id":1} +,{"id":2011,"pid":189,"name":"新乡经济技术开发区","level":4,"area_code":"410772000000","town_code":"","country_id":1} +,{"id":2012,"pid":189,"name":"新乡市平原城乡一体化示范区","level":4,"area_code":"410773000000","town_code":"","country_id":1} +,{"id":2013,"pid":189,"name":"卫辉市","level":4,"area_code":"410781000000","town_code":"","country_id":1} +,{"id":2014,"pid":189,"name":"辉县市","level":4,"area_code":"410782000000","town_code":"","country_id":1} +,{"id":2015,"pid":189,"name":"长垣市","level":4,"area_code":"410783000000","town_code":"","country_id":1} +,{"id":2016,"pid":190,"name":"市辖区","level":4,"area_code":"410801000000","town_code":"","country_id":1} +,{"id":2017,"pid":190,"name":"解放区","level":4,"area_code":"410802000000","town_code":"","country_id":1} +,{"id":2018,"pid":190,"name":"中站区","level":4,"area_code":"410803000000","town_code":"","country_id":1} +,{"id":2019,"pid":190,"name":"马村区","level":4,"area_code":"410804000000","town_code":"","country_id":1} +,{"id":2020,"pid":190,"name":"山阳区","level":4,"area_code":"410811000000","town_code":"","country_id":1} +,{"id":2021,"pid":190,"name":"修武县","level":4,"area_code":"410821000000","town_code":"","country_id":1} +,{"id":2022,"pid":190,"name":"博爱县","level":4,"area_code":"410822000000","town_code":"","country_id":1} +,{"id":2023,"pid":190,"name":"武陟县","level":4,"area_code":"410823000000","town_code":"","country_id":1} +,{"id":2024,"pid":190,"name":"温县","level":4,"area_code":"410825000000","town_code":"","country_id":1} +,{"id":2025,"pid":190,"name":"焦作城乡一体化示范区","level":4,"area_code":"410871000000","town_code":"","country_id":1} +,{"id":2026,"pid":190,"name":"沁阳市","level":4,"area_code":"410882000000","town_code":"","country_id":1} +,{"id":2027,"pid":190,"name":"孟州市","level":4,"area_code":"410883000000","town_code":"","country_id":1} +,{"id":2028,"pid":191,"name":"市辖区","level":4,"area_code":"410901000000","town_code":"","country_id":1} +,{"id":2029,"pid":191,"name":"华龙区","level":4,"area_code":"410902000000","town_code":"","country_id":1} +,{"id":2030,"pid":191,"name":"清丰县","level":4,"area_code":"410922000000","town_code":"","country_id":1} +,{"id":2031,"pid":191,"name":"南乐县","level":4,"area_code":"410923000000","town_code":"","country_id":1} +,{"id":2032,"pid":191,"name":"范县","level":4,"area_code":"410926000000","town_code":"","country_id":1} +,{"id":2033,"pid":191,"name":"台前县","level":4,"area_code":"410927000000","town_code":"","country_id":1} +,{"id":2034,"pid":191,"name":"濮阳县","level":4,"area_code":"410928000000","town_code":"","country_id":1} +,{"id":2035,"pid":191,"name":"河南濮阳工业园区","level":4,"area_code":"410971000000","town_code":"","country_id":1} +,{"id":2036,"pid":191,"name":"濮阳经济技术开发区","level":4,"area_code":"410972000000","town_code":"","country_id":1} +,{"id":2037,"pid":192,"name":"市辖区","level":4,"area_code":"411001000000","town_code":"","country_id":1} +,{"id":2038,"pid":192,"name":"魏都区","level":4,"area_code":"411002000000","town_code":"","country_id":1} +,{"id":2039,"pid":192,"name":"建安区","level":4,"area_code":"411003000000","town_code":"","country_id":1} +,{"id":2040,"pid":192,"name":"鄢陵县","level":4,"area_code":"411024000000","town_code":"","country_id":1} +,{"id":2041,"pid":192,"name":"襄城县","level":4,"area_code":"411025000000","town_code":"","country_id":1} +,{"id":2042,"pid":192,"name":"许昌经济技术开发区","level":4,"area_code":"411071000000","town_code":"","country_id":1} +,{"id":2043,"pid":192,"name":"禹州市","level":4,"area_code":"411081000000","town_code":"","country_id":1} +,{"id":2044,"pid":192,"name":"长葛市","level":4,"area_code":"411082000000","town_code":"","country_id":1} +,{"id":2045,"pid":193,"name":"市辖区","level":4,"area_code":"411101000000","town_code":"","country_id":1} +,{"id":2046,"pid":193,"name":"源汇区","level":4,"area_code":"411102000000","town_code":"","country_id":1} +,{"id":2047,"pid":193,"name":"郾城区","level":4,"area_code":"411103000000","town_code":"","country_id":1} +,{"id":2048,"pid":193,"name":"召陵区","level":4,"area_code":"411104000000","town_code":"","country_id":1} +,{"id":2049,"pid":193,"name":"舞阳县","level":4,"area_code":"411121000000","town_code":"","country_id":1} +,{"id":2050,"pid":193,"name":"临颍县","level":4,"area_code":"411122000000","town_code":"","country_id":1} +,{"id":2051,"pid":193,"name":"漯河经济技术开发区","level":4,"area_code":"411171000000","town_code":"","country_id":1} +,{"id":2052,"pid":194,"name":"市辖区","level":4,"area_code":"411201000000","town_code":"","country_id":1} +,{"id":2053,"pid":194,"name":"湖滨区","level":4,"area_code":"411202000000","town_code":"","country_id":1} +,{"id":2054,"pid":194,"name":"陕州区","level":4,"area_code":"411203000000","town_code":"","country_id":1} +,{"id":2055,"pid":194,"name":"渑池县","level":4,"area_code":"411221000000","town_code":"","country_id":1} +,{"id":2056,"pid":194,"name":"卢氏县","level":4,"area_code":"411224000000","town_code":"","country_id":1} +,{"id":2057,"pid":194,"name":"河南三门峡经济开发区","level":4,"area_code":"411271000000","town_code":"","country_id":1} +,{"id":2058,"pid":194,"name":"义马市","level":4,"area_code":"411281000000","town_code":"","country_id":1} +,{"id":2059,"pid":194,"name":"灵宝市","level":4,"area_code":"411282000000","town_code":"","country_id":1} +,{"id":2060,"pid":195,"name":"市辖区","level":4,"area_code":"411301000000","town_code":"","country_id":1} +,{"id":2061,"pid":195,"name":"宛城区","level":4,"area_code":"411302000000","town_code":"","country_id":1} +,{"id":2062,"pid":195,"name":"卧龙区","level":4,"area_code":"411303000000","town_code":"","country_id":1} +,{"id":2063,"pid":195,"name":"南召县","level":4,"area_code":"411321000000","town_code":"","country_id":1} +,{"id":2064,"pid":195,"name":"方城县","level":4,"area_code":"411322000000","town_code":"","country_id":1} +,{"id":2065,"pid":195,"name":"西峡县","level":4,"area_code":"411323000000","town_code":"","country_id":1} +,{"id":2066,"pid":195,"name":"镇平县","level":4,"area_code":"411324000000","town_code":"","country_id":1} +,{"id":2067,"pid":195,"name":"内乡县","level":4,"area_code":"411325000000","town_code":"","country_id":1} +,{"id":2068,"pid":195,"name":"淅川县","level":4,"area_code":"411326000000","town_code":"","country_id":1} +,{"id":2069,"pid":195,"name":"社旗县","level":4,"area_code":"411327000000","town_code":"","country_id":1} +,{"id":2070,"pid":195,"name":"唐河县","level":4,"area_code":"411328000000","town_code":"","country_id":1} +,{"id":2071,"pid":195,"name":"新野县","level":4,"area_code":"411329000000","town_code":"","country_id":1} +,{"id":2072,"pid":195,"name":"桐柏县","level":4,"area_code":"411330000000","town_code":"","country_id":1} +,{"id":2073,"pid":195,"name":"南阳高新技术产业开发区","level":4,"area_code":"411371000000","town_code":"","country_id":1} +,{"id":2074,"pid":195,"name":"南阳市城乡一体化示范区","level":4,"area_code":"411372000000","town_code":"","country_id":1} +,{"id":2075,"pid":195,"name":"邓州市","level":4,"area_code":"411381000000","town_code":"","country_id":1} +,{"id":2076,"pid":196,"name":"市辖区","level":4,"area_code":"411401000000","town_code":"","country_id":1} +,{"id":2077,"pid":196,"name":"梁园区","level":4,"area_code":"411402000000","town_code":"","country_id":1} +,{"id":2078,"pid":196,"name":"睢阳区","level":4,"area_code":"411403000000","town_code":"","country_id":1} +,{"id":2079,"pid":196,"name":"民权县","level":4,"area_code":"411421000000","town_code":"","country_id":1} +,{"id":2080,"pid":196,"name":"睢县","level":4,"area_code":"411422000000","town_code":"","country_id":1} +,{"id":2081,"pid":196,"name":"宁陵县","level":4,"area_code":"411423000000","town_code":"","country_id":1} +,{"id":2082,"pid":196,"name":"柘城县","level":4,"area_code":"411424000000","town_code":"","country_id":1} +,{"id":2083,"pid":196,"name":"虞城县","level":4,"area_code":"411425000000","town_code":"","country_id":1} +,{"id":2084,"pid":196,"name":"夏邑县","level":4,"area_code":"411426000000","town_code":"","country_id":1} +,{"id":2085,"pid":196,"name":"豫东综合物流产业聚集区","level":4,"area_code":"411471000000","town_code":"","country_id":1} +,{"id":2086,"pid":196,"name":"河南商丘经济开发区","level":4,"area_code":"411472000000","town_code":"","country_id":1} +,{"id":2087,"pid":196,"name":"永城市","level":4,"area_code":"411481000000","town_code":"","country_id":1} +,{"id":2088,"pid":197,"name":"市辖区","level":4,"area_code":"411501000000","town_code":"","country_id":1} +,{"id":2089,"pid":197,"name":"浉河区","level":4,"area_code":"411502000000","town_code":"","country_id":1} +,{"id":2090,"pid":197,"name":"平桥区","level":4,"area_code":"411503000000","town_code":"","country_id":1} +,{"id":2091,"pid":197,"name":"罗山县","level":4,"area_code":"411521000000","town_code":"","country_id":1} +,{"id":2092,"pid":197,"name":"光山县","level":4,"area_code":"411522000000","town_code":"","country_id":1} +,{"id":2093,"pid":197,"name":"新县","level":4,"area_code":"411523000000","town_code":"","country_id":1} +,{"id":2094,"pid":197,"name":"商城县","level":4,"area_code":"411524000000","town_code":"","country_id":1} +,{"id":2095,"pid":197,"name":"固始县","level":4,"area_code":"411525000000","town_code":"","country_id":1} +,{"id":2096,"pid":197,"name":"潢川县","level":4,"area_code":"411526000000","town_code":"","country_id":1} +,{"id":2097,"pid":197,"name":"淮滨县","level":4,"area_code":"411527000000","town_code":"","country_id":1} +,{"id":2098,"pid":197,"name":"息县","level":4,"area_code":"411528000000","town_code":"","country_id":1} +,{"id":2099,"pid":197,"name":"信阳高新技术产业开发区","level":4,"area_code":"411571000000","town_code":"","country_id":1} +,{"id":2100,"pid":198,"name":"市辖区","level":4,"area_code":"411601000000","town_code":"","country_id":1} +,{"id":2101,"pid":198,"name":"川汇区","level":4,"area_code":"411602000000","town_code":"","country_id":1} +,{"id":2102,"pid":198,"name":"淮阳区","level":4,"area_code":"411603000000","town_code":"","country_id":1} +,{"id":2103,"pid":198,"name":"扶沟县","level":4,"area_code":"411621000000","town_code":"","country_id":1} +,{"id":2104,"pid":198,"name":"西华县","level":4,"area_code":"411622000000","town_code":"","country_id":1} +,{"id":2105,"pid":198,"name":"商水县","level":4,"area_code":"411623000000","town_code":"","country_id":1} +,{"id":2106,"pid":198,"name":"沈丘县","level":4,"area_code":"411624000000","town_code":"","country_id":1} +,{"id":2107,"pid":198,"name":"郸城县","level":4,"area_code":"411625000000","town_code":"","country_id":1} +,{"id":2108,"pid":198,"name":"太康县","level":4,"area_code":"411627000000","town_code":"","country_id":1} +,{"id":2109,"pid":198,"name":"鹿邑县","level":4,"area_code":"411628000000","town_code":"","country_id":1} +,{"id":2110,"pid":198,"name":"周口临港开发区","level":4,"area_code":"411671000000","town_code":"","country_id":1} +,{"id":2111,"pid":198,"name":"项城市","level":4,"area_code":"411681000000","town_code":"","country_id":1} +,{"id":2112,"pid":199,"name":"市辖区","level":4,"area_code":"411701000000","town_code":"","country_id":1} +,{"id":2113,"pid":199,"name":"驿城区","level":4,"area_code":"411702000000","town_code":"","country_id":1} +,{"id":2114,"pid":199,"name":"西平县","level":4,"area_code":"411721000000","town_code":"","country_id":1} +,{"id":2115,"pid":199,"name":"上蔡县","level":4,"area_code":"411722000000","town_code":"","country_id":1} +,{"id":2116,"pid":199,"name":"平舆县","level":4,"area_code":"411723000000","town_code":"","country_id":1} +,{"id":2117,"pid":199,"name":"正阳县","level":4,"area_code":"411724000000","town_code":"","country_id":1} +,{"id":2118,"pid":199,"name":"确山县","level":4,"area_code":"411725000000","town_code":"","country_id":1} +,{"id":2119,"pid":199,"name":"泌阳县","level":4,"area_code":"411726000000","town_code":"","country_id":1} +,{"id":2120,"pid":199,"name":"汝南县","level":4,"area_code":"411727000000","town_code":"","country_id":1} +,{"id":2121,"pid":199,"name":"遂平县","level":4,"area_code":"411728000000","town_code":"","country_id":1} +,{"id":2122,"pid":199,"name":"新蔡县","level":4,"area_code":"411729000000","town_code":"","country_id":1} +,{"id":2123,"pid":199,"name":"河南驻马店经济开发区","level":4,"area_code":"411771000000","town_code":"","country_id":1} +,{"id":2124,"pid":200,"name":"济源市","level":4,"area_code":"419001000000","town_code":"","country_id":1} +,{"id":2125,"pid":201,"name":"市辖区","level":4,"area_code":"420101000000","town_code":"","country_id":1} +,{"id":2126,"pid":201,"name":"江岸区","level":4,"area_code":"420102000000","town_code":"","country_id":1} +,{"id":2127,"pid":201,"name":"江汉区","level":4,"area_code":"420103000000","town_code":"","country_id":1} +,{"id":2128,"pid":201,"name":"硚口区","level":4,"area_code":"420104000000","town_code":"","country_id":1} +,{"id":2129,"pid":201,"name":"汉阳区","level":4,"area_code":"420105000000","town_code":"","country_id":1} +,{"id":2130,"pid":201,"name":"武昌区","level":4,"area_code":"420106000000","town_code":"","country_id":1} +,{"id":2131,"pid":201,"name":"青山区","level":4,"area_code":"420107000000","town_code":"","country_id":1} +,{"id":2132,"pid":201,"name":"洪山区","level":4,"area_code":"420111000000","town_code":"","country_id":1} +,{"id":2133,"pid":201,"name":"东西湖区","level":4,"area_code":"420112000000","town_code":"","country_id":1} +,{"id":2134,"pid":201,"name":"汉南区","level":4,"area_code":"420113000000","town_code":"","country_id":1} +,{"id":2135,"pid":201,"name":"蔡甸区","level":4,"area_code":"420114000000","town_code":"","country_id":1} +,{"id":2136,"pid":201,"name":"江夏区","level":4,"area_code":"420115000000","town_code":"","country_id":1} +,{"id":2137,"pid":201,"name":"黄陂区","level":4,"area_code":"420116000000","town_code":"","country_id":1} +,{"id":2138,"pid":201,"name":"新洲区","level":4,"area_code":"420117000000","town_code":"","country_id":1} +,{"id":2139,"pid":202,"name":"市辖区","level":4,"area_code":"420201000000","town_code":"","country_id":1} +,{"id":2140,"pid":202,"name":"黄石港区","level":4,"area_code":"420202000000","town_code":"","country_id":1} +,{"id":2141,"pid":202,"name":"西塞山区","level":4,"area_code":"420203000000","town_code":"","country_id":1} +,{"id":2142,"pid":202,"name":"下陆区","level":4,"area_code":"420204000000","town_code":"","country_id":1} +,{"id":2143,"pid":202,"name":"铁山区","level":4,"area_code":"420205000000","town_code":"","country_id":1} +,{"id":2144,"pid":202,"name":"阳新县","level":4,"area_code":"420222000000","town_code":"","country_id":1} +,{"id":2145,"pid":202,"name":"大冶市","level":4,"area_code":"420281000000","town_code":"","country_id":1} +,{"id":2146,"pid":203,"name":"市辖区","level":4,"area_code":"420301000000","town_code":"","country_id":1} +,{"id":2147,"pid":203,"name":"茅箭区","level":4,"area_code":"420302000000","town_code":"","country_id":1} +,{"id":2148,"pid":203,"name":"张湾区","level":4,"area_code":"420303000000","town_code":"","country_id":1} +,{"id":2149,"pid":203,"name":"郧阳区","level":4,"area_code":"420304000000","town_code":"","country_id":1} +,{"id":2150,"pid":203,"name":"郧西县","level":4,"area_code":"420322000000","town_code":"","country_id":1} +,{"id":2151,"pid":203,"name":"竹山县","level":4,"area_code":"420323000000","town_code":"","country_id":1} +,{"id":2152,"pid":203,"name":"竹溪县","level":4,"area_code":"420324000000","town_code":"","country_id":1} +,{"id":2153,"pid":203,"name":"房县","level":4,"area_code":"420325000000","town_code":"","country_id":1} +,{"id":2154,"pid":203,"name":"丹江口市","level":4,"area_code":"420381000000","town_code":"","country_id":1} +,{"id":2155,"pid":204,"name":"市辖区","level":4,"area_code":"420501000000","town_code":"","country_id":1} +,{"id":2156,"pid":204,"name":"西陵区","level":4,"area_code":"420502000000","town_code":"","country_id":1} +,{"id":2157,"pid":204,"name":"伍家岗区","level":4,"area_code":"420503000000","town_code":"","country_id":1} +,{"id":2158,"pid":204,"name":"点军区","level":4,"area_code":"420504000000","town_code":"","country_id":1} +,{"id":2159,"pid":204,"name":"猇亭区","level":4,"area_code":"420505000000","town_code":"","country_id":1} +,{"id":2160,"pid":204,"name":"夷陵区","level":4,"area_code":"420506000000","town_code":"","country_id":1} +,{"id":2161,"pid":204,"name":"远安县","level":4,"area_code":"420525000000","town_code":"","country_id":1} +,{"id":2162,"pid":204,"name":"兴山县","level":4,"area_code":"420526000000","town_code":"","country_id":1} +,{"id":2163,"pid":204,"name":"秭归县","level":4,"area_code":"420527000000","town_code":"","country_id":1} +,{"id":2164,"pid":204,"name":"长阳土家族自治县","level":4,"area_code":"420528000000","town_code":"","country_id":1} +,{"id":2165,"pid":204,"name":"五峰土家族自治县","level":4,"area_code":"420529000000","town_code":"","country_id":1} +,{"id":2166,"pid":204,"name":"宜都市","level":4,"area_code":"420581000000","town_code":"","country_id":1} +,{"id":2167,"pid":204,"name":"当阳市","level":4,"area_code":"420582000000","town_code":"","country_id":1} +,{"id":2168,"pid":204,"name":"枝江市","level":4,"area_code":"420583000000","town_code":"","country_id":1} +,{"id":2169,"pid":205,"name":"市辖区","level":4,"area_code":"420601000000","town_code":"","country_id":1} +,{"id":2170,"pid":205,"name":"襄城区","level":4,"area_code":"420602000000","town_code":"","country_id":1} +,{"id":2171,"pid":205,"name":"樊城区","level":4,"area_code":"420606000000","town_code":"","country_id":1} +,{"id":2172,"pid":205,"name":"襄州区","level":4,"area_code":"420607000000","town_code":"","country_id":1} +,{"id":2173,"pid":205,"name":"南漳县","level":4,"area_code":"420624000000","town_code":"","country_id":1} +,{"id":2174,"pid":205,"name":"谷城县","level":4,"area_code":"420625000000","town_code":"","country_id":1} +,{"id":2175,"pid":205,"name":"保康县","level":4,"area_code":"420626000000","town_code":"","country_id":1} +,{"id":2176,"pid":205,"name":"老河口市","level":4,"area_code":"420682000000","town_code":"","country_id":1} +,{"id":2177,"pid":205,"name":"枣阳市","level":4,"area_code":"420683000000","town_code":"","country_id":1} +,{"id":2178,"pid":205,"name":"宜城市","level":4,"area_code":"420684000000","town_code":"","country_id":1} +,{"id":2179,"pid":206,"name":"市辖区","level":4,"area_code":"420701000000","town_code":"","country_id":1} +,{"id":2180,"pid":206,"name":"梁子湖区","level":4,"area_code":"420702000000","town_code":"","country_id":1} +,{"id":2181,"pid":206,"name":"华容区","level":4,"area_code":"420703000000","town_code":"","country_id":1} +,{"id":2182,"pid":206,"name":"鄂城区","level":4,"area_code":"420704000000","town_code":"","country_id":1} +,{"id":2183,"pid":207,"name":"市辖区","level":4,"area_code":"420801000000","town_code":"","country_id":1} +,{"id":2184,"pid":207,"name":"东宝区","level":4,"area_code":"420802000000","town_code":"","country_id":1} +,{"id":2185,"pid":207,"name":"掇刀区","level":4,"area_code":"420804000000","town_code":"","country_id":1} +,{"id":2186,"pid":207,"name":"沙洋县","level":4,"area_code":"420822000000","town_code":"","country_id":1} +,{"id":2187,"pid":207,"name":"钟祥市","level":4,"area_code":"420881000000","town_code":"","country_id":1} +,{"id":2188,"pid":207,"name":"京山市","level":4,"area_code":"420882000000","town_code":"","country_id":1} +,{"id":2189,"pid":208,"name":"市辖区","level":4,"area_code":"420901000000","town_code":"","country_id":1} +,{"id":2190,"pid":208,"name":"孝南区","level":4,"area_code":"420902000000","town_code":"","country_id":1} +,{"id":2191,"pid":208,"name":"孝昌县","level":4,"area_code":"420921000000","town_code":"","country_id":1} +,{"id":2192,"pid":208,"name":"大悟县","level":4,"area_code":"420922000000","town_code":"","country_id":1} +,{"id":2193,"pid":208,"name":"云梦县","level":4,"area_code":"420923000000","town_code":"","country_id":1} +,{"id":2194,"pid":208,"name":"应城市","level":4,"area_code":"420981000000","town_code":"","country_id":1} +,{"id":2195,"pid":208,"name":"安陆市","level":4,"area_code":"420982000000","town_code":"","country_id":1} +,{"id":2196,"pid":208,"name":"汉川市","level":4,"area_code":"420984000000","town_code":"","country_id":1} +,{"id":2197,"pid":209,"name":"市辖区","level":4,"area_code":"421001000000","town_code":"","country_id":1} +,{"id":2198,"pid":209,"name":"沙市区","level":4,"area_code":"421002000000","town_code":"","country_id":1} +,{"id":2199,"pid":209,"name":"荆州区","level":4,"area_code":"421003000000","town_code":"","country_id":1} +,{"id":2200,"pid":209,"name":"公安县","level":4,"area_code":"421022000000","town_code":"","country_id":1} +,{"id":2201,"pid":209,"name":"江陵县","level":4,"area_code":"421024000000","town_code":"","country_id":1} +,{"id":2202,"pid":209,"name":"荆州经济技术开发区","level":4,"area_code":"421071000000","town_code":"","country_id":1} +,{"id":2203,"pid":209,"name":"石首市","level":4,"area_code":"421081000000","town_code":"","country_id":1} +,{"id":2204,"pid":209,"name":"洪湖市","level":4,"area_code":"421083000000","town_code":"","country_id":1} +,{"id":2205,"pid":209,"name":"松滋市","level":4,"area_code":"421087000000","town_code":"","country_id":1} +,{"id":2206,"pid":209,"name":"监利市","level":4,"area_code":"421088000000","town_code":"","country_id":1} +,{"id":2207,"pid":210,"name":"市辖区","level":4,"area_code":"421101000000","town_code":"","country_id":1} +,{"id":2208,"pid":210,"name":"黄州区","level":4,"area_code":"421102000000","town_code":"","country_id":1} +,{"id":2209,"pid":210,"name":"团风县","level":4,"area_code":"421121000000","town_code":"","country_id":1} +,{"id":2210,"pid":210,"name":"红安县","level":4,"area_code":"421122000000","town_code":"","country_id":1} +,{"id":2211,"pid":210,"name":"罗田县","level":4,"area_code":"421123000000","town_code":"","country_id":1} +,{"id":2212,"pid":210,"name":"英山县","level":4,"area_code":"421124000000","town_code":"","country_id":1} +,{"id":2213,"pid":210,"name":"浠水县","level":4,"area_code":"421125000000","town_code":"","country_id":1} +,{"id":2214,"pid":210,"name":"蕲春县","level":4,"area_code":"421126000000","town_code":"","country_id":1} +,{"id":2215,"pid":210,"name":"黄梅县","level":4,"area_code":"421127000000","town_code":"","country_id":1} +,{"id":2216,"pid":210,"name":"龙感湖管理区","level":4,"area_code":"421171000000","town_code":"","country_id":1} +,{"id":2217,"pid":210,"name":"麻城市","level":4,"area_code":"421181000000","town_code":"","country_id":1} +,{"id":2218,"pid":210,"name":"武穴市","level":4,"area_code":"421182000000","town_code":"","country_id":1} +,{"id":2219,"pid":211,"name":"市辖区","level":4,"area_code":"421201000000","town_code":"","country_id":1} +,{"id":2220,"pid":211,"name":"咸安区","level":4,"area_code":"421202000000","town_code":"","country_id":1} +,{"id":2221,"pid":211,"name":"嘉鱼县","level":4,"area_code":"421221000000","town_code":"","country_id":1} +,{"id":2222,"pid":211,"name":"通城县","level":4,"area_code":"421222000000","town_code":"","country_id":1} +,{"id":2223,"pid":211,"name":"崇阳县","level":4,"area_code":"421223000000","town_code":"","country_id":1} +,{"id":2224,"pid":211,"name":"通山县","level":4,"area_code":"421224000000","town_code":"","country_id":1} +,{"id":2225,"pid":211,"name":"赤壁市","level":4,"area_code":"421281000000","town_code":"","country_id":1} +,{"id":2226,"pid":212,"name":"市辖区","level":4,"area_code":"421301000000","town_code":"","country_id":1} +,{"id":2227,"pid":212,"name":"曾都区","level":4,"area_code":"421303000000","town_code":"","country_id":1} +,{"id":2228,"pid":212,"name":"随县","level":4,"area_code":"421321000000","town_code":"","country_id":1} +,{"id":2229,"pid":212,"name":"广水市","level":4,"area_code":"421381000000","town_code":"","country_id":1} +,{"id":2230,"pid":213,"name":"恩施市","level":4,"area_code":"422801000000","town_code":"","country_id":1} +,{"id":2231,"pid":213,"name":"利川市","level":4,"area_code":"422802000000","town_code":"","country_id":1} +,{"id":2232,"pid":213,"name":"建始县","level":4,"area_code":"422822000000","town_code":"","country_id":1} +,{"id":2233,"pid":213,"name":"巴东县","level":4,"area_code":"422823000000","town_code":"","country_id":1} +,{"id":2234,"pid":213,"name":"宣恩县","level":4,"area_code":"422825000000","town_code":"","country_id":1} +,{"id":2235,"pid":213,"name":"咸丰县","level":4,"area_code":"422826000000","town_code":"","country_id":1} +,{"id":2236,"pid":213,"name":"来凤县","level":4,"area_code":"422827000000","town_code":"","country_id":1} +,{"id":2237,"pid":213,"name":"鹤峰县","level":4,"area_code":"422828000000","town_code":"","country_id":1} +,{"id":2238,"pid":214,"name":"仙桃市","level":4,"area_code":"429004000000","town_code":"","country_id":1} +,{"id":2239,"pid":214,"name":"潜江市","level":4,"area_code":"429005000000","town_code":"","country_id":1} +,{"id":2240,"pid":214,"name":"天门市","level":4,"area_code":"429006000000","town_code":"","country_id":1} +,{"id":2241,"pid":214,"name":"神农架林区","level":4,"area_code":"429021000000","town_code":"","country_id":1} +,{"id":2242,"pid":215,"name":"市辖区","level":4,"area_code":"430101000000","town_code":"","country_id":1} +,{"id":2243,"pid":215,"name":"芙蓉区","level":4,"area_code":"430102000000","town_code":"","country_id":1} +,{"id":2244,"pid":215,"name":"天心区","level":4,"area_code":"430103000000","town_code":"","country_id":1} +,{"id":2245,"pid":215,"name":"岳麓区","level":4,"area_code":"430104000000","town_code":"","country_id":1} +,{"id":2246,"pid":215,"name":"开福区","level":4,"area_code":"430105000000","town_code":"","country_id":1} +,{"id":2247,"pid":215,"name":"雨花区","level":4,"area_code":"430111000000","town_code":"","country_id":1} +,{"id":2248,"pid":215,"name":"望城区","level":4,"area_code":"430112000000","town_code":"","country_id":1} +,{"id":2249,"pid":215,"name":"长沙县","level":4,"area_code":"430121000000","town_code":"","country_id":1} +,{"id":2250,"pid":215,"name":"浏阳市","level":4,"area_code":"430181000000","town_code":"","country_id":1} +,{"id":2251,"pid":215,"name":"宁乡市","level":4,"area_code":"430182000000","town_code":"","country_id":1} +,{"id":2252,"pid":216,"name":"市辖区","level":4,"area_code":"430201000000","town_code":"","country_id":1} +,{"id":2253,"pid":216,"name":"荷塘区","level":4,"area_code":"430202000000","town_code":"","country_id":1} +,{"id":2254,"pid":216,"name":"芦淞区","level":4,"area_code":"430203000000","town_code":"","country_id":1} +,{"id":2255,"pid":216,"name":"石峰区","level":4,"area_code":"430204000000","town_code":"","country_id":1} +,{"id":2256,"pid":216,"name":"天元区","level":4,"area_code":"430211000000","town_code":"","country_id":1} +,{"id":2257,"pid":216,"name":"渌口区","level":4,"area_code":"430212000000","town_code":"","country_id":1} +,{"id":2258,"pid":216,"name":"攸县","level":4,"area_code":"430223000000","town_code":"","country_id":1} +,{"id":2259,"pid":216,"name":"茶陵县","level":4,"area_code":"430224000000","town_code":"","country_id":1} +,{"id":2260,"pid":216,"name":"炎陵县","level":4,"area_code":"430225000000","town_code":"","country_id":1} +,{"id":2261,"pid":216,"name":"醴陵市","level":4,"area_code":"430281000000","town_code":"","country_id":1} +,{"id":2262,"pid":217,"name":"市辖区","level":4,"area_code":"430301000000","town_code":"","country_id":1} +,{"id":2263,"pid":217,"name":"雨湖区","level":4,"area_code":"430302000000","town_code":"","country_id":1} +,{"id":2264,"pid":217,"name":"岳塘区","level":4,"area_code":"430304000000","town_code":"","country_id":1} +,{"id":2265,"pid":217,"name":"湘潭县","level":4,"area_code":"430321000000","town_code":"","country_id":1} +,{"id":2266,"pid":217,"name":"湖南湘潭高新技术产业园区","level":4,"area_code":"430371000000","town_code":"","country_id":1} +,{"id":2267,"pid":217,"name":"湘潭昭山示范区","level":4,"area_code":"430372000000","town_code":"","country_id":1} +,{"id":2268,"pid":217,"name":"湘潭九华示范区","level":4,"area_code":"430373000000","town_code":"","country_id":1} +,{"id":2269,"pid":217,"name":"湘乡市","level":4,"area_code":"430381000000","town_code":"","country_id":1} +,{"id":2270,"pid":217,"name":"韶山市","level":4,"area_code":"430382000000","town_code":"","country_id":1} +,{"id":2271,"pid":218,"name":"市辖区","level":4,"area_code":"430401000000","town_code":"","country_id":1} +,{"id":2272,"pid":218,"name":"珠晖区","level":4,"area_code":"430405000000","town_code":"","country_id":1} +,{"id":2273,"pid":218,"name":"雁峰区","level":4,"area_code":"430406000000","town_code":"","country_id":1} +,{"id":2274,"pid":218,"name":"石鼓区","level":4,"area_code":"430407000000","town_code":"","country_id":1} +,{"id":2275,"pid":218,"name":"蒸湘区","level":4,"area_code":"430408000000","town_code":"","country_id":1} +,{"id":2276,"pid":218,"name":"南岳区","level":4,"area_code":"430412000000","town_code":"","country_id":1} +,{"id":2277,"pid":218,"name":"衡阳县","level":4,"area_code":"430421000000","town_code":"","country_id":1} +,{"id":2278,"pid":218,"name":"衡南县","level":4,"area_code":"430422000000","town_code":"","country_id":1} +,{"id":2279,"pid":218,"name":"衡山县","level":4,"area_code":"430423000000","town_code":"","country_id":1} +,{"id":2280,"pid":218,"name":"衡东县","level":4,"area_code":"430424000000","town_code":"","country_id":1} +,{"id":2281,"pid":218,"name":"祁东县","level":4,"area_code":"430426000000","town_code":"","country_id":1} +,{"id":2282,"pid":218,"name":"湖南衡阳松木经济开发区","level":4,"area_code":"430473000000","town_code":"","country_id":1} +,{"id":2283,"pid":218,"name":"湖南衡阳高新技术产业园区","level":4,"area_code":"430476000000","town_code":"","country_id":1} +,{"id":2284,"pid":218,"name":"耒阳市","level":4,"area_code":"430481000000","town_code":"","country_id":1} +,{"id":2285,"pid":218,"name":"常宁市","level":4,"area_code":"430482000000","town_code":"","country_id":1} +,{"id":2286,"pid":219,"name":"市辖区","level":4,"area_code":"430501000000","town_code":"","country_id":1} +,{"id":2287,"pid":219,"name":"双清区","level":4,"area_code":"430502000000","town_code":"","country_id":1} +,{"id":2288,"pid":219,"name":"大祥区","level":4,"area_code":"430503000000","town_code":"","country_id":1} +,{"id":2289,"pid":219,"name":"北塔区","level":4,"area_code":"430511000000","town_code":"","country_id":1} +,{"id":2290,"pid":219,"name":"新邵县","level":4,"area_code":"430522000000","town_code":"","country_id":1} +,{"id":2291,"pid":219,"name":"邵阳县","level":4,"area_code":"430523000000","town_code":"","country_id":1} +,{"id":2292,"pid":219,"name":"隆回县","level":4,"area_code":"430524000000","town_code":"","country_id":1} +,{"id":2293,"pid":219,"name":"洞口县","level":4,"area_code":"430525000000","town_code":"","country_id":1} +,{"id":2294,"pid":219,"name":"绥宁县","level":4,"area_code":"430527000000","town_code":"","country_id":1} +,{"id":2295,"pid":219,"name":"新宁县","level":4,"area_code":"430528000000","town_code":"","country_id":1} +,{"id":2296,"pid":219,"name":"城步苗族自治县","level":4,"area_code":"430529000000","town_code":"","country_id":1} +,{"id":2297,"pid":219,"name":"武冈市","level":4,"area_code":"430581000000","town_code":"","country_id":1} +,{"id":2298,"pid":219,"name":"邵东市","level":4,"area_code":"430582000000","town_code":"","country_id":1} +,{"id":2299,"pid":220,"name":"市辖区","level":4,"area_code":"430601000000","town_code":"","country_id":1} +,{"id":2300,"pid":220,"name":"岳阳楼区","level":4,"area_code":"430602000000","town_code":"","country_id":1} +,{"id":2301,"pid":220,"name":"云溪区","level":4,"area_code":"430603000000","town_code":"","country_id":1} +,{"id":2302,"pid":220,"name":"君山区","level":4,"area_code":"430611000000","town_code":"","country_id":1} +,{"id":2303,"pid":220,"name":"岳阳县","level":4,"area_code":"430621000000","town_code":"","country_id":1} +,{"id":2304,"pid":220,"name":"华容县","level":4,"area_code":"430623000000","town_code":"","country_id":1} +,{"id":2305,"pid":220,"name":"湘阴县","level":4,"area_code":"430624000000","town_code":"","country_id":1} +,{"id":2306,"pid":220,"name":"平江县","level":4,"area_code":"430626000000","town_code":"","country_id":1} +,{"id":2307,"pid":220,"name":"岳阳市屈原管理区","level":4,"area_code":"430671000000","town_code":"","country_id":1} +,{"id":2308,"pid":220,"name":"汨罗市","level":4,"area_code":"430681000000","town_code":"","country_id":1} +,{"id":2309,"pid":220,"name":"临湘市","level":4,"area_code":"430682000000","town_code":"","country_id":1} +,{"id":2310,"pid":221,"name":"市辖区","level":4,"area_code":"430701000000","town_code":"","country_id":1} +,{"id":2311,"pid":221,"name":"武陵区","level":4,"area_code":"430702000000","town_code":"","country_id":1} +,{"id":2312,"pid":221,"name":"鼎城区","level":4,"area_code":"430703000000","town_code":"","country_id":1} +,{"id":2313,"pid":221,"name":"安乡县","level":4,"area_code":"430721000000","town_code":"","country_id":1} +,{"id":2314,"pid":221,"name":"汉寿县","level":4,"area_code":"430722000000","town_code":"","country_id":1} +,{"id":2315,"pid":221,"name":"澧县","level":4,"area_code":"430723000000","town_code":"","country_id":1} +,{"id":2316,"pid":221,"name":"临澧县","level":4,"area_code":"430724000000","town_code":"","country_id":1} +,{"id":2317,"pid":221,"name":"桃源县","level":4,"area_code":"430725000000","town_code":"","country_id":1} +,{"id":2318,"pid":221,"name":"石门县","level":4,"area_code":"430726000000","town_code":"","country_id":1} +,{"id":2319,"pid":221,"name":"常德市西洞庭管理区","level":4,"area_code":"430771000000","town_code":"","country_id":1} +,{"id":2320,"pid":221,"name":"津市市","level":4,"area_code":"430781000000","town_code":"","country_id":1} +,{"id":2321,"pid":222,"name":"市辖区","level":4,"area_code":"430801000000","town_code":"","country_id":1} +,{"id":2322,"pid":222,"name":"永定区","level":4,"area_code":"430802000000","town_code":"","country_id":1} +,{"id":2323,"pid":222,"name":"武陵源区","level":4,"area_code":"430811000000","town_code":"","country_id":1} +,{"id":2324,"pid":222,"name":"慈利县","level":4,"area_code":"430821000000","town_code":"","country_id":1} +,{"id":2325,"pid":222,"name":"桑植县","level":4,"area_code":"430822000000","town_code":"","country_id":1} +,{"id":2326,"pid":223,"name":"市辖区","level":4,"area_code":"430901000000","town_code":"","country_id":1} +,{"id":2327,"pid":223,"name":"资阳区","level":4,"area_code":"430902000000","town_code":"","country_id":1} +,{"id":2328,"pid":223,"name":"赫山区","level":4,"area_code":"430903000000","town_code":"","country_id":1} +,{"id":2329,"pid":223,"name":"南县","level":4,"area_code":"430921000000","town_code":"","country_id":1} +,{"id":2330,"pid":223,"name":"桃江县","level":4,"area_code":"430922000000","town_code":"","country_id":1} +,{"id":2331,"pid":223,"name":"安化县","level":4,"area_code":"430923000000","town_code":"","country_id":1} +,{"id":2332,"pid":223,"name":"益阳市大通湖管理区","level":4,"area_code":"430971000000","town_code":"","country_id":1} +,{"id":2333,"pid":223,"name":"湖南益阳高新技术产业园区","level":4,"area_code":"430972000000","town_code":"","country_id":1} +,{"id":2334,"pid":223,"name":"沅江市","level":4,"area_code":"430981000000","town_code":"","country_id":1} +,{"id":2335,"pid":224,"name":"市辖区","level":4,"area_code":"431001000000","town_code":"","country_id":1} +,{"id":2336,"pid":224,"name":"北湖区","level":4,"area_code":"431002000000","town_code":"","country_id":1} +,{"id":2337,"pid":224,"name":"苏仙区","level":4,"area_code":"431003000000","town_code":"","country_id":1} +,{"id":2338,"pid":224,"name":"桂阳县","level":4,"area_code":"431021000000","town_code":"","country_id":1} +,{"id":2339,"pid":224,"name":"宜章县","level":4,"area_code":"431022000000","town_code":"","country_id":1} +,{"id":2340,"pid":224,"name":"永兴县","level":4,"area_code":"431023000000","town_code":"","country_id":1} +,{"id":2341,"pid":224,"name":"嘉禾县","level":4,"area_code":"431024000000","town_code":"","country_id":1} +,{"id":2342,"pid":224,"name":"临武县","level":4,"area_code":"431025000000","town_code":"","country_id":1} +,{"id":2343,"pid":224,"name":"汝城县","level":4,"area_code":"431026000000","town_code":"","country_id":1} +,{"id":2344,"pid":224,"name":"桂东县","level":4,"area_code":"431027000000","town_code":"","country_id":1} +,{"id":2345,"pid":224,"name":"安仁县","level":4,"area_code":"431028000000","town_code":"","country_id":1} +,{"id":2346,"pid":224,"name":"资兴市","level":4,"area_code":"431081000000","town_code":"","country_id":1} +,{"id":2347,"pid":225,"name":"市辖区","level":4,"area_code":"431101000000","town_code":"","country_id":1} +,{"id":2348,"pid":225,"name":"零陵区","level":4,"area_code":"431102000000","town_code":"","country_id":1} +,{"id":2349,"pid":225,"name":"冷水滩区","level":4,"area_code":"431103000000","town_code":"","country_id":1} +,{"id":2350,"pid":225,"name":"东安县","level":4,"area_code":"431122000000","town_code":"","country_id":1} +,{"id":2351,"pid":225,"name":"双牌县","level":4,"area_code":"431123000000","town_code":"","country_id":1} +,{"id":2352,"pid":225,"name":"道县","level":4,"area_code":"431124000000","town_code":"","country_id":1} +,{"id":2353,"pid":225,"name":"江永县","level":4,"area_code":"431125000000","town_code":"","country_id":1} +,{"id":2354,"pid":225,"name":"宁远县","level":4,"area_code":"431126000000","town_code":"","country_id":1} +,{"id":2355,"pid":225,"name":"蓝山县","level":4,"area_code":"431127000000","town_code":"","country_id":1} +,{"id":2356,"pid":225,"name":"新田县","level":4,"area_code":"431128000000","town_code":"","country_id":1} +,{"id":2357,"pid":225,"name":"江华瑶族自治县","level":4,"area_code":"431129000000","town_code":"","country_id":1} +,{"id":2358,"pid":225,"name":"永州经济技术开发区","level":4,"area_code":"431171000000","town_code":"","country_id":1} +,{"id":2359,"pid":225,"name":"永州市回龙圩管理区","level":4,"area_code":"431173000000","town_code":"","country_id":1} +,{"id":2360,"pid":225,"name":"祁阳市","level":4,"area_code":"431181000000","town_code":"","country_id":1} +,{"id":2361,"pid":226,"name":"市辖区","level":4,"area_code":"431201000000","town_code":"","country_id":1} +,{"id":2362,"pid":226,"name":"鹤城区","level":4,"area_code":"431202000000","town_code":"","country_id":1} +,{"id":2363,"pid":226,"name":"中方县","level":4,"area_code":"431221000000","town_code":"","country_id":1} +,{"id":2364,"pid":226,"name":"沅陵县","level":4,"area_code":"431222000000","town_code":"","country_id":1} +,{"id":2365,"pid":226,"name":"辰溪县","level":4,"area_code":"431223000000","town_code":"","country_id":1} +,{"id":2366,"pid":226,"name":"溆浦县","level":4,"area_code":"431224000000","town_code":"","country_id":1} +,{"id":2367,"pid":226,"name":"会同县","level":4,"area_code":"431225000000","town_code":"","country_id":1} +,{"id":2368,"pid":226,"name":"麻阳苗族自治县","level":4,"area_code":"431226000000","town_code":"","country_id":1} +,{"id":2369,"pid":226,"name":"新晃侗族自治县","level":4,"area_code":"431227000000","town_code":"","country_id":1} +,{"id":2370,"pid":226,"name":"芷江侗族自治县","level":4,"area_code":"431228000000","town_code":"","country_id":1} +,{"id":2371,"pid":226,"name":"靖州苗族侗族自治县","level":4,"area_code":"431229000000","town_code":"","country_id":1} +,{"id":2372,"pid":226,"name":"通道侗族自治县","level":4,"area_code":"431230000000","town_code":"","country_id":1} +,{"id":2373,"pid":226,"name":"怀化市洪江管理区","level":4,"area_code":"431271000000","town_code":"","country_id":1} +,{"id":2374,"pid":226,"name":"洪江市","level":4,"area_code":"431281000000","town_code":"","country_id":1} +,{"id":2375,"pid":227,"name":"市辖区","level":4,"area_code":"431301000000","town_code":"","country_id":1} +,{"id":2376,"pid":227,"name":"娄星区","level":4,"area_code":"431302000000","town_code":"","country_id":1} +,{"id":2377,"pid":227,"name":"双峰县","level":4,"area_code":"431321000000","town_code":"","country_id":1} +,{"id":2378,"pid":227,"name":"新化县","level":4,"area_code":"431322000000","town_code":"","country_id":1} +,{"id":2379,"pid":227,"name":"冷水江市","level":4,"area_code":"431381000000","town_code":"","country_id":1} +,{"id":2380,"pid":227,"name":"涟源市","level":4,"area_code":"431382000000","town_code":"","country_id":1} +,{"id":2381,"pid":228,"name":"吉首市","level":4,"area_code":"433101000000","town_code":"","country_id":1} +,{"id":2382,"pid":228,"name":"泸溪县","level":4,"area_code":"433122000000","town_code":"","country_id":1} +,{"id":2383,"pid":228,"name":"凤凰县","level":4,"area_code":"433123000000","town_code":"","country_id":1} +,{"id":2384,"pid":228,"name":"花垣县","level":4,"area_code":"433124000000","town_code":"","country_id":1} +,{"id":2385,"pid":228,"name":"保靖县","level":4,"area_code":"433125000000","town_code":"","country_id":1} +,{"id":2386,"pid":228,"name":"古丈县","level":4,"area_code":"433126000000","town_code":"","country_id":1} +,{"id":2387,"pid":228,"name":"永顺县","level":4,"area_code":"433127000000","town_code":"","country_id":1} +,{"id":2388,"pid":228,"name":"龙山县","level":4,"area_code":"433130000000","town_code":"","country_id":1} +,{"id":2389,"pid":229,"name":"市辖区","level":4,"area_code":"440101000000","town_code":"","country_id":1} +,{"id":2390,"pid":229,"name":"荔湾区","level":4,"area_code":"440103000000","town_code":"","country_id":1} +,{"id":2391,"pid":229,"name":"越秀区","level":4,"area_code":"440104000000","town_code":"","country_id":1} +,{"id":2392,"pid":229,"name":"海珠区","level":4,"area_code":"440105000000","town_code":"","country_id":1} +,{"id":2393,"pid":229,"name":"天河区","level":4,"area_code":"440106000000","town_code":"","country_id":1} +,{"id":2394,"pid":229,"name":"白云区","level":4,"area_code":"440111000000","town_code":"","country_id":1} +,{"id":2395,"pid":229,"name":"黄埔区","level":4,"area_code":"440112000000","town_code":"","country_id":1} +,{"id":2396,"pid":229,"name":"番禺区","level":4,"area_code":"440113000000","town_code":"","country_id":1} +,{"id":2397,"pid":229,"name":"花都区","level":4,"area_code":"440114000000","town_code":"","country_id":1} +,{"id":2398,"pid":229,"name":"南沙区","level":4,"area_code":"440115000000","town_code":"","country_id":1} +,{"id":2399,"pid":229,"name":"从化区","level":4,"area_code":"440117000000","town_code":"","country_id":1} +,{"id":2400,"pid":229,"name":"增城区","level":4,"area_code":"440118000000","town_code":"","country_id":1} +,{"id":2401,"pid":230,"name":"市辖区","level":4,"area_code":"440201000000","town_code":"","country_id":1} +,{"id":2402,"pid":230,"name":"武江区","level":4,"area_code":"440203000000","town_code":"","country_id":1} +,{"id":2403,"pid":230,"name":"浈江区","level":4,"area_code":"440204000000","town_code":"","country_id":1} +,{"id":2404,"pid":230,"name":"曲江区","level":4,"area_code":"440205000000","town_code":"","country_id":1} +,{"id":2405,"pid":230,"name":"始兴县","level":4,"area_code":"440222000000","town_code":"","country_id":1} +,{"id":2406,"pid":230,"name":"仁化县","level":4,"area_code":"440224000000","town_code":"","country_id":1} +,{"id":2407,"pid":230,"name":"翁源县","level":4,"area_code":"440229000000","town_code":"","country_id":1} +,{"id":2408,"pid":230,"name":"乳源瑶族自治县","level":4,"area_code":"440232000000","town_code":"","country_id":1} +,{"id":2409,"pid":230,"name":"新丰县","level":4,"area_code":"440233000000","town_code":"","country_id":1} +,{"id":2410,"pid":230,"name":"乐昌市","level":4,"area_code":"440281000000","town_code":"","country_id":1} +,{"id":2411,"pid":230,"name":"南雄市","level":4,"area_code":"440282000000","town_code":"","country_id":1} +,{"id":2412,"pid":231,"name":"市辖区","level":4,"area_code":"440301000000","town_code":"","country_id":1} +,{"id":2413,"pid":231,"name":"罗湖区","level":4,"area_code":"440303000000","town_code":"","country_id":1} +,{"id":2414,"pid":231,"name":"福田区","level":4,"area_code":"440304000000","town_code":"","country_id":1} +,{"id":2415,"pid":231,"name":"南山区","level":4,"area_code":"440305000000","town_code":"","country_id":1} +,{"id":2416,"pid":231,"name":"宝安区","level":4,"area_code":"440306000000","town_code":"","country_id":1} +,{"id":2417,"pid":231,"name":"龙岗区","level":4,"area_code":"440307000000","town_code":"","country_id":1} +,{"id":2418,"pid":231,"name":"盐田区","level":4,"area_code":"440308000000","town_code":"","country_id":1} +,{"id":2419,"pid":231,"name":"龙华区","level":4,"area_code":"440309000000","town_code":"","country_id":1} +,{"id":2420,"pid":231,"name":"坪山区","level":4,"area_code":"440310000000","town_code":"","country_id":1} +,{"id":2421,"pid":231,"name":"光明区","level":4,"area_code":"440311000000","town_code":"","country_id":1} +,{"id":2422,"pid":232,"name":"市辖区","level":4,"area_code":"440401000000","town_code":"","country_id":1} +,{"id":2423,"pid":232,"name":"香洲区","level":4,"area_code":"440402000000","town_code":"","country_id":1} +,{"id":2424,"pid":232,"name":"斗门区","level":4,"area_code":"440403000000","town_code":"","country_id":1} +,{"id":2425,"pid":232,"name":"金湾区","level":4,"area_code":"440404000000","town_code":"","country_id":1} +,{"id":2426,"pid":233,"name":"市辖区","level":4,"area_code":"440501000000","town_code":"","country_id":1} +,{"id":2427,"pid":233,"name":"龙湖区","level":4,"area_code":"440507000000","town_code":"","country_id":1} +,{"id":2428,"pid":233,"name":"金平区","level":4,"area_code":"440511000000","town_code":"","country_id":1} +,{"id":2429,"pid":233,"name":"濠江区","level":4,"area_code":"440512000000","town_code":"","country_id":1} +,{"id":2430,"pid":233,"name":"潮阳区","level":4,"area_code":"440513000000","town_code":"","country_id":1} +,{"id":2431,"pid":233,"name":"潮南区","level":4,"area_code":"440514000000","town_code":"","country_id":1} +,{"id":2432,"pid":233,"name":"澄海区","level":4,"area_code":"440515000000","town_code":"","country_id":1} +,{"id":2433,"pid":233,"name":"南澳县","level":4,"area_code":"440523000000","town_code":"","country_id":1} +,{"id":2434,"pid":234,"name":"市辖区","level":4,"area_code":"440601000000","town_code":"","country_id":1} +,{"id":2435,"pid":234,"name":"禅城区","level":4,"area_code":"440604000000","town_code":"","country_id":1} +,{"id":2436,"pid":234,"name":"南海区","level":4,"area_code":"440605000000","town_code":"","country_id":1} +,{"id":2437,"pid":234,"name":"顺德区","level":4,"area_code":"440606000000","town_code":"","country_id":1} +,{"id":2438,"pid":234,"name":"三水区","level":4,"area_code":"440607000000","town_code":"","country_id":1} +,{"id":2439,"pid":234,"name":"高明区","level":4,"area_code":"440608000000","town_code":"","country_id":1} +,{"id":2440,"pid":235,"name":"市辖区","level":4,"area_code":"440701000000","town_code":"","country_id":1} +,{"id":2441,"pid":235,"name":"蓬江区","level":4,"area_code":"440703000000","town_code":"","country_id":1} +,{"id":2442,"pid":235,"name":"江海区","level":4,"area_code":"440704000000","town_code":"","country_id":1} +,{"id":2443,"pid":235,"name":"新会区","level":4,"area_code":"440705000000","town_code":"","country_id":1} +,{"id":2444,"pid":235,"name":"台山市","level":4,"area_code":"440781000000","town_code":"","country_id":1} +,{"id":2445,"pid":235,"name":"开平市","level":4,"area_code":"440783000000","town_code":"","country_id":1} +,{"id":2446,"pid":235,"name":"鹤山市","level":4,"area_code":"440784000000","town_code":"","country_id":1} +,{"id":2447,"pid":235,"name":"恩平市","level":4,"area_code":"440785000000","town_code":"","country_id":1} +,{"id":2448,"pid":236,"name":"市辖区","level":4,"area_code":"440801000000","town_code":"","country_id":1} +,{"id":2449,"pid":236,"name":"赤坎区","level":4,"area_code":"440802000000","town_code":"","country_id":1} +,{"id":2450,"pid":236,"name":"霞山区","level":4,"area_code":"440803000000","town_code":"","country_id":1} +,{"id":2451,"pid":236,"name":"坡头区","level":4,"area_code":"440804000000","town_code":"","country_id":1} +,{"id":2452,"pid":236,"name":"麻章区","level":4,"area_code":"440811000000","town_code":"","country_id":1} +,{"id":2453,"pid":236,"name":"遂溪县","level":4,"area_code":"440823000000","town_code":"","country_id":1} +,{"id":2454,"pid":236,"name":"徐闻县","level":4,"area_code":"440825000000","town_code":"","country_id":1} +,{"id":2455,"pid":236,"name":"廉江市","level":4,"area_code":"440881000000","town_code":"","country_id":1} +,{"id":2456,"pid":236,"name":"雷州市","level":4,"area_code":"440882000000","town_code":"","country_id":1} +,{"id":2457,"pid":236,"name":"吴川市","level":4,"area_code":"440883000000","town_code":"","country_id":1} +,{"id":2458,"pid":237,"name":"市辖区","level":4,"area_code":"440901000000","town_code":"","country_id":1} +,{"id":2459,"pid":237,"name":"茂南区","level":4,"area_code":"440902000000","town_code":"","country_id":1} +,{"id":2460,"pid":237,"name":"电白区","level":4,"area_code":"440904000000","town_code":"","country_id":1} +,{"id":2461,"pid":237,"name":"高州市","level":4,"area_code":"440981000000","town_code":"","country_id":1} +,{"id":2462,"pid":237,"name":"化州市","level":4,"area_code":"440982000000","town_code":"","country_id":1} +,{"id":2463,"pid":237,"name":"信宜市","level":4,"area_code":"440983000000","town_code":"","country_id":1} +,{"id":2464,"pid":238,"name":"市辖区","level":4,"area_code":"441201000000","town_code":"","country_id":1} +,{"id":2465,"pid":238,"name":"端州区","level":4,"area_code":"441202000000","town_code":"","country_id":1} +,{"id":2466,"pid":238,"name":"鼎湖区","level":4,"area_code":"441203000000","town_code":"","country_id":1} +,{"id":2467,"pid":238,"name":"高要区","level":4,"area_code":"441204000000","town_code":"","country_id":1} +,{"id":2468,"pid":238,"name":"广宁县","level":4,"area_code":"441223000000","town_code":"","country_id":1} +,{"id":2469,"pid":238,"name":"怀集县","level":4,"area_code":"441224000000","town_code":"","country_id":1} +,{"id":2470,"pid":238,"name":"封开县","level":4,"area_code":"441225000000","town_code":"","country_id":1} +,{"id":2471,"pid":238,"name":"德庆县","level":4,"area_code":"441226000000","town_code":"","country_id":1} +,{"id":2472,"pid":238,"name":"四会市","level":4,"area_code":"441284000000","town_code":"","country_id":1} +,{"id":2473,"pid":239,"name":"市辖区","level":4,"area_code":"441301000000","town_code":"","country_id":1} +,{"id":2474,"pid":239,"name":"惠城区","level":4,"area_code":"441302000000","town_code":"","country_id":1} +,{"id":2475,"pid":239,"name":"惠阳区","level":4,"area_code":"441303000000","town_code":"","country_id":1} +,{"id":2476,"pid":239,"name":"博罗县","level":4,"area_code":"441322000000","town_code":"","country_id":1} +,{"id":2477,"pid":239,"name":"惠东县","level":4,"area_code":"441323000000","town_code":"","country_id":1} +,{"id":2478,"pid":239,"name":"龙门县","level":4,"area_code":"441324000000","town_code":"","country_id":1} +,{"id":2479,"pid":240,"name":"市辖区","level":4,"area_code":"441401000000","town_code":"","country_id":1} +,{"id":2480,"pid":240,"name":"梅江区","level":4,"area_code":"441402000000","town_code":"","country_id":1} +,{"id":2481,"pid":240,"name":"梅县区","level":4,"area_code":"441403000000","town_code":"","country_id":1} +,{"id":2482,"pid":240,"name":"大埔县","level":4,"area_code":"441422000000","town_code":"","country_id":1} +,{"id":2483,"pid":240,"name":"丰顺县","level":4,"area_code":"441423000000","town_code":"","country_id":1} +,{"id":2484,"pid":240,"name":"五华县","level":4,"area_code":"441424000000","town_code":"","country_id":1} +,{"id":2485,"pid":240,"name":"平远县","level":4,"area_code":"441426000000","town_code":"","country_id":1} +,{"id":2486,"pid":240,"name":"蕉岭县","level":4,"area_code":"441427000000","town_code":"","country_id":1} +,{"id":2487,"pid":240,"name":"兴宁市","level":4,"area_code":"441481000000","town_code":"","country_id":1} +,{"id":2488,"pid":241,"name":"市辖区","level":4,"area_code":"441501000000","town_code":"","country_id":1} +,{"id":2489,"pid":241,"name":"城区","level":4,"area_code":"441502000000","town_code":"","country_id":1} +,{"id":2490,"pid":241,"name":"海丰县","level":4,"area_code":"441521000000","town_code":"","country_id":1} +,{"id":2491,"pid":241,"name":"陆河县","level":4,"area_code":"441523000000","town_code":"","country_id":1} +,{"id":2492,"pid":241,"name":"陆丰市","level":4,"area_code":"441581000000","town_code":"","country_id":1} +,{"id":2493,"pid":242,"name":"市辖区","level":4,"area_code":"441601000000","town_code":"","country_id":1} +,{"id":2494,"pid":242,"name":"源城区","level":4,"area_code":"441602000000","town_code":"","country_id":1} +,{"id":2495,"pid":242,"name":"紫金县","level":4,"area_code":"441621000000","town_code":"","country_id":1} +,{"id":2496,"pid":242,"name":"龙川县","level":4,"area_code":"441622000000","town_code":"","country_id":1} +,{"id":2497,"pid":242,"name":"连平县","level":4,"area_code":"441623000000","town_code":"","country_id":1} +,{"id":2498,"pid":242,"name":"和平县","level":4,"area_code":"441624000000","town_code":"","country_id":1} +,{"id":2499,"pid":242,"name":"东源县","level":4,"area_code":"441625000000","town_code":"","country_id":1} +,{"id":2500,"pid":243,"name":"市辖区","level":4,"area_code":"441701000000","town_code":"","country_id":1} +,{"id":2501,"pid":243,"name":"江城区","level":4,"area_code":"441702000000","town_code":"","country_id":1} +,{"id":2502,"pid":243,"name":"阳东区","level":4,"area_code":"441704000000","town_code":"","country_id":1} +,{"id":2503,"pid":243,"name":"阳西县","level":4,"area_code":"441721000000","town_code":"","country_id":1} +,{"id":2504,"pid":243,"name":"阳春市","level":4,"area_code":"441781000000","town_code":"","country_id":1} +,{"id":2505,"pid":244,"name":"市辖区","level":4,"area_code":"441801000000","town_code":"","country_id":1} +,{"id":2506,"pid":244,"name":"清城区","level":4,"area_code":"441802000000","town_code":"","country_id":1} +,{"id":2507,"pid":244,"name":"清新区","level":4,"area_code":"441803000000","town_code":"","country_id":1} +,{"id":2508,"pid":244,"name":"佛冈县","level":4,"area_code":"441821000000","town_code":"","country_id":1} +,{"id":2509,"pid":244,"name":"阳山县","level":4,"area_code":"441823000000","town_code":"","country_id":1} +,{"id":2510,"pid":244,"name":"连山壮族瑶族自治县","level":4,"area_code":"441825000000","town_code":"","country_id":1} +,{"id":2511,"pid":244,"name":"连南瑶族自治县","level":4,"area_code":"441826000000","town_code":"","country_id":1} +,{"id":2512,"pid":244,"name":"英德市","level":4,"area_code":"441881000000","town_code":"","country_id":1} +,{"id":2513,"pid":244,"name":"连州市","level":4,"area_code":"441882000000","town_code":"","country_id":1} +,{"id":2514,"pid":247,"name":"市辖区","level":4,"area_code":"445101000000","town_code":"","country_id":1} +,{"id":2515,"pid":247,"name":"湘桥区","level":4,"area_code":"445102000000","town_code":"","country_id":1} +,{"id":2516,"pid":247,"name":"潮安区","level":4,"area_code":"445103000000","town_code":"","country_id":1} +,{"id":2517,"pid":247,"name":"饶平县","level":4,"area_code":"445122000000","town_code":"","country_id":1} +,{"id":2518,"pid":248,"name":"市辖区","level":4,"area_code":"445201000000","town_code":"","country_id":1} +,{"id":2519,"pid":248,"name":"榕城区","level":4,"area_code":"445202000000","town_code":"","country_id":1} +,{"id":2520,"pid":248,"name":"揭东区","level":4,"area_code":"445203000000","town_code":"","country_id":1} +,{"id":2521,"pid":248,"name":"揭西县","level":4,"area_code":"445222000000","town_code":"","country_id":1} +,{"id":2522,"pid":248,"name":"惠来县","level":4,"area_code":"445224000000","town_code":"","country_id":1} +,{"id":2523,"pid":248,"name":"普宁市","level":4,"area_code":"445281000000","town_code":"","country_id":1} +,{"id":2524,"pid":249,"name":"市辖区","level":4,"area_code":"445301000000","town_code":"","country_id":1} +,{"id":2525,"pid":249,"name":"云城区","level":4,"area_code":"445302000000","town_code":"","country_id":1} +,{"id":2526,"pid":249,"name":"云安区","level":4,"area_code":"445303000000","town_code":"","country_id":1} +,{"id":2527,"pid":249,"name":"新兴县","level":4,"area_code":"445321000000","town_code":"","country_id":1} +,{"id":2528,"pid":249,"name":"郁南县","level":4,"area_code":"445322000000","town_code":"","country_id":1} +,{"id":2529,"pid":249,"name":"罗定市","level":4,"area_code":"445381000000","town_code":"","country_id":1} +,{"id":2530,"pid":250,"name":"市辖区","level":4,"area_code":"450101000000","town_code":"","country_id":1} +,{"id":2531,"pid":250,"name":"兴宁区","level":4,"area_code":"450102000000","town_code":"","country_id":1} +,{"id":2532,"pid":250,"name":"青秀区","level":4,"area_code":"450103000000","town_code":"","country_id":1} +,{"id":2533,"pid":250,"name":"江南区","level":4,"area_code":"450105000000","town_code":"","country_id":1} +,{"id":2534,"pid":250,"name":"西乡塘区","level":4,"area_code":"450107000000","town_code":"","country_id":1} +,{"id":2535,"pid":250,"name":"良庆区","level":4,"area_code":"450108000000","town_code":"","country_id":1} +,{"id":2536,"pid":250,"name":"邕宁区","level":4,"area_code":"450109000000","town_code":"","country_id":1} +,{"id":2537,"pid":250,"name":"武鸣区","level":4,"area_code":"450110000000","town_code":"","country_id":1} +,{"id":2538,"pid":250,"name":"隆安县","level":4,"area_code":"450123000000","town_code":"","country_id":1} +,{"id":2539,"pid":250,"name":"马山县","level":4,"area_code":"450124000000","town_code":"","country_id":1} +,{"id":2540,"pid":250,"name":"上林县","level":4,"area_code":"450125000000","town_code":"","country_id":1} +,{"id":2541,"pid":250,"name":"宾阳县","level":4,"area_code":"450126000000","town_code":"","country_id":1} +,{"id":2542,"pid":250,"name":"横州市","level":4,"area_code":"450181000000","town_code":"","country_id":1} +,{"id":2543,"pid":251,"name":"市辖区","level":4,"area_code":"450201000000","town_code":"","country_id":1} +,{"id":2544,"pid":251,"name":"城中区","level":4,"area_code":"450202000000","town_code":"","country_id":1} +,{"id":2545,"pid":251,"name":"鱼峰区","level":4,"area_code":"450203000000","town_code":"","country_id":1} +,{"id":2546,"pid":251,"name":"柳南区","level":4,"area_code":"450204000000","town_code":"","country_id":1} +,{"id":2547,"pid":251,"name":"柳北区","level":4,"area_code":"450205000000","town_code":"","country_id":1} +,{"id":2548,"pid":251,"name":"柳江区","level":4,"area_code":"450206000000","town_code":"","country_id":1} +,{"id":2549,"pid":251,"name":"柳城县","level":4,"area_code":"450222000000","town_code":"","country_id":1} +,{"id":2550,"pid":251,"name":"鹿寨县","level":4,"area_code":"450223000000","town_code":"","country_id":1} +,{"id":2551,"pid":251,"name":"融安县","level":4,"area_code":"450224000000","town_code":"","country_id":1} +,{"id":2552,"pid":251,"name":"融水苗族自治县","level":4,"area_code":"450225000000","town_code":"","country_id":1} +,{"id":2553,"pid":251,"name":"三江侗族自治县","level":4,"area_code":"450226000000","town_code":"","country_id":1} +,{"id":2554,"pid":252,"name":"市辖区","level":4,"area_code":"450301000000","town_code":"","country_id":1} +,{"id":2555,"pid":252,"name":"秀峰区","level":4,"area_code":"450302000000","town_code":"","country_id":1} +,{"id":2556,"pid":252,"name":"叠彩区","level":4,"area_code":"450303000000","town_code":"","country_id":1} +,{"id":2557,"pid":252,"name":"象山区","level":4,"area_code":"450304000000","town_code":"","country_id":1} +,{"id":2558,"pid":252,"name":"七星区","level":4,"area_code":"450305000000","town_code":"","country_id":1} +,{"id":2559,"pid":252,"name":"雁山区","level":4,"area_code":"450311000000","town_code":"","country_id":1} +,{"id":2560,"pid":252,"name":"临桂区","level":4,"area_code":"450312000000","town_code":"","country_id":1} +,{"id":2561,"pid":252,"name":"阳朔县","level":4,"area_code":"450321000000","town_code":"","country_id":1} +,{"id":2562,"pid":252,"name":"灵川县","level":4,"area_code":"450323000000","town_code":"","country_id":1} +,{"id":2563,"pid":252,"name":"全州县","level":4,"area_code":"450324000000","town_code":"","country_id":1} +,{"id":2564,"pid":252,"name":"兴安县","level":4,"area_code":"450325000000","town_code":"","country_id":1} +,{"id":2565,"pid":252,"name":"永福县","level":4,"area_code":"450326000000","town_code":"","country_id":1} +,{"id":2566,"pid":252,"name":"灌阳县","level":4,"area_code":"450327000000","town_code":"","country_id":1} +,{"id":2567,"pid":252,"name":"龙胜各族自治县","level":4,"area_code":"450328000000","town_code":"","country_id":1} +,{"id":2568,"pid":252,"name":"资源县","level":4,"area_code":"450329000000","town_code":"","country_id":1} +,{"id":2569,"pid":252,"name":"平乐县","level":4,"area_code":"450330000000","town_code":"","country_id":1} +,{"id":2570,"pid":252,"name":"恭城瑶族自治县","level":4,"area_code":"450332000000","town_code":"","country_id":1} +,{"id":2571,"pid":252,"name":"荔浦市","level":4,"area_code":"450381000000","town_code":"","country_id":1} +,{"id":2572,"pid":253,"name":"市辖区","level":4,"area_code":"450401000000","town_code":"","country_id":1} +,{"id":2573,"pid":253,"name":"万秀区","level":4,"area_code":"450403000000","town_code":"","country_id":1} +,{"id":2574,"pid":253,"name":"长洲区","level":4,"area_code":"450405000000","town_code":"","country_id":1} +,{"id":2575,"pid":253,"name":"龙圩区","level":4,"area_code":"450406000000","town_code":"","country_id":1} +,{"id":2576,"pid":253,"name":"苍梧县","level":4,"area_code":"450421000000","town_code":"","country_id":1} +,{"id":2577,"pid":253,"name":"藤县","level":4,"area_code":"450422000000","town_code":"","country_id":1} +,{"id":2578,"pid":253,"name":"蒙山县","level":4,"area_code":"450423000000","town_code":"","country_id":1} +,{"id":2579,"pid":253,"name":"岑溪市","level":4,"area_code":"450481000000","town_code":"","country_id":1} +,{"id":2580,"pid":254,"name":"市辖区","level":4,"area_code":"450501000000","town_code":"","country_id":1} +,{"id":2581,"pid":254,"name":"海城区","level":4,"area_code":"450502000000","town_code":"","country_id":1} +,{"id":2582,"pid":254,"name":"银海区","level":4,"area_code":"450503000000","town_code":"","country_id":1} +,{"id":2583,"pid":254,"name":"铁山港区","level":4,"area_code":"450512000000","town_code":"","country_id":1} +,{"id":2584,"pid":254,"name":"合浦县","level":4,"area_code":"450521000000","town_code":"","country_id":1} +,{"id":2585,"pid":255,"name":"市辖区","level":4,"area_code":"450601000000","town_code":"","country_id":1} +,{"id":2586,"pid":255,"name":"港口区","level":4,"area_code":"450602000000","town_code":"","country_id":1} +,{"id":2587,"pid":255,"name":"防城区","level":4,"area_code":"450603000000","town_code":"","country_id":1} +,{"id":2588,"pid":255,"name":"上思县","level":4,"area_code":"450621000000","town_code":"","country_id":1} +,{"id":2589,"pid":255,"name":"东兴市","level":4,"area_code":"450681000000","town_code":"","country_id":1} +,{"id":2590,"pid":256,"name":"市辖区","level":4,"area_code":"450701000000","town_code":"","country_id":1} +,{"id":2591,"pid":256,"name":"钦南区","level":4,"area_code":"450702000000","town_code":"","country_id":1} +,{"id":2592,"pid":256,"name":"钦北区","level":4,"area_code":"450703000000","town_code":"","country_id":1} +,{"id":2593,"pid":256,"name":"灵山县","level":4,"area_code":"450721000000","town_code":"","country_id":1} +,{"id":2594,"pid":256,"name":"浦北县","level":4,"area_code":"450722000000","town_code":"","country_id":1} +,{"id":2595,"pid":257,"name":"市辖区","level":4,"area_code":"450801000000","town_code":"","country_id":1} +,{"id":2596,"pid":257,"name":"港北区","level":4,"area_code":"450802000000","town_code":"","country_id":1} +,{"id":2597,"pid":257,"name":"港南区","level":4,"area_code":"450803000000","town_code":"","country_id":1} +,{"id":2598,"pid":257,"name":"覃塘区","level":4,"area_code":"450804000000","town_code":"","country_id":1} +,{"id":2599,"pid":257,"name":"平南县","level":4,"area_code":"450821000000","town_code":"","country_id":1} +,{"id":2600,"pid":257,"name":"桂平市","level":4,"area_code":"450881000000","town_code":"","country_id":1} +,{"id":2601,"pid":258,"name":"市辖区","level":4,"area_code":"450901000000","town_code":"","country_id":1} +,{"id":2602,"pid":258,"name":"玉州区","level":4,"area_code":"450902000000","town_code":"","country_id":1} +,{"id":2603,"pid":258,"name":"福绵区","level":4,"area_code":"450903000000","town_code":"","country_id":1} +,{"id":2604,"pid":258,"name":"容县","level":4,"area_code":"450921000000","town_code":"","country_id":1} +,{"id":2605,"pid":258,"name":"陆川县","level":4,"area_code":"450922000000","town_code":"","country_id":1} +,{"id":2606,"pid":258,"name":"博白县","level":4,"area_code":"450923000000","town_code":"","country_id":1} +,{"id":2607,"pid":258,"name":"兴业县","level":4,"area_code":"450924000000","town_code":"","country_id":1} +,{"id":2608,"pid":258,"name":"北流市","level":4,"area_code":"450981000000","town_code":"","country_id":1} +,{"id":2609,"pid":259,"name":"市辖区","level":4,"area_code":"451001000000","town_code":"","country_id":1} +,{"id":2610,"pid":259,"name":"右江区","level":4,"area_code":"451002000000","town_code":"","country_id":1} +,{"id":2611,"pid":259,"name":"田阳区","level":4,"area_code":"451003000000","town_code":"","country_id":1} +,{"id":2612,"pid":259,"name":"田东县","level":4,"area_code":"451022000000","town_code":"","country_id":1} +,{"id":2613,"pid":259,"name":"德保县","level":4,"area_code":"451024000000","town_code":"","country_id":1} +,{"id":2614,"pid":259,"name":"那坡县","level":4,"area_code":"451026000000","town_code":"","country_id":1} +,{"id":2615,"pid":259,"name":"凌云县","level":4,"area_code":"451027000000","town_code":"","country_id":1} +,{"id":2616,"pid":259,"name":"乐业县","level":4,"area_code":"451028000000","town_code":"","country_id":1} +,{"id":2617,"pid":259,"name":"田林县","level":4,"area_code":"451029000000","town_code":"","country_id":1} +,{"id":2618,"pid":259,"name":"西林县","level":4,"area_code":"451030000000","town_code":"","country_id":1} +,{"id":2619,"pid":259,"name":"隆林各族自治县","level":4,"area_code":"451031000000","town_code":"","country_id":1} +,{"id":2620,"pid":259,"name":"靖西市","level":4,"area_code":"451081000000","town_code":"","country_id":1} +,{"id":2621,"pid":259,"name":"平果市","level":4,"area_code":"451082000000","town_code":"","country_id":1} +,{"id":2622,"pid":260,"name":"市辖区","level":4,"area_code":"451101000000","town_code":"","country_id":1} +,{"id":2623,"pid":260,"name":"八步区","level":4,"area_code":"451102000000","town_code":"","country_id":1} +,{"id":2624,"pid":260,"name":"平桂区","level":4,"area_code":"451103000000","town_code":"","country_id":1} +,{"id":2625,"pid":260,"name":"昭平县","level":4,"area_code":"451121000000","town_code":"","country_id":1} +,{"id":2626,"pid":260,"name":"钟山县","level":4,"area_code":"451122000000","town_code":"","country_id":1} +,{"id":2627,"pid":260,"name":"富川瑶族自治县","level":4,"area_code":"451123000000","town_code":"","country_id":1} +,{"id":2628,"pid":261,"name":"市辖区","level":4,"area_code":"451201000000","town_code":"","country_id":1} +,{"id":2629,"pid":261,"name":"金城江区","level":4,"area_code":"451202000000","town_code":"","country_id":1} +,{"id":2630,"pid":261,"name":"宜州区","level":4,"area_code":"451203000000","town_code":"","country_id":1} +,{"id":2631,"pid":261,"name":"南丹县","level":4,"area_code":"451221000000","town_code":"","country_id":1} +,{"id":2632,"pid":261,"name":"天峨县","level":4,"area_code":"451222000000","town_code":"","country_id":1} +,{"id":2633,"pid":261,"name":"凤山县","level":4,"area_code":"451223000000","town_code":"","country_id":1} +,{"id":2634,"pid":261,"name":"东兰县","level":4,"area_code":"451224000000","town_code":"","country_id":1} +,{"id":2635,"pid":261,"name":"罗城仫佬族自治县","level":4,"area_code":"451225000000","town_code":"","country_id":1} +,{"id":2636,"pid":261,"name":"环江毛南族自治县","level":4,"area_code":"451226000000","town_code":"","country_id":1} +,{"id":2637,"pid":261,"name":"巴马瑶族自治县","level":4,"area_code":"451227000000","town_code":"","country_id":1} +,{"id":2638,"pid":261,"name":"都安瑶族自治县","level":4,"area_code":"451228000000","town_code":"","country_id":1} +,{"id":2639,"pid":261,"name":"大化瑶族自治县","level":4,"area_code":"451229000000","town_code":"","country_id":1} +,{"id":2640,"pid":262,"name":"市辖区","level":4,"area_code":"451301000000","town_code":"","country_id":1} +,{"id":2641,"pid":262,"name":"兴宾区","level":4,"area_code":"451302000000","town_code":"","country_id":1} +,{"id":2642,"pid":262,"name":"忻城县","level":4,"area_code":"451321000000","town_code":"","country_id":1} +,{"id":2643,"pid":262,"name":"象州县","level":4,"area_code":"451322000000","town_code":"","country_id":1} +,{"id":2644,"pid":262,"name":"武宣县","level":4,"area_code":"451323000000","town_code":"","country_id":1} +,{"id":2645,"pid":262,"name":"金秀瑶族自治县","level":4,"area_code":"451324000000","town_code":"","country_id":1} +,{"id":2646,"pid":262,"name":"合山市","level":4,"area_code":"451381000000","town_code":"","country_id":1} +,{"id":2647,"pid":263,"name":"市辖区","level":4,"area_code":"451401000000","town_code":"","country_id":1} +,{"id":2648,"pid":263,"name":"江州区","level":4,"area_code":"451402000000","town_code":"","country_id":1} +,{"id":2649,"pid":263,"name":"扶绥县","level":4,"area_code":"451421000000","town_code":"","country_id":1} +,{"id":2650,"pid":263,"name":"宁明县","level":4,"area_code":"451422000000","town_code":"","country_id":1} +,{"id":2651,"pid":263,"name":"龙州县","level":4,"area_code":"451423000000","town_code":"","country_id":1} +,{"id":2652,"pid":263,"name":"大新县","level":4,"area_code":"451424000000","town_code":"","country_id":1} +,{"id":2653,"pid":263,"name":"天等县","level":4,"area_code":"451425000000","town_code":"","country_id":1} +,{"id":2654,"pid":263,"name":"凭祥市","level":4,"area_code":"451481000000","town_code":"","country_id":1} +,{"id":2655,"pid":264,"name":"市辖区","level":4,"area_code":"460101000000","town_code":"","country_id":1} +,{"id":2656,"pid":264,"name":"秀英区","level":4,"area_code":"460105000000","town_code":"","country_id":1} +,{"id":2657,"pid":264,"name":"龙华区","level":4,"area_code":"460106000000","town_code":"","country_id":1} +,{"id":2658,"pid":264,"name":"琼山区","level":4,"area_code":"460107000000","town_code":"","country_id":1} +,{"id":2659,"pid":264,"name":"美兰区","level":4,"area_code":"460108000000","town_code":"","country_id":1} +,{"id":2660,"pid":265,"name":"市辖区","level":4,"area_code":"460201000000","town_code":"","country_id":1} +,{"id":2661,"pid":265,"name":"海棠区","level":4,"area_code":"460202000000","town_code":"","country_id":1} +,{"id":2662,"pid":265,"name":"吉阳区","level":4,"area_code":"460203000000","town_code":"","country_id":1} +,{"id":2663,"pid":265,"name":"天涯区","level":4,"area_code":"460204000000","town_code":"","country_id":1} +,{"id":2664,"pid":265,"name":"崖州区","level":4,"area_code":"460205000000","town_code":"","country_id":1} +,{"id":2665,"pid":266,"name":"西沙群岛","level":4,"area_code":"460321000000","town_code":"","country_id":1} +,{"id":2666,"pid":266,"name":"南沙群岛","level":4,"area_code":"460322000000","town_code":"","country_id":1} +,{"id":2667,"pid":266,"name":"中沙群岛的岛礁及其海域","level":4,"area_code":"460323000000","town_code":"","country_id":1} +,{"id":2668,"pid":268,"name":"五指山市","level":4,"area_code":"469001000000","town_code":"","country_id":1} +,{"id":2669,"pid":268,"name":"琼海市","level":4,"area_code":"469002000000","town_code":"","country_id":1} +,{"id":2670,"pid":268,"name":"文昌市","level":4,"area_code":"469005000000","town_code":"","country_id":1} +,{"id":2671,"pid":268,"name":"万宁市","level":4,"area_code":"469006000000","town_code":"","country_id":1} +,{"id":2672,"pid":268,"name":"东方市","level":4,"area_code":"469007000000","town_code":"","country_id":1} +,{"id":2673,"pid":268,"name":"定安县","level":4,"area_code":"469021000000","town_code":"","country_id":1} +,{"id":2674,"pid":268,"name":"屯昌县","level":4,"area_code":"469022000000","town_code":"","country_id":1} +,{"id":2675,"pid":268,"name":"澄迈县","level":4,"area_code":"469023000000","town_code":"","country_id":1} +,{"id":2676,"pid":268,"name":"临高县","level":4,"area_code":"469024000000","town_code":"","country_id":1} +,{"id":2677,"pid":268,"name":"白沙黎族自治县","level":4,"area_code":"469025000000","town_code":"","country_id":1} +,{"id":2678,"pid":268,"name":"昌江黎族自治县","level":4,"area_code":"469026000000","town_code":"","country_id":1} +,{"id":2679,"pid":268,"name":"乐东黎族自治县","level":4,"area_code":"469027000000","town_code":"","country_id":1} +,{"id":2680,"pid":268,"name":"陵水黎族自治县","level":4,"area_code":"469028000000","town_code":"","country_id":1} +,{"id":2681,"pid":268,"name":"保亭黎族苗族自治县","level":4,"area_code":"469029000000","town_code":"","country_id":1} +,{"id":2682,"pid":268,"name":"琼中黎族苗族自治县","level":4,"area_code":"469030000000","town_code":"","country_id":1} +,{"id":2683,"pid":269,"name":"万州区","level":4,"area_code":"500101000000","town_code":"","country_id":1} +,{"id":2684,"pid":269,"name":"涪陵区","level":4,"area_code":"500102000000","town_code":"","country_id":1} +,{"id":2685,"pid":269,"name":"渝中区","level":4,"area_code":"500103000000","town_code":"","country_id":1} +,{"id":2686,"pid":269,"name":"大渡口区","level":4,"area_code":"500104000000","town_code":"","country_id":1} +,{"id":2687,"pid":269,"name":"江北区","level":4,"area_code":"500105000000","town_code":"","country_id":1} +,{"id":2688,"pid":269,"name":"沙坪坝区","level":4,"area_code":"500106000000","town_code":"","country_id":1} +,{"id":2689,"pid":269,"name":"九龙坡区","level":4,"area_code":"500107000000","town_code":"","country_id":1} +,{"id":2690,"pid":269,"name":"南岸区","level":4,"area_code":"500108000000","town_code":"","country_id":1} +,{"id":2691,"pid":269,"name":"北碚区","level":4,"area_code":"500109000000","town_code":"","country_id":1} +,{"id":2692,"pid":269,"name":"綦江区","level":4,"area_code":"500110000000","town_code":"","country_id":1} +,{"id":2693,"pid":269,"name":"大足区","level":4,"area_code":"500111000000","town_code":"","country_id":1} +,{"id":2694,"pid":269,"name":"渝北区","level":4,"area_code":"500112000000","town_code":"","country_id":1} +,{"id":2695,"pid":269,"name":"巴南区","level":4,"area_code":"500113000000","town_code":"","country_id":1} +,{"id":2696,"pid":269,"name":"黔江区","level":4,"area_code":"500114000000","town_code":"","country_id":1} +,{"id":2697,"pid":269,"name":"长寿区","level":4,"area_code":"500115000000","town_code":"","country_id":1} +,{"id":2698,"pid":269,"name":"江津区","level":4,"area_code":"500116000000","town_code":"","country_id":1} +,{"id":2699,"pid":269,"name":"合川区","level":4,"area_code":"500117000000","town_code":"","country_id":1} +,{"id":2700,"pid":269,"name":"永川区","level":4,"area_code":"500118000000","town_code":"","country_id":1} +,{"id":2701,"pid":269,"name":"南川区","level":4,"area_code":"500119000000","town_code":"","country_id":1} +,{"id":2702,"pid":269,"name":"璧山区","level":4,"area_code":"500120000000","town_code":"","country_id":1} +,{"id":2703,"pid":269,"name":"铜梁区","level":4,"area_code":"500151000000","town_code":"","country_id":1} +,{"id":2704,"pid":269,"name":"潼南区","level":4,"area_code":"500152000000","town_code":"","country_id":1} +,{"id":2705,"pid":269,"name":"荣昌区","level":4,"area_code":"500153000000","town_code":"","country_id":1} +,{"id":2706,"pid":269,"name":"开州区","level":4,"area_code":"500154000000","town_code":"","country_id":1} +,{"id":2707,"pid":269,"name":"梁平区","level":4,"area_code":"500155000000","town_code":"","country_id":1} +,{"id":2708,"pid":269,"name":"武隆区","level":4,"area_code":"500156000000","town_code":"","country_id":1} +,{"id":2709,"pid":270,"name":"城口县","level":4,"area_code":"500229000000","town_code":"","country_id":1} +,{"id":2710,"pid":270,"name":"丰都县","level":4,"area_code":"500230000000","town_code":"","country_id":1} +,{"id":2711,"pid":270,"name":"垫江县","level":4,"area_code":"500231000000","town_code":"","country_id":1} +,{"id":2712,"pid":270,"name":"忠县","level":4,"area_code":"500233000000","town_code":"","country_id":1} +,{"id":2713,"pid":270,"name":"云阳县","level":4,"area_code":"500235000000","town_code":"","country_id":1} +,{"id":2714,"pid":270,"name":"奉节县","level":4,"area_code":"500236000000","town_code":"","country_id":1} +,{"id":2715,"pid":270,"name":"巫山县","level":4,"area_code":"500237000000","town_code":"","country_id":1} +,{"id":2716,"pid":270,"name":"巫溪县","level":4,"area_code":"500238000000","town_code":"","country_id":1} +,{"id":2717,"pid":270,"name":"石柱土家族自治县","level":4,"area_code":"500240000000","town_code":"","country_id":1} +,{"id":2718,"pid":270,"name":"秀山土家族苗族自治县","level":4,"area_code":"500241000000","town_code":"","country_id":1} +,{"id":2719,"pid":270,"name":"酉阳土家族苗族自治县","level":4,"area_code":"500242000000","town_code":"","country_id":1} +,{"id":2720,"pid":270,"name":"彭水苗族土家族自治县","level":4,"area_code":"500243000000","town_code":"","country_id":1} +,{"id":2721,"pid":271,"name":"市辖区","level":4,"area_code":"510101000000","town_code":"","country_id":1} +,{"id":2722,"pid":271,"name":"锦江区","level":4,"area_code":"510104000000","town_code":"","country_id":1} +,{"id":2723,"pid":271,"name":"青羊区","level":4,"area_code":"510105000000","town_code":"","country_id":1} +,{"id":2724,"pid":271,"name":"金牛区","level":4,"area_code":"510106000000","town_code":"","country_id":1} +,{"id":2725,"pid":271,"name":"武侯区","level":4,"area_code":"510107000000","town_code":"","country_id":1} +,{"id":2726,"pid":271,"name":"成华区","level":4,"area_code":"510108000000","town_code":"","country_id":1} +,{"id":2727,"pid":271,"name":"龙泉驿区","level":4,"area_code":"510112000000","town_code":"","country_id":1} +,{"id":2728,"pid":271,"name":"青白江区","level":4,"area_code":"510113000000","town_code":"","country_id":1} +,{"id":2729,"pid":271,"name":"新都区","level":4,"area_code":"510114000000","town_code":"","country_id":1} +,{"id":2730,"pid":271,"name":"温江区","level":4,"area_code":"510115000000","town_code":"","country_id":1} +,{"id":2731,"pid":271,"name":"双流区","level":4,"area_code":"510116000000","town_code":"","country_id":1} +,{"id":2732,"pid":271,"name":"郫都区","level":4,"area_code":"510117000000","town_code":"","country_id":1} +,{"id":2733,"pid":271,"name":"新津区","level":4,"area_code":"510118000000","town_code":"","country_id":1} +,{"id":2734,"pid":271,"name":"金堂县","level":4,"area_code":"510121000000","town_code":"","country_id":1} +,{"id":2735,"pid":271,"name":"大邑县","level":4,"area_code":"510129000000","town_code":"","country_id":1} +,{"id":2736,"pid":271,"name":"蒲江县","level":4,"area_code":"510131000000","town_code":"","country_id":1} +,{"id":2737,"pid":271,"name":"都江堰市","level":4,"area_code":"510181000000","town_code":"","country_id":1} +,{"id":2738,"pid":271,"name":"彭州市","level":4,"area_code":"510182000000","town_code":"","country_id":1} +,{"id":2739,"pid":271,"name":"邛崃市","level":4,"area_code":"510183000000","town_code":"","country_id":1} +,{"id":2740,"pid":271,"name":"崇州市","level":4,"area_code":"510184000000","town_code":"","country_id":1} +,{"id":2741,"pid":271,"name":"简阳市","level":4,"area_code":"510185000000","town_code":"","country_id":1} +,{"id":2742,"pid":272,"name":"市辖区","level":4,"area_code":"510301000000","town_code":"","country_id":1} +,{"id":2743,"pid":272,"name":"自流井区","level":4,"area_code":"510302000000","town_code":"","country_id":1} +,{"id":2744,"pid":272,"name":"贡井区","level":4,"area_code":"510303000000","town_code":"","country_id":1} +,{"id":2745,"pid":272,"name":"大安区","level":4,"area_code":"510304000000","town_code":"","country_id":1} +,{"id":2746,"pid":272,"name":"沿滩区","level":4,"area_code":"510311000000","town_code":"","country_id":1} +,{"id":2747,"pid":272,"name":"荣县","level":4,"area_code":"510321000000","town_code":"","country_id":1} +,{"id":2748,"pid":272,"name":"富顺县","level":4,"area_code":"510322000000","town_code":"","country_id":1} +,{"id":2749,"pid":273,"name":"市辖区","level":4,"area_code":"510401000000","town_code":"","country_id":1} +,{"id":2750,"pid":273,"name":"东区","level":4,"area_code":"510402000000","town_code":"","country_id":1} +,{"id":2751,"pid":273,"name":"西区","level":4,"area_code":"510403000000","town_code":"","country_id":1} +,{"id":2752,"pid":273,"name":"仁和区","level":4,"area_code":"510411000000","town_code":"","country_id":1} +,{"id":2753,"pid":273,"name":"米易县","level":4,"area_code":"510421000000","town_code":"","country_id":1} +,{"id":2754,"pid":273,"name":"盐边县","level":4,"area_code":"510422000000","town_code":"","country_id":1} +,{"id":2755,"pid":274,"name":"市辖区","level":4,"area_code":"510501000000","town_code":"","country_id":1} +,{"id":2756,"pid":274,"name":"江阳区","level":4,"area_code":"510502000000","town_code":"","country_id":1} +,{"id":2757,"pid":274,"name":"纳溪区","level":4,"area_code":"510503000000","town_code":"","country_id":1} +,{"id":2758,"pid":274,"name":"龙马潭区","level":4,"area_code":"510504000000","town_code":"","country_id":1} +,{"id":2759,"pid":274,"name":"泸县","level":4,"area_code":"510521000000","town_code":"","country_id":1} +,{"id":2760,"pid":274,"name":"合江县","level":4,"area_code":"510522000000","town_code":"","country_id":1} +,{"id":2761,"pid":274,"name":"叙永县","level":4,"area_code":"510524000000","town_code":"","country_id":1} +,{"id":2762,"pid":274,"name":"古蔺县","level":4,"area_code":"510525000000","town_code":"","country_id":1} +,{"id":2763,"pid":275,"name":"市辖区","level":4,"area_code":"510601000000","town_code":"","country_id":1} +,{"id":2764,"pid":275,"name":"旌阳区","level":4,"area_code":"510603000000","town_code":"","country_id":1} +,{"id":2765,"pid":275,"name":"罗江区","level":4,"area_code":"510604000000","town_code":"","country_id":1} +,{"id":2766,"pid":275,"name":"中江县","level":4,"area_code":"510623000000","town_code":"","country_id":1} +,{"id":2767,"pid":275,"name":"广汉市","level":4,"area_code":"510681000000","town_code":"","country_id":1} +,{"id":2768,"pid":275,"name":"什邡市","level":4,"area_code":"510682000000","town_code":"","country_id":1} +,{"id":2769,"pid":275,"name":"绵竹市","level":4,"area_code":"510683000000","town_code":"","country_id":1} +,{"id":2770,"pid":276,"name":"市辖区","level":4,"area_code":"510701000000","town_code":"","country_id":1} +,{"id":2771,"pid":276,"name":"涪城区","level":4,"area_code":"510703000000","town_code":"","country_id":1} +,{"id":2772,"pid":276,"name":"游仙区","level":4,"area_code":"510704000000","town_code":"","country_id":1} +,{"id":2773,"pid":276,"name":"安州区","level":4,"area_code":"510705000000","town_code":"","country_id":1} +,{"id":2774,"pid":276,"name":"三台县","level":4,"area_code":"510722000000","town_code":"","country_id":1} +,{"id":2775,"pid":276,"name":"盐亭县","level":4,"area_code":"510723000000","town_code":"","country_id":1} +,{"id":2776,"pid":276,"name":"梓潼县","level":4,"area_code":"510725000000","town_code":"","country_id":1} +,{"id":2777,"pid":276,"name":"北川羌族自治县","level":4,"area_code":"510726000000","town_code":"","country_id":1} +,{"id":2778,"pid":276,"name":"平武县","level":4,"area_code":"510727000000","town_code":"","country_id":1} +,{"id":2779,"pid":276,"name":"江油市","level":4,"area_code":"510781000000","town_code":"","country_id":1} +,{"id":2780,"pid":277,"name":"市辖区","level":4,"area_code":"510801000000","town_code":"","country_id":1} +,{"id":2781,"pid":277,"name":"利州区","level":4,"area_code":"510802000000","town_code":"","country_id":1} +,{"id":2782,"pid":277,"name":"昭化区","level":4,"area_code":"510811000000","town_code":"","country_id":1} +,{"id":2783,"pid":277,"name":"朝天区","level":4,"area_code":"510812000000","town_code":"","country_id":1} +,{"id":2784,"pid":277,"name":"旺苍县","level":4,"area_code":"510821000000","town_code":"","country_id":1} +,{"id":2785,"pid":277,"name":"青川县","level":4,"area_code":"510822000000","town_code":"","country_id":1} +,{"id":2786,"pid":277,"name":"剑阁县","level":4,"area_code":"510823000000","town_code":"","country_id":1} +,{"id":2787,"pid":277,"name":"苍溪县","level":4,"area_code":"510824000000","town_code":"","country_id":1} +,{"id":2788,"pid":278,"name":"市辖区","level":4,"area_code":"510901000000","town_code":"","country_id":1} +,{"id":2789,"pid":278,"name":"船山区","level":4,"area_code":"510903000000","town_code":"","country_id":1} +,{"id":2790,"pid":278,"name":"安居区","level":4,"area_code":"510904000000","town_code":"","country_id":1} +,{"id":2791,"pid":278,"name":"蓬溪县","level":4,"area_code":"510921000000","town_code":"","country_id":1} +,{"id":2792,"pid":278,"name":"大英县","level":4,"area_code":"510923000000","town_code":"","country_id":1} +,{"id":2793,"pid":278,"name":"射洪市","level":4,"area_code":"510981000000","town_code":"","country_id":1} +,{"id":2794,"pid":279,"name":"市辖区","level":4,"area_code":"511001000000","town_code":"","country_id":1} +,{"id":2795,"pid":279,"name":"市中区","level":4,"area_code":"511002000000","town_code":"","country_id":1} +,{"id":2796,"pid":279,"name":"东兴区","level":4,"area_code":"511011000000","town_code":"","country_id":1} +,{"id":2797,"pid":279,"name":"威远县","level":4,"area_code":"511024000000","town_code":"","country_id":1} +,{"id":2798,"pid":279,"name":"资中县","level":4,"area_code":"511025000000","town_code":"","country_id":1} +,{"id":2799,"pid":279,"name":"隆昌市","level":4,"area_code":"511083000000","town_code":"","country_id":1} +,{"id":2800,"pid":280,"name":"市辖区","level":4,"area_code":"511101000000","town_code":"","country_id":1} +,{"id":2801,"pid":280,"name":"市中区","level":4,"area_code":"511102000000","town_code":"","country_id":1} +,{"id":2802,"pid":280,"name":"沙湾区","level":4,"area_code":"511111000000","town_code":"","country_id":1} +,{"id":2803,"pid":280,"name":"五通桥区","level":4,"area_code":"511112000000","town_code":"","country_id":1} +,{"id":2804,"pid":280,"name":"金口河区","level":4,"area_code":"511113000000","town_code":"","country_id":1} +,{"id":2805,"pid":280,"name":"犍为县","level":4,"area_code":"511123000000","town_code":"","country_id":1} +,{"id":2806,"pid":280,"name":"井研县","level":4,"area_code":"511124000000","town_code":"","country_id":1} +,{"id":2807,"pid":280,"name":"夹江县","level":4,"area_code":"511126000000","town_code":"","country_id":1} +,{"id":2808,"pid":280,"name":"沐川县","level":4,"area_code":"511129000000","town_code":"","country_id":1} +,{"id":2809,"pid":280,"name":"峨边彝族自治县","level":4,"area_code":"511132000000","town_code":"","country_id":1} +,{"id":2810,"pid":280,"name":"马边彝族自治县","level":4,"area_code":"511133000000","town_code":"","country_id":1} +,{"id":2811,"pid":280,"name":"峨眉山市","level":4,"area_code":"511181000000","town_code":"","country_id":1} +,{"id":2812,"pid":281,"name":"市辖区","level":4,"area_code":"511301000000","town_code":"","country_id":1} +,{"id":2813,"pid":281,"name":"顺庆区","level":4,"area_code":"511302000000","town_code":"","country_id":1} +,{"id":2814,"pid":281,"name":"高坪区","level":4,"area_code":"511303000000","town_code":"","country_id":1} +,{"id":2815,"pid":281,"name":"嘉陵区","level":4,"area_code":"511304000000","town_code":"","country_id":1} +,{"id":2816,"pid":281,"name":"南部县","level":4,"area_code":"511321000000","town_code":"","country_id":1} +,{"id":2817,"pid":281,"name":"营山县","level":4,"area_code":"511322000000","town_code":"","country_id":1} +,{"id":2818,"pid":281,"name":"蓬安县","level":4,"area_code":"511323000000","town_code":"","country_id":1} +,{"id":2819,"pid":281,"name":"仪陇县","level":4,"area_code":"511324000000","town_code":"","country_id":1} +,{"id":2820,"pid":281,"name":"西充县","level":4,"area_code":"511325000000","town_code":"","country_id":1} +,{"id":2821,"pid":281,"name":"阆中市","level":4,"area_code":"511381000000","town_code":"","country_id":1} +,{"id":2822,"pid":282,"name":"市辖区","level":4,"area_code":"511401000000","town_code":"","country_id":1} +,{"id":2823,"pid":282,"name":"东坡区","level":4,"area_code":"511402000000","town_code":"","country_id":1} +,{"id":2824,"pid":282,"name":"彭山区","level":4,"area_code":"511403000000","town_code":"","country_id":1} +,{"id":2825,"pid":282,"name":"仁寿县","level":4,"area_code":"511421000000","town_code":"","country_id":1} +,{"id":2826,"pid":282,"name":"洪雅县","level":4,"area_code":"511423000000","town_code":"","country_id":1} +,{"id":2827,"pid":282,"name":"丹棱县","level":4,"area_code":"511424000000","town_code":"","country_id":1} +,{"id":2828,"pid":282,"name":"青神县","level":4,"area_code":"511425000000","town_code":"","country_id":1} +,{"id":2829,"pid":283,"name":"市辖区","level":4,"area_code":"511501000000","town_code":"","country_id":1} +,{"id":2830,"pid":283,"name":"翠屏区","level":4,"area_code":"511502000000","town_code":"","country_id":1} +,{"id":2831,"pid":283,"name":"南溪区","level":4,"area_code":"511503000000","town_code":"","country_id":1} +,{"id":2832,"pid":283,"name":"叙州区","level":4,"area_code":"511504000000","town_code":"","country_id":1} +,{"id":2833,"pid":283,"name":"江安县","level":4,"area_code":"511523000000","town_code":"","country_id":1} +,{"id":2834,"pid":283,"name":"长宁县","level":4,"area_code":"511524000000","town_code":"","country_id":1} +,{"id":2835,"pid":283,"name":"高县","level":4,"area_code":"511525000000","town_code":"","country_id":1} +,{"id":2836,"pid":283,"name":"珙县","level":4,"area_code":"511526000000","town_code":"","country_id":1} +,{"id":2837,"pid":283,"name":"筠连县","level":4,"area_code":"511527000000","town_code":"","country_id":1} +,{"id":2838,"pid":283,"name":"兴文县","level":4,"area_code":"511528000000","town_code":"","country_id":1} +,{"id":2839,"pid":283,"name":"屏山县","level":4,"area_code":"511529000000","town_code":"","country_id":1} +,{"id":2840,"pid":284,"name":"市辖区","level":4,"area_code":"511601000000","town_code":"","country_id":1} +,{"id":2841,"pid":284,"name":"广安区","level":4,"area_code":"511602000000","town_code":"","country_id":1} +,{"id":2842,"pid":284,"name":"前锋区","level":4,"area_code":"511603000000","town_code":"","country_id":1} +,{"id":2843,"pid":284,"name":"岳池县","level":4,"area_code":"511621000000","town_code":"","country_id":1} +,{"id":2844,"pid":284,"name":"武胜县","level":4,"area_code":"511622000000","town_code":"","country_id":1} +,{"id":2845,"pid":284,"name":"邻水县","level":4,"area_code":"511623000000","town_code":"","country_id":1} +,{"id":2846,"pid":284,"name":"华蓥市","level":4,"area_code":"511681000000","town_code":"","country_id":1} +,{"id":2847,"pid":285,"name":"市辖区","level":4,"area_code":"511701000000","town_code":"","country_id":1} +,{"id":2848,"pid":285,"name":"通川区","level":4,"area_code":"511702000000","town_code":"","country_id":1} +,{"id":2849,"pid":285,"name":"达川区","level":4,"area_code":"511703000000","town_code":"","country_id":1} +,{"id":2850,"pid":285,"name":"宣汉县","level":4,"area_code":"511722000000","town_code":"","country_id":1} +,{"id":2851,"pid":285,"name":"开江县","level":4,"area_code":"511723000000","town_code":"","country_id":1} +,{"id":2852,"pid":285,"name":"大竹县","level":4,"area_code":"511724000000","town_code":"","country_id":1} +,{"id":2853,"pid":285,"name":"渠县","level":4,"area_code":"511725000000","town_code":"","country_id":1} +,{"id":2854,"pid":285,"name":"万源市","level":4,"area_code":"511781000000","town_code":"","country_id":1} +,{"id":2855,"pid":286,"name":"市辖区","level":4,"area_code":"511801000000","town_code":"","country_id":1} +,{"id":2856,"pid":286,"name":"雨城区","level":4,"area_code":"511802000000","town_code":"","country_id":1} +,{"id":2857,"pid":286,"name":"名山区","level":4,"area_code":"511803000000","town_code":"","country_id":1} +,{"id":2858,"pid":286,"name":"荥经县","level":4,"area_code":"511822000000","town_code":"","country_id":1} +,{"id":2859,"pid":286,"name":"汉源县","level":4,"area_code":"511823000000","town_code":"","country_id":1} +,{"id":2860,"pid":286,"name":"石棉县","level":4,"area_code":"511824000000","town_code":"","country_id":1} +,{"id":2861,"pid":286,"name":"天全县","level":4,"area_code":"511825000000","town_code":"","country_id":1} +,{"id":2862,"pid":286,"name":"芦山县","level":4,"area_code":"511826000000","town_code":"","country_id":1} +,{"id":2863,"pid":286,"name":"宝兴县","level":4,"area_code":"511827000000","town_code":"","country_id":1} +,{"id":2864,"pid":287,"name":"市辖区","level":4,"area_code":"511901000000","town_code":"","country_id":1} +,{"id":2865,"pid":287,"name":"巴州区","level":4,"area_code":"511902000000","town_code":"","country_id":1} +,{"id":2866,"pid":287,"name":"恩阳区","level":4,"area_code":"511903000000","town_code":"","country_id":1} +,{"id":2867,"pid":287,"name":"通江县","level":4,"area_code":"511921000000","town_code":"","country_id":1} +,{"id":2868,"pid":287,"name":"南江县","level":4,"area_code":"511922000000","town_code":"","country_id":1} +,{"id":2869,"pid":287,"name":"平昌县","level":4,"area_code":"511923000000","town_code":"","country_id":1} +,{"id":2870,"pid":288,"name":"市辖区","level":4,"area_code":"512001000000","town_code":"","country_id":1} +,{"id":2871,"pid":288,"name":"雁江区","level":4,"area_code":"512002000000","town_code":"","country_id":1} +,{"id":2872,"pid":288,"name":"安岳县","level":4,"area_code":"512021000000","town_code":"","country_id":1} +,{"id":2873,"pid":288,"name":"乐至县","level":4,"area_code":"512022000000","town_code":"","country_id":1} +,{"id":2874,"pid":289,"name":"马尔康市","level":4,"area_code":"513201000000","town_code":"","country_id":1} +,{"id":2875,"pid":289,"name":"汶川县","level":4,"area_code":"513221000000","town_code":"","country_id":1} +,{"id":2876,"pid":289,"name":"理县","level":4,"area_code":"513222000000","town_code":"","country_id":1} +,{"id":2877,"pid":289,"name":"茂县","level":4,"area_code":"513223000000","town_code":"","country_id":1} +,{"id":2878,"pid":289,"name":"松潘县","level":4,"area_code":"513224000000","town_code":"","country_id":1} +,{"id":2879,"pid":289,"name":"九寨沟县","level":4,"area_code":"513225000000","town_code":"","country_id":1} +,{"id":2880,"pid":289,"name":"金川县","level":4,"area_code":"513226000000","town_code":"","country_id":1} +,{"id":2881,"pid":289,"name":"小金县","level":4,"area_code":"513227000000","town_code":"","country_id":1} +,{"id":2882,"pid":289,"name":"黑水县","level":4,"area_code":"513228000000","town_code":"","country_id":1} +,{"id":2883,"pid":289,"name":"壤塘县","level":4,"area_code":"513230000000","town_code":"","country_id":1} +,{"id":2884,"pid":289,"name":"阿坝县","level":4,"area_code":"513231000000","town_code":"","country_id":1} +,{"id":2885,"pid":289,"name":"若尔盖县","level":4,"area_code":"513232000000","town_code":"","country_id":1} +,{"id":2886,"pid":289,"name":"红原县","level":4,"area_code":"513233000000","town_code":"","country_id":1} +,{"id":2887,"pid":290,"name":"康定市","level":4,"area_code":"513301000000","town_code":"","country_id":1} +,{"id":2888,"pid":290,"name":"泸定县","level":4,"area_code":"513322000000","town_code":"","country_id":1} +,{"id":2889,"pid":290,"name":"丹巴县","level":4,"area_code":"513323000000","town_code":"","country_id":1} +,{"id":2890,"pid":290,"name":"九龙县","level":4,"area_code":"513324000000","town_code":"","country_id":1} +,{"id":2891,"pid":290,"name":"雅江县","level":4,"area_code":"513325000000","town_code":"","country_id":1} +,{"id":2892,"pid":290,"name":"道孚县","level":4,"area_code":"513326000000","town_code":"","country_id":1} +,{"id":2893,"pid":290,"name":"炉霍县","level":4,"area_code":"513327000000","town_code":"","country_id":1} +,{"id":2894,"pid":290,"name":"甘孜县","level":4,"area_code":"513328000000","town_code":"","country_id":1} +,{"id":2895,"pid":290,"name":"新龙县","level":4,"area_code":"513329000000","town_code":"","country_id":1} +,{"id":2896,"pid":290,"name":"德格县","level":4,"area_code":"513330000000","town_code":"","country_id":1} +,{"id":2897,"pid":290,"name":"白玉县","level":4,"area_code":"513331000000","town_code":"","country_id":1} +,{"id":2898,"pid":290,"name":"石渠县","level":4,"area_code":"513332000000","town_code":"","country_id":1} +,{"id":2899,"pid":290,"name":"色达县","level":4,"area_code":"513333000000","town_code":"","country_id":1} +,{"id":2900,"pid":290,"name":"理塘县","level":4,"area_code":"513334000000","town_code":"","country_id":1} +,{"id":2901,"pid":290,"name":"巴塘县","level":4,"area_code":"513335000000","town_code":"","country_id":1} +,{"id":2902,"pid":290,"name":"乡城县","level":4,"area_code":"513336000000","town_code":"","country_id":1} +,{"id":2903,"pid":290,"name":"稻城县","level":4,"area_code":"513337000000","town_code":"","country_id":1} +,{"id":2904,"pid":290,"name":"得荣县","level":4,"area_code":"513338000000","town_code":"","country_id":1} +,{"id":2905,"pid":291,"name":"西昌市","level":4,"area_code":"513401000000","town_code":"","country_id":1} +,{"id":2906,"pid":291,"name":"会理市","level":4,"area_code":"513402000000","town_code":"","country_id":1} +,{"id":2907,"pid":291,"name":"木里藏族自治县","level":4,"area_code":"513422000000","town_code":"","country_id":1} +,{"id":2908,"pid":291,"name":"盐源县","level":4,"area_code":"513423000000","town_code":"","country_id":1} +,{"id":2909,"pid":291,"name":"德昌县","level":4,"area_code":"513424000000","town_code":"","country_id":1} +,{"id":2910,"pid":291,"name":"会东县","level":4,"area_code":"513426000000","town_code":"","country_id":1} +,{"id":2911,"pid":291,"name":"宁南县","level":4,"area_code":"513427000000","town_code":"","country_id":1} +,{"id":2912,"pid":291,"name":"普格县","level":4,"area_code":"513428000000","town_code":"","country_id":1} +,{"id":2913,"pid":291,"name":"布拖县","level":4,"area_code":"513429000000","town_code":"","country_id":1} +,{"id":2914,"pid":291,"name":"金阳县","level":4,"area_code":"513430000000","town_code":"","country_id":1} +,{"id":2915,"pid":291,"name":"昭觉县","level":4,"area_code":"513431000000","town_code":"","country_id":1} +,{"id":2916,"pid":291,"name":"喜德县","level":4,"area_code":"513432000000","town_code":"","country_id":1} +,{"id":2917,"pid":291,"name":"冕宁县","level":4,"area_code":"513433000000","town_code":"","country_id":1} +,{"id":2918,"pid":291,"name":"越西县","level":4,"area_code":"513434000000","town_code":"","country_id":1} +,{"id":2919,"pid":291,"name":"甘洛县","level":4,"area_code":"513435000000","town_code":"","country_id":1} +,{"id":2920,"pid":291,"name":"美姑县","level":4,"area_code":"513436000000","town_code":"","country_id":1} +,{"id":2921,"pid":291,"name":"雷波县","level":4,"area_code":"513437000000","town_code":"","country_id":1} +,{"id":2922,"pid":292,"name":"市辖区","level":4,"area_code":"520101000000","town_code":"","country_id":1} +,{"id":2923,"pid":292,"name":"南明区","level":4,"area_code":"520102000000","town_code":"","country_id":1} +,{"id":2924,"pid":292,"name":"云岩区","level":4,"area_code":"520103000000","town_code":"","country_id":1} +,{"id":2925,"pid":292,"name":"花溪区","level":4,"area_code":"520111000000","town_code":"","country_id":1} +,{"id":2926,"pid":292,"name":"乌当区","level":4,"area_code":"520112000000","town_code":"","country_id":1} +,{"id":2927,"pid":292,"name":"白云区","level":4,"area_code":"520113000000","town_code":"","country_id":1} +,{"id":2928,"pid":292,"name":"观山湖区","level":4,"area_code":"520115000000","town_code":"","country_id":1} +,{"id":2929,"pid":292,"name":"开阳县","level":4,"area_code":"520121000000","town_code":"","country_id":1} +,{"id":2930,"pid":292,"name":"息烽县","level":4,"area_code":"520122000000","town_code":"","country_id":1} +,{"id":2931,"pid":292,"name":"修文县","level":4,"area_code":"520123000000","town_code":"","country_id":1} +,{"id":2932,"pid":292,"name":"清镇市","level":4,"area_code":"520181000000","town_code":"","country_id":1} +,{"id":2933,"pid":293,"name":"钟山区","level":4,"area_code":"520201000000","town_code":"","country_id":1} +,{"id":2934,"pid":293,"name":"六枝特区","level":4,"area_code":"520203000000","town_code":"","country_id":1} +,{"id":2935,"pid":293,"name":"水城区","level":4,"area_code":"520204000000","town_code":"","country_id":1} +,{"id":2936,"pid":293,"name":"盘州市","level":4,"area_code":"520281000000","town_code":"","country_id":1} +,{"id":2937,"pid":294,"name":"市辖区","level":4,"area_code":"520301000000","town_code":"","country_id":1} +,{"id":2938,"pid":294,"name":"红花岗区","level":4,"area_code":"520302000000","town_code":"","country_id":1} +,{"id":2939,"pid":294,"name":"汇川区","level":4,"area_code":"520303000000","town_code":"","country_id":1} +,{"id":2940,"pid":294,"name":"播州区","level":4,"area_code":"520304000000","town_code":"","country_id":1} +,{"id":2941,"pid":294,"name":"桐梓县","level":4,"area_code":"520322000000","town_code":"","country_id":1} +,{"id":2942,"pid":294,"name":"绥阳县","level":4,"area_code":"520323000000","town_code":"","country_id":1} +,{"id":2943,"pid":294,"name":"正安县","level":4,"area_code":"520324000000","town_code":"","country_id":1} +,{"id":2944,"pid":294,"name":"道真仡佬族苗族自治县","level":4,"area_code":"520325000000","town_code":"","country_id":1} +,{"id":2945,"pid":294,"name":"务川仡佬族苗族自治县","level":4,"area_code":"520326000000","town_code":"","country_id":1} +,{"id":2946,"pid":294,"name":"凤冈县","level":4,"area_code":"520327000000","town_code":"","country_id":1} +,{"id":2947,"pid":294,"name":"湄潭县","level":4,"area_code":"520328000000","town_code":"","country_id":1} +,{"id":2948,"pid":294,"name":"余庆县","level":4,"area_code":"520329000000","town_code":"","country_id":1} +,{"id":2949,"pid":294,"name":"习水县","level":4,"area_code":"520330000000","town_code":"","country_id":1} +,{"id":2950,"pid":294,"name":"赤水市","level":4,"area_code":"520381000000","town_code":"","country_id":1} +,{"id":2951,"pid":294,"name":"仁怀市","level":4,"area_code":"520382000000","town_code":"","country_id":1} +,{"id":2952,"pid":295,"name":"市辖区","level":4,"area_code":"520401000000","town_code":"","country_id":1} +,{"id":2953,"pid":295,"name":"西秀区","level":4,"area_code":"520402000000","town_code":"","country_id":1} +,{"id":2954,"pid":295,"name":"平坝区","level":4,"area_code":"520403000000","town_code":"","country_id":1} +,{"id":2955,"pid":295,"name":"普定县","level":4,"area_code":"520422000000","town_code":"","country_id":1} +,{"id":2956,"pid":295,"name":"镇宁布依族苗族自治县","level":4,"area_code":"520423000000","town_code":"","country_id":1} +,{"id":2957,"pid":295,"name":"关岭布依族苗族自治县","level":4,"area_code":"520424000000","town_code":"","country_id":1} +,{"id":2958,"pid":295,"name":"紫云苗族布依族自治县","level":4,"area_code":"520425000000","town_code":"","country_id":1} +,{"id":2959,"pid":296,"name":"市辖区","level":4,"area_code":"520501000000","town_code":"","country_id":1} +,{"id":2960,"pid":296,"name":"七星关区","level":4,"area_code":"520502000000","town_code":"","country_id":1} +,{"id":2961,"pid":296,"name":"大方县","level":4,"area_code":"520521000000","town_code":"","country_id":1} +,{"id":2962,"pid":296,"name":"金沙县","level":4,"area_code":"520523000000","town_code":"","country_id":1} +,{"id":2963,"pid":296,"name":"织金县","level":4,"area_code":"520524000000","town_code":"","country_id":1} +,{"id":2964,"pid":296,"name":"纳雍县","level":4,"area_code":"520525000000","town_code":"","country_id":1} +,{"id":2965,"pid":296,"name":"威宁彝族回族苗族自治县","level":4,"area_code":"520526000000","town_code":"","country_id":1} +,{"id":2966,"pid":296,"name":"赫章县","level":4,"area_code":"520527000000","town_code":"","country_id":1} +,{"id":2967,"pid":296,"name":"黔西市","level":4,"area_code":"520581000000","town_code":"","country_id":1} +,{"id":2968,"pid":297,"name":"市辖区","level":4,"area_code":"520601000000","town_code":"","country_id":1} +,{"id":2969,"pid":297,"name":"碧江区","level":4,"area_code":"520602000000","town_code":"","country_id":1} +,{"id":2970,"pid":297,"name":"万山区","level":4,"area_code":"520603000000","town_code":"","country_id":1} +,{"id":2971,"pid":297,"name":"江口县","level":4,"area_code":"520621000000","town_code":"","country_id":1} +,{"id":2972,"pid":297,"name":"玉屏侗族自治县","level":4,"area_code":"520622000000","town_code":"","country_id":1} +,{"id":2973,"pid":297,"name":"石阡县","level":4,"area_code":"520623000000","town_code":"","country_id":1} +,{"id":2974,"pid":297,"name":"思南县","level":4,"area_code":"520624000000","town_code":"","country_id":1} +,{"id":2975,"pid":297,"name":"印江土家族苗族自治县","level":4,"area_code":"520625000000","town_code":"","country_id":1} +,{"id":2976,"pid":297,"name":"德江县","level":4,"area_code":"520626000000","town_code":"","country_id":1} +,{"id":2977,"pid":297,"name":"沿河土家族自治县","level":4,"area_code":"520627000000","town_code":"","country_id":1} +,{"id":2978,"pid":297,"name":"松桃苗族自治县","level":4,"area_code":"520628000000","town_code":"","country_id":1} +,{"id":2979,"pid":298,"name":"兴义市","level":4,"area_code":"522301000000","town_code":"","country_id":1} +,{"id":2980,"pid":298,"name":"兴仁市","level":4,"area_code":"522302000000","town_code":"","country_id":1} +,{"id":2981,"pid":298,"name":"普安县","level":4,"area_code":"522323000000","town_code":"","country_id":1} +,{"id":2982,"pid":298,"name":"晴隆县","level":4,"area_code":"522324000000","town_code":"","country_id":1} +,{"id":2983,"pid":298,"name":"贞丰县","level":4,"area_code":"522325000000","town_code":"","country_id":1} +,{"id":2984,"pid":298,"name":"望谟县","level":4,"area_code":"522326000000","town_code":"","country_id":1} +,{"id":2985,"pid":298,"name":"册亨县","level":4,"area_code":"522327000000","town_code":"","country_id":1} +,{"id":2986,"pid":298,"name":"安龙县","level":4,"area_code":"522328000000","town_code":"","country_id":1} +,{"id":2987,"pid":299,"name":"凯里市","level":4,"area_code":"522601000000","town_code":"","country_id":1} +,{"id":2988,"pid":299,"name":"黄平县","level":4,"area_code":"522622000000","town_code":"","country_id":1} +,{"id":2989,"pid":299,"name":"施秉县","level":4,"area_code":"522623000000","town_code":"","country_id":1} +,{"id":2990,"pid":299,"name":"三穗县","level":4,"area_code":"522624000000","town_code":"","country_id":1} +,{"id":2991,"pid":299,"name":"镇远县","level":4,"area_code":"522625000000","town_code":"","country_id":1} +,{"id":2992,"pid":299,"name":"岑巩县","level":4,"area_code":"522626000000","town_code":"","country_id":1} +,{"id":2993,"pid":299,"name":"天柱县","level":4,"area_code":"522627000000","town_code":"","country_id":1} +,{"id":2994,"pid":299,"name":"锦屏县","level":4,"area_code":"522628000000","town_code":"","country_id":1} +,{"id":2995,"pid":299,"name":"剑河县","level":4,"area_code":"522629000000","town_code":"","country_id":1} +,{"id":2996,"pid":299,"name":"台江县","level":4,"area_code":"522630000000","town_code":"","country_id":1} +,{"id":2997,"pid":299,"name":"黎平县","level":4,"area_code":"522631000000","town_code":"","country_id":1} +,{"id":2998,"pid":299,"name":"榕江县","level":4,"area_code":"522632000000","town_code":"","country_id":1} +,{"id":2999,"pid":299,"name":"从江县","level":4,"area_code":"522633000000","town_code":"","country_id":1} +,{"id":3000,"pid":299,"name":"雷山县","level":4,"area_code":"522634000000","town_code":"","country_id":1} +,{"id":3001,"pid":299,"name":"麻江县","level":4,"area_code":"522635000000","town_code":"","country_id":1} +,{"id":3002,"pid":299,"name":"丹寨县","level":4,"area_code":"522636000000","town_code":"","country_id":1} +,{"id":3003,"pid":300,"name":"都匀市","level":4,"area_code":"522701000000","town_code":"","country_id":1} +,{"id":3004,"pid":300,"name":"福泉市","level":4,"area_code":"522702000000","town_code":"","country_id":1} +,{"id":3005,"pid":300,"name":"荔波县","level":4,"area_code":"522722000000","town_code":"","country_id":1} +,{"id":3006,"pid":300,"name":"贵定县","level":4,"area_code":"522723000000","town_code":"","country_id":1} +,{"id":3007,"pid":300,"name":"瓮安县","level":4,"area_code":"522725000000","town_code":"","country_id":1} +,{"id":3008,"pid":300,"name":"独山县","level":4,"area_code":"522726000000","town_code":"","country_id":1} +,{"id":3009,"pid":300,"name":"平塘县","level":4,"area_code":"522727000000","town_code":"","country_id":1} +,{"id":3010,"pid":300,"name":"罗甸县","level":4,"area_code":"522728000000","town_code":"","country_id":1} +,{"id":3011,"pid":300,"name":"长顺县","level":4,"area_code":"522729000000","town_code":"","country_id":1} +,{"id":3012,"pid":300,"name":"龙里县","level":4,"area_code":"522730000000","town_code":"","country_id":1} +,{"id":3013,"pid":300,"name":"惠水县","level":4,"area_code":"522731000000","town_code":"","country_id":1} +,{"id":3014,"pid":300,"name":"三都水族自治县","level":4,"area_code":"522732000000","town_code":"","country_id":1} +,{"id":3015,"pid":301,"name":"市辖区","level":4,"area_code":"530101000000","town_code":"","country_id":1} +,{"id":3016,"pid":301,"name":"五华区","level":4,"area_code":"530102000000","town_code":"","country_id":1} +,{"id":3017,"pid":301,"name":"盘龙区","level":4,"area_code":"530103000000","town_code":"","country_id":1} +,{"id":3018,"pid":301,"name":"官渡区","level":4,"area_code":"530111000000","town_code":"","country_id":1} +,{"id":3019,"pid":301,"name":"西山区","level":4,"area_code":"530112000000","town_code":"","country_id":1} +,{"id":3020,"pid":301,"name":"东川区","level":4,"area_code":"530113000000","town_code":"","country_id":1} +,{"id":3021,"pid":301,"name":"呈贡区","level":4,"area_code":"530114000000","town_code":"","country_id":1} +,{"id":3022,"pid":301,"name":"晋宁区","level":4,"area_code":"530115000000","town_code":"","country_id":1} +,{"id":3023,"pid":301,"name":"富民县","level":4,"area_code":"530124000000","town_code":"","country_id":1} +,{"id":3024,"pid":301,"name":"宜良县","level":4,"area_code":"530125000000","town_code":"","country_id":1} +,{"id":3025,"pid":301,"name":"石林彝族自治县","level":4,"area_code":"530126000000","town_code":"","country_id":1} +,{"id":3026,"pid":301,"name":"嵩明县","level":4,"area_code":"530127000000","town_code":"","country_id":1} +,{"id":3027,"pid":301,"name":"禄劝彝族苗族自治县","level":4,"area_code":"530128000000","town_code":"","country_id":1} +,{"id":3028,"pid":301,"name":"寻甸回族彝族自治县","level":4,"area_code":"530129000000","town_code":"","country_id":1} +,{"id":3029,"pid":301,"name":"安宁市","level":4,"area_code":"530181000000","town_code":"","country_id":1} +,{"id":3030,"pid":302,"name":"市辖区","level":4,"area_code":"530301000000","town_code":"","country_id":1} +,{"id":3031,"pid":302,"name":"麒麟区","level":4,"area_code":"530302000000","town_code":"","country_id":1} +,{"id":3032,"pid":302,"name":"沾益区","level":4,"area_code":"530303000000","town_code":"","country_id":1} +,{"id":3033,"pid":302,"name":"马龙区","level":4,"area_code":"530304000000","town_code":"","country_id":1} +,{"id":3034,"pid":302,"name":"陆良县","level":4,"area_code":"530322000000","town_code":"","country_id":1} +,{"id":3035,"pid":302,"name":"师宗县","level":4,"area_code":"530323000000","town_code":"","country_id":1} +,{"id":3036,"pid":302,"name":"罗平县","level":4,"area_code":"530324000000","town_code":"","country_id":1} +,{"id":3037,"pid":302,"name":"富源县","level":4,"area_code":"530325000000","town_code":"","country_id":1} +,{"id":3038,"pid":302,"name":"会泽县","level":4,"area_code":"530326000000","town_code":"","country_id":1} +,{"id":3039,"pid":302,"name":"宣威市","level":4,"area_code":"530381000000","town_code":"","country_id":1} +,{"id":3040,"pid":303,"name":"市辖区","level":4,"area_code":"530401000000","town_code":"","country_id":1} +,{"id":3041,"pid":303,"name":"红塔区","level":4,"area_code":"530402000000","town_code":"","country_id":1} +,{"id":3042,"pid":303,"name":"江川区","level":4,"area_code":"530403000000","town_code":"","country_id":1} +,{"id":3043,"pid":303,"name":"通海县","level":4,"area_code":"530423000000","town_code":"","country_id":1} +,{"id":3044,"pid":303,"name":"华宁县","level":4,"area_code":"530424000000","town_code":"","country_id":1} +,{"id":3045,"pid":303,"name":"易门县","level":4,"area_code":"530425000000","town_code":"","country_id":1} +,{"id":3046,"pid":303,"name":"峨山彝族自治县","level":4,"area_code":"530426000000","town_code":"","country_id":1} +,{"id":3047,"pid":303,"name":"新平彝族傣族自治县","level":4,"area_code":"530427000000","town_code":"","country_id":1} +,{"id":3048,"pid":303,"name":"元江哈尼族彝族傣族自治县","level":4,"area_code":"530428000000","town_code":"","country_id":1} +,{"id":3049,"pid":303,"name":"澄江市","level":4,"area_code":"530481000000","town_code":"","country_id":1} +,{"id":3050,"pid":304,"name":"市辖区","level":4,"area_code":"530501000000","town_code":"","country_id":1} +,{"id":3051,"pid":304,"name":"隆阳区","level":4,"area_code":"530502000000","town_code":"","country_id":1} +,{"id":3052,"pid":304,"name":"施甸县","level":4,"area_code":"530521000000","town_code":"","country_id":1} +,{"id":3053,"pid":304,"name":"龙陵县","level":4,"area_code":"530523000000","town_code":"","country_id":1} +,{"id":3054,"pid":304,"name":"昌宁县","level":4,"area_code":"530524000000","town_code":"","country_id":1} +,{"id":3055,"pid":304,"name":"腾冲市","level":4,"area_code":"530581000000","town_code":"","country_id":1} +,{"id":3056,"pid":305,"name":"市辖区","level":4,"area_code":"530601000000","town_code":"","country_id":1} +,{"id":3057,"pid":305,"name":"昭阳区","level":4,"area_code":"530602000000","town_code":"","country_id":1} +,{"id":3058,"pid":305,"name":"鲁甸县","level":4,"area_code":"530621000000","town_code":"","country_id":1} +,{"id":3059,"pid":305,"name":"巧家县","level":4,"area_code":"530622000000","town_code":"","country_id":1} +,{"id":3060,"pid":305,"name":"盐津县","level":4,"area_code":"530623000000","town_code":"","country_id":1} +,{"id":3061,"pid":305,"name":"大关县","level":4,"area_code":"530624000000","town_code":"","country_id":1} +,{"id":3062,"pid":305,"name":"永善县","level":4,"area_code":"530625000000","town_code":"","country_id":1} +,{"id":3063,"pid":305,"name":"绥江县","level":4,"area_code":"530626000000","town_code":"","country_id":1} +,{"id":3064,"pid":305,"name":"镇雄县","level":4,"area_code":"530627000000","town_code":"","country_id":1} +,{"id":3065,"pid":305,"name":"彝良县","level":4,"area_code":"530628000000","town_code":"","country_id":1} +,{"id":3066,"pid":305,"name":"威信县","level":4,"area_code":"530629000000","town_code":"","country_id":1} +,{"id":3067,"pid":305,"name":"水富市","level":4,"area_code":"530681000000","town_code":"","country_id":1} +,{"id":3068,"pid":306,"name":"市辖区","level":4,"area_code":"530701000000","town_code":"","country_id":1} +,{"id":3069,"pid":306,"name":"古城区","level":4,"area_code":"530702000000","town_code":"","country_id":1} +,{"id":3070,"pid":306,"name":"玉龙纳西族自治县","level":4,"area_code":"530721000000","town_code":"","country_id":1} +,{"id":3071,"pid":306,"name":"永胜县","level":4,"area_code":"530722000000","town_code":"","country_id":1} +,{"id":3072,"pid":306,"name":"华坪县","level":4,"area_code":"530723000000","town_code":"","country_id":1} +,{"id":3073,"pid":306,"name":"宁蒗彝族自治县","level":4,"area_code":"530724000000","town_code":"","country_id":1} +,{"id":3074,"pid":307,"name":"市辖区","level":4,"area_code":"530801000000","town_code":"","country_id":1} +,{"id":3075,"pid":307,"name":"思茅区","level":4,"area_code":"530802000000","town_code":"","country_id":1} +,{"id":3076,"pid":307,"name":"宁洱哈尼族彝族自治县","level":4,"area_code":"530821000000","town_code":"","country_id":1} +,{"id":3077,"pid":307,"name":"墨江哈尼族自治县","level":4,"area_code":"530822000000","town_code":"","country_id":1} +,{"id":3078,"pid":307,"name":"景东彝族自治县","level":4,"area_code":"530823000000","town_code":"","country_id":1} +,{"id":3079,"pid":307,"name":"景谷傣族彝族自治县","level":4,"area_code":"530824000000","town_code":"","country_id":1} +,{"id":3080,"pid":307,"name":"镇沅彝族哈尼族拉祜族自治县","level":4,"area_code":"530825000000","town_code":"","country_id":1} +,{"id":3081,"pid":307,"name":"江城哈尼族彝族自治县","level":4,"area_code":"530826000000","town_code":"","country_id":1} +,{"id":3082,"pid":307,"name":"孟连傣族拉祜族佤族自治县","level":4,"area_code":"530827000000","town_code":"","country_id":1} +,{"id":3083,"pid":307,"name":"澜沧拉祜族自治县","level":4,"area_code":"530828000000","town_code":"","country_id":1} +,{"id":3084,"pid":307,"name":"西盟佤族自治县","level":4,"area_code":"530829000000","town_code":"","country_id":1} +,{"id":3085,"pid":308,"name":"市辖区","level":4,"area_code":"530901000000","town_code":"","country_id":1} +,{"id":3086,"pid":308,"name":"临翔区","level":4,"area_code":"530902000000","town_code":"","country_id":1} +,{"id":3087,"pid":308,"name":"凤庆县","level":4,"area_code":"530921000000","town_code":"","country_id":1} +,{"id":3088,"pid":308,"name":"云县","level":4,"area_code":"530922000000","town_code":"","country_id":1} +,{"id":3089,"pid":308,"name":"永德县","level":4,"area_code":"530923000000","town_code":"","country_id":1} +,{"id":3090,"pid":308,"name":"镇康县","level":4,"area_code":"530924000000","town_code":"","country_id":1} +,{"id":3091,"pid":308,"name":"双江拉祜族佤族布朗族傣族自治县","level":4,"area_code":"530925000000","town_code":"","country_id":1} +,{"id":3092,"pid":308,"name":"耿马傣族佤族自治县","level":4,"area_code":"530926000000","town_code":"","country_id":1} +,{"id":3093,"pid":308,"name":"沧源佤族自治县","level":4,"area_code":"530927000000","town_code":"","country_id":1} +,{"id":3094,"pid":309,"name":"楚雄市","level":4,"area_code":"532301000000","town_code":"","country_id":1} +,{"id":3095,"pid":309,"name":"禄丰市","level":4,"area_code":"532302000000","town_code":"","country_id":1} +,{"id":3096,"pid":309,"name":"双柏县","level":4,"area_code":"532322000000","town_code":"","country_id":1} +,{"id":3097,"pid":309,"name":"牟定县","level":4,"area_code":"532323000000","town_code":"","country_id":1} +,{"id":3098,"pid":309,"name":"南华县","level":4,"area_code":"532324000000","town_code":"","country_id":1} +,{"id":3099,"pid":309,"name":"姚安县","level":4,"area_code":"532325000000","town_code":"","country_id":1} +,{"id":3100,"pid":309,"name":"大姚县","level":4,"area_code":"532326000000","town_code":"","country_id":1} +,{"id":3101,"pid":309,"name":"永仁县","level":4,"area_code":"532327000000","town_code":"","country_id":1} +,{"id":3102,"pid":309,"name":"元谋县","level":4,"area_code":"532328000000","town_code":"","country_id":1} +,{"id":3103,"pid":309,"name":"武定县","level":4,"area_code":"532329000000","town_code":"","country_id":1} +,{"id":3104,"pid":310,"name":"个旧市","level":4,"area_code":"532501000000","town_code":"","country_id":1} +,{"id":3105,"pid":310,"name":"开远市","level":4,"area_code":"532502000000","town_code":"","country_id":1} +,{"id":3106,"pid":310,"name":"蒙自市","level":4,"area_code":"532503000000","town_code":"","country_id":1} +,{"id":3107,"pid":310,"name":"弥勒市","level":4,"area_code":"532504000000","town_code":"","country_id":1} +,{"id":3108,"pid":310,"name":"屏边苗族自治县","level":4,"area_code":"532523000000","town_code":"","country_id":1} +,{"id":3109,"pid":310,"name":"建水县","level":4,"area_code":"532524000000","town_code":"","country_id":1} +,{"id":3110,"pid":310,"name":"石屏县","level":4,"area_code":"532525000000","town_code":"","country_id":1} +,{"id":3111,"pid":310,"name":"泸西县","level":4,"area_code":"532527000000","town_code":"","country_id":1} +,{"id":3112,"pid":310,"name":"元阳县","level":4,"area_code":"532528000000","town_code":"","country_id":1} +,{"id":3113,"pid":310,"name":"红河县","level":4,"area_code":"532529000000","town_code":"","country_id":1} +,{"id":3114,"pid":310,"name":"金平苗族瑶族傣族自治县","level":4,"area_code":"532530000000","town_code":"","country_id":1} +,{"id":3115,"pid":310,"name":"绿春县","level":4,"area_code":"532531000000","town_code":"","country_id":1} +,{"id":3116,"pid":310,"name":"河口瑶族自治县","level":4,"area_code":"532532000000","town_code":"","country_id":1} +,{"id":3117,"pid":311,"name":"文山市","level":4,"area_code":"532601000000","town_code":"","country_id":1} +,{"id":3118,"pid":311,"name":"砚山县","level":4,"area_code":"532622000000","town_code":"","country_id":1} +,{"id":3119,"pid":311,"name":"西畴县","level":4,"area_code":"532623000000","town_code":"","country_id":1} +,{"id":3120,"pid":311,"name":"麻栗坡县","level":4,"area_code":"532624000000","town_code":"","country_id":1} +,{"id":3121,"pid":311,"name":"马关县","level":4,"area_code":"532625000000","town_code":"","country_id":1} +,{"id":3122,"pid":311,"name":"丘北县","level":4,"area_code":"532626000000","town_code":"","country_id":1} +,{"id":3123,"pid":311,"name":"广南县","level":4,"area_code":"532627000000","town_code":"","country_id":1} +,{"id":3124,"pid":311,"name":"富宁县","level":4,"area_code":"532628000000","town_code":"","country_id":1} +,{"id":3125,"pid":312,"name":"景洪市","level":4,"area_code":"532801000000","town_code":"","country_id":1} +,{"id":3126,"pid":312,"name":"勐海县","level":4,"area_code":"532822000000","town_code":"","country_id":1} +,{"id":3127,"pid":312,"name":"勐腊县","level":4,"area_code":"532823000000","town_code":"","country_id":1} +,{"id":3128,"pid":313,"name":"大理市","level":4,"area_code":"532901000000","town_code":"","country_id":1} +,{"id":3129,"pid":313,"name":"漾濞彝族自治县","level":4,"area_code":"532922000000","town_code":"","country_id":1} +,{"id":3130,"pid":313,"name":"祥云县","level":4,"area_code":"532923000000","town_code":"","country_id":1} +,{"id":3131,"pid":313,"name":"宾川县","level":4,"area_code":"532924000000","town_code":"","country_id":1} +,{"id":3132,"pid":313,"name":"弥渡县","level":4,"area_code":"532925000000","town_code":"","country_id":1} +,{"id":3133,"pid":313,"name":"南涧彝族自治县","level":4,"area_code":"532926000000","town_code":"","country_id":1} +,{"id":3134,"pid":313,"name":"巍山彝族回族自治县","level":4,"area_code":"532927000000","town_code":"","country_id":1} +,{"id":3135,"pid":313,"name":"永平县","level":4,"area_code":"532928000000","town_code":"","country_id":1} +,{"id":3136,"pid":313,"name":"云龙县","level":4,"area_code":"532929000000","town_code":"","country_id":1} +,{"id":3137,"pid":313,"name":"洱源县","level":4,"area_code":"532930000000","town_code":"","country_id":1} +,{"id":3138,"pid":313,"name":"剑川县","level":4,"area_code":"532931000000","town_code":"","country_id":1} +,{"id":3139,"pid":313,"name":"鹤庆县","level":4,"area_code":"532932000000","town_code":"","country_id":1} +,{"id":3140,"pid":314,"name":"瑞丽市","level":4,"area_code":"533102000000","town_code":"","country_id":1} +,{"id":3141,"pid":314,"name":"芒市","level":4,"area_code":"533103000000","town_code":"","country_id":1} +,{"id":3142,"pid":314,"name":"梁河县","level":4,"area_code":"533122000000","town_code":"","country_id":1} +,{"id":3143,"pid":314,"name":"盈江县","level":4,"area_code":"533123000000","town_code":"","country_id":1} +,{"id":3144,"pid":314,"name":"陇川县","level":4,"area_code":"533124000000","town_code":"","country_id":1} +,{"id":3145,"pid":315,"name":"泸水市","level":4,"area_code":"533301000000","town_code":"","country_id":1} +,{"id":3146,"pid":315,"name":"福贡县","level":4,"area_code":"533323000000","town_code":"","country_id":1} +,{"id":3147,"pid":315,"name":"贡山独龙族怒族自治县","level":4,"area_code":"533324000000","town_code":"","country_id":1} +,{"id":3148,"pid":315,"name":"兰坪白族普米族自治县","level":4,"area_code":"533325000000","town_code":"","country_id":1} +,{"id":3149,"pid":316,"name":"香格里拉市","level":4,"area_code":"533401000000","town_code":"","country_id":1} +,{"id":3150,"pid":316,"name":"德钦县","level":4,"area_code":"533422000000","town_code":"","country_id":1} +,{"id":3151,"pid":316,"name":"维西傈僳族自治县","level":4,"area_code":"533423000000","town_code":"","country_id":1} +,{"id":3152,"pid":317,"name":"市辖区","level":4,"area_code":"540101000000","town_code":"","country_id":1} +,{"id":3153,"pid":317,"name":"城关区","level":4,"area_code":"540102000000","town_code":"","country_id":1} +,{"id":3154,"pid":317,"name":"堆龙德庆区","level":4,"area_code":"540103000000","town_code":"","country_id":1} +,{"id":3155,"pid":317,"name":"达孜区","level":4,"area_code":"540104000000","town_code":"","country_id":1} +,{"id":3156,"pid":317,"name":"林周县","level":4,"area_code":"540121000000","town_code":"","country_id":1} +,{"id":3157,"pid":317,"name":"当雄县","level":4,"area_code":"540122000000","town_code":"","country_id":1} +,{"id":3158,"pid":317,"name":"尼木县","level":4,"area_code":"540123000000","town_code":"","country_id":1} +,{"id":3159,"pid":317,"name":"曲水县","level":4,"area_code":"540124000000","town_code":"","country_id":1} +,{"id":3160,"pid":317,"name":"墨竹工卡县","level":4,"area_code":"540127000000","town_code":"","country_id":1} +,{"id":3161,"pid":317,"name":"格尔木藏青工业园区","level":4,"area_code":"540171000000","town_code":"","country_id":1} +,{"id":3162,"pid":317,"name":"拉萨经济技术开发区","level":4,"area_code":"540172000000","town_code":"","country_id":1} +,{"id":3163,"pid":317,"name":"西藏文化旅游创意园区","level":4,"area_code":"540173000000","town_code":"","country_id":1} +,{"id":3164,"pid":317,"name":"达孜工业园区","level":4,"area_code":"540174000000","town_code":"","country_id":1} +,{"id":3165,"pid":318,"name":"桑珠孜区","level":4,"area_code":"540202000000","town_code":"","country_id":1} +,{"id":3166,"pid":318,"name":"南木林县","level":4,"area_code":"540221000000","town_code":"","country_id":1} +,{"id":3167,"pid":318,"name":"江孜县","level":4,"area_code":"540222000000","town_code":"","country_id":1} +,{"id":3168,"pid":318,"name":"定日县","level":4,"area_code":"540223000000","town_code":"","country_id":1} +,{"id":3169,"pid":318,"name":"萨迦县","level":4,"area_code":"540224000000","town_code":"","country_id":1} +,{"id":3170,"pid":318,"name":"拉孜县","level":4,"area_code":"540225000000","town_code":"","country_id":1} +,{"id":3171,"pid":318,"name":"昂仁县","level":4,"area_code":"540226000000","town_code":"","country_id":1} +,{"id":3172,"pid":318,"name":"谢通门县","level":4,"area_code":"540227000000","town_code":"","country_id":1} +,{"id":3173,"pid":318,"name":"白朗县","level":4,"area_code":"540228000000","town_code":"","country_id":1} +,{"id":3174,"pid":318,"name":"仁布县","level":4,"area_code":"540229000000","town_code":"","country_id":1} +,{"id":3175,"pid":318,"name":"康马县","level":4,"area_code":"540230000000","town_code":"","country_id":1} +,{"id":3176,"pid":318,"name":"定结县","level":4,"area_code":"540231000000","town_code":"","country_id":1} +,{"id":3177,"pid":318,"name":"仲巴县","level":4,"area_code":"540232000000","town_code":"","country_id":1} +,{"id":3178,"pid":318,"name":"亚东县","level":4,"area_code":"540233000000","town_code":"","country_id":1} +,{"id":3179,"pid":318,"name":"吉隆县","level":4,"area_code":"540234000000","town_code":"","country_id":1} +,{"id":3180,"pid":318,"name":"聂拉木县","level":4,"area_code":"540235000000","town_code":"","country_id":1} +,{"id":3181,"pid":318,"name":"萨嘎县","level":4,"area_code":"540236000000","town_code":"","country_id":1} +,{"id":3182,"pid":318,"name":"岗巴县","level":4,"area_code":"540237000000","town_code":"","country_id":1} +,{"id":3183,"pid":319,"name":"卡若区","level":4,"area_code":"540302000000","town_code":"","country_id":1} +,{"id":3184,"pid":319,"name":"江达县","level":4,"area_code":"540321000000","town_code":"","country_id":1} +,{"id":3185,"pid":319,"name":"贡觉县","level":4,"area_code":"540322000000","town_code":"","country_id":1} +,{"id":3186,"pid":319,"name":"类乌齐县","level":4,"area_code":"540323000000","town_code":"","country_id":1} +,{"id":3187,"pid":319,"name":"丁青县","level":4,"area_code":"540324000000","town_code":"","country_id":1} +,{"id":3188,"pid":319,"name":"察雅县","level":4,"area_code":"540325000000","town_code":"","country_id":1} +,{"id":3189,"pid":319,"name":"八宿县","level":4,"area_code":"540326000000","town_code":"","country_id":1} +,{"id":3190,"pid":319,"name":"左贡县","level":4,"area_code":"540327000000","town_code":"","country_id":1} +,{"id":3191,"pid":319,"name":"芒康县","level":4,"area_code":"540328000000","town_code":"","country_id":1} +,{"id":3192,"pid":319,"name":"洛隆县","level":4,"area_code":"540329000000","town_code":"","country_id":1} +,{"id":3193,"pid":319,"name":"边坝县","level":4,"area_code":"540330000000","town_code":"","country_id":1} +,{"id":3194,"pid":320,"name":"巴宜区","level":4,"area_code":"540402000000","town_code":"","country_id":1} +,{"id":3195,"pid":320,"name":"工布江达县","level":4,"area_code":"540421000000","town_code":"","country_id":1} +,{"id":3196,"pid":320,"name":"墨脱县","level":4,"area_code":"540423000000","town_code":"","country_id":1} +,{"id":3197,"pid":320,"name":"波密县","level":4,"area_code":"540424000000","town_code":"","country_id":1} +,{"id":3198,"pid":320,"name":"察隅县","level":4,"area_code":"540425000000","town_code":"","country_id":1} +,{"id":3199,"pid":320,"name":"朗县","level":4,"area_code":"540426000000","town_code":"","country_id":1} +,{"id":3200,"pid":320,"name":"米林市","level":4,"area_code":"540481000000","town_code":"","country_id":1} +,{"id":3201,"pid":321,"name":"市辖区","level":4,"area_code":"540501000000","town_code":"","country_id":1} +,{"id":3202,"pid":321,"name":"乃东区","level":4,"area_code":"540502000000","town_code":"","country_id":1} +,{"id":3203,"pid":321,"name":"扎囊县","level":4,"area_code":"540521000000","town_code":"","country_id":1} +,{"id":3204,"pid":321,"name":"贡嘎县","level":4,"area_code":"540522000000","town_code":"","country_id":1} +,{"id":3205,"pid":321,"name":"桑日县","level":4,"area_code":"540523000000","town_code":"","country_id":1} +,{"id":3206,"pid":321,"name":"琼结县","level":4,"area_code":"540524000000","town_code":"","country_id":1} +,{"id":3207,"pid":321,"name":"曲松县","level":4,"area_code":"540525000000","town_code":"","country_id":1} +,{"id":3208,"pid":321,"name":"措美县","level":4,"area_code":"540526000000","town_code":"","country_id":1} +,{"id":3209,"pid":321,"name":"洛扎县","level":4,"area_code":"540527000000","town_code":"","country_id":1} +,{"id":3210,"pid":321,"name":"加查县","level":4,"area_code":"540528000000","town_code":"","country_id":1} +,{"id":3211,"pid":321,"name":"隆子县","level":4,"area_code":"540529000000","town_code":"","country_id":1} +,{"id":3212,"pid":321,"name":"浪卡子县","level":4,"area_code":"540531000000","town_code":"","country_id":1} +,{"id":3213,"pid":321,"name":"错那市","level":4,"area_code":"540581000000","town_code":"","country_id":1} +,{"id":3214,"pid":322,"name":"色尼区","level":4,"area_code":"540602000000","town_code":"","country_id":1} +,{"id":3215,"pid":322,"name":"嘉黎县","level":4,"area_code":"540621000000","town_code":"","country_id":1} +,{"id":3216,"pid":322,"name":"比如县","level":4,"area_code":"540622000000","town_code":"","country_id":1} +,{"id":3217,"pid":322,"name":"聂荣县","level":4,"area_code":"540623000000","town_code":"","country_id":1} +,{"id":3218,"pid":322,"name":"安多县","level":4,"area_code":"540624000000","town_code":"","country_id":1} +,{"id":3219,"pid":322,"name":"申扎县","level":4,"area_code":"540625000000","town_code":"","country_id":1} +,{"id":3220,"pid":322,"name":"索县","level":4,"area_code":"540626000000","town_code":"","country_id":1} +,{"id":3221,"pid":322,"name":"班戈县","level":4,"area_code":"540627000000","town_code":"","country_id":1} +,{"id":3222,"pid":322,"name":"巴青县","level":4,"area_code":"540628000000","town_code":"","country_id":1} +,{"id":3223,"pid":322,"name":"尼玛县","level":4,"area_code":"540629000000","town_code":"","country_id":1} +,{"id":3224,"pid":322,"name":"双湖县","level":4,"area_code":"540630000000","town_code":"","country_id":1} +,{"id":3225,"pid":323,"name":"普兰县","level":4,"area_code":"542521000000","town_code":"","country_id":1} +,{"id":3226,"pid":323,"name":"札达县","level":4,"area_code":"542522000000","town_code":"","country_id":1} +,{"id":3227,"pid":323,"name":"噶尔县","level":4,"area_code":"542523000000","town_code":"","country_id":1} +,{"id":3228,"pid":323,"name":"日土县","level":4,"area_code":"542524000000","town_code":"","country_id":1} +,{"id":3229,"pid":323,"name":"革吉县","level":4,"area_code":"542525000000","town_code":"","country_id":1} +,{"id":3230,"pid":323,"name":"改则县","level":4,"area_code":"542526000000","town_code":"","country_id":1} +,{"id":3231,"pid":323,"name":"措勤县","level":4,"area_code":"542527000000","town_code":"","country_id":1} +,{"id":3232,"pid":324,"name":"市辖区","level":4,"area_code":"610101000000","town_code":"","country_id":1} +,{"id":3233,"pid":324,"name":"新城区","level":4,"area_code":"610102000000","town_code":"","country_id":1} +,{"id":3234,"pid":324,"name":"碑林区","level":4,"area_code":"610103000000","town_code":"","country_id":1} +,{"id":3235,"pid":324,"name":"莲湖区","level":4,"area_code":"610104000000","town_code":"","country_id":1} +,{"id":3236,"pid":324,"name":"灞桥区","level":4,"area_code":"610111000000","town_code":"","country_id":1} +,{"id":3237,"pid":324,"name":"未央区","level":4,"area_code":"610112000000","town_code":"","country_id":1} +,{"id":3238,"pid":324,"name":"雁塔区","level":4,"area_code":"610113000000","town_code":"","country_id":1} +,{"id":3239,"pid":324,"name":"阎良区","level":4,"area_code":"610114000000","town_code":"","country_id":1} +,{"id":3240,"pid":324,"name":"临潼区","level":4,"area_code":"610115000000","town_code":"","country_id":1} +,{"id":3241,"pid":324,"name":"长安区","level":4,"area_code":"610116000000","town_code":"","country_id":1} +,{"id":3242,"pid":324,"name":"高陵区","level":4,"area_code":"610117000000","town_code":"","country_id":1} +,{"id":3243,"pid":324,"name":"鄠邑区","level":4,"area_code":"610118000000","town_code":"","country_id":1} +,{"id":3244,"pid":324,"name":"蓝田县","level":4,"area_code":"610122000000","town_code":"","country_id":1} +,{"id":3245,"pid":324,"name":"周至县","level":4,"area_code":"610124000000","town_code":"","country_id":1} +,{"id":3246,"pid":325,"name":"市辖区","level":4,"area_code":"610201000000","town_code":"","country_id":1} +,{"id":3247,"pid":325,"name":"王益区","level":4,"area_code":"610202000000","town_code":"","country_id":1} +,{"id":3248,"pid":325,"name":"印台区","level":4,"area_code":"610203000000","town_code":"","country_id":1} +,{"id":3249,"pid":325,"name":"耀州区","level":4,"area_code":"610204000000","town_code":"","country_id":1} +,{"id":3250,"pid":325,"name":"宜君县","level":4,"area_code":"610222000000","town_code":"","country_id":1} +,{"id":3251,"pid":326,"name":"市辖区","level":4,"area_code":"610301000000","town_code":"","country_id":1} +,{"id":3252,"pid":326,"name":"渭滨区","level":4,"area_code":"610302000000","town_code":"","country_id":1} +,{"id":3253,"pid":326,"name":"金台区","level":4,"area_code":"610303000000","town_code":"","country_id":1} +,{"id":3254,"pid":326,"name":"陈仓区","level":4,"area_code":"610304000000","town_code":"","country_id":1} +,{"id":3255,"pid":326,"name":"凤翔区","level":4,"area_code":"610305000000","town_code":"","country_id":1} +,{"id":3256,"pid":326,"name":"岐山县","level":4,"area_code":"610323000000","town_code":"","country_id":1} +,{"id":3257,"pid":326,"name":"扶风县","level":4,"area_code":"610324000000","town_code":"","country_id":1} +,{"id":3258,"pid":326,"name":"眉县","level":4,"area_code":"610326000000","town_code":"","country_id":1} +,{"id":3259,"pid":326,"name":"陇县","level":4,"area_code":"610327000000","town_code":"","country_id":1} +,{"id":3260,"pid":326,"name":"千阳县","level":4,"area_code":"610328000000","town_code":"","country_id":1} +,{"id":3261,"pid":326,"name":"麟游县","level":4,"area_code":"610329000000","town_code":"","country_id":1} +,{"id":3262,"pid":326,"name":"凤县","level":4,"area_code":"610330000000","town_code":"","country_id":1} +,{"id":3263,"pid":326,"name":"太白县","level":4,"area_code":"610331000000","town_code":"","country_id":1} +,{"id":3264,"pid":327,"name":"市辖区","level":4,"area_code":"610401000000","town_code":"","country_id":1} +,{"id":3265,"pid":327,"name":"秦都区","level":4,"area_code":"610402000000","town_code":"","country_id":1} +,{"id":3266,"pid":327,"name":"杨陵区","level":4,"area_code":"610403000000","town_code":"","country_id":1} +,{"id":3267,"pid":327,"name":"渭城区","level":4,"area_code":"610404000000","town_code":"","country_id":1} +,{"id":3268,"pid":327,"name":"三原县","level":4,"area_code":"610422000000","town_code":"","country_id":1} +,{"id":3269,"pid":327,"name":"泾阳县","level":4,"area_code":"610423000000","town_code":"","country_id":1} +,{"id":3270,"pid":327,"name":"乾县","level":4,"area_code":"610424000000","town_code":"","country_id":1} +,{"id":3271,"pid":327,"name":"礼泉县","level":4,"area_code":"610425000000","town_code":"","country_id":1} +,{"id":3272,"pid":327,"name":"永寿县","level":4,"area_code":"610426000000","town_code":"","country_id":1} +,{"id":3273,"pid":327,"name":"长武县","level":4,"area_code":"610428000000","town_code":"","country_id":1} +,{"id":3274,"pid":327,"name":"旬邑县","level":4,"area_code":"610429000000","town_code":"","country_id":1} +,{"id":3275,"pid":327,"name":"淳化县","level":4,"area_code":"610430000000","town_code":"","country_id":1} +,{"id":3276,"pid":327,"name":"武功县","level":4,"area_code":"610431000000","town_code":"","country_id":1} +,{"id":3277,"pid":327,"name":"兴平市","level":4,"area_code":"610481000000","town_code":"","country_id":1} +,{"id":3278,"pid":327,"name":"彬州市","level":4,"area_code":"610482000000","town_code":"","country_id":1} +,{"id":3279,"pid":328,"name":"市辖区","level":4,"area_code":"610501000000","town_code":"","country_id":1} +,{"id":3280,"pid":328,"name":"临渭区","level":4,"area_code":"610502000000","town_code":"","country_id":1} +,{"id":3281,"pid":328,"name":"华州区","level":4,"area_code":"610503000000","town_code":"","country_id":1} +,{"id":3282,"pid":328,"name":"潼关县","level":4,"area_code":"610522000000","town_code":"","country_id":1} +,{"id":3283,"pid":328,"name":"大荔县","level":4,"area_code":"610523000000","town_code":"","country_id":1} +,{"id":3284,"pid":328,"name":"合阳县","level":4,"area_code":"610524000000","town_code":"","country_id":1} +,{"id":3285,"pid":328,"name":"澄城县","level":4,"area_code":"610525000000","town_code":"","country_id":1} +,{"id":3286,"pid":328,"name":"蒲城县","level":4,"area_code":"610526000000","town_code":"","country_id":1} +,{"id":3287,"pid":328,"name":"白水县","level":4,"area_code":"610527000000","town_code":"","country_id":1} +,{"id":3288,"pid":328,"name":"富平县","level":4,"area_code":"610528000000","town_code":"","country_id":1} +,{"id":3289,"pid":328,"name":"韩城市","level":4,"area_code":"610581000000","town_code":"","country_id":1} +,{"id":3290,"pid":328,"name":"华阴市","level":4,"area_code":"610582000000","town_code":"","country_id":1} +,{"id":3291,"pid":329,"name":"市辖区","level":4,"area_code":"610601000000","town_code":"","country_id":1} +,{"id":3292,"pid":329,"name":"宝塔区","level":4,"area_code":"610602000000","town_code":"","country_id":1} +,{"id":3293,"pid":329,"name":"安塞区","level":4,"area_code":"610603000000","town_code":"","country_id":1} +,{"id":3294,"pid":329,"name":"延长县","level":4,"area_code":"610621000000","town_code":"","country_id":1} +,{"id":3295,"pid":329,"name":"延川县","level":4,"area_code":"610622000000","town_code":"","country_id":1} +,{"id":3296,"pid":329,"name":"志丹县","level":4,"area_code":"610625000000","town_code":"","country_id":1} +,{"id":3297,"pid":329,"name":"吴起县","level":4,"area_code":"610626000000","town_code":"","country_id":1} +,{"id":3298,"pid":329,"name":"甘泉县","level":4,"area_code":"610627000000","town_code":"","country_id":1} +,{"id":3299,"pid":329,"name":"富县","level":4,"area_code":"610628000000","town_code":"","country_id":1} +,{"id":3300,"pid":329,"name":"洛川县","level":4,"area_code":"610629000000","town_code":"","country_id":1} +,{"id":3301,"pid":329,"name":"宜川县","level":4,"area_code":"610630000000","town_code":"","country_id":1} +,{"id":3302,"pid":329,"name":"黄龙县","level":4,"area_code":"610631000000","town_code":"","country_id":1} +,{"id":3303,"pid":329,"name":"黄陵县","level":4,"area_code":"610632000000","town_code":"","country_id":1} +,{"id":3304,"pid":329,"name":"子长市","level":4,"area_code":"610681000000","town_code":"","country_id":1} +,{"id":3305,"pid":330,"name":"市辖区","level":4,"area_code":"610701000000","town_code":"","country_id":1} +,{"id":3306,"pid":330,"name":"汉台区","level":4,"area_code":"610702000000","town_code":"","country_id":1} +,{"id":3307,"pid":330,"name":"南郑区","level":4,"area_code":"610703000000","town_code":"","country_id":1} +,{"id":3308,"pid":330,"name":"城固县","level":4,"area_code":"610722000000","town_code":"","country_id":1} +,{"id":3309,"pid":330,"name":"洋县","level":4,"area_code":"610723000000","town_code":"","country_id":1} +,{"id":3310,"pid":330,"name":"西乡县","level":4,"area_code":"610724000000","town_code":"","country_id":1} +,{"id":3311,"pid":330,"name":"勉县","level":4,"area_code":"610725000000","town_code":"","country_id":1} +,{"id":3312,"pid":330,"name":"宁强县","level":4,"area_code":"610726000000","town_code":"","country_id":1} +,{"id":3313,"pid":330,"name":"略阳县","level":4,"area_code":"610727000000","town_code":"","country_id":1} +,{"id":3314,"pid":330,"name":"镇巴县","level":4,"area_code":"610728000000","town_code":"","country_id":1} +,{"id":3315,"pid":330,"name":"留坝县","level":4,"area_code":"610729000000","town_code":"","country_id":1} +,{"id":3316,"pid":330,"name":"佛坪县","level":4,"area_code":"610730000000","town_code":"","country_id":1} +,{"id":3317,"pid":331,"name":"市辖区","level":4,"area_code":"610801000000","town_code":"","country_id":1} +,{"id":3318,"pid":331,"name":"榆阳区","level":4,"area_code":"610802000000","town_code":"","country_id":1} +,{"id":3319,"pid":331,"name":"横山区","level":4,"area_code":"610803000000","town_code":"","country_id":1} +,{"id":3320,"pid":331,"name":"府谷县","level":4,"area_code":"610822000000","town_code":"","country_id":1} +,{"id":3321,"pid":331,"name":"靖边县","level":4,"area_code":"610824000000","town_code":"","country_id":1} +,{"id":3322,"pid":331,"name":"定边县","level":4,"area_code":"610825000000","town_code":"","country_id":1} +,{"id":3323,"pid":331,"name":"绥德县","level":4,"area_code":"610826000000","town_code":"","country_id":1} +,{"id":3324,"pid":331,"name":"米脂县","level":4,"area_code":"610827000000","town_code":"","country_id":1} +,{"id":3325,"pid":331,"name":"佳县","level":4,"area_code":"610828000000","town_code":"","country_id":1} +,{"id":3326,"pid":331,"name":"吴堡县","level":4,"area_code":"610829000000","town_code":"","country_id":1} +,{"id":3327,"pid":331,"name":"清涧县","level":4,"area_code":"610830000000","town_code":"","country_id":1} +,{"id":3328,"pid":331,"name":"子洲县","level":4,"area_code":"610831000000","town_code":"","country_id":1} +,{"id":3329,"pid":331,"name":"神木市","level":4,"area_code":"610881000000","town_code":"","country_id":1} +,{"id":3330,"pid":332,"name":"市辖区","level":4,"area_code":"610901000000","town_code":"","country_id":1} +,{"id":3331,"pid":332,"name":"汉滨区","level":4,"area_code":"610902000000","town_code":"","country_id":1} +,{"id":3332,"pid":332,"name":"汉阴县","level":4,"area_code":"610921000000","town_code":"","country_id":1} +,{"id":3333,"pid":332,"name":"石泉县","level":4,"area_code":"610922000000","town_code":"","country_id":1} +,{"id":3334,"pid":332,"name":"宁陕县","level":4,"area_code":"610923000000","town_code":"","country_id":1} +,{"id":3335,"pid":332,"name":"紫阳县","level":4,"area_code":"610924000000","town_code":"","country_id":1} +,{"id":3336,"pid":332,"name":"岚皋县","level":4,"area_code":"610925000000","town_code":"","country_id":1} +,{"id":3337,"pid":332,"name":"平利县","level":4,"area_code":"610926000000","town_code":"","country_id":1} +,{"id":3338,"pid":332,"name":"镇坪县","level":4,"area_code":"610927000000","town_code":"","country_id":1} +,{"id":3339,"pid":332,"name":"白河县","level":4,"area_code":"610929000000","town_code":"","country_id":1} +,{"id":3340,"pid":332,"name":"旬阳市","level":4,"area_code":"610981000000","town_code":"","country_id":1} +,{"id":3341,"pid":333,"name":"市辖区","level":4,"area_code":"611001000000","town_code":"","country_id":1} +,{"id":3342,"pid":333,"name":"商州区","level":4,"area_code":"611002000000","town_code":"","country_id":1} +,{"id":3343,"pid":333,"name":"洛南县","level":4,"area_code":"611021000000","town_code":"","country_id":1} +,{"id":3344,"pid":333,"name":"丹凤县","level":4,"area_code":"611022000000","town_code":"","country_id":1} +,{"id":3345,"pid":333,"name":"商南县","level":4,"area_code":"611023000000","town_code":"","country_id":1} +,{"id":3346,"pid":333,"name":"山阳县","level":4,"area_code":"611024000000","town_code":"","country_id":1} +,{"id":3347,"pid":333,"name":"镇安县","level":4,"area_code":"611025000000","town_code":"","country_id":1} +,{"id":3348,"pid":333,"name":"柞水县","level":4,"area_code":"611026000000","town_code":"","country_id":1} +,{"id":3349,"pid":334,"name":"市辖区","level":4,"area_code":"620101000000","town_code":"","country_id":1} +,{"id":3350,"pid":334,"name":"城关区","level":4,"area_code":"620102000000","town_code":"","country_id":1} +,{"id":3351,"pid":334,"name":"七里河区","level":4,"area_code":"620103000000","town_code":"","country_id":1} +,{"id":3352,"pid":334,"name":"西固区","level":4,"area_code":"620104000000","town_code":"","country_id":1} +,{"id":3353,"pid":334,"name":"安宁区","level":4,"area_code":"620105000000","town_code":"","country_id":1} +,{"id":3354,"pid":334,"name":"红古区","level":4,"area_code":"620111000000","town_code":"","country_id":1} +,{"id":3355,"pid":334,"name":"永登县","level":4,"area_code":"620121000000","town_code":"","country_id":1} +,{"id":3356,"pid":334,"name":"皋兰县","level":4,"area_code":"620122000000","town_code":"","country_id":1} +,{"id":3357,"pid":334,"name":"榆中县","level":4,"area_code":"620123000000","town_code":"","country_id":1} +,{"id":3358,"pid":334,"name":"兰州新区","level":4,"area_code":"620171000000","town_code":"","country_id":1} +,{"id":3359,"pid":335,"name":"市辖区","level":4,"area_code":"620201000000","town_code":"","country_id":1} +,{"id":3360,"pid":336,"name":"市辖区","level":4,"area_code":"620301000000","town_code":"","country_id":1} +,{"id":3361,"pid":336,"name":"金川区","level":4,"area_code":"620302000000","town_code":"","country_id":1} +,{"id":3362,"pid":336,"name":"永昌县","level":4,"area_code":"620321000000","town_code":"","country_id":1} +,{"id":3363,"pid":337,"name":"市辖区","level":4,"area_code":"620401000000","town_code":"","country_id":1} +,{"id":3364,"pid":337,"name":"白银区","level":4,"area_code":"620402000000","town_code":"","country_id":1} +,{"id":3365,"pid":337,"name":"平川区","level":4,"area_code":"620403000000","town_code":"","country_id":1} +,{"id":3366,"pid":337,"name":"靖远县","level":4,"area_code":"620421000000","town_code":"","country_id":1} +,{"id":3367,"pid":337,"name":"会宁县","level":4,"area_code":"620422000000","town_code":"","country_id":1} +,{"id":3368,"pid":337,"name":"景泰县","level":4,"area_code":"620423000000","town_code":"","country_id":1} +,{"id":3369,"pid":338,"name":"市辖区","level":4,"area_code":"620501000000","town_code":"","country_id":1} +,{"id":3370,"pid":338,"name":"秦州区","level":4,"area_code":"620502000000","town_code":"","country_id":1} +,{"id":3371,"pid":338,"name":"麦积区","level":4,"area_code":"620503000000","town_code":"","country_id":1} +,{"id":3372,"pid":338,"name":"清水县","level":4,"area_code":"620521000000","town_code":"","country_id":1} +,{"id":3373,"pid":338,"name":"秦安县","level":4,"area_code":"620522000000","town_code":"","country_id":1} +,{"id":3374,"pid":338,"name":"甘谷县","level":4,"area_code":"620523000000","town_code":"","country_id":1} +,{"id":3375,"pid":338,"name":"武山县","level":4,"area_code":"620524000000","town_code":"","country_id":1} +,{"id":3376,"pid":338,"name":"张家川回族自治县","level":4,"area_code":"620525000000","town_code":"","country_id":1} +,{"id":3377,"pid":339,"name":"市辖区","level":4,"area_code":"620601000000","town_code":"","country_id":1} +,{"id":3378,"pid":339,"name":"凉州区","level":4,"area_code":"620602000000","town_code":"","country_id":1} +,{"id":3379,"pid":339,"name":"民勤县","level":4,"area_code":"620621000000","town_code":"","country_id":1} +,{"id":3380,"pid":339,"name":"古浪县","level":4,"area_code":"620622000000","town_code":"","country_id":1} +,{"id":3381,"pid":339,"name":"天祝藏族自治县","level":4,"area_code":"620623000000","town_code":"","country_id":1} +,{"id":3382,"pid":340,"name":"市辖区","level":4,"area_code":"620701000000","town_code":"","country_id":1} +,{"id":3383,"pid":340,"name":"甘州区","level":4,"area_code":"620702000000","town_code":"","country_id":1} +,{"id":3384,"pid":340,"name":"肃南裕固族自治县","level":4,"area_code":"620721000000","town_code":"","country_id":1} +,{"id":3385,"pid":340,"name":"民乐县","level":4,"area_code":"620722000000","town_code":"","country_id":1} +,{"id":3386,"pid":340,"name":"临泽县","level":4,"area_code":"620723000000","town_code":"","country_id":1} +,{"id":3387,"pid":340,"name":"高台县","level":4,"area_code":"620724000000","town_code":"","country_id":1} +,{"id":3388,"pid":340,"name":"山丹县","level":4,"area_code":"620725000000","town_code":"","country_id":1} +,{"id":3389,"pid":341,"name":"市辖区","level":4,"area_code":"620801000000","town_code":"","country_id":1} +,{"id":3390,"pid":341,"name":"崆峒区","level":4,"area_code":"620802000000","town_code":"","country_id":1} +,{"id":3391,"pid":341,"name":"泾川县","level":4,"area_code":"620821000000","town_code":"","country_id":1} +,{"id":3392,"pid":341,"name":"灵台县","level":4,"area_code":"620822000000","town_code":"","country_id":1} +,{"id":3393,"pid":341,"name":"崇信县","level":4,"area_code":"620823000000","town_code":"","country_id":1} +,{"id":3394,"pid":341,"name":"庄浪县","level":4,"area_code":"620825000000","town_code":"","country_id":1} +,{"id":3395,"pid":341,"name":"静宁县","level":4,"area_code":"620826000000","town_code":"","country_id":1} +,{"id":3396,"pid":341,"name":"华亭市","level":4,"area_code":"620881000000","town_code":"","country_id":1} +,{"id":3397,"pid":342,"name":"市辖区","level":4,"area_code":"620901000000","town_code":"","country_id":1} +,{"id":3398,"pid":342,"name":"肃州区","level":4,"area_code":"620902000000","town_code":"","country_id":1} +,{"id":3399,"pid":342,"name":"金塔县","level":4,"area_code":"620921000000","town_code":"","country_id":1} +,{"id":3400,"pid":342,"name":"瓜州县","level":4,"area_code":"620922000000","town_code":"","country_id":1} +,{"id":3401,"pid":342,"name":"肃北蒙古族自治县","level":4,"area_code":"620923000000","town_code":"","country_id":1} +,{"id":3402,"pid":342,"name":"阿克塞哈萨克族自治县","level":4,"area_code":"620924000000","town_code":"","country_id":1} +,{"id":3403,"pid":342,"name":"玉门市","level":4,"area_code":"620981000000","town_code":"","country_id":1} +,{"id":3404,"pid":342,"name":"敦煌市","level":4,"area_code":"620982000000","town_code":"","country_id":1} +,{"id":3405,"pid":343,"name":"市辖区","level":4,"area_code":"621001000000","town_code":"","country_id":1} +,{"id":3406,"pid":343,"name":"西峰区","level":4,"area_code":"621002000000","town_code":"","country_id":1} +,{"id":3407,"pid":343,"name":"庆城县","level":4,"area_code":"621021000000","town_code":"","country_id":1} +,{"id":3408,"pid":343,"name":"环县","level":4,"area_code":"621022000000","town_code":"","country_id":1} +,{"id":3409,"pid":343,"name":"华池县","level":4,"area_code":"621023000000","town_code":"","country_id":1} +,{"id":3410,"pid":343,"name":"合水县","level":4,"area_code":"621024000000","town_code":"","country_id":1} +,{"id":3411,"pid":343,"name":"正宁县","level":4,"area_code":"621025000000","town_code":"","country_id":1} +,{"id":3412,"pid":343,"name":"宁县","level":4,"area_code":"621026000000","town_code":"","country_id":1} +,{"id":3413,"pid":343,"name":"镇原县","level":4,"area_code":"621027000000","town_code":"","country_id":1} +,{"id":3414,"pid":344,"name":"市辖区","level":4,"area_code":"621101000000","town_code":"","country_id":1} +,{"id":3415,"pid":344,"name":"安定区","level":4,"area_code":"621102000000","town_code":"","country_id":1} +,{"id":3416,"pid":344,"name":"通渭县","level":4,"area_code":"621121000000","town_code":"","country_id":1} +,{"id":3417,"pid":344,"name":"陇西县","level":4,"area_code":"621122000000","town_code":"","country_id":1} +,{"id":3418,"pid":344,"name":"渭源县","level":4,"area_code":"621123000000","town_code":"","country_id":1} +,{"id":3419,"pid":344,"name":"临洮县","level":4,"area_code":"621124000000","town_code":"","country_id":1} +,{"id":3420,"pid":344,"name":"漳县","level":4,"area_code":"621125000000","town_code":"","country_id":1} +,{"id":3421,"pid":344,"name":"岷县","level":4,"area_code":"621126000000","town_code":"","country_id":1} +,{"id":3422,"pid":345,"name":"市辖区","level":4,"area_code":"621201000000","town_code":"","country_id":1} +,{"id":3423,"pid":345,"name":"武都区","level":4,"area_code":"621202000000","town_code":"","country_id":1} +,{"id":3424,"pid":345,"name":"成县","level":4,"area_code":"621221000000","town_code":"","country_id":1} +,{"id":3425,"pid":345,"name":"文县","level":4,"area_code":"621222000000","town_code":"","country_id":1} +,{"id":3426,"pid":345,"name":"宕昌县","level":4,"area_code":"621223000000","town_code":"","country_id":1} +,{"id":3427,"pid":345,"name":"康县","level":4,"area_code":"621224000000","town_code":"","country_id":1} +,{"id":3428,"pid":345,"name":"西和县","level":4,"area_code":"621225000000","town_code":"","country_id":1} +,{"id":3429,"pid":345,"name":"礼县","level":4,"area_code":"621226000000","town_code":"","country_id":1} +,{"id":3430,"pid":345,"name":"徽县","level":4,"area_code":"621227000000","town_code":"","country_id":1} +,{"id":3431,"pid":345,"name":"两当县","level":4,"area_code":"621228000000","town_code":"","country_id":1} +,{"id":3432,"pid":346,"name":"临夏市","level":4,"area_code":"622901000000","town_code":"","country_id":1} +,{"id":3433,"pid":346,"name":"临夏县","level":4,"area_code":"622921000000","town_code":"","country_id":1} +,{"id":3434,"pid":346,"name":"康乐县","level":4,"area_code":"622922000000","town_code":"","country_id":1} +,{"id":3435,"pid":346,"name":"永靖县","level":4,"area_code":"622923000000","town_code":"","country_id":1} +,{"id":3436,"pid":346,"name":"广河县","level":4,"area_code":"622924000000","town_code":"","country_id":1} +,{"id":3437,"pid":346,"name":"和政县","level":4,"area_code":"622925000000","town_code":"","country_id":1} +,{"id":3438,"pid":346,"name":"东乡族自治县","level":4,"area_code":"622926000000","town_code":"","country_id":1} +,{"id":3439,"pid":346,"name":"积石山保安族东乡族撒拉族自治县","level":4,"area_code":"622927000000","town_code":"","country_id":1} +,{"id":3440,"pid":347,"name":"合作市","level":4,"area_code":"623001000000","town_code":"","country_id":1} +,{"id":3441,"pid":347,"name":"临潭县","level":4,"area_code":"623021000000","town_code":"","country_id":1} +,{"id":3442,"pid":347,"name":"卓尼县","level":4,"area_code":"623022000000","town_code":"","country_id":1} +,{"id":3443,"pid":347,"name":"舟曲县","level":4,"area_code":"623023000000","town_code":"","country_id":1} +,{"id":3444,"pid":347,"name":"迭部县","level":4,"area_code":"623024000000","town_code":"","country_id":1} +,{"id":3445,"pid":347,"name":"玛曲县","level":4,"area_code":"623025000000","town_code":"","country_id":1} +,{"id":3446,"pid":347,"name":"碌曲县","level":4,"area_code":"623026000000","town_code":"","country_id":1} +,{"id":3447,"pid":347,"name":"夏河县","level":4,"area_code":"623027000000","town_code":"","country_id":1} +,{"id":3448,"pid":348,"name":"市辖区","level":4,"area_code":"630101000000","town_code":"","country_id":1} +,{"id":3449,"pid":348,"name":"城东区","level":4,"area_code":"630102000000","town_code":"","country_id":1} +,{"id":3450,"pid":348,"name":"城中区","level":4,"area_code":"630103000000","town_code":"","country_id":1} +,{"id":3451,"pid":348,"name":"城西区","level":4,"area_code":"630104000000","town_code":"","country_id":1} +,{"id":3452,"pid":348,"name":"城北区","level":4,"area_code":"630105000000","town_code":"","country_id":1} +,{"id":3453,"pid":348,"name":"湟中区","level":4,"area_code":"630106000000","town_code":"","country_id":1} +,{"id":3454,"pid":348,"name":"大通回族土族自治县","level":4,"area_code":"630121000000","town_code":"","country_id":1} +,{"id":3455,"pid":348,"name":"湟源县","level":4,"area_code":"630123000000","town_code":"","country_id":1} +,{"id":3456,"pid":349,"name":"乐都区","level":4,"area_code":"630202000000","town_code":"","country_id":1} +,{"id":3457,"pid":349,"name":"平安区","level":4,"area_code":"630203000000","town_code":"","country_id":1} +,{"id":3458,"pid":349,"name":"民和回族土族自治县","level":4,"area_code":"630222000000","town_code":"","country_id":1} +,{"id":3459,"pid":349,"name":"互助土族自治县","level":4,"area_code":"630223000000","town_code":"","country_id":1} +,{"id":3460,"pid":349,"name":"化隆回族自治县","level":4,"area_code":"630224000000","town_code":"","country_id":1} +,{"id":3461,"pid":349,"name":"循化撒拉族自治县","level":4,"area_code":"630225000000","town_code":"","country_id":1} +,{"id":3462,"pid":350,"name":"门源回族自治县","level":4,"area_code":"632221000000","town_code":"","country_id":1} +,{"id":3463,"pid":350,"name":"祁连县","level":4,"area_code":"632222000000","town_code":"","country_id":1} +,{"id":3464,"pid":350,"name":"海晏县","level":4,"area_code":"632223000000","town_code":"","country_id":1} +,{"id":3465,"pid":350,"name":"刚察县","level":4,"area_code":"632224000000","town_code":"","country_id":1} +,{"id":3466,"pid":351,"name":"同仁市","level":4,"area_code":"632301000000","town_code":"","country_id":1} +,{"id":3467,"pid":351,"name":"尖扎县","level":4,"area_code":"632322000000","town_code":"","country_id":1} +,{"id":3468,"pid":351,"name":"泽库县","level":4,"area_code":"632323000000","town_code":"","country_id":1} +,{"id":3469,"pid":351,"name":"河南蒙古族自治县","level":4,"area_code":"632324000000","town_code":"","country_id":1} +,{"id":3470,"pid":352,"name":"共和县","level":4,"area_code":"632521000000","town_code":"","country_id":1} +,{"id":3471,"pid":352,"name":"同德县","level":4,"area_code":"632522000000","town_code":"","country_id":1} +,{"id":3472,"pid":352,"name":"贵德县","level":4,"area_code":"632523000000","town_code":"","country_id":1} +,{"id":3473,"pid":352,"name":"兴海县","level":4,"area_code":"632524000000","town_code":"","country_id":1} +,{"id":3474,"pid":352,"name":"贵南县","level":4,"area_code":"632525000000","town_code":"","country_id":1} +,{"id":3475,"pid":353,"name":"玛沁县","level":4,"area_code":"632621000000","town_code":"","country_id":1} +,{"id":3476,"pid":353,"name":"班玛县","level":4,"area_code":"632622000000","town_code":"","country_id":1} +,{"id":3477,"pid":353,"name":"甘德县","level":4,"area_code":"632623000000","town_code":"","country_id":1} +,{"id":3478,"pid":353,"name":"达日县","level":4,"area_code":"632624000000","town_code":"","country_id":1} +,{"id":3479,"pid":353,"name":"久治县","level":4,"area_code":"632625000000","town_code":"","country_id":1} +,{"id":3480,"pid":353,"name":"玛多县","level":4,"area_code":"632626000000","town_code":"","country_id":1} +,{"id":3481,"pid":354,"name":"玉树市","level":4,"area_code":"632701000000","town_code":"","country_id":1} +,{"id":3482,"pid":354,"name":"杂多县","level":4,"area_code":"632722000000","town_code":"","country_id":1} +,{"id":3483,"pid":354,"name":"称多县","level":4,"area_code":"632723000000","town_code":"","country_id":1} +,{"id":3484,"pid":354,"name":"治多县","level":4,"area_code":"632724000000","town_code":"","country_id":1} +,{"id":3485,"pid":354,"name":"囊谦县","level":4,"area_code":"632725000000","town_code":"","country_id":1} +,{"id":3486,"pid":354,"name":"曲麻莱县","level":4,"area_code":"632726000000","town_code":"","country_id":1} +,{"id":3487,"pid":355,"name":"格尔木市","level":4,"area_code":"632801000000","town_code":"","country_id":1} +,{"id":3488,"pid":355,"name":"德令哈市","level":4,"area_code":"632802000000","town_code":"","country_id":1} +,{"id":3489,"pid":355,"name":"茫崖市","level":4,"area_code":"632803000000","town_code":"","country_id":1} +,{"id":3490,"pid":355,"name":"乌兰县","level":4,"area_code":"632821000000","town_code":"","country_id":1} +,{"id":3491,"pid":355,"name":"都兰县","level":4,"area_code":"632822000000","town_code":"","country_id":1} +,{"id":3492,"pid":355,"name":"天峻县","level":4,"area_code":"632823000000","town_code":"","country_id":1} +,{"id":3493,"pid":355,"name":"大柴旦行政委员会","level":4,"area_code":"632857000000","town_code":"","country_id":1} +,{"id":3494,"pid":356,"name":"市辖区","level":4,"area_code":"640101000000","town_code":"","country_id":1} +,{"id":3495,"pid":356,"name":"兴庆区","level":4,"area_code":"640104000000","town_code":"","country_id":1} +,{"id":3496,"pid":356,"name":"西夏区","level":4,"area_code":"640105000000","town_code":"","country_id":1} +,{"id":3497,"pid":356,"name":"金凤区","level":4,"area_code":"640106000000","town_code":"","country_id":1} +,{"id":3498,"pid":356,"name":"永宁县","level":4,"area_code":"640121000000","town_code":"","country_id":1} +,{"id":3499,"pid":356,"name":"贺兰县","level":4,"area_code":"640122000000","town_code":"","country_id":1} +,{"id":3500,"pid":356,"name":"灵武市","level":4,"area_code":"640181000000","town_code":"","country_id":1} +,{"id":3501,"pid":357,"name":"市辖区","level":4,"area_code":"640201000000","town_code":"","country_id":1} +,{"id":3502,"pid":357,"name":"大武口区","level":4,"area_code":"640202000000","town_code":"","country_id":1} +,{"id":3503,"pid":357,"name":"惠农区","level":4,"area_code":"640205000000","town_code":"","country_id":1} +,{"id":3504,"pid":357,"name":"平罗县","level":4,"area_code":"640221000000","town_code":"","country_id":1} +,{"id":3505,"pid":358,"name":"市辖区","level":4,"area_code":"640301000000","town_code":"","country_id":1} +,{"id":3506,"pid":358,"name":"利通区","level":4,"area_code":"640302000000","town_code":"","country_id":1} +,{"id":3507,"pid":358,"name":"红寺堡区","level":4,"area_code":"640303000000","town_code":"","country_id":1} +,{"id":3508,"pid":358,"name":"盐池县","level":4,"area_code":"640323000000","town_code":"","country_id":1} +,{"id":3509,"pid":358,"name":"同心县","level":4,"area_code":"640324000000","town_code":"","country_id":1} +,{"id":3510,"pid":358,"name":"青铜峡市","level":4,"area_code":"640381000000","town_code":"","country_id":1} +,{"id":3511,"pid":359,"name":"市辖区","level":4,"area_code":"640401000000","town_code":"","country_id":1} +,{"id":3512,"pid":359,"name":"原州区","level":4,"area_code":"640402000000","town_code":"","country_id":1} +,{"id":3513,"pid":359,"name":"西吉县","level":4,"area_code":"640422000000","town_code":"","country_id":1} +,{"id":3514,"pid":359,"name":"隆德县","level":4,"area_code":"640423000000","town_code":"","country_id":1} +,{"id":3515,"pid":359,"name":"泾源县","level":4,"area_code":"640424000000","town_code":"","country_id":1} +,{"id":3516,"pid":359,"name":"彭阳县","level":4,"area_code":"640425000000","town_code":"","country_id":1} +,{"id":3517,"pid":360,"name":"市辖区","level":4,"area_code":"640501000000","town_code":"","country_id":1} +,{"id":3518,"pid":360,"name":"沙坡头区","level":4,"area_code":"640502000000","town_code":"","country_id":1} +,{"id":3519,"pid":360,"name":"中宁县","level":4,"area_code":"640521000000","town_code":"","country_id":1} +,{"id":3520,"pid":360,"name":"海原县","level":4,"area_code":"640522000000","town_code":"","country_id":1} +,{"id":3521,"pid":361,"name":"市辖区","level":4,"area_code":"650101000000","town_code":"","country_id":1} +,{"id":3522,"pid":361,"name":"天山区","level":4,"area_code":"650102000000","town_code":"","country_id":1} +,{"id":3523,"pid":361,"name":"沙依巴克区","level":4,"area_code":"650103000000","town_code":"","country_id":1} +,{"id":3524,"pid":361,"name":"新市区","level":4,"area_code":"650104000000","town_code":"","country_id":1} +,{"id":3525,"pid":361,"name":"水磨沟区","level":4,"area_code":"650105000000","town_code":"","country_id":1} +,{"id":3526,"pid":361,"name":"头屯河区","level":4,"area_code":"650106000000","town_code":"","country_id":1} +,{"id":3527,"pid":361,"name":"达坂城区","level":4,"area_code":"650107000000","town_code":"","country_id":1} +,{"id":3528,"pid":361,"name":"米东区","level":4,"area_code":"650109000000","town_code":"","country_id":1} +,{"id":3529,"pid":361,"name":"乌鲁木齐县","level":4,"area_code":"650121000000","town_code":"","country_id":1} +,{"id":3530,"pid":362,"name":"市辖区","level":4,"area_code":"650201000000","town_code":"","country_id":1} +,{"id":3531,"pid":362,"name":"独山子区","level":4,"area_code":"650202000000","town_code":"","country_id":1} +,{"id":3532,"pid":362,"name":"克拉玛依区","level":4,"area_code":"650203000000","town_code":"","country_id":1} +,{"id":3533,"pid":362,"name":"白碱滩区","level":4,"area_code":"650204000000","town_code":"","country_id":1} +,{"id":3534,"pid":362,"name":"乌尔禾区","level":4,"area_code":"650205000000","town_code":"","country_id":1} +,{"id":3535,"pid":363,"name":"高昌区","level":4,"area_code":"650402000000","town_code":"","country_id":1} +,{"id":3536,"pid":363,"name":"鄯善县","level":4,"area_code":"650421000000","town_code":"","country_id":1} +,{"id":3537,"pid":363,"name":"托克逊县","level":4,"area_code":"650422000000","town_code":"","country_id":1} +,{"id":3538,"pid":364,"name":"伊州区","level":4,"area_code":"650502000000","town_code":"","country_id":1} +,{"id":3539,"pid":364,"name":"巴里坤哈萨克自治县","level":4,"area_code":"650521000000","town_code":"","country_id":1} +,{"id":3540,"pid":364,"name":"伊吾县","level":4,"area_code":"650522000000","town_code":"","country_id":1} +,{"id":3541,"pid":365,"name":"昌吉市","level":4,"area_code":"652301000000","town_code":"","country_id":1} +,{"id":3542,"pid":365,"name":"阜康市","level":4,"area_code":"652302000000","town_code":"","country_id":1} +,{"id":3543,"pid":365,"name":"呼图壁县","level":4,"area_code":"652323000000","town_code":"","country_id":1} +,{"id":3544,"pid":365,"name":"玛纳斯县","level":4,"area_code":"652324000000","town_code":"","country_id":1} +,{"id":3545,"pid":365,"name":"奇台县","level":4,"area_code":"652325000000","town_code":"","country_id":1} +,{"id":3546,"pid":365,"name":"吉木萨尔县","level":4,"area_code":"652327000000","town_code":"","country_id":1} +,{"id":3547,"pid":365,"name":"木垒哈萨克自治县","level":4,"area_code":"652328000000","town_code":"","country_id":1} +,{"id":3548,"pid":366,"name":"博乐市","level":4,"area_code":"652701000000","town_code":"","country_id":1} +,{"id":3549,"pid":366,"name":"阿拉山口市","level":4,"area_code":"652702000000","town_code":"","country_id":1} +,{"id":3550,"pid":366,"name":"精河县","level":4,"area_code":"652722000000","town_code":"","country_id":1} +,{"id":3551,"pid":366,"name":"温泉县","level":4,"area_code":"652723000000","town_code":"","country_id":1} +,{"id":3552,"pid":367,"name":"库尔勒市","level":4,"area_code":"652801000000","town_code":"","country_id":1} +,{"id":3553,"pid":367,"name":"轮台县","level":4,"area_code":"652822000000","town_code":"","country_id":1} +,{"id":3554,"pid":367,"name":"尉犁县","level":4,"area_code":"652823000000","town_code":"","country_id":1} +,{"id":3555,"pid":367,"name":"若羌县","level":4,"area_code":"652824000000","town_code":"","country_id":1} +,{"id":3556,"pid":367,"name":"且末县","level":4,"area_code":"652825000000","town_code":"","country_id":1} +,{"id":3557,"pid":367,"name":"焉耆回族自治县","level":4,"area_code":"652826000000","town_code":"","country_id":1} +,{"id":3558,"pid":367,"name":"和静县","level":4,"area_code":"652827000000","town_code":"","country_id":1} +,{"id":3559,"pid":367,"name":"和硕县","level":4,"area_code":"652828000000","town_code":"","country_id":1} +,{"id":3560,"pid":367,"name":"博湖县","level":4,"area_code":"652829000000","town_code":"","country_id":1} +,{"id":3561,"pid":368,"name":"阿克苏市","level":4,"area_code":"652901000000","town_code":"","country_id":1} +,{"id":3562,"pid":368,"name":"库车市","level":4,"area_code":"652902000000","town_code":"","country_id":1} +,{"id":3563,"pid":368,"name":"温宿县","level":4,"area_code":"652922000000","town_code":"","country_id":1} +,{"id":3564,"pid":368,"name":"沙雅县","level":4,"area_code":"652924000000","town_code":"","country_id":1} +,{"id":3565,"pid":368,"name":"新和县","level":4,"area_code":"652925000000","town_code":"","country_id":1} +,{"id":3566,"pid":368,"name":"拜城县","level":4,"area_code":"652926000000","town_code":"","country_id":1} +,{"id":3567,"pid":368,"name":"乌什县","level":4,"area_code":"652927000000","town_code":"","country_id":1} +,{"id":3568,"pid":368,"name":"阿瓦提县","level":4,"area_code":"652928000000","town_code":"","country_id":1} +,{"id":3569,"pid":368,"name":"柯坪县","level":4,"area_code":"652929000000","town_code":"","country_id":1} +,{"id":3570,"pid":369,"name":"阿图什市","level":4,"area_code":"653001000000","town_code":"","country_id":1} +,{"id":3571,"pid":369,"name":"阿克陶县","level":4,"area_code":"653022000000","town_code":"","country_id":1} +,{"id":3572,"pid":369,"name":"阿合奇县","level":4,"area_code":"653023000000","town_code":"","country_id":1} +,{"id":3573,"pid":369,"name":"乌恰县","level":4,"area_code":"653024000000","town_code":"","country_id":1} +,{"id":3574,"pid":370,"name":"喀什市","level":4,"area_code":"653101000000","town_code":"","country_id":1} +,{"id":3575,"pid":370,"name":"疏附县","level":4,"area_code":"653121000000","town_code":"","country_id":1} +,{"id":3576,"pid":370,"name":"疏勒县","level":4,"area_code":"653122000000","town_code":"","country_id":1} +,{"id":3577,"pid":370,"name":"英吉沙县","level":4,"area_code":"653123000000","town_code":"","country_id":1} +,{"id":3578,"pid":370,"name":"泽普县","level":4,"area_code":"653124000000","town_code":"","country_id":1} +,{"id":3579,"pid":370,"name":"莎车县","level":4,"area_code":"653125000000","town_code":"","country_id":1} +,{"id":3580,"pid":370,"name":"叶城县","level":4,"area_code":"653126000000","town_code":"","country_id":1} +,{"id":3581,"pid":370,"name":"麦盖提县","level":4,"area_code":"653127000000","town_code":"","country_id":1} +,{"id":3582,"pid":370,"name":"岳普湖县","level":4,"area_code":"653128000000","town_code":"","country_id":1} +,{"id":3583,"pid":370,"name":"伽师县","level":4,"area_code":"653129000000","town_code":"","country_id":1} +,{"id":3584,"pid":370,"name":"巴楚县","level":4,"area_code":"653130000000","town_code":"","country_id":1} +,{"id":3585,"pid":370,"name":"塔什库尔干塔吉克自治县","level":4,"area_code":"653131000000","town_code":"","country_id":1} +,{"id":3586,"pid":371,"name":"和田市","level":4,"area_code":"653201000000","town_code":"","country_id":1} +,{"id":3587,"pid":371,"name":"和田县","level":4,"area_code":"653221000000","town_code":"","country_id":1} +,{"id":3588,"pid":371,"name":"墨玉县","level":4,"area_code":"653222000000","town_code":"","country_id":1} +,{"id":3589,"pid":371,"name":"皮山县","level":4,"area_code":"653223000000","town_code":"","country_id":1} +,{"id":3590,"pid":371,"name":"洛浦县","level":4,"area_code":"653224000000","town_code":"","country_id":1} +,{"id":3591,"pid":371,"name":"策勒县","level":4,"area_code":"653225000000","town_code":"","country_id":1} +,{"id":3592,"pid":371,"name":"于田县","level":4,"area_code":"653226000000","town_code":"","country_id":1} +,{"id":3593,"pid":371,"name":"民丰县","level":4,"area_code":"653227000000","town_code":"","country_id":1} +,{"id":3594,"pid":372,"name":"伊宁市","level":4,"area_code":"654002000000","town_code":"","country_id":1} +,{"id":3595,"pid":372,"name":"奎屯市","level":4,"area_code":"654003000000","town_code":"","country_id":1} +,{"id":3596,"pid":372,"name":"霍尔果斯市","level":4,"area_code":"654004000000","town_code":"","country_id":1} +,{"id":3597,"pid":372,"name":"伊宁县","level":4,"area_code":"654021000000","town_code":"","country_id":1} +,{"id":3598,"pid":372,"name":"察布查尔锡伯自治县","level":4,"area_code":"654022000000","town_code":"","country_id":1} +,{"id":3599,"pid":372,"name":"霍城县","level":4,"area_code":"654023000000","town_code":"","country_id":1} +,{"id":3600,"pid":372,"name":"巩留县","level":4,"area_code":"654024000000","town_code":"","country_id":1} +,{"id":3601,"pid":372,"name":"新源县","level":4,"area_code":"654025000000","town_code":"","country_id":1} +,{"id":3602,"pid":372,"name":"昭苏县","level":4,"area_code":"654026000000","town_code":"","country_id":1} +,{"id":3603,"pid":372,"name":"特克斯县","level":4,"area_code":"654027000000","town_code":"","country_id":1} +,{"id":3604,"pid":372,"name":"尼勒克县","level":4,"area_code":"654028000000","town_code":"","country_id":1} +,{"id":3605,"pid":373,"name":"塔城市","level":4,"area_code":"654201000000","town_code":"","country_id":1} +,{"id":3606,"pid":373,"name":"乌苏市","level":4,"area_code":"654202000000","town_code":"","country_id":1} +,{"id":3607,"pid":373,"name":"沙湾市","level":4,"area_code":"654203000000","town_code":"","country_id":1} +,{"id":3608,"pid":373,"name":"额敏县","level":4,"area_code":"654221000000","town_code":"","country_id":1} +,{"id":3609,"pid":373,"name":"托里县","level":4,"area_code":"654224000000","town_code":"","country_id":1} +,{"id":3610,"pid":373,"name":"裕民县","level":4,"area_code":"654225000000","town_code":"","country_id":1} +,{"id":3611,"pid":373,"name":"和布克赛尔蒙古自治县","level":4,"area_code":"654226000000","town_code":"","country_id":1} +,{"id":3612,"pid":374,"name":"阿勒泰市","level":4,"area_code":"654301000000","town_code":"","country_id":1} +,{"id":3613,"pid":374,"name":"布尔津县","level":4,"area_code":"654321000000","town_code":"","country_id":1} +,{"id":3614,"pid":374,"name":"富蕴县","level":4,"area_code":"654322000000","town_code":"","country_id":1} +,{"id":3615,"pid":374,"name":"福海县","level":4,"area_code":"654323000000","town_code":"","country_id":1} +,{"id":3616,"pid":374,"name":"哈巴河县","level":4,"area_code":"654324000000","town_code":"","country_id":1} +,{"id":3617,"pid":374,"name":"青河县","level":4,"area_code":"654325000000","town_code":"","country_id":1} +,{"id":3618,"pid":374,"name":"吉木乃县","level":4,"area_code":"654326000000","town_code":"","country_id":1} +,{"id":3619,"pid":375,"name":"石河子市","level":4,"area_code":"659001000000","town_code":"","country_id":1} +,{"id":3620,"pid":375,"name":"阿拉尔市","level":4,"area_code":"659002000000","town_code":"","country_id":1} +,{"id":3621,"pid":375,"name":"图木舒克市","level":4,"area_code":"659003000000","town_code":"","country_id":1} +,{"id":3622,"pid":375,"name":"五家渠市","level":4,"area_code":"659004000000","town_code":"","country_id":1} +,{"id":3623,"pid":375,"name":"北屯市","level":4,"area_code":"659005000000","town_code":"","country_id":1} +,{"id":3624,"pid":375,"name":"铁门关市","level":4,"area_code":"659006000000","town_code":"","country_id":1} +,{"id":3625,"pid":375,"name":"双河市","level":4,"area_code":"659007000000","town_code":"","country_id":1} +,{"id":3626,"pid":375,"name":"可克达拉市","level":4,"area_code":"659008000000","town_code":"","country_id":1} +,{"id":3627,"pid":375,"name":"昆玉市","level":4,"area_code":"659009000000","town_code":"","country_id":1} +,{"id":3628,"pid":375,"name":"胡杨河市","level":4,"area_code":"659010000000","town_code":"","country_id":1} +,{"id":3629,"pid":375,"name":"新星市","level":4,"area_code":"659011000000","town_code":"","country_id":1} +,{"id":3630,"pid":375,"name":"白杨市","level":4,"area_code":"659012000000","town_code":"","country_id":1} +]` diff --git a/pkg/service/artistInfo/area/areaRedis.go b/pkg/service/artistInfo/area/areaRedis.go new file mode 100644 index 0000000..421f2a6 --- /dev/null +++ b/pkg/service/artistInfo/area/areaRedis.go @@ -0,0 +1,25 @@ +// Package area ----------------------------- +// @file : areaRedis.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/23 下午4:07 +// ------------------------------------------- +package area + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/go-redis/redis" +) + +var areaRedis *redis.Client + +func AreaRedis() *redis.Client { + if areaRedis == nil { + areaRedis = redis.NewClient(&redis.Options{ + Addr: config.RedisAddr, + Password: config.RedisPw, + DB: 3, + }) + } + return areaRedis +} diff --git a/pkg/service/artistInfo/area/areaService.go b/pkg/service/artistInfo/area/areaService.go new file mode 100644 index 0000000..c6f9460 --- /dev/null +++ b/pkg/service/artistInfo/area/areaService.go @@ -0,0 +1,86 @@ +// Package area ----------------------------- +// @file : areaService.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/17 下午4:37 +// ------------------------------------------- +package area + +import ( + "encoding/json" +) + +// 国家、省、市、区数据树,包含银行信息 +var chinaAreaTree []AreaTree + +type AreaInfo struct { + //bankQuery.Data + //区域信息 + Id int `json:"id"` //id + Pid int `json:"pid"` //父级id + Name string `json:"name"` //地区名称 + Level int `json:"level"` //层级 + AreaCode string `json:"area_code"` //区域代码 + TownCode string `json:"town_code"` //乡镇代码 + CountryId int `json:"country_id"` //国家id +} +type AreaTree struct { + AreaInfo + Children []AreaTree +} + +// 获取地区列表,包含国家、省、市、区 +func GetAreaList() (data []AreaInfo, err error) { + err = json.Unmarshal([]byte(areaList), &data) + return +} + +// 获取中国的省市区列表 +func GetChinaAreaTree() (data []AreaTree, err error) { + if chinaAreaTree != nil { + return chinaAreaTree[0].Children, nil + } + chinaAreaTree, err = GetAreaTree() + if err != nil { + return + } + return data[0].Children, nil +} + +// 层级 1-国家 2-省 3-市 4-区 +func GetAreaTree() (data []AreaTree, err error) { + var listData []AreaInfo + err = json.Unmarshal([]byte(areaList), &listData) + if err != nil { + return + } + for _, v := range listData { + if v.Pid == 0 { + v := v + var newArea = AreaTree{ + AreaInfo: v, + } + newArea.Children = buildChildrenTree(listData, newArea.Id, newArea.Name) + data = append(data, newArea) + break + } + } + return +} +func buildChildrenTree(data []AreaInfo, pid int, pName string) (children []AreaTree) { + for _, v := range data { + if v.Pid == pid { + v := v + var newArea = AreaTree{ + AreaInfo: v, + } + //市辖区的名称改为省份名称 + if newArea.Name == "市辖区" { + newArea.Name = pName + } + newArea.Children = buildChildrenTree(data, newArea.Id, newArea.Name) + children = append(children, newArea) + } + } + return +} diff --git a/pkg/service/artistInfo/area/areaService_test.go b/pkg/service/artistInfo/area/areaService_test.go new file mode 100644 index 0000000..79bb7b0 --- /dev/null +++ b/pkg/service/artistInfo/area/areaService_test.go @@ -0,0 +1,28 @@ +// Package area ----------------------------- +// @file : areaService_test.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/22 上午9:56 +// ------------------------------------------- +package area + +import ( + "fmt" + "testing" + "time" +) + +func TestGet(t *testing.T) { + now := time.Now() + list, err := GetAreaTree() + if err != nil { + t.Error(err) + return + } + for _, area := range list { + for _, aa := range area.Children { + fmt.Println(aa.Name) + } + } + fmt.Println(time.Now().Sub(now)) +} diff --git a/pkg/service/artistInfo/area/handle.go b/pkg/service/artistInfo/area/handle.go new file mode 100644 index 0000000..a0854c1 --- /dev/null +++ b/pkg/service/artistInfo/area/handle.go @@ -0,0 +1,64 @@ +// Package area ----------------------------- +// @file : handle.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/22 下午1:17 +// ------------------------------------------- +package area + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func GetAreaTreeHandler(c *gin.Context) { + t, err := GetChinaAreaTree() + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.Success(c, &t) +} + +type GetBankListRequest struct { + Province string `json:"province"` + City string `json:"city"` + BankName string `json:"bankName"` + LBankName string `json:"lBankName"` +} + +func GetBankListHandler(c *gin.Context) { + var request GetBankListRequest + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if request.Province == "" { + service.Error(c, e.InvalidParams, nil, "省份不能为空") + return + } + if request.City == "" { + service.Error(c, e.InvalidParams, nil, "城市不能为空") + return + } + if request.BankName == "" { + service.Error(c, e.InvalidParams, nil, "银行总行名称不能为空") + return + } + if len([]rune(request.BankName)) > 10 { + service.Error(c, e.InvalidParams, nil, "开户行请填写总行名称") + return + } + data, err := new(BankService).QueryBanInfoList(request.Province, request.City, request.BankName, request.LBankName) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.ResponseList(c, data, service.OptionPage(1, len(data), len(data))) +} + +func GetMainBankListHandler(c *gin.Context) { + data := new(BankService).QueryMainBanInfoList() + service.ResponseList(c, data) +} diff --git a/pkg/service/artistInfo/area/query3MainBankList.txt b/pkg/service/artistInfo/area/query3MainBankList.txt new file mode 100644 index 0000000..ac6363d --- /dev/null +++ b/pkg/service/artistInfo/area/query3MainBankList.txt @@ -0,0 +1,2400 @@ +(澳门地区)中国银行股份有限公司澳门分行人民币清算行 +(香港地区)中国银行(香港)人民币清算行(只办理清算业务) +万宁金谷村镇银行有限责任公司 +万州中银富登村镇银行 +万年稻源村镇银行股份有限公司 +万荣县汇民村镇银行有限责任公司 +三井住友银行(中国)有限公司 +三亚惠民村镇银行股份有限公司 +三水珠江村镇银行股份有限公司 +三河蒙银村镇银行股份有限公司 +三菱日联银行(中国)有限公司上海分行 +三都富民村镇银行股份有限公司 +上海东方汇融-备付金账户 +上海亿付-备付金账户 +上海付费通-备付金账户 +上海便利通电子商务有限公司-备付金账户 +上海农商银行 +上海华瑞银行 +上海商业银行有限公司深圳分行 +上海商业高新技术发展有限公司-备付金账户 +上海商旅通商务服务有限公司-备付金账户 +上海商联信电子支付服务有限公司-备付金账户 +上海嘉定民生村镇银行股份有限公司 +上海嘉定洪都村镇银行股份有限公司 +上海大众交通商务有限公司-备付金账户 +上海大千商务-备付金账户 +上海奉贤浦发村镇银行股份有限公司 +上海宝山富民村镇银行股份有限公司 +上海宝山扬子村镇银行股份有限公司 +上海富友-备付金账户 +上海崇明沪农商村镇银行股份有限公司 +上海巾帼-备付金账户 +上海得仕-备付金账户 +上海新华传媒电子商务有限公司-备付金账户 +上海松江富明村镇银行股份有限公司 +上海松江民生村镇银行股份有限公司 +上海汇付数据服务有限公司-备付金账户 +上海汽车集团财务有限责任公司 +上海浦东中银富登村镇银行有限责任公司 +上海浦东发展银行 +上海浦东恒通村镇银行股份有限公司 +上海浦东江南村镇银行股份有限公司 +上海润通实业投资有限公司-备付金账户 +上海瀚银信息技术有限公司-备付金账户 +上海点佰趣-备付金账户 +上海瑞得-备付金账户 +上海申城通商务有限公司-备付金账户 +上海申鑫-备付金账户 +上海电银-备付金账户 +上海盛付通-备付金账户 +上海票据交易所股份有限公司 +上海索迪斯万通服务有限公司-备付金账户 +上海纽斯达-备付金账户 +上海金山惠民村镇银行有限责任公司 +上海金诚通电子支付服务有限公司-备付金账户 +上海银生宝-备付金账户 +上海银联电子-备付金账户 +上海银行 +上海闵行上银村镇银行股份有限公司 +上海青浦惠金村镇银行股份有限公司 +上海黄金交易所 +上蔡惠民村镇银行股份有限公司 +上饶中银富登村镇银行 +上饶银行清算中心 +东丰吉银村镇银行股份有限公司 +东乌珠穆沁农信开元村镇银行有限责任公司 +东乌珠穆沁旗农村信用合作联社 +东乡族自治县农村信用合作联社 +东亚银行(中国)有限公司 +东兴国民村镇银行有限责任公司 +东宁润生村镇银行股份有限公司 +东山润鑫村镇银行股份有限公司 +东平沪农商村镇银行股份有限公司 +东方付通-备付金账户 +东方惠丰村镇银行股份有限公司 +东方支付-备付金账户 +东方汇理银行(中国)有限公司上海分行 +东旭集团财务有限公司 +东明中银富登村镇银行 +东源泰业村镇银行股份有限公司 +东莞农村商业银行股份有限公司 +东莞厚街华业村镇银行股份有限公司 +东莞大朗东盈村镇银行股份有限公司 +东莞常平新华村镇银行股份有限公司 +东莞虎门长江村镇银行股份有限公司 +东莞银行股份有限公司 +东莞长安村镇银行股份有限公司 +东莞黄江珠江村镇银行股份有限公司 +东营河口中成村镇银行股份有限公司 +东营莱商村镇银行股份有限公司 +东营融和村镇银行股份有限公司 +东营银行股份有限公司 +东辽农商村镇银行股份有限公司 +东辽县农村信用合作联社营业部 +东阿青隆村镇银行股份有限公司 +个旧沪农商村镇银行股份有限公司 +中付支付-备付金账户 +中信恒达-备付金账户 +中信百信银行 +中信银行 +中信银行国际(中国)有限公司 +中卫香山村镇银行有限责任公司 +中原银行股份有限公司 +中国一拖集团财务有限责任公司 +中国人民银行 +中国信托商业银行股份有限公司上海分行 +中国光大银行 +中国农业发展银行 +中国农业银行 +中国外汇交易中心 +中国工商银行 +中国平煤神马集团财务有限责任公司 +中国建设银行 +中国电子科技财务有限公司 +中国进出口银行 +中国邮政储蓄银行 +中国银联股份有限公司 +中国银行 +中央结算公司 +中山东凤珠江村镇银行股份有限公司 +中山古镇南粤村镇银行股份有限公司 +中山小榄村镇银行股份有限公司 +中德住房储蓄银行 +中汇电子-备付金账户 +中江融兴村镇银行有限责任公司 +中牟郑银村镇银行股份有限公司 +中移电子-备付金账户 +中联信(福建)支付服务有限公司-备付金账户 +中邮邮惠万家银行有限责任公司 +中金支付-备付金账户 +中钢银通-备付金账户 +中铝财务有限责任公司 +中阳县太行村镇银行 +丰城顺银村镇银行股份有限公司 +丰镇市农村信用联社股份有限公司 +临县泉都村镇银行有限责任公司 +临商银行股份有限公司 +临江蛟银村镇银行股份有限公司营业部 +临汾市尧都区惠都村镇银行有限责任公司 +临沂河东齐商村镇银行股份有限公司 +临沧临翔沪农商村镇银行股份有限公司 +临沭民丰村镇银行有限责任公司 +临泉中银富登村镇银行 +临洮县金城村镇银行股份有限公司 +临清沪农商村镇银行股份有限公司 +临澧沪农商村镇银行股份有限公司 +临猗县新田村镇银行股份有限公司 +临邑中银富登村镇银行 +临颍中银富登村镇银行有限公司 +临高惠丰村镇银行股份有限公司 +丹东银行股份有限公司清算中心 +丹东鼎元村镇银行股份有限公司 +丹东鼎安村镇银行股份有限公司 +丹寨富民村镇银行股份有限公司 +丽江古城富滇村镇银行 +丽江永胜长江村镇银行股份有限公司 +丽江玉龙长江村镇银行股份有限公司 +乌兰察布农村商业银行股份有限公司 +乌兰察布农村商业银行股份有限公司工农路分理处 +乌兰察布市集宁蒙商村镇银行有限责任公司 +乌兰浩特市农村信用合作联社 +乌审旗农村信用合作联社 +乌审旗农村信用合作联社乌兰陶勒盖信用社 +乌审旗农村信用合作联社乌审召信用社 +乌审旗农村信用合作联社乌审街分社 +乌审旗农村信用合作联社南郊分社 +乌审旗农村信用合作联社呼吉尔特信用社 +乌审旗农村信用合作联社嘎鲁图分社 +乌审旗农村信用合作联社图克信用社 +乌审旗农村信用合作联社巴音柴达木分社 +乌审旗农村信用合作联社新城分社 +乌审旗农村信用合作联社无定河分社 +乌审旗农村信用合作联社毛乌素分社 +乌审旗农村信用合作联社沙尔利格信用社 +乌审旗农村信用合作联社河南信用社 +乌审旗农村信用合作联社纳林河信用社 +乌审旗农村信用合作联社苏力德分社 +乌审旗农村信用合作联社达布察克分社 +乌审旗农村信用合作联社金山分社 +乌审旗农村信用合作联社银河分社 +乌审旗农村信用合作联社陶利信用社 +乌审旗农村信用合作联社黄陶勒盖信用社 +乌审旗蒙商村镇银行有限责任公司 +乌拉特中旗农村信用合作联社 +乌拉特中旗蒙银村镇银行股份有限公司 +乌拉特前旗大众村镇银行股份有限公司 +乌拉特后旗农村信用合作联社 +乌海千里山河套村镇银行股份有限公司 +乌海市乌拉特村镇银行有限责任公司 +乌海银行股份有限公司 +乌苏利丰村镇银行有限责任公司 +乌鲁木齐县利丰村镇银行有限责任公司 +乌鲁木齐米东浦发村镇银行股份有限公司 +乌鲁木齐银行清算中心 +乐东惠丰村镇银行股份有限公司 +乐亭舜丰村镇银行股份有限公司 +乐刷科技-备付金账户 +乐山嘉州民富村镇银行有限责任公司 +乐山市商业银行 +乐平融兴村镇银行有限责任公司 +乐陵圆融村镇银行股份有限公司 +九台龙嘉村镇银行股份有限公司 +九江共青村镇银行股份有限公司 +九江恒通村镇银行股份有限公司 +九江银行股份有限公司 +九派天下-备付金账户 +习水中银富登村镇银行有限公司 +乳山天骄村镇银行股份有限公司 +乾县中银富登村镇银行 +乾安县农村信用合作联社营业部 +乾安惠民村镇银行有限责任公司 +二连浩特农村合作银行 +云南大理渝农商村镇银行有限责任公司 +云南安宁稠州村镇银行股份有限公司 +云南本元-备付金账户 +云南瑞丽南屏农村商业银行股份有限公司 +云南省农村信用社联合社 +云南祥云渝农商村镇银行有限责任公司 +云南红塔银行股份有限公司 +云南西山渝农商村镇银行有限责任公司 +云南香格里拉渝农商村镇银行有限责任公司 +云南鹤庆渝农商村镇银行有限责任公司 +云安惠民村镇银行股份有限公司 +云浮新兴东盈村镇银行股份有限公司 +云霄润发村镇银行股份有限公司 +五华惠民村镇银行股份有限公司 +五原蒙银村镇银行股份有限公司 +五台莱商村镇银行股份有限公司 +五大连池惠丰村镇银行股份有限公司 +五家渠国民村镇银行有限责任公司 +五峰金谷村镇银行股份有限公司 +五常惠民村镇银行有限责任公司 +五莲中银富登村镇银行 +井冈山九银村镇银行有限责任公司 +交口县融都村镇银行有限责任公司 +交城县太行村镇银行 +交通银行 +京山中银富登村镇银行 +人民币跨境支付系统 +什邡思源村镇银行有限责任公司 +仁寿民富村镇银行有限责任公司 +仁怀蒙银村镇银行股份有限公司 +介休市华都村镇银行有限责任公司 +付临门支付有限公司-备付金账户 +代县泓都村镇银行有限责任公司 +任丘村镇银行股份有限公司 +企业银行(中国)有限公司 +伊利财务有限公司 +伊川齐鲁村镇银行有限责任公司 +伊犁国民村镇银行有限责任公司 +伊通榆银村镇银行股份有限公司 +伊通满族自治县农村信用合作联社营业部 +伊金霍洛六菱村镇银行股份有限公司 +伊金霍洛旗矿区农村信用合作联社 +伊金霍洛旗矿区农村信用合作联社乌兰木伦分社 +伊金霍洛旗矿区农村信用合作联社利源分社 +伊金霍洛旗矿区农村信用合作联社华丰分社 +伊金霍洛旗矿区农村信用合作联社布尔台格信用社 +伊金霍洛旗矿区农村信用合作联社布连信用社 +伊金霍洛旗矿区农村信用合作联社布连塔分社 +伊金霍洛旗矿区农村信用合作联社柳塔分社 +伊金霍洛旗矿区农村信用合作联社民生分社 +伊金霍洛旗矿区农村信用合作联社汇丰分社 +伊金霍洛旗矿区农村信用合作联社金丰信用社 +伊金霍洛旗矿区农村信用合作联社金开源信用社 +伊金霍洛旗矿区农村信用合作联社金龙路分社 +伊金霍洛旗矿区农村信用合作联社铁西分社 +伊金霍洛旗矿区农村信用合作联社阿康分社 +伊金霍洛金谷村镇银行股份有限公司 +会宁会师村镇银行有限责任公司 +传化支付有限公司-备付金账户 +余姚通济村镇银行股份有限公司营业部 +余干恒通村镇银行股份有限公司 +余庆中银富登村镇银行有限公司 +佛山南海新华村镇银行股份有限公司 +佛山高明顺银村镇银行股份有限公司 +供销中百支付有限公司-备付金账户 +依兰惠鑫村镇银行有限责任公司 +依安润生村镇银行股份有限公司清算中心 +侯马市太行村镇银行股份有限公司 +俄罗斯外贸银行公众股份公司上海分行 +保定满城区利丰村镇银行股份有限公司 +保定银行股份有限公司 +保山隆阳沪农商村镇银行股份有限公司 +保德县慧融村镇银行股份有限公司 +信阳平桥中原村镇银行股份有限公司 +信阳珠江村镇银行股份有限公司 +修文江海村镇银行股份有限公司 +修水九银村镇银行有限责任公司 +偃师融兴村镇银行有限责任公司 +元氏信融村镇银行股份有限公司 +兆丰国际商业银行股份有限公司苏州分行 +先锋支付-备付金账户 +克山润生村镇银行有限责任公司清算中心 +克拉玛依金龙国民村镇银行有限责任公司 +兖州中成村镇银行股份有限公司 +兖矿集团财务有限公司 +全国综合业务服务平台 +全椒中银富登村镇银行 +公主岭华兴村镇银行股份有限公司 +公主岭浦发村镇银行股份有限公司 +公开市场业务操作室 +六盘水六枝富民村镇银行股份有限公司 +六盘水钟山凉都村镇银行股份有限公司 +兰州七里河新华村镇银行股份有限公司 +兰州永登新华村镇银行股份有限公司 +兰州皋兰新华村镇银行股份有限公司 +兰州银行股份有限公司 +兰考齐鲁村镇银行有限责任公司 +兰西农商村镇银行有限责任公司 +关岭恒升村镇银行股份有限公司 +兴业银行 +兴义万丰村镇银行有限责任公司 +兴化苏南村镇银行股份有限公司 +兴县汇泽村镇银行有限责任公司 +兴和县农村信用合作联社 +兴和蒙商村镇银行有限责任公司 +兴城长兴村镇银行股份有限公司 +兴宁珠江村镇银行股份有限公司 +兴安盟科尔沁蒙商村镇银行有限公司 +兴山本富村镇银行有限责任公司清算中心 +兴平中银富登村镇银行有限公司 +兵工财务有限责任公司 +内江兴隆村镇银行股份有限公司 +内蒙古乌兰察布市化德县农村信用合作社联合社 +内蒙古乌拉特农村商业银行股份有限公司 +内蒙古五原农村商业银行股份有限公司 +内蒙古伊金霍洛农村商业银行股份有限公司 +内蒙古克什克腾农村商业银行股份有限公司 +内蒙古兴安盟科尔沁右翼中旗农村信用合作社联合社 +内蒙古呼伦贝尔市新巴尔虎右旗农村信用合作社联合社 +内蒙古呼和浩特金谷农村商业银行股份有限公司 +内蒙古呼和浩特金谷农村商业银行股份有限公司万达分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司万锦分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司三合村分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司世华分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司东大黑河分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司东影北街分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司中海分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司乌兰察布路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司五路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司人和分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司什拉门更分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司保全庄分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司保合少分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司元和分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司光明分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司八拜分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司兴安路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司刀刀板分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司创业路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司北二环分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司南郊分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司厂汉板分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司县府街分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司后巧报分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司后桃花分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司呼伦南路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司哲里木路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司团结小区分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司坝口子分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司塔利分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司大南街分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司大台分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司天骄分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司太平庄分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司如意路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司学府分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司小台分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司展西路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司山水小区分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司帅家营分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司开泰分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司恩和分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司成吉思汗分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司房产局分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司新华桥南街分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司机场路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司桥华分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司桥靠分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司榆林分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司毫沁营分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司水岸小镇分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司河西分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司海拉尔分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司海西路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司满都海分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司爱民路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司牛厂分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司碱滩分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司碾格图分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司祥和分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司科苑分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司航天城分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司药厂分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司西苑分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司西龙王庙分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司讨号板分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司财政分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司货栈分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司赛罕路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司车站分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司辛辛板分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司通道北路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司金桥分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司金牛分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司金色华府分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司钢铁路分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司银河分理处 +内蒙古呼和浩特金谷农村商业银行股份有限公司锦江分理处 +内蒙古和林格尔蒙商村镇银行有限责任公司 +内蒙古土默特右旗农村商业银行股份有限公司 +内蒙古太仆寺农村商业银行股份有限公司 +内蒙古宁城农村商业银行股份有限公司 +内蒙古察哈尔右翼前旗农村商业银行股份有限公司 +内蒙古库伦农村商业银行股份有限公司 +内蒙古开鲁农村商业银行股份有限公司 +内蒙古扎鲁特农村商业银行股份有限公司 +内蒙古托克托农村商业银行股份有限公司 +内蒙古托克托立农村镇银行股份有限责任公司 +内蒙古敖汉农村商业银行股份有限公司 +内蒙古杭锦农村商业银行股份有限公司 +内蒙古林西农村商业银行股份有限公司 +内蒙古牙克石农村商业银行股份有限公司 +内蒙古自治区农村信用社联合社 +内蒙古西乌珠穆沁农村商业银行股份有限公司 +内蒙古鄂伦春农村商业银行股份有限公司 +内蒙古鄂托克农村商业银行股份有限公司 +内蒙古鄂托克前旗农村商业银行股份有限公司 +内蒙古鄂温克农村商业银行股份有限公司 +内蒙古银行股份有限公司 +内蒙古阿尔山农村商业银行股份有限公司 +内蒙古阿巴嘎农村商业银行股份有限公司 +内蒙古阿鲁科尔沁农村商业银行股份有限公司 +内蒙古陕坝农村商业银行股份有限公司 +册亨富民村镇银行有限责任公司 +农安北银村镇银行股份有限公司 +准格尔旗农村信用合作联社 +准格尔旗蒙商村镇银行有限责任公司 +准格尔煤田农村信用合作联社 +准格尔煤田农村信用合作联社万通分社 +准格尔煤田农村信用合作联社东华区分社 +准格尔煤田农村信用合作联社东孔兑信用社 +准格尔煤田农村信用合作联社中山分社 +准格尔煤田农村信用合作联社乌兰小区分社 +准格尔煤田农村信用合作联社兴隆东街分社 +准格尔煤田农村信用合作联社准格尔路分社 +准格尔煤田农村信用合作联社哈岱高勒信用社 +准格尔煤田农村信用合作联社大路信用社 +准格尔煤田农村信用合作联社天利信用社 +准格尔煤田农村信用合作联社昭君路分社 +准格尔煤田农村信用合作联社汇宾路分社 +准格尔煤田农村信用合作联社滨河路分社 +准格尔煤田农村信用合作联社窑沟信用社 +准格尔煤田农村信用合作联社腾飞桥分社 +准格尔煤田农村信用合作联社薛家湾镇分社 +准格尔煤田农村信用合作联社西苑路分社 +准格尔煤田农村信用合作联社通达路分社 +准格尔煤田农村信用合作联社金丰分社 +准格尔煤田农村信用合作联社金桥分社 +准格尔煤田农村信用合作联社银泽分社 +凉城县乌拉特村镇银行有限责任公司 +凉城县农村信用合作联社 +凉山州商业银行 +凌源天元村镇银行股份有限公司 +凤冈中银富登村镇银行有限公司 +凤翔中银富登村镇银行 +凯里东南村镇银行有限责任公司 +分宜九银村镇银行股份有限公司 +创兴银行有限公司广州分行 +前郭县阳光村镇银行股份有限公司 +剑河富民村镇银行股份有限公司 +加拿大丰业银行有限公司广州分行 +务川中银富登村镇银行 +包头农村商业银行股份有限公司 +包头市东河金谷村镇银行股份有限公司 +包头市九原立农村镇银行有限责任公司 +包头市南郊农村信用联社股份有限公司 +包头市南郊农村信用联社股份有限公司三运分社 +包头市南郊农村信用联社股份有限公司乌兰计分社 +包头市南郊农村信用联社股份有限公司乌素图分社 +包头市南郊农村信用联社股份有限公司全巴图信用社 +包头市南郊农村信用联社股份有限公司共青分社 +包头市南郊农村信用联社股份有限公司前进分社 +包头市南郊农村信用联社股份有限公司南沙梁分社 +包头市南郊农村信用联社股份有限公司厂汉分社 +包头市南郊农村信用联社股份有限公司友谊西街分社 +包头市南郊农村信用联社股份有限公司向阳分社 +包头市南郊农村信用联社股份有限公司和平分社 +包头市南郊农村信用联社股份有限公司哈业胡同信用社 +包头市南郊农村信用联社股份有限公司哈业脑包信用社华蒙分社 +包头市南郊农村信用联社股份有限公司哈林格尔分社 +包头市南郊农村信用联社股份有限公司四道沙河分社 +包头市南郊农村信用联社股份有限公司团结大街分社 +包头市南郊农村信用联社股份有限公司天赐分社 +包头市南郊农村信用联社股份有限公司尹六窑子分社 +包头市南郊农村信用联社股份有限公司工业园区分社 +包头市南郊农村信用联社股份有限公司新兴分社 +包头市南郊农村信用联社股份有限公司新城信用社高新分社 +包头市南郊农村信用联社股份有限公司新村分社 +包头市南郊农村信用联社股份有限公司昌福分社 +包头市南郊农村信用联社股份有限公司沼潭分社 +包头市南郊农村信用联社股份有限公司牛场分社 +包头市南郊农村信用联社股份有限公司甲尔坝农贸市场分社 +包头市南郊农村信用联社股份有限公司甲尔坝分社 +包头市南郊农村信用联社股份有限公司白云路分社 +包头市南郊农村信用联社股份有限公司稀土高新开发区分社 +包头市南郊农村信用联社股份有限公司红旗分社 +包头市南郊农村信用联社股份有限公司金鹰分社 +包头市南郊农村信用联社股份有限公司银海分社 +包头市南郊农村信用联社股份有限公司青北分社 +包头市南郊农村信用联社股份有限公司青年分社 +包头市南郊农村信用联社股份有限公司飞鹿分社 +包头市南郊农村信用联社股份有限公司麻池分社 +包头市南郊农村信用联社股份有限公司龙银锁分社 +包头市昆都仑蒙银村镇银行股份有限公司 +包头市高新银通村镇银行有限责任公司 +包头青山河套村镇银行股份有限公司 +化德蒙商村镇银行有限责任公司 +北京一九付-备付金账户 +北京中关村银行股份有限公司 +北京中投科信-备付金账户 +北京中欣银宝通支付服务有限公司-备付金账户 +北京亚科-备付金账户 +北京农村商业银行股份有限公司 +北京华瑞富达科技有限公司-备付金账户 +北京和卡支付科技有限公司 +北京和融通-备付金账户 +北京商银-备付金账户 +北京大兴九银村镇银行股份有限公司 +北京大兴华夏村镇银行有限责任公司 +北京密云汇丰村镇银行有限责任公司 +北京平谷新华村镇银行股份有限公司 +北京广聚福支付有限公司-备付金账户 +北京延庆村镇银行股份有限公司 +北京怀柔融兴村镇银行有限责任公司 +北京恒信通-备付金账户 +北京房山沪农商村镇银行股份有限公司 +北京数字王府井-备付金账户 +北京数码视讯-备付金账户 +北京新浪支付-备付金账户 +北京昌平发展村镇银行股份有限公司 +北京易智付-备付金账户 +北京海科融通-备付金账户 +北京爱农驿站-备付金账户 +北京理房通-备付金账户 +北京畅捷通-备付金账户 +北京百付宝-备付金账户 +北京百联优力-备付金账户 +北京钱袋宝-备付金账户 +北京银联商务-备付金账户 +北京银行 +北京银通支付有限公司-备付金账户 +北京门头沟珠江村镇银行股份有限公司 +北京雅酷时空-备付金账户 +北京顺义银座村镇银行股份有限公司 +北京首采联合-备付金账户 +北京高汇通-备付金账户 +北屯国民村镇银行有限责任公司 +北票盛都村镇银行有限责任公司 +华侨永亨银行(中国)有限公司 +华南商业银行股份有限公司上海分行 +华南商业银行股份有限公司深圳分行 +华商银行 +华夏银行 +华美银行(中国)有限公司 +华融湘江银行股份有限公司 +卓资县农村信用合作联社 +卓资蒙银村镇银行股份有限公司 +单县中银富登村镇银行 +南丰桔都村镇银行有限责任公司 +南京万商商务服务有限公司-备付金账户 +南京六合九银村镇银行股份有限公司 +南京市市民卡有限公司-备付金账户 +南京浦口靖发村镇银行 +南京银行 +南和融信村镇银行股份有限公司 +南城富民村镇银行股份有限公司 +南宁武鸣漓江村镇银行有限责任公司 +南宁江南国民村镇银行股份有限公司 +南康赣商村镇银行股份有限公司 +南昌大丰村镇银行有限责任公司 +南昌新建恒通村镇银行股份有限公司 +南昌昌东九银村镇银行股份有限公司 +南江农科村镇银行有限责任公司 +南洋商业银行(中国)有限公司 +南漳中银富登村镇银行 +南澳县农村信用合作联社 +南皮融信村镇银行股份有限公司 +南通如皋润泽村镇银行股份有限公司 +南阳村镇银行股份有限公司 +南陵太平村镇银行股份有限公司 +博乐国民村镇银行有限责任公司 +卡友支付服务有限公司-备付金账户 +卢氏中原村镇银行股份有限公司 +卫辉富民村镇银行股份有限公司 +印度国家银行上海分行 +印度尼西亚曼底利银行有限责任公司上海分行 +印江长征村镇银行有限责任公司 +原平市汇民村镇银行有限责任公司 +厦门农村商业银行股份有限公司 +厦门国际银行股份有限公司 +厦门夏商电子商务有限公司-备付金账户 +厦门易通卡运营有限责任公司-备付金账户 +厦门翔安民生村镇银行股份有限公司 +厦门象屿支付有限公司-备付金账户 +厦门银行股份有限公司 +友利银行(中国)有限公司 +双乾网络-备付金账户 +双城惠民村镇银行有限责任公司 +双峰沪农商村镇银行股份有限公司 +双辽吉银村镇银行股份有限公司 +双辽市农村信用合作社联合社营业部 +古交市汇泽村镇银行股份有限公司 +古交市阜民村镇银行股份有限公司 +句容苏南村镇银行股份有限公司 +台前德商村镇银行股份有限公司 +台州银行股份有限公司 +台江富民村镇银行股份有限公司 +台湾土地银行上海分行 +右玉县长青村镇银行有限责任公司 +叶城县农村信用合作联社 +合作金库商业银行股份有限公司苏州分行 +合川中银富登村镇银行 +合水县金城村镇银行股份有限公司 +合浦国民村镇银行有限责任公司 +吉县新田村镇银行有限责任公司 +吉安稠州村镇银行股份有限公司 +吉州珠江村镇银行股份有限公司 +吉林东丰农村商业银行股份有限公司 +吉林丰满惠民村镇银行股份有限公司 +吉林临江农村商业银行股份有限公司 +吉林九台农村商业银行股份有限公司 +吉林亿联银行股份有限公司 +吉林公主岭农村商业银行股份有限公司营业部 +吉林农安农村商业银行股份有限公司营业部 +吉林双阳农村商业银行股份有限公司 +吉林和龙农村商业银行股份有限公司营业部 +吉林大安农村商业银行股份有限公司营业部 +吉林安图农村商业银行股份有限公司营业部 +吉林德惠农村商业银行股份有限公司营业部 +吉林敦化农村商业银行股份有限公司营业部 +吉林昌邑榆银村镇银行股份有限公司 +吉林昌邑榆银村镇银行股份有限公司营业部 +吉林春城农村商业银行股份有限公司营业部 +吉林柳河农村商业银行股份有限公司(营业部) +吉林桦甸农村商业银行股份有限公司 +吉林榆树农村商业银行股份有限公司 +吉林永吉农村商业银行股份有限公司 +吉林汪清农村商业银行股份有限公司 +吉林浑江农村商业银行股份有限公司 +吉林环城农村商业银行股份有限公司营业部 +吉林珲春农村商业银行股份有限公司 +吉林省农村信用社联合社(不办理转汇业务) +吉林磐石农村商业银行股份有限公司 +吉林舒兰农村商业银行股份有限公司(营业部) +吉林船营惠民村镇银行股份有限公司 +吉林蛟河农村商业银行股份有限公司营业部 +吉林辉南农村商业银行股份有限公司 +吉林通化海科农村商业银行股份有限公司营业部 +吉林通榆农村商业银行股份有限公司营业部 +吉林郭尔罗斯农村商业银行股份有限公司营业部 +吉林银行 +吉林镇赉农村商业银行股份有限公司营业部 +吉林集安农村商业银行股份有限公司 +吉林靖宇农村商业银行股份有限公司 +吉林龙井农村商业银行股份有限公司营业部 +吉林龙潭华益村镇银行股份有限公司 +同江汇鑫村镇银行股份有限公司 +吕梁孝义汇通村镇银行股份有限公司 +含山惠民村镇银行有限责任公司营业部 +吴桥融信村镇银行股份有限公司 +吴江中银富登村镇银行 +周宁刺桐红村镇银行有限公司 +呼伦贝尔农村商业银行股份有限公司 +呼和浩特市如意蒙银村镇银行股份有限公司 +呼和浩特市新城蒙银村镇银行股份有限公司 +呼和浩特市玉泉蒙银村镇银行股份有限公司 +呼和浩特市赛罕蒙银村镇银行股份有限公司 +呼和浩特市赛罕金谷村镇银行股份有限公司 +呼和浩特金桥河套村镇银行股份有限公司 +和林格尔农村信用合作联社 +和林格尔县农村信用合作联社园区分社 +和林格尔县农村信用合作联社学苑分社 +和林格尔县农村信用合作联社惠商分社 +和林格尔县农村信用合作联社惠民信用社 +和林格尔县农村信用合作联社新华分社 +和林格尔县农村信用合作联社新民分社 +和林格尔县农村信用合作联社桥西分社 +和林格尔县农村信用合作联社民星分社 +和林格尔县农村信用合作联社红旗分社 +和林格尔县农村信用合作联社胜利分社 +和顺县贵都村镇银行有限责任公司 +和龙敦银村镇银行股份有限公司 +哈密天山村镇银行有限公司 +哈密市商业银行股份有限公司 +哈密红星国民村镇银行有限责任公司 +哈尔滨农信村镇银行股份有限公司 +哈尔滨呼兰浦发村镇银行 +哈尔滨宾洲村镇银行有限责任公司 +哈尔滨幸福村镇银行股份有限公司 +哈尔滨联合农村商业银行股份有限公司 +哈尔滨金融电子结算中心 +哈尔滨银行股份有限公司结算中心 +哈尔滨阿城农商村镇银行有限责任公司 +响水中银富登村镇银行 +唐县汇泽村镇银行有限责任公司 +唐山市丰南舜丰村镇银行股份有限公司 +唐山市开平汇金村镇银行股份有限公司 +唐山银行股份有限公司 +商盟商务-备付金账户 +商都县农村信用合作联社 +商银信支付服务有限责任公司-备付金账户 +喀喇沁旗农村信用合作联社 +喀喇沁玉龙村镇银行有限责任公司 +嘉兴银行股份有限公司 +嘉祥中银富登村镇银行 +嘉联支付有限公司-备付金账户 +四子王旗农村信用合作联社 +四子王蒙银村镇银行股份有限公司 +四川仪陇惠民村镇银行有限责任公司 +四川北川农村商业银行 +四川北川羌族自治县富民村镇银行有限责任公司 +四川名山锦程村镇银行股份有限公司 +四川商通-备付金账户 +四川大竹渝农商村镇银行股份有限公司 +四川天府银行股份有限公司 +四川开江农村商业银行 +四川成都蒲江民富村镇银行有限责任公司 +四川成都龙泉驿稠州村镇银行股份有限公司 +四川新网银行股份有限公司 +四川汉源农村商业银行股份有限公司 +四川江油华夏村镇银行股份有限公司 +四川洪雅农村商业银行 +四川盐亭农村商业银行 +四川省农村信用社联合社 +四川荣县农村商业银行 +四川资中农村商业银行股份有限公司 +四川银行凉山分行 +四川银行攀枝花分行 +四川银行股份有限公司 +四平市城区农村信用合作联社营业部 +四平辽河蛟银村镇银行股份有限公司营业部 +四平铁东德丰村镇银行股份有限公司 +四平铁西敦银村镇银行股份有限公司 +围场满族蒙古族自治县华商村镇银行股份有限公司 +固始天骄村镇银行股份有限公司 +固安恒升村镇银行股份有限公司 +固阳县农村信用合作联社 +固阳蒙商村镇银行股份有限公司 +国付宝-备付金账户 +国家开发银行总行 +国家税务总局 +国库局会计数据中心 +国民银行(中国)有限公司 +国泰世华银行(中国)有限公司上海分行 +图们敦银村镇银行股份有限公司 +土默特右旗蒙银村镇银行股份有限公司 +土默特左旗农村信用合作联社 +土默特左旗金谷村镇银行股份有限公司 +圣亚云鼎-备付金账户 +垣曲县河东村镇银行有限责任公司 +垦利乐安村镇银行股份有限公司 +埃及国民银行股份公司上海分行 +城固中银富登村镇银行 +城银清算服务有限责任公司 +壶关县晋融村镇银行有限责任公司 +夏县河东村镇银行有限责任公司 +夏津胶东村镇银行股份有限公司 +多伦县农村信用合作联社 +大丰银行股份有限公司上海分行 +大众银行(香港)有限公司深圳分行 +大冶中银富登村镇银行股份有限公司 +大华银行(中国)有限公司 +大厂回族自治县新华村镇银行股份有限公司 +大同农村商业银行 +大同市南郊区京都村镇银行有限责任公司 +大名恒升村镇银行股份有限公司 +大城舜丰村镇银行股份有限公司 +大安惠民村镇银行有限责任公司营业部 +大新银行(中国)有限公司 +大方富民村镇银行股份有限公司 +大洼恒丰村镇银行股份有限公司 +大西洋银行股份有限公司广东自贸试验区横琴分行 +大连中鼎支付有限公司-备付金账户 +大连保税区珠江村镇银行股份有限公司 +大连农村商业银行 +大连旅顺口蒙银村镇银行股份有限公司 +大连普兰店汇丰村镇银行有限责任公司 +大连经济技术开发区鑫汇村镇银行股份有限公司 +大连资金清算中心 +大连金州联丰村镇银行股份有限公司(清算中心) +大连银行股份有限公司 +大连银行股份有限公司(不对外办理业务) +大通中银富登村镇银行有限责任公司 +大邑交银兴民村镇银行有限责任公司 +天下支付科技有限公司-备付金账户 +天水市秦安众信村镇银行营业部 +天水秦州长银村镇银行 +天水麦积融兴村镇银行有限责任公司 +天津农村商业银行股份有限公司 +天津华明村镇银行股份有限公司 +天津宁河村镇银行股份有限公司 +天津宝坻浦发村镇银行股份有限公司 +天津市北辰村镇银行股份有限公司 +天津市蓟州村镇银行股份有限公司 +天津支票圈存运营中心(嘉票通(天津)支票圈存科技有限公司) +天津武清村镇银行股份有限公司 +天津津南村镇银行股份有限公司 +天津滨海农村商业银行股份有限公司 +天津滨海德商村镇银行股份有限公司 +天津滨海惠民村镇银行股份有限公司 +天津滨海扬子村镇银行股份有限公司 +天津滨海江淮村镇银行股份有限公司 +天津融宝支付网络有限公司-备付金账户 +天津西青中银富登村镇银行股份有限公司 +天津金城银行股份有限公司 +天津银行 +天津静海新华村镇银行股份有限公司 +天翼电子-备付金账户 +天镇县河东村镇银行有限责任公司 +天长民生村镇银行股份有限公司 +太仆寺旗鑫源村镇银行有限责任公司 +太仓农村商业银行 +太仓民生村镇银行股份有限公司 +太原市尖草坪区信都村镇银行股份有限公司 +太和中银富登村镇银行 +奇台利丰村镇银行有限责任公司 +奉新九银村镇银行股份有限公司 +奉节中银富登村镇银行 +奎屯国民村镇银行有限责任公司 +奥地利奥合国际银行股份有限公司北京分行 +始兴大众村镇银行股份有限公司 +威宁富民村镇银行股份有限公司 +威海富民村镇银行有限责任公司 +威海市商业银行 +威海蓝海银行股份有限公司 +娄烦县三禾村镇银行有限责任公司 +嫩江幸福村镇银行股份有限公司 +孝昌本富村镇银行有限责任公司清算中心 +孟州射阳村镇银行股份有限公司 +孟村回族自治县融信村镇银行股份有限公司 +孟津民丰村镇银行股份有限公司 +宁乡沪农商村镇银行股份有限公司 +宁国民生村镇银行股份有限公司 +宁城蒙商村镇银行有限责任公司 +宁夏中宁青银村镇银行股份有限公司 +宁夏原州津汇村镇银行有限责任公司 +宁夏同心津汇村镇银行有限责任公司 +宁夏宁东本富村镇银行股份有限公司清算中心 +宁夏平罗县沙湖村镇银行股份有限公司 +宁夏彭阳贺兰山村镇银行股份有限公司 +宁夏惠农贺兰山村镇银行股份有限公司 +宁夏永宁汇发村镇银行股份有限公司 +宁夏红寺堡农村商业银行股份有限公司 +宁夏西吉汇发村镇银行股份有限公司 +宁夏西夏贺兰山村镇银行股份有限公司 +宁夏贺兰回商村镇银行有限责任公司 +宁夏银行股份有限公司 +宁夏青铜峡贺兰山村镇银行股份有限公司 +宁夏黄河农村商业银行股份有限公司 +宁安融兴村镇银行有限责任公司 +宁晋民生村镇银行股份有限公司 +宁武县瑞都村镇银行有限责任公司 +宁波东海银行股份有限公司 +宁波北仑中银富登村镇银行股份有限公司 +宁波奉化罗蒙村镇银行有限责任公司 +宁波市海曙国民村镇银行有限责任公司 +宁波慈溪中银富登村镇银行有限责任公司 +宁波江北富民村镇银行股份有限公司 +宁波通商银行股份有限公司 +宁波鄞州农村商业银行股份有限公司(鄞州银行) +宁波银联商务-备付金账户 +宁波银行 +宁波镇海中银富登村镇银行 +宁津胶东村镇银行股份有限公司 +宁海中银富登村镇银行 +宁阳沪农商村镇银行股份有限公司 +安丘北海村镇银行股份有限公司 +安义融兴村镇银行有限责任公司 +安付宝-备付金账户 +安图农商村镇银行股份有限公司 +安塞农银村镇银行有限责任公司 +安宁市农村信用合作联社 +安平惠民村镇银行股份有限公司 +安康汉滨中银富登村镇银行 +安徽东至扬子村镇银行股份有限公司 +安徽五河永泰村镇银行股份有限公司营业部 +安徽休宁大地村镇银行股份有限公司 +安徽凤台通商村镇银行股份有限公司 +安徽凤阳利民村镇银行有限责任公司 +安徽利辛湖商村镇银行股份有限公司 +安徽和县新华村镇银行股份有限公司 +安徽固镇新淮河村镇银行股份有限公司 +安徽太湖江淮村镇银行股份有限公司 +安徽定远民丰村镇银行股份有限公司 +安徽宣州湖商村镇银行股份有限公司 +安徽宿州淮海村镇银行股份有限公司 +安徽宿松民丰村镇银行有限责任公司 +安徽寿县联合村镇银行股份有限公司 +安徽岳西湖商村镇银行股份有限公司 +安徽巢湖扬子村镇银行股份有限公司 +安徽广德扬子村镇银行股份有限公司 +安徽当涂新华村镇银行股份有限公司 +安徽徽州铜源村镇银行股份有限公司 +安徽怀宁江淮村镇银行股份有限公司 +安徽怀远本富村镇银行有限责任公司清算中心 +安徽新安银行股份有限公司 +安徽明光民丰村镇银行有限责任公司 +安徽桐城江淮村镇银行股份有限公司 +安徽歙县嘉银村镇银行股份有限公司 +安徽泾县铜源村镇银行股份有限公司 +安徽涡阳湖商村镇银行股份有限公司 +安徽潜山江淮村镇银行股份有限公司 +安徽濉溪湖商村镇银行股份有限公司 +安徽灵璧本富村镇银行有限责任公司清算中心 +安徽界首农村商业银行股份有限公司 +安徽省农村信用社联合社资金清算中心(不转汇) +安徽石台扬子村镇银行股份有限公司 +安徽繁昌中银富登村镇银行有限责任公司 +安徽肥东湖商村镇银行股份有限公司 +安徽舒城正兴村镇银行股份有限公司 +安徽蒙城湖商村镇银行股份有限公司 +安徽裕安盛平村镇银行股份有限公司 +安徽谯城湖商村镇银行股份有限公司 +安徽郎溪新华村镇银行股份有限公司 +安徽金寨江淮村镇银行股份有限公司 +安徽铜陵铜源村镇银行股份有限公司 +安徽长丰农村商业银行 +安徽长丰科源村镇银行股份有限公司 +安徽霍山联合村镇银行股份有限公司 +安徽霍邱联合村镇银行股份有限公司 +安徽青阳九华村镇银行股份有限公司 +安徽黄山金桥村镇银行股份有限公司 +安徽黟县新淮河村镇银行股份有限公司 +安易联融电子商务有限公司-备付金账户 +安溪民生村镇银行股份有限公司 +安福中银富登村镇银行 +安达幸福村镇银行股份有限公司 +安阳珠江村镇银行股份有限公司 +安顺西秀富民村镇银行股份有限公司 +安顺西航南马村镇银行有限责任公司 +定兴丰源村镇银行股份有限公司 +定安合丰村镇银行股份有限公司 +定陶河海村镇银行股份有限公司 +宜丰中银富登村镇银行 +宜兴阳羡村镇银行股份有限公司 +宜城中银富登村镇银行有限责任公司 +宜宾市商业银行 +宜州深通村镇银行有限责任公司 +宜都民生村镇银行股份有限公司 +宜阳兴福村镇银行股份有限公司 +宝丰豫丰村镇银行股份有限公司 +宝付网络-备付金账户 +宝武集团财务有限责任公司 +宝清广益村镇银行股份有限公司 +宣汉诚民村镇银行有限责任公司 +宽城融兴村镇银行股份有限公司 +宾阳北部湾村镇银行有限责任公司 +密山民意村镇银行股份有限公司 +富滇银行股份有限公司运营管理部 +富邦华一银行有限公司 +富锦幸福村镇银行股份有限公司 +察哈尔右翼中旗农村信用合作联社 +察哈尔右翼前旗蒙银村镇银行股份有限公司 +察哈尔右翼后旗农村信用联社股份有限公司 +寿光张农商村镇银行股份有限公司 +寿宁刺桐红村镇银行有限公司 +寿阳县汇都村镇银行有限责任公司 +尉氏合益村镇银行股份有限公司 +尉犁达西冀银村镇银行有限责任公司 +尚志惠鑫村镇银行有限责任公司 +屏南刺桐红村镇银行有限公司 +屯留县三禾村镇银行有限责任公司 +山东临朐聚丰村镇银行股份有限公司 +山东临淄汇金村镇银行股份有限公司 +山东兰陵村镇银行股份有限公司 +山东冠县齐丰村镇银行股份有限公司 +山东利津舜丰村镇银行股份有限公司 +山东博兴新华村镇银行股份有限公司 +山东历城圆融村镇银行股份有限公司 +山东周村青隆村镇银行股份有限公司 +山东商河汇金村镇银行股份有限公司 +山东城联一卡通支付有限责任公司-备付金账户 +山东平邑汉源村镇银行股份有限公司营业部 +山东惠民舜丰村镇银行股份有限公司 +山东成武汉源村镇银行股份有限公司 +山东招远中银富登村镇银行有限责任公司 +山东文登中银富登村镇银行有限责任公司 +山东新泰齐丰村镇银行股份有限公司 +山东梁山民丰村镇银行有限责任公司 +山东沂南蓝海村镇银行股份有限公司 +山东沾化青云村镇银行股份有限公司 +山东泗水齐丰村镇银行股份有限公司 +山东滕州中银富登村镇银行有限责任公司 +山东电子商务-备付金账户 +山东省农村信用社联合社 +山东网上有名-备付金账户 +山东肥城民丰村镇银行有限责任公司 +山东芝罘齐丰村镇银行股份有限公司 +山东荣成汇丰村镇银行有限责任公司 +山东莒南村镇银行有限公司 +山东莱山齐丰村镇银行股份有限公司 +山东蒙阴齐丰村镇银行股份有限公司 +山东诸城中银富登村镇银行有限责任公司 +山东诸城农村商业银行股份有限公司 +山东运达-备付金账户 +山东邹城中银富登村镇银行有限责任公司 +山东郯城汉源村镇银行股份有限公司营业部 +山东重工集团财务有限公司 +山东金乡蓝海村镇银行股份有限公司 +山东钢铁集团财务有限公司 +山东高速信联支付有限公司-备付金账户 +山东高青汇金村镇银行股份有限公司 +山东龙口农村商业银行股份有限公司 +山西交城农村商业银行股份有限公司 +山西方山农村商业银行 +山西曲沃农村商业银行 +山西柳林农村商业银行股份有限公司 +山西浑源农村商业银行 +山西省农村信用社联合社(不对外办理业务) +山西省集中代收付中心 +山西银行股份有限公司 +山西银行股份有限公司晋城分行 +山阴县太行村镇银行股份有限公司 +岑溪市北部湾村镇银行有限责任公司 +岚县慧融村镇银行股份有限公司 +岳池中银富登村镇银行 +崇仁九银村镇银行股份有限公司 +崇州上银村镇银行股份有限公司 +嵩县兴福村镇银行有限责任公司 +嵩明沪农商村镇银行股份有限公司 +左云县长青村镇银行有限责任公司 +巨野中银富登村镇银行 +巨鹿融信村镇银行股份有限公司 +巫山中银富登村镇银行 +巴中中银富登村镇银行有限责任公司 +巴中农村商业银行股份有限公司 +巴基斯坦哈比银行有限责任公司乌鲁木齐分行 +巴彦淖尔市乌拉特村镇银行有限责任公司 +巴彦淖尔河套农村商业银行股份有限公司 +巴彦融兴村镇银行有限责任公司 +巴林右旗农村信用合作联社 +巴林左旗农村信用合作联社 +常宁珠江村镇银行股份有限公司 +常州金坛兴福村镇银行有限责任公司 +常州钟楼长江村镇银行股份有限公司 +平凉崆峒融兴村镇银行有限责任公司 +平凉市静宁成纪村镇银行 +平原圆融村镇银行股份有限公司 +平和润丰村镇银行股份有限公司 +平坝鼎立村镇银行有限责任公司 +平塘富民村镇银行股份有限公司 +平安付电子-备付金账户 +平安付科技-备付金账户 +平安银行 +平定县昌都村镇银行有限责任公司 +平山西柏坡冀银村镇银行有限责任公司 +平昌农科村镇银行有限责任公司 +平果国民村镇银行有限责任公司 +平泉恒升村镇银行股份有限公司 +平舆玉川村镇银行股份有限公司 +平遥县晋融村镇银行有限责任公司 +平阴蓝海村镇银行股份有限公司 +平陆县河东村镇银行有限责任公司 +广东信汇电子-备付金账户 +广东华兴银行股份有限公司 +广东南粤银行股份有限公司 +广东四会泰隆村镇银行有限责任公司 +广东恩平汇丰村镇银行有限责任公司 +广东普宁汇成村镇银行股份有限公司 +广东汇卡商务-备付金账户 +广东海丰农村商业银行股份有限公司 +广东澄海潮商村镇银行股份有限公司 +广东盛迪嘉-备付金账户 +广东省农村信用社联合社 +广东英德泰隆村镇银行有限责任公司 +广东银结通-备付金账户 +广东顺德农村商业银行股份有限公司 +广丰广信村镇银行股份有限公司 +广元市发展村镇银行有限责任公司 +广元市贵商村镇银行股份有限公司 +广发银行 +广安恒丰村镇银行股份有限公司 +广州从化柳银村镇银行股份有限公司 +广州农村商业银行股份有限公司 +广州合利宝-备付金账户 +广州商物通-备付金账户 +广州增城长江村镇银行有限责任公司 +广州汇聚支付-备付金账户 +广州番禺新华村镇银行股份有限公司 +广州白云民泰村镇银行股份有限公司 +广州花都稠州村镇银行股份有限公司 +广州银联网络-备付金账户 +广州银行电子结算中心 +广州银行股份有限公司清算中心 +广州黄埔惠民村镇银行股份有限公司 +广州黄埔融和村镇银行股份有限公司 +广汉珠江村镇银行股份有限公司 +广西上林国民村镇银行有限责任公司 +广西兴业柳银村镇银行股份有限公司 +广西兴安民兴村镇银行股份有限公司 +广西农村信用社联合社 +广西北流柳银村镇银行股份有限公司 +广西北部湾银行股份有限公司 +广西博白柳银村镇银行股份有限公司 +广西容县桂银村镇银行股份有限公司 +广西平南桂银村镇银行股份有限公司 +广西恒大万通-备付金账户 +广西柳江柳银村镇银行股份有限公司 +广西桂平桂银村镇银行股份有限公司 +广西横县桂商村镇银行股份有限公司 +广西浦北国民村镇银行有限责任公司 +广西藤县桂银村镇银行股份有限公司 +广西融水柳银村镇银行股份有限公司 +广西钦州市钦南国民村镇银行有限责任公司 +广西银海国民村镇银行有限责任公司 +广西陆川柳银村镇银行股份有限公司 +广西鱼峰信合村镇银行有限责任公司 +广西鹿寨渝农商村镇银行有限责任公司 +广饶梁邹村镇银行股份有限公司 +庄河汇通村镇银行股份有限公司 +庆云乐安村镇银行股份有限公司 +庆城县金城村镇银行股份有限公司 +庆阳市西峰瑞信村镇银行股份有限公司营业部 +庐山九银艺术村镇银行股份有限公司 +庐江惠民村镇银行有限责任公司 +库尔勒银行股份有限公司 +库车国民村镇银行有限责任公司 +应县金都村镇银行有限责任公司 +应城融兴村镇银行有限责任公司 +康保银丰村镇银行股份有限公司 +廊坊市安次区惠民村镇银行股份有限公司 +廊坊市广阳舜丰村镇银行股份有限公司 +廊坊开发区融商村镇银行股份有限公司 +廊坊银行股份有限公司 +延吉和润村镇银行股份有限公司 +延寿融兴村镇银行有限责任公司 +延边农村商业银行股份有限公司营业部 +建宁刺桐红村镇银行有限公司 +建昌恒昌村镇银行股份有限公司 +建水沪农商村镇银行股份有限公司 +开封新东方村镇银行股份有限公司 +开泰银行(中国)有限公司 +开滦集团财务有限责任公司 +开联通-备付金账户 +开远沪农商村镇银行股份有限公司 +开阳富民村镇银行股份有限公司 +开鲁蒙银村镇银行股份有限公司 +弋阳蓝海村镇银行股份有限公司 +张北信达村镇银行股份有限公司 +张家口万全家银村镇银行股份有限公司 +张家口宣化家银村镇银行股份有限公司 +张家口银行股份有限公司 +张家港农村商业银行 +弥勒沪农商村镇银行股份有限公司 +彭山珠江村镇银行股份有限公司 +彭州民生村镇银行有限责任公司 +彭泽九银村镇银行股份有限公司 +彰银商业银行有限公司南京分行 +彰银商业银行有限公司昆山分行 +微山北海村镇银行股份有限公司 +德兴蓝海村镇银行股份有限公司 +德国北德意志州银行上海分行 +德国商业银行股份有限公司上海分行 +德宏芒市长江村镇银行股份有限公司 +德州银行股份有限公司 +德州陵城圆融村镇银行股份有限公司 +德庆华润村镇银行股份有限公司 +德惠敦银村镇银行股份有限公司 +德意志银行(中国)有限公司 +德江长征村镇银行有限责任公司 +徽商银行 +志丹民生村镇银行股份有限公司 +快捷通支付服务有限公司-备付金账户 +快钱支付-备付金账户 +忻州市忻府区秀都村镇银行有限责任公司 +怀仁县慧融村镇银行股份有限公司 +怀来利丰村镇银行有限责任公司 +恒丰银行 +恒生银行(中国)有限公司上海分行 +恩施兴福村镇银行股份有限公司 +息烽县农村信用合作联社 +息烽发展村镇银行有限责任公司 +惠东惠民村镇银行股份有限公司 +惠州仲恺东盈村镇银行股份有限公司 +惠州博罗长江村镇银行股份有限公司 +惠水恒升村镇银行股份有限公司 +意大利联合圣保罗银行股份有限公司上海分行 +意大利裕信银行股份有限公司上海分行 +慈利沪农商村镇银行股份有限公司 +慈溪民生村镇银行股份有限公司 +成安齐鲁村镇银行有限责任公司 +成都农商银行 +成都农商银行都江堰柳河分理处 +成都农商银行都江堰金凤分理处 +成都双流诚民村镇银行有限责任公司 +成都支付通-备付金账户 +成都郫都中银富登村镇银行有限责任公司 +成都银行 +成都青白江融兴村镇银行有限责任公司 +扎兰屯市农村信用合作联社 +扎兰屯蒙银村镇银行股份有限公司 +扎赉特旗农村信用合作联社 +扎赉特蒙银村镇银行股份有限公司 +扬中恒丰村镇银行股份有限公司 +扬州仪征玉丰村镇银行有限责任公司 +扶余市农村信用合作联社营业部 +扶余惠民村镇银行股份有限公司 +扶沟郑银村镇银行股份有限公司 +扶绥深通村镇银行有限责任公司 +承德县恒升村镇银行股份有限公司 +承德银行股份有限公司 +抚州东乡富民村镇银行股份有限公司 +抚松县农村信用合作联社 +抚松榆银村镇银行股份有限公司 +抚顺东洲抚银村镇银行股份有限公司 +抚顺新宾抚银村镇银行股份有限公司 +抚顺望花抚银村镇银行股份有限公司 +抚顺银行股份有限公司清算中心 +抚顺顺城抚银村镇银行股份有限公司 +拉卡拉-备付金账户 +招商永隆银行有限公司深圳分行 +招商银行 +拜泉融兴村镇银行有限责任公司 +挪威银行公共有限公司上海分行 +捷付睿通-备付金账户 +捷易付-备付金账户 +摩根士丹利国际银行(中国)有限公司 +摩根大通银行(中国)有限公司 +攀枝花市商业银行 +支付宝-备付金账户 +故城家银村镇银行股份有限公司 +敏付科技有限公司-备付金账户 +敖汉惠农村镇银行有限责任公司 +敦化江南村镇银行股份有限公司 +敦煌市金盛村镇银行股份有限公司 +文安县惠民村镇银行股份有限公司 +文山丘北长江村镇银行股份有限公司 +文山广南长江村镇银行股份有限公司 +文山民丰村镇银行有限责任公司 +文山砚山长江村镇银行股份有限公司 +文山马关长江村镇银行股份有限公司 +文昌大众村镇银行有限责任公司 +文水县润都村镇银行有限责任公司 +新乡中原村镇银行股份有限公司 +新余孔目江成功村镇银行股份有限公司 +新安融兴村镇银行有限责任公司 +新密郑银村镇银行股份有限公司 +新巴尔虎左旗农村信用合作联社 +新干中银富登村镇银行有限公司 +新津珠江村镇银行股份有限公司 +新生支付-备付金账户 +新疆乌什农村商业银行股份有限公司 +新疆伊宁农村商业银行股份有限公司 +新疆博湖农村商业银行股份有限公司 +新疆吉木萨尔农村商业银行 +新疆奇台农村商业银行 +新疆库尔勒富民村镇银行股份有限公司 +新疆建新成功村镇银行股份有限公司 +新疆汇和银行股份有限公司(清算行) +新疆润物-备付金账户 +新疆石河子交银村镇银行股份有限公司 +新疆维吾尔自治区农村信用社联合社 +新疆绿洲国民村镇银行有限责任公司 +新疆银行股份有限公司 +新疆阿勒泰农村商业银行股份有限公司 +新绛县新田村镇银行股份有限公司 +新联商业银行 +新郑郑银村镇银行股份有限公司 +新都桂城村镇银行有限责任公司 +新韩银行(中国)有限公司 +旌德民商村镇银行股份有限公司 +无为徽银村镇银行有限责任公司 +无棣中成村镇银行股份有限公司 +无锡农村商业银行股份有限公司 +无锡市民卡-备付金账户 +无锡锡商银行股份有限公司 +日本三井住友信托银行股份有限公司上海分行 +日本名古屋银行股份有限公司南通分行 +日本山口银行股份有限公司青岛分行 +日照九银村镇银行股份有限公司 +日照沪农商村镇银行股份有限公司 +日照蓝海村镇银行股份有限公司 +日照银行股份有限公司 +旬邑中银富登村镇银行有限公司 +昆仑银行股份有限公司 +昆山农村商业银行 +昆山鹿城村镇银行股份有限公司 +昆明五华长江村镇银行股份有限公司 +昆明卡互卡支付科技有限公司-备付金账户 +昆明呈贡华夏村镇银行股份有限公司 +昆明官渡农村合作银行 +昆明官渡沪农商村镇银行股份有限公司 +昆明宜良融丰村镇银行股份有限公司 +昆明晋宁融丰村镇银行股份有限公司 +昆明银行电子结算中心 +昌乐乐安村镇银行股份有限公司 +昌吉国民村镇银行有限责任公司 +昌邑北海村镇银行股份有限公司 +昌黎家银村镇银行股份有限公司 +易宝支付-备付金账户 +易生支付-备付金账户 +易票联支付-备付金账户 +易联支付-备付金账户 +易通金服-备付金账户 +星展银行(中国)有限公司上海分行 +昭通昭阳富滇村镇银行 +晋中市太谷兴泰村镇银行股份有限公司 +晋中市左权华丰村镇银行股份有限公司 +晋中市榆次融信村镇银行股份有限公司 +晋商银行股份有限公司 +晋州恒升村镇银行股份有限公司 +普定富民村镇银行股份有限公司 +普洱民生村镇银行股份有限公司 +景县丰源村镇银行股份有限公司 +景德镇农村商业银行股份有限公司 +景德镇昌江九银村镇银行股份有限公司 +景洪民生村镇银行股份有限公司 +智付电子支付有限公司-备付金 +曲周县农村信用合作联社 +曲周恒升村镇银行股份有限公司 +曲沃县新田村镇银行股份有限公司 +曲阜中银富登村镇银行 +曲靖会泽长江村镇银行股份有限公司 +曲靖宣威长江村镇银行股份有限公司 +曲靖富源富滇村镇银行 +曲靖市商业银行 +曲靖惠民村镇银行股份有限公司 +曹县中银富登村镇银行 +朔州市朔城区蒙银村镇银行股份有限公司 +望江新华村镇银行股份有限公司 +望谟富民村镇银行股份有限公司 +朝阳柳城村镇银行股份有限公司 +朝阳银行股份有限公司 +本溪同盛村镇银行股份有限公司 +本溪市市区农村信用合作联社 +本溪禾丰村镇银行股份有限公司 +本溪银行股份有限公司 +杉德支付-备付金账户 +杜尔伯特润生村镇银行 +杞县中银富登村镇银行 +来安中银富登村镇银行 +杭州市民卡-备付金账户 +杭州联合农村商业银行股份有限公司 +杭州通策会-备付金账户 +杭州金融清算中心 +杭州银行 +杭锦后旗河套村镇银行股份有限公司 +杭锦大众村镇银行有限责任公司 +松原宁江惠民村镇银行股份有限公司 +松原市宁江区农村信用合作联社 +松桃长征村镇银行有限责任公司 +松滋中银富登村镇银行 +林州中原村镇银行股份有限公司 +林芝民生村镇银行股份有限公司 +枝江汉银村镇银行股份有限公司 +枞阳泰业村镇银行股份有限公司 +枣庄银行股份有限公司 +枣强丰源村镇银行股份有限公司 +枣阳中银富登村镇银行 +柏乡融信村镇银行股份有限公司 +柘城黄淮村镇银行股份有限公司 +柘荣刺桐红村镇银行有限公司 +柳州银行股份有限公司清算中心 +柳林汇泽村镇银行股份有限公司 +柳河蒙银村镇银行股份有限公司 +栖霞中银富登村镇银行有限公司 +株洲县融兴村镇银行有限责任公司 +根河市农村信用合作联社 +桂林国民村镇银行有限责任公司 +桂林银行股份有限公司 +桂阳沪农商村镇银行股份有限公司 +桐梓中银富登村镇银行有限公司 +桓台青隆村镇银行股份有限公司 +桦南融兴村镇银行有限责任公司 +桦川融兴村镇银行有限责任公司 +桦甸惠民村镇银行股份有限公司 +梅州客商银行股份有限公司 +梅州客家村镇银行股份公司 +梅河口市农村信用合作联社营业部 +梅河口民生村镇银行股份有限公司 +梨树县农村信用合作联社营业部 +梨树源泰村镇银行股份有限公司 +楚雄红塔村镇银行股份有限公司 +榆林榆阳民生村镇银行股份有限公司 +榆树融兴村镇银行 +樟树顺银村镇银行股份有限公司 +横峰恒通村镇银行股份有限公司 +正安中银富登村镇银行有限公司 +正定恒升村镇银行股份有限公司 +正蓝旗农村信用合作联社 +正蓝旗汇泽村镇银行有限责任公司 +正镶白旗农村信用合作联社 +正阳玉川村镇银行股份有限公司 +武乡县泽都村镇银行有限责任公司 +武冈包商村镇银行有限责任公司(清算中心) +武冈发展村镇银行有限责任公司 +武城圆融村镇银行股份有限公司 +武夷山本富村镇银行有限责任公司清算中心 +武宁恒通村镇银行股份有限公司 +武安村镇银行股份有限公司 +武川县农村信用合作联社 +武川立农村镇银行股份有限公司 +武强家银村镇银行股份有限公司 +武汉东西湖扬子村镇银行股份有限公司 +武汉众邦银行股份有限公司 +武汉农村商业银行股份有限公司 +武汉合众易宝-备付金账户 +武汉城市一卡通有限公司-备付金账户 +武汉江夏民生村镇银行股份有限公司 +武汉金源信-备付金账户 +武穴中银富登村镇银行 +武胜中银富登村镇银行 +武陟射阳村镇银行股份有限公司 +武隆融兴村镇银行有限责任公司 +比利时联合银行股份有限公司上海分行 +毕节发展村镇银行有限责任公司 +民勤融信村镇银行营业部 +民权德商村镇银行股份有限公司 +民生银行 +水城县农村信用合作联社 +水城蒙银村镇银行股份有限公司 +永丰银行(中国)有限公司 +永兴沪农商村镇银行股份有限公司 +永吉吉庆村镇银行股份有限公司 +永城齐鲁村镇银行有限责任公司 +永寿中银富登村镇银行有限公司 +永州农村商业银行股份有限公司 +永济市三禾村镇银行有限责任公司 +永清吉银村镇银行股份有限公司 +永靖县金城村镇银行股份有限公司 +汇丰银行(中国)有限公司上海分行 +汇元银通-备付金账户 +汇潮支付-备付金账户 +汇通宝-备付金账户 +汉中汉台铺镇聚利村镇银行股份有限公司 +汉口银行股份有限公司 +汉口银行资金清算中心 +汕头潮阳融和村镇银行股份有限公司 +汕头龙湖长江村镇银行股份有限公司 +汝州玉川村镇银行股份有限公司 +江口长征村镇银行有限责任公司 +江苏东台稠州村镇银行股份有限公司 +江苏东海张农商村镇银行有限责任公司 +江苏丰县民丰村镇银行有限责任公司 +江苏丹徒蒙银村镇银行股份有限公司 +江苏丹阳苏银村镇银行有限责任公司 +江苏启东珠江村镇银行股份有限公司 +江苏大丰江南村镇银行股份有限公司 +江苏大众书局商务服务有限公司-备付金账户 +江苏大贺会支付商务服务有限公司-备付金账户 +江苏如东融兴村镇银行有限责任公司 +江苏宜兴农村商业银行股份有限公司 +江苏宝应锦程村镇银行股份有限公司 +江苏宿豫东吴村镇银行有限责任公司 +江苏射阳太商村镇银行 +江苏常熟农村商业银行股份有限公司清算中心 +江苏建湖农村商业银行股份有限公司 +江苏张家港渝农商村镇银行股份有限公司 +江苏惠山民泰村镇银行股份有限公司 +江苏新沂汉源村镇银行股份有限公司 +江苏旅通-备付金账户 +江苏武进中银富登村镇银行有限责任公司 +江苏江南农村商业银行股份有限公司(不对外) +江苏江宁上银村镇银行股份有限公司 +江苏江都吉银村镇银行股份有限公司 +江苏江阴农村商业银行股份有限公司 +江苏沛县汉源村镇银行股份有限公司 +江苏沭阳东吴村镇银行股份有限公司 +江苏泗洪东吴村镇银行有限责任公司 +江苏泗阳东吴村镇银行股份有限公司 +江苏泰兴中银富登村镇银行有限责任公司 +江苏泰州农村商业银行股份有限公司 +江苏洪泽金阳光村镇银行股份有限公司 +江苏海安盐海村镇银行股份有限公司 +江苏海门中银富登村镇银行有限责任公司 +江苏涟水农村商业银行股份有限公司 +江苏涟水太商村镇银行股份有限公司 +江苏淮安光大村镇银行股份有限公司 +江苏溧水民丰村镇银行 +江苏灌云民丰村镇银行有限责任公司 +江苏灌南民丰村镇银行有限责任公司 +江苏爱心消费支付服务有限公司-备付金账户 +江苏瑞祥商务有限公司-备付金账户 +江苏盱眙珠江村镇银行股份有限公司 +江苏省农村信用社联合社(不对外) +江苏省集中代收付中心 +江苏苏宁银行股份有限公司 +江苏赣榆通商村镇银行股份有限公司 +江苏通州华商村镇银行股份有限公司 +江苏邗江民泰村镇银行股份有限公司 +江苏邗江联合村镇银行股份有限公司 +江苏邳州陇海村镇银行股份有限公司 +江苏金湖民泰村镇银行股份有限公司 +江苏金禧智能卡管理有限公司-备付金账户 +江苏铜山锡州村镇银行股份有限公司 +江苏银行 +江苏锡山中银富登村镇银行有限责任公司 +江苏长江商业银行 +江苏靖江农村商业银行股份有限公司 +江苏靖江润丰村镇银行股份有限公司 +江苏飞银商务智能科技有限公司-备付金账户 +江苏高淳武家嘴中银富登村镇银行有限责任公司 +江苏鸿兴达邮政商务资讯有限公司-备付金账户 +江西万载富民村镇银行股份有限公司 +江西上栗富民村镇银行股份有限公司 +江西上高富民村镇银行股份有限公司 +江西信州江淮村镇银行股份有限公司 +江西兴国新华村镇银行股份有限公司 +江西婺源江淮村镇银行股份有限公司 +江西广信农村商业银行股份有限公司 +江西瑞金光大村镇银行股份有限公司 +江西省农村信用社联合社 +江西省集中代收付中心 +江西芦溪富民村镇银行股份有限公司 +江西莲花富民村镇银行股份有限公司 +江西裕民银行股份有限公司 +江西赣州银座村镇银行股份有限公司 +江西银行股份有限公司 +江西银行股份有限公司景德镇分行 +江西高安富民村镇银行股份有限公司 +江门开平长江村镇银行股份有限公司 +江门新会新华村镇银行股份有限公司 +池州贵池民生村镇银行股份有限公司 +汤阴兴福村镇银行股份有限公司 +汨罗中银富登村镇银行股份有限公司 +汪清和润村镇银行股份有限公司 +汶上中银富登村镇银行 +汾西县亿通村镇银行股份有限公司 +汾西县太行村镇银行 +汾阳市九都村镇银行有限责任公司 +沁源县长青村镇银行有限责任公司 +沂水中银富登村镇银行 +沂源博商村镇银行股份有限公司 +沅江浦发村镇银行股份有限公司 +沈丘中银富登村镇银行有限公司 +沈阳于洪永安村镇银行股份有限公司 +沈阳市银行电子结算中心 +沈阳康平抚银村镇银行股份有限公司 +沈阳新民富民村镇银行 +沈阳沈北富民村镇银行 +沈阳法库富民村镇银行股份有限公司 +沈阳辽中富民村镇银行股份有限公司 +沙河襄通村镇银行股份有限公司 +沙洋中银富登村镇银行 +沧县吉银村镇银行股份有限公司 +沧州海兴新华村镇银行股份有限公司 +沧州盐山新华村镇银行股份有限公司 +沧州银行股份有限公司 +河北丰宁中银富登村镇银行有限责任公司 +河北巨鹿农村商业银行股份有限公司 +河北玉田农村商业银行股份有限公司 +河北省农村信用社联合社(不办理转汇) +河北省集中代收付中心 +河北银行股份有限公司 +河北黄骅农村商业银行股份有限公司 +河南叶县泰隆村镇银行股份有限公司 +河南商水厦农商村镇银行股份有限公司 +河南新野中银富登村镇银行有限责任公司 +河南方城凤裕村镇银行有限责任公司 +河南栾川民丰村镇银行股份有限公司 +河南永城农村商业银行股份有限公司 +河南汇银丰-备付金账户 +河南汝南泰隆村镇银行股份有限公司 +河南沁阳江南村镇银行股份有限公司 +河南省农村信用社联合社 +河南西华厦农商村镇银行股份有限公司 +河津市龙都村镇银行有限责任公司 +河钢集团财务有限公司 +河间融惠村镇银行有限责任公司 +沿河长征村镇银行有限责任公司 +泉州银行股份有限公司 +泌阳玉川村镇银行股份有限公司 +法国兴业银行(中国)有限公司 +法国外贸银行股份有限公司上海分行 +法国巴黎银行(中国)有限公司 +泰和中银富登村镇银行 +泰国泰京银行大众有限公司昆明分行 +泰安沪农商村镇银行股份有限公司 +泰安泰山农村商业银行股份有限公司 +泰安银行股份有限公司 +泰州姜堰锡州村镇银行股份有限公司 +泸县元通村镇银行有限责任公司 +泸州银行股份有限公司 +洛宁兴福村镇银行有限责任公司 +洛阳银行股份有限公司 +洪洞县洪都村镇银行有限责任公司 +洪湖融兴村镇银行有限责任公司 +洮南市农村信用合作联社营业部 +洮南惠民村镇银行股份有限公司 +济南槐荫沪农商村镇银行股份有限公司 +济南长清沪农商村镇银行股份有限公司 +济南高新北海村镇银行股份有限公司 +济宁儒商村镇银行股份有限公司 +济宁蓝海村镇银行股份有限公司 +济宁银行股份有限公司 +济宁高新村镇银行股份有限公司 +济源齐鲁村镇银行有限责任公司 +济阳北海村镇银行股份有限公司 +浑源县慧融村镇银行股份有限公司 +浙商银行 +浙江三门银座村镇银行股份有限公司 +浙江上虞富民村镇银行股份有限公司 +浙江东阳农村商业银行 +浙江东阳富民村镇银行股份有限公司 +浙江临安中信村镇银行股份有限公司 +浙江临海农村商业银行 +浙江临海湖商村镇银行股份有限公司 +浙江丽水莲都中银富登村镇银行有限责任公司 +浙江义乌农村商业银行股份有限公司 +浙江义乌联合村镇银行股份有限公司 +浙江乐清联合村镇银行股份有限公司 +浙江云和联合村镇银行股份有限公司 +浙江仙居富民村镇银行股份有限公司 +浙江余杭德商村镇银行股份有限公司 +浙江兰溪越商村镇银行股份有限公司 +浙江台州路桥富民村镇银行股份有限公司 +浙江台州黄岩恒升村镇银行股份有限公司 +浙江唯品会-备付金账户 +浙江嘉善农村商业银行股份有限公司 +浙江嘉善联合村镇银行股份有限公司 +浙江天台民生村镇银行股份有限公司 +浙江安吉交银村镇银行股份有限公司 +浙江定海德商村镇银行股份有限公司 +浙江富阳农村商业银行股份有限公司 +浙江富阳恒通村镇银行股份有限公司 +浙江岱山稠州村镇银行股份有限公司 +浙江嵊州瑞丰村镇银行股份有限公司 +浙江常山联合村镇银行股份有限公司 +浙江平湖农村商业银行股份有限公司 +浙江平湖工银村镇银行股份有限公司 +浙江庆元泰隆村镇银行股份有限公司 +浙江建德农村商业银行股份有限公司 +浙江建德湖商村镇银行股份有限公司 +浙江德清农村商业银行股份有限公司 +浙江德清湖商村镇银行股份有限公司 +浙江文成北银村镇银行股份有限公司 +浙江景宁银座村镇银行股份有限公司 +浙江松阳恒通村镇银行股份有限公司 +浙江柯桥联合村镇银行股份有限公司 +浙江桐乡民泰村镇银行股份有限公司 +浙江桐庐恒丰村镇银行股份有限公司 +浙江武义中银富登村镇银行有限责任公司 +浙江武义农村商业银行股份有限公司 +浙江民泰商业银行股份有限公司 +浙江永嘉恒升村镇银行股份有限公司 +浙江永康农村商业银行股份有限公司 +浙江江山中银富登村镇银行有限责任公司 +浙江泰隆商业银行清算中心 +浙江泰顺温银村镇银行股份有限公司 +浙江洞头富民村镇银行股份有限公司 +浙江浦江嘉银村镇银行股份有限公司 +浙江海宁农村商业银行股份有限公司 +浙江海宁德商村镇银行股份有限公司 +浙江海盐农村商业银行 +浙江海盐湖商村镇银行股份有限公司 +浙江淳安中银富登村镇银行有限责任公司 +浙江温岭联合村镇银行股份有限公司 +浙江玉环永兴村镇银行清算中心 +浙江瑞安湖商村镇银行股份有限公司 +浙江甬易电子支付有限公司-备付金账户 +浙江磐安农村商业银行 +浙江磐安婺商村镇银行股份有限公司 +浙江秀洲德商村镇银行股份有限公司 +浙江稠州商业银行 +浙江缙云联合村镇银行股份有限公司 +浙江网商银行 +浙江舟山普陀稠州村镇银行股份有限公司 +浙江航天电子-备付金账户 +浙江苍南中银富登村镇银行股份有份公司 +浙江苍南农村商业银行股份有限公司 +浙江萧山农村商业银行股份有限公司 +浙江萧山湖商村镇银行股份有限公司 +浙江衢州柯城农村商业银行股份有限公司 +浙江衢州衢江上银村镇银行股份有限公司 +浙江诸暨联合村镇银行股份有限公司 +浙江遂昌富民村镇银行股份有限公司 +浙江银付通-备付金账户 +浙江长兴联合村镇银行股份有限公司 +浙江青田中银富登华侨村镇银行有限责任公司 +浙江龙泉民泰村镇银行股份有限公司 +浙江龙游义商村镇银行股份有限公司 +浚县郑银村镇银行股份有限公司 +浮梁农商村镇银行有限责任公司 +海东市乐都区农村信用合作联社 +海伦惠丰村镇银行股份有限公司 +海信集团财务有限公司 +海南保亭融兴村镇银行有限责任公司 +海南儋州绿色村镇银行有限责任公司 +海南儋州绿色村镇银行有限责任公司清算中心 +海南省农村信用社联合社资金清算中心 +海南银行股份有限公司 +海口联合农村商业银行股份有限公司 +海口苏南村镇银行股份有限公司 +海尔集团财务有限责任公司 +海林远东村镇银行股份有限公司 +海阳珠江村镇银行股份有限公司 +海马财务有限公司 +涉县齐鲁村镇银行有限责任公司 +涞水利丰村镇银行有限责任公司 +涟源沪农商村镇银行股份有限公司 +涿鹿利丰村镇银行股份有限公司 +淄博博山北海村镇银行股份有限公司 +淄博淄川北海村镇银行股份有限公司 +淇县中原村镇银行股份有限公司 +淮阳中银富登村镇银行 +深圳光明沪农商村镇银行股份有限公司 +深圳农村商业银行股份有限公司 +深圳前海微众银行股份有限公司 +深圳南山宝生村镇银行股份有限公司 +深圳坪山珠江村镇银行股份有限公司 +深圳宝安桂银村镇银行股份有限公司 +深圳宝安融兴村镇银行有限责任公司 +深圳市银联金融网络有限公司-备付金账户 +深圳快付通-备付金账户 +深圳福田银座村镇银行股份有限公司 +深圳罗湖蓝海村镇银行股份有限公司 +深圳美的支付-备付金账户 +深圳腾付通-备付金账户 +深圳讯联智付-备付金账户 +深圳集中代收付中心 +深圳龙华新华村镇银行股份有限公司 +深圳龙岗中银富登村镇银行有限责任公司 +深圳龙岗鼎业村镇银行 +深州丰源村镇银行股份有限公司 +深泽利丰村镇银行有限责任公司 +深银联-备付金账户 +淳化中银富登村镇银行有限公司 +清徐惠民村镇银行有限责任公司 +清徐晋商村镇银行股份有限公司 +清水河县农村信用合作联社联社营业部 +清河金农村镇银行股份有限公司 +清远清新惠民村镇银行股份有限公司 +清镇兴邦村镇银行有限责任公司 +渑池齐鲁村镇银行有限责任公司 +渣打银行(中国)有限公司 +渣打银行(中国)有限公司上海分行 +渤海银行股份有限公司 +温县齐鲁村镇银行有限责任公司 +温州民商银行股份有限公司 +温州银行股份有限公司营业部 +湄潭中银富登村镇银行有限公司 +湖北公安中银富登村镇银行 +湖北咸安长江村镇银行有限责任公司 +湖北嘉鱼吴江村镇银行股份有限公司 +湖北大冶泰隆村镇银行有限责任公司 +湖北天门汇丰村镇银行有限责任公司 +湖北房县农村商业银行 +湖北汉川农银村镇银行有限责任公司 +湖北省农村信用社联合社 +湖北省农村信用社联合社结算中心(不对外办理业务) +湖北秭归农村商业银行股份有限公司 +湖北英山长江村镇银行股份有限公司 +湖北荆门掇刀包商村镇银行股份有限公司 +湖北荆门掇刀德通村镇银行股份有限公司 +湖北赤壁农村商业银行股份有限公司 +湖北赤壁长江村镇银行有限责任公司 +湖北银行股份有限公司 +湖北随州曾都汇丰村镇银行有限责任公司 +湖北麻城汇丰村镇银行有限责任公司 +湖南三湘银行股份有限公司 +湖南凤凰农村商业银行股份有限公司 +湖南常宁农村商业银行股份有限公司 +湖南平江汇丰村镇银行有限责任公司 +湖南桃江中银富登村镇银行股份有限公司 +湖南浏阳江淮村镇银行股份有限公司 +湖南湘潭天易农村商业银行 +湖南潇湘支付有限公司-备付金账户 +湖南省农村信用社联合社 +湖南银河金谷商务服务有限公司-备付金账户 +湖南银行股份有限公司 +湖口九银村镇银行股份有限公司 +湖州吴兴农村商业银行股份有限公司 +湖州银行股份有限公司清算中心 +湘潭农村商业银行股份有限公司 +湛江廉江长江村镇银行股份有限公司 +滑县中银富登村镇银行 +满洲里农村商业银行股份有限公司 +滦平盛阳村镇银行股份有限公司 +滨州河海村镇银行股份有限公司 +漯河市郾城发展村镇银行有限责任公司 +漳浦民生村镇银行股份有限公司 +潍坊市奎文区中成村镇银行股份有限公司 +潍坊市寒亭区蒙银村镇银行股份有限公司 +潍坊市潍城区北海村镇银行股份有限公司 +潍坊银行 +潜江中银富登村镇银行 +潮州农村商业银行股份有限公司 +潮州潮安长江村镇银行股份有限公司 +潼南民生村镇银行股份有限公司 +澧县沪农商村镇银行股份有限公司 +澳大利亚和新西兰银行 +澳大利亚和新西兰银行(中国)有限公司上海分行 +澳大利亚西太平洋银行有限公司上海分行 +澳门国际银行股份有限公司广州分行 +濮阳中原村镇银行股份有限公司 +灵丘县长青村镇银行有限责任公司 +灵宝融丰村镇银行股份有限公司 +灵山泰业村镇银行股份有限公司 +灵川深通村镇银行有限责任公司 +灵石县汇民村镇银行有限责任公司 +烟台福山珠江村镇银行股份有限公司 +烟台银行股份有限公司 +焦作中旅银行股份有限公司 +牟平胶东村镇银行股份有限公司 +独山富民村镇银行股份有限公司 +献县融和村镇银行股份有限公司 +玉山三清山村镇银行股份有限公司 +玉山银行(中国)有限公司 +玉溪红塔村镇银行股份有限公司 +现代金控-备付金账户 +珠海华润银行股份有限公司清算中心 +珠海南屏村镇银行股份有限公司 +珠海横琴村镇银行股份有限公司 +珲春吉银村镇银行股份有限公司 +琼海大众村镇银行有限责任公司 +瑞丽沪农商村镇银行股份有限公司 +瑞典北欧斯安银行有限公司上海分行 +瑞典商业银行公共有限公司上海分行 +瑞典银行有限公司上海分行 +瑞士信贷银行股份有限公司上海分行 +瑞士银行(中国)有限公司 +瑞昌九银村镇银行股份有限公司 +瑞穗银行(中国)有限公司 +瓮安富民村镇银行股份有限公司 +甘肃泾川中银富登村镇银行股份有限公司 +甘肃省农村合作金融结算服务中心 +甘肃省通渭县农村信用合作联社 +甘肃银行股份有限公司 +田东北部湾村镇银行有限责任公司 +田阳兴阳村镇银行有限责任公司 +电子信用证信息交换系统 +电子商业汇票系统处理中心 +电子联行转换中心 +界首中银富登村镇银行 +登封齐鲁村镇银行有限责任公司 +白城农村商业银行股份有限公司营业部 +白城洮北惠民村镇银行股份有限公司 +白山江源农村商业银行股份有限公司 +白山江源汇恒村镇银行股份有限公司 +白山浑江恒泰村镇银行股份有限公司 +白银平川中银富登村镇银行 +百色右江华润村镇银行股份有限公司 +皋兰县农村信用合作联社 +监利中银富登村镇银行 +盘山安泰村镇银行股份有限公司 +盘州万和村镇银行有限责任公司 +盘谷银行(中国)有限公司 +盘锦银行股份有限公司 +盛京银行清算中心 +睢县德商村镇银行股份有限公司 +睢宁中银富登村镇银行 +石嘴山银行股份有限公司 +石家庄新华恒升村镇银行股份有限公司 +石家庄栾城齐鲁村镇银行有限责任公司 +石柱中银富登村镇银行 +石河子国民村镇银行有限责任公司 +石门沪农商村镇银行股份有限公司 +石阡长征村镇银行有限责任公司 +确山郑银村镇银行股份有限公司 +磁县齐鲁村镇银行有限责任公司 +磐石吉银村镇银行股份有限公司 +磴口县农村信用合作联社 +磴口蒙银村镇银行股份有限公司 +祁县晋融村镇银行有限责任公司 +神池县河东村镇银行有限责任公司 +禄丰龙城富滇村镇银行 +福建一卡通-备付金账户 +福建三明农村商业银行股份有限公司 +福建仙游农村商业银行股份有限公司 +福建华通银行股份有限公司 +福建南安汇通村镇银行股份有限公司 +福建南平农村商业银行股份有限公司 +福建国通星驿-备付金账户 +福建宁化成功村镇银行股份有限公司 +福建宁德农村商业银行股份有限公司 +福建安溪农村商业银行股份有限公司 +福建平和农村商业银行股份有限公司 +福建平潭农村商业银行股份有限公司 +福建平潭渝农商村镇银行有限责任公司 +福建建瓯农村商业银行股份有限公司 +福建建瓯瑞狮村镇银行有限责任公司 +福建德化成功村镇银行股份有限公司 +福建掌财通-备付金账户 +福建政和泰隆村镇银行有限责任公司 +福建晋江农村商业银行股份有限公司 +福建武夷山农村商业银行股份有限公司 +福建永安农村商业银行股份有限公司 +福建永安汇丰村镇银行有限责任公司 +福建永春漳农商村镇银行股份有限公司 +福建沙县农村商业银行股份有限公司 +福建沙县渝农商村镇银行有限责任公司 +福建泉州台商投资区晋农商村镇银行股份有限公司 +福建海峡银行股份有限公司 +福建漳平农村商业银行股份有限公司 +福建漳平民泰村镇银行股份有限公司 +福建漳浦农村商业银行股份有限公司 +福建瑞特-备付金账户 +福建省农村信用社联合社(不办转汇业务) +福建省银通商务服务有限公司-备付金账户 +福建石狮农村商业银行股份有限公司 +福建石狮渝农商村镇银行有限责任公司 +福建福安渝农商村镇银行有限责任公司 +福建福州农村商业银行股份有限公司 +福建福清汇通农村商业银行股份有限公司 +福建福清泰隆村镇银行有限责任公司 +福建福鼎恒兴村镇银行股份有限公司 +福建福鼎恒兴村镇银行股份有限公司清算中心 +福建罗源汇融村镇银行股份有限公司 +福建蕉城刺桐红村镇银行有限公司 +福建连江农村商业银行股份有限公司 +福建连江恒欣村镇银行股份有限公司 +福建邵武农村商业银行股份有限公司 +福建长乐农村商业银行股份有限公司 +福建长乐泰隆村镇银行有限责任公司 +福建闽侯民本村镇银行股份有限公司 +福建闽清瑞狮村镇银行股份有限公司 +福建龙岩农村商业银行股份有限公司 +福建龙海农村商业银行股份有限公司 +福建龙海泰隆村镇银行股份有限公司 +福泉富民村镇银行股份有限公司 +禹城胶东村镇银行股份有限公司 +禹州新民生村镇银行股份有限公司 +科尔沁右翼前旗农村信用合作联社 +科尔沁左翼中旗农村信用合作联社 +科尔沁左翼后旗农村信用合作联社 +秦皇岛抚宁家银村镇银行股份有限公司 +秦皇岛银行股份有限公司 +稷山县河东村镇银行有限责任公司 +穆棱远东村镇银行股份有限公司 +突泉县农村信用合作联社 +突泉蒙银村镇银行股份有限公司 +章丘齐鲁村镇银行股份有限公司 +第一商业银行股份有限公司上海分行 +策勒县农村信用合作联社 +紫云富民村镇银行股份有限公司 +綦江民生村镇银行股份有限公司 +繁峙县新田村镇银行股份有限公司 +纳雍富民村镇银行股份有限公司 +织金惠民村镇银行有限责任公司 +绍兴银行股份有限公司营业部 +绥中长丰村镇银行股份有限公司 +绥阳黔北村镇银行有限责任公司 +绵阳市商业银行股份有限公司 +缴费通-备付金账户 +网易宝-备付金账户 +网联清算有限公司 +网银在线-备付金账户 +美国建东银行有限公司厦门分行 +美国银行有限公司上海分行 +美的集团财务有限公司 +翁牛特旗农村信用合作联社 +翁牛特立农村镇银行有限责任公司 +老河口中银富登村镇银行 +耒阳融兴村镇银行有限责任公司 +聊城沪农商村镇银行股份有限公司 +联动优势-备付金账户 +联通支付-备付金账户 +腾冲民生村镇银行股份有限公司 +自贡银行股份有限公司 +舒兰吉银村镇银行股份有限公司 +舞阳玉川村镇银行股份有限公司 +舟山明生商盟-备付金账户 +艾登瑞德(中国)有限公司-备付金账户 +芜湖圆融村镇银行股份有限公司 +花旗银行(中国)有限公司 +苍梧深通村镇银行有限责任公司 +苏宁易付宝-备付金账户 +苏尼特右旗农村信用合作联社 +苏尼特左旗农村信用合作联社 +苏州农村商业银行清算中心 +苏州吴中珠江村镇银行股份有限公司 +苏州市民卡-备付金账户 +苏州常熟中银富登村镇银行有限责任公司 +苏州银行股份有限公司 +若羌县农村信用合作联社 +英国巴克莱银行有限公司上海分行 +茂名电白长江村镇银行股份有限公司 +茂名高州长江村镇银行股份有限公司 +范县德商村镇银行股份有限公司 +茌平沪农商村镇银行股份有限公司 +荆门东宝惠民村镇银行股份有限公司 +荆门东宝惠民村镇银行股份有限公司营业部 +荔波富民村镇银行股份有限公司 +荷兰合作银行有限公司上海分行 +荷兰安智银行股份有限公司上海分行 +莒县金谷村镇银行股份有限公司 +莘县青隆村镇银行股份有限公司 +莫力达瓦蒙商村镇银行有限责任公司 +莫力达瓦达斡尔族自治旗农村信用合作联社 +莱商银行 +莱州珠江村镇银行股份有限公司 +莱芜中成村镇银行股份有限公司 +莱芜珠江村镇银行股份有限公司 +莱阳胶东村镇银行股份有限公司 +菏泽牡丹北海村镇银行股份有限公司 +萍乡安源富民村镇银行股份有限公司 +萍乡湘东黄海村镇银行股份有限公司 +营口宏诚村镇银行 +营口沿海银行股份有限公司 +营口银行股份有限公司资金清算中心 +葫芦岛银行股份有限公司 +蒙商银行股份有限公司 +蒙特利尔银行(中国)有限公司 +蒙自沪农商村镇银行股份有限公司 +蒲城中银富登村镇银行 +蓝田中银富登村镇银行 +蓬溪中银富登村镇银行 +蓬莱民生村镇银行股份有限公司 +蔚县银泰村镇银行股份有限公司 +蕲春中银富登村镇银行 +藁城恒升村镇银行股份有限公司 +虞城通商村镇银行股份有限公司 +蛟河吉银村镇银行股份有限公司 +行唐利丰村镇银行有限责任公司 +衡水冀州丰源村镇银行股份有限公司 +衡水银行股份有限公司 +衡阳县沪农商村镇银行股份有限公司 +裕福支付-备付金账户 +襄垣县融汇村镇银行有限责任公司 +襄城中原村镇银行股份有限公司 +襄汾县万都村镇银行有限责任公司 +西乌珠穆沁蒙商惠丰村镇银行有限责任公司 +西双版纳勐海长江村镇银行股份有限公司 +西双版纳勐腊长江村镇银行股份有限公司 +西安金融电子结算中心 +西安银行股份有限公司 +西安长安新华村镇银行股份有限公司 +西安雁塔恒通村镇银行股份有限公司 +西安高陵阳光村镇银行有限责任公司 +西平中原村镇银行股份有限公司 +西班牙桑坦德银行有限公司上海分行 +西藏堆龙民泰村镇银行股份有限公司 +西藏银行股份有限公司 +讷河融兴村镇银行有限责任公司 +许昌新浦村镇银行股份有限公司 +证联支付-备付金账户 +调兵山惠民村镇银行股份有限公司 +谷城中银富登村镇银行 +象山中银富登村镇银行 +象山国民村镇银行股份有限公司 +财付通-备付金账户 +贵安新区发展村镇银行股份有限公司 +贵定恒升村镇银行股份有限公司 +贵州省农村信用社联合社 +贵州福泉农村商业银行股份有限公司 +贵州荔波农村商业银行股份有限公司 +贵州银行股份有限公司 +贵州黎平农村商业银行股份有限公司 +贵溪九银村镇银行股份有限公司 +贵阳乌当富民村镇银行股份有限公司 +贵阳云岩富民村镇银行股份有限公司 +贵阳农村商业银行股份有限公司营运管理部(不对外办理业务) +贵阳南明富民村镇银行股份有限公司 +贵阳小河科技村镇银行股份有限公司 +贵阳白云德信村镇银行股份有限公司 +贵阳花溪建设村镇银行有限责任公司 +贵阳花溪建设村镇银行有限责任公司(清算中心) +贵阳观山湖富民村镇银行股份有限公司 +贵阳银行股份有限公司 +费县梁邹村镇银行股份有限公司 +贺州八步东盈村镇银行股份有限公司 +资和信-备付金账户 +资溪九银村镇银行股份有限公司 +资阳民生村镇银行股份有限公司 +赞皇隆兴村镇银行股份有限公司 +赣州银行股份有限公司 +赤城家银村镇银行股份有限公司 +赤峰元宝山农村商业银行股份有限公司 +赤峰市元宝山玉龙村镇银行有限责任公司 +赤峰市松山立农村镇银行有限责任公司 +赤峰市红山区农村信用合作联社 +赤峰市红山区农村信用合作联社东城信用社 +赤峰市红山区农村信用合作联社东城大街信用社 +赤峰市红山区农村信用合作联社兴隆信用社 +赤峰市红山区农村信用合作联社城郊信用社 +赤峰市红山区农村信用合作联社富合信用社 +赤峰市红山区农村信用合作联社影都信用社 +赤峰市红山区农村信用合作联社英金路信用社 +赤峰市红山区农村信用合作联社西城信用社 +赤峰市红山区农村信用合作联社钓鱼台信用社 +赤峰市红山区农村信用合作联社锦绣信用社 +赤峰市红山玉龙村镇银行有限责任公司 +赤峰松山农村商业银行股份有限公司 +赤水中银富登村镇银行有限公司 +赫章富民村镇银行股份有限公司 +辉南榆银村镇银行股份有限公司 +辉县珠江村镇银行股份有限公司 +辛集齐鲁村镇银行有限责任公司 +辽宁义县锦银村镇银行股份有限公司 +辽宁农村商业银行 +辽宁凌海锦银村镇银行股份有限公司 +辽宁北镇锦银村镇银行股份有限公司 +辽宁千山金泉村镇银行股份有限公司 +辽宁台安金安村镇银行股份有限公司 +辽宁喀左锦银村镇银行股份有限公司 +辽宁大石桥隆丰村镇银行股份有限公司 +辽宁岫岩金玉村镇银行股份有限公司 +辽宁彰武金通村镇银行股份有限公司 +辽宁振兴银行股份有限公司 +辽宁桓仁锦银村镇银行股份有限公司 +辽宁海城金海村镇银行股份有限公司 +辽宁灯塔村镇银行 +辽宁省农村信用社联合社运营管理部 +辽宁辰州汇通村镇银行股份有限公司 +辽宁首山村镇银行 +辽宁黑山锦银村镇银行股份有限公司 +辽沈银行股份有限公司 +辽源农村商业银行股份有限公司 +辽源西安区榆银村镇银行股份有限公司 +辽源龙山榆银村镇银行股份有限公司 +辽阳银行 +辽阳银行股份有限公司 +达尔罕茂明安联合旗农村信用合作联社 +达尔罕茂明安联合旗蒙商村镇银行股份有限公司 +达州达川中银富登村镇银行 +达州银行股份有限公司 +达拉特中银富登村镇银行股份有限公司 +达拉特旗农村信用合作联社 +迁安襄隆村镇银行股份有限公司 +迅付-备付金账户 +进贤瑞丰村镇银行有限责任公司 +远安金谷村镇银行股份有限公司 +连连银通-备付金账户 +通化东昌榆银村镇银行股份有限公司 +通化二道江瑞丰村镇银行股份有限公司 +通化农村商业银行股份有限公司 +通化融达村镇银行股份有限公司 +通城惠民村镇银行有限责任公司 +通榆农商村镇银行股份有限公司 +通渭县农村信用合作联社 +通联支付-备付金账户 +通许融信村镇银行股份有限公司 +通辽奈曼农村合作银行 +通辽市科尔沁区农村信用合作联社 +通辽金谷村镇银行股份有限公司 +遂宁安居融兴村镇银行有限责任公司 +遂宁银行股份有限公司 +遂平中原村镇银行股份有限公司 +道真中银富登村镇银行有限公司 +遵义播州汇隆村镇银行有限责任公司 +遵义新蒲长征村镇银行股份有限公司 +遵义汇川黔兴村镇银行有限责任公司 +遵义红花岗富民村镇银行股份有限公司 +遵化融和村镇银行股份有限公司 +邛崃国民村镇银行有限责任公司 +邢台银行股份有限公司 +邦付宝-备付金账户 +邯郸永年齐鲁村镇银行有限责任公司 +邯郸肥乡恒升村镇银行股份有限公司 +邯郸邯山齐鲁村镇银行有限责任公司 +邯郸银行股份有限公司 +邹平浦发村镇银行股份有限公司 +邻水中银富登村镇银行 +郏县广天村镇银行股份有限公司 +郑州珠江村镇银行股份有限公司 +郑州金水厦农商村镇银行股份有限公司 +郑州银行 +郓城北海村镇银行股份有限公司 +都匀融通村镇银行有限责任公司 +都昌九银村镇银行股份有限公司 +鄂尔多斯农村商业银行股份有限公司 +鄂尔多斯农村商业银行股份有限公司上湾分理处 +鄂尔多斯农村商业银行股份有限公司乌兰分理处 +鄂尔多斯农村商业银行股份有限公司乌达分理处 +鄂尔多斯农村商业银行股份有限公司伊旗矿区分理处 +鄂尔多斯农村商业银行股份有限公司伊金霍洛分理处 +鄂尔多斯农村商业银行股份有限公司准格尔分理处 +鄂尔多斯农村商业银行股份有限公司开源分理处 +鄂尔多斯农村商业银行股份有限公司海勃湾分理处 +鄂尔多斯农村商业银行股份有限公司海南分理处 +鄂尔多斯农村商业银行股份有限公司滨河分理处 +鄂尔多斯农村商业银行股份有限公司白塔分理处 +鄂尔多斯农村商业银行股份有限公司鄂托克分理处 +鄂尔多斯农村商业银行股份有限公司金泉分理处 +鄂尔多斯农村商业银行股份有限公司阳光分理处 +鄂尔多斯农村商业银行股份有限公司龙腾分理处 +鄂尔多斯市东胜蒙银村镇银行股份有限公司 +鄂尔多斯市塔拉壕金谷村镇银行股份有限公司 +鄂尔多斯市天骄蒙银村镇银行股份有限公司 +鄂尔多斯市康巴什村镇银行有限公司 +鄂尔多斯市罕台村镇银行股份有限公司 +鄂尔多斯市铁西蒙银村镇银行股份有限公司 +鄂尔多斯银行股份有限公司 +鄂托克兴生源村镇银行股份有限公司 +鄂托克前旗蒙银村镇银行股份有限公司 +鄂托克旗汇泽村镇银行股份有限公司 +鄂温克蒙商村镇银行有限责任公司 +鄄城包商村镇银行有限责任公司 +鄄城牡丹村镇银行有限责任公司 +鄢陵郑银村镇银行股份有限公司 +鄱阳恒通村镇银行股份有限公司 +醴陵沪农商村镇银行股份有限公司 +重庆三峡银行股份有限公司 +重庆丰都汇丰村镇银行有限责任公司 +重庆九龙坡民泰村镇银行股份有限公司 +重庆云阳恒丰村镇银行股份有限公司 +重庆农村商业银行 +重庆农村商业银行股份有限公司 +重庆北碚稠州村镇银行有限责任公司 +重庆南岸中银富登村镇银行有限公司 +重庆垫江中银富登村镇银行 +重庆城口中银富登村镇银行 +重庆大足汇丰村镇银行有限责任公司 +重庆富民银行股份有限公司 +重庆巫溪中银富登村镇银行 +重庆市大渡口融兴村镇银行有限责任公司 +重庆市沙坪坝融兴村镇银行有限责任公司 +重庆市酉阳融兴村镇银行有限责任公司 +重庆开州泰业村镇银行股份有限公司 +重庆彭水民泰村镇银行股份有限公司 +重庆忠县稠州村镇银行股份有限公司 +重庆易极付-备付金账户 +重庆梁平澳新村镇银行有限责任公司 +重庆江北恒丰村镇银行股份有限公司 +重庆涪陵中银富登村镇银行 +重庆渝北银座村镇银行有限责任公司 +重庆璧山工银村镇银行有限责任公司 +重庆联付通-备付金账户 +重庆荣昌汇丰村镇银行有限责任公司 +重庆钱宝-备付金账户 +重庆银行 +重庆长寿中银富登村镇银行 +重庆黔江银座村镇银行股份有限公司 +金华银行股份有限公司 +金寨徽银村镇银行有限责任公司 +金沙富民村镇银行股份有限公司 +金运通-备付金账户 +钟祥民生村镇银行股份有限公司 +铁岭农商村镇银行股份有限公司 +铁岭新星村镇银行股份有限公司 +铁岭银行股份有限公司 +铜仁万山长征村镇银行股份有限公司 +铜仁丰源村镇银行有限责任公司 +铜川印台恒通村镇银行股份有限公司 +铜川市耀州区农村信用合作联社 +铜川耀州新华村镇银行股份有限公司 +铜鼓九银村镇银行股份有限公司 +银盈通-备付金账户 +银盛支付-备付金账户 +银联商务-备付金账户 +银行间市场清算所 +锡林浩特农村合作银行 +锦州太和锦银村镇银行股份有限公司 +锦州银行(不对外办理业务) +锦江国际-备付金账户 +镇赉中银富登村镇银行股份有限公司 +镶黄旗农村信用合作联社 +长垣民生村镇银行股份有限公司 +长城华西银行股份有限公司 +长子县融汇村镇银行有限责任公司 +长安银行股份有限公司 +长岭县农村信用合作联社营业部 +长岭蛟银村镇银行股份有限公司营业部 +长春二道农商村镇银行股份有限公司 +长春农村商业银行股份有限公司 +长春净月榆银村镇银行股份有限公司 +长春南关惠民村镇银行有限责任公司营业部 +长春双阳吉银村镇银行股份有限公司 +长春发展农村商业银行股份有限公司营业部 +长春宽城融汇村镇银行股份有限公司 +长春朝阳和润村镇银行股份有限公司 +长春经开融丰村镇银行股份有限公司 +长春绿园融泰村镇银行股份有限公司 +长春高新惠民村镇银行有限责任公司 +长武中银富登村镇银行有限公司 +长沙农村商业银行股份有限公司 +长沙星沙沪农商村镇银行股份有限公司 +长沙银行股份有限公司 +长治市上党区泰都村镇银行有限责任公司 +长白山农村商业银行股份有限公司营业部 +长白朝鲜族自治县农村信用合作联社 +长白榆银村镇银行股份有限公司 +长葛轩辕村镇银行有限责任公司 +长顺富民村镇银行股份有限公司 +闻喜县晋融村镇银行有限责任公司 +阆中融兴村镇银行有限责任公司 +阜南中银富登村镇银行 +阜城家银村镇银行股份有限公司 +阜宁民生村镇银行股份有限公司 +阜新农商村镇银行股份有限公司 +阜新银行股份有限公司 +防城港防城国民村镇银行有限责任公司 +阳信河海村镇银行股份有限公司 +阳城县三禾村镇银行有限责任公司 +阳山县农村信用合作联社 +阳新汉银村镇银行股份有限公司 +阳曲县汇民村镇银行有限责任公司 +阳谷沪农商村镇银行股份有限公司 +阳高县兴都村镇银行有限责任公司 +阿克苏塔里木农村商业银行 +阿坝农村商业银行 +阿拉善农村商业银行股份有限公司 +阿拉善右旗农村信用合作联社 +阿拉善左旗方大村镇银行 +阿荣旗农村信用合作联社 +陇南市武都金桥村镇银行股份有限公司 +陈巴尔虎旗农村信用合作联社 +陕西三原海丝村镇银行股份有限公司 +陕西临潼海丝村镇银行股份有限公司 +陕西吴起汇发村镇银行股份有限公司 +陕西周至农科村镇银行股份有限公司 +陕西咸阳渭城汇发村镇银行股份有限公司 +陕西太白长银村镇银行股份有限公司 +陕西安塞中银富登村镇银行有限责任公司 +陕西宝鸡渭滨农村商业银行股份有限公司 +陕西富平汇发村镇银行有限责任公司 +陕西岐山长银村镇银行有限责任公司 +陕西户县海丝村镇银行股份有限公司 +陕西旬阳泰隆村镇银行股份有限公司 +陕西柞水聚利村镇银行股份有限公司 +陕西榆林农村商业银行股份有限公司 +陕西榆林横山汇发村镇银行股份有限公司 +陕西汉中南郑汇发村镇银行股份有限公司 +陕西泾阳泰隆村镇银行股份有限公司 +陕西洛南阳光村镇银行有限责任公司 +陕西煤炭交易中心有限公司-备付金账户 +陕西省农村信用社联合社资金清算中心 +陕西眉县泰隆村镇银行股份有限公司 +陕西神木农村商业银行 +陕西秦农农村商业银行 +陕西陇县长银村镇银行股份有限公司 +陕西靖边农村商业银行 +陵川县太行村镇银行 +陵水惠民村镇银行股份有限公司 +隆尧邢农商村镇银行股份有限公司 +隆德六盘山村镇银行 +随行付-备付金账户 +隰县新田村镇银行有限责任公司 +雄县丰源村镇银行股份有限公司 +雅安市商业银行股份有限公司 +集友银行有限公司福州分行 +集安惠鑫村镇银行股份有限公司 +集贤润生村镇银行有限责任公司清算中心 +雷州惠民村镇银行股份有限公司 +霍林郭勒市农村信用合作社 +霍林郭勒蒙银村镇银行股份有限公司 +霞浦刺桐红村镇银行有限公司 +霸州舜丰村镇银行股份有限公司 +青岛农村商业银行股份有限公司 +青岛即墨惠民村镇银行股份有限公司 +青岛城阳珠江村镇银行股份有限公司 +青岛崂山交银村镇银行股份有限公司 +青岛平度惠民村镇银行股份有限公司 +青岛百森通-备付金账户 +青岛百达通-备付金账户 +青岛莱西元泰村镇银行股份有限公司 +青岛莱西元泰村镇银行股份有限公司营业部 +青岛西海岸海汇村镇银行股份有限公司 +青岛银行 +青岛黄岛舜丰村镇银行股份有限公司 +青州中银富登村镇银行 +青海乐都三江村镇银行股份有限公司 +青海平安大通村镇银行股份有限公司 +青海湟中三江村镇银行股份有限公司 +青海省农村信用社资金清算中心 +青海银行股份有限公司 +青海门源大通村镇银行股份有限公司 +青龙融兴村镇银行股份有限公司 +靖宇乾丰村镇银行股份有限公司 +靖安九银村镇银行股份有限公司 +鞍山银行股份有限公司 +韩亚银行(中国)有限公司 +韩国产业银行上海分行 +韩城浦发村镇银行股份有限公司 +韶关农村商业银行股份有限公司 +韶山光大村镇银行股份有限公司 +项城中银富登村镇银行 +顺丰恒通-备付金账户 +颍上中银富登村镇银行 +额尔古纳市农村信用合作联社 +额济纳旗农村信用合作联社 +饶平融和村镇银行股份有限公司 +饶阳民商村镇银行股份有限公司 +首都银行(中国)有限公司 +香河益民村镇银行股份有限公司 +马来西亚马来亚银行有限公司上海分行 +马来西亚马来亚银行有限公司深圳分行 +高唐青隆村镇银行股份有限公司 +高密惠民村镇银行有限责任公司 +高平市太行村镇银行 +魏县齐鲁村镇银行有限责任公司 +鱼台青隆村镇银行股份有限公司 +鹤山珠江村镇银行股份有限公司 +鹰潭月湖恒通村镇银行股份有限公司 +鹿泉恒升村镇银行股份有限公司 +黄梅中银富登村镇银行 +黑龙江延寿农村商业银行 +黑龙江省农村信用社联合社 +黑龙江肇东中银富登村镇银行有限责任公司 +黔西花都村镇银行有限责任公司 +齐商银行 +齐河胶东村镇银行股份有限公司 +齐鲁银行 +龙井榆银村镇银行股份有限公司 +龙口中银富登南山村镇银行股份有限公司 +龙川融和村镇银行股份有限公司 +龙江银行股份有限公司 +龙里国丰村镇银行有限责任公司 \ No newline at end of file diff --git a/pkg/service/artistInfo/artistInfoTask/task.go b/pkg/service/artistInfo/artistInfoTask/task.go new file mode 100644 index 0000000..57207e7 --- /dev/null +++ b/pkg/service/artistInfo/artistInfoTask/task.go @@ -0,0 +1,29 @@ +// Package artistInfoTask ----------------------------- +// @file : task.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/1/23 14:09 +// ------------------------------------------- +package artistInfoTask + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/robfig/cron/v3" +) + +func Task(c *cron.Cron) { + //err := asCopyright.SyncAsCopyrightScheduler.AddTimerTask(c) + //if err != nil { + // fmt.Println("定时任务[SyncAsCopyrightScheduler]执行失败,err:", err) + //} + err := asUser.CacheInviteList.AddTimerTask(c) + if err != nil { + fmt.Println("定时任务[CacheInviteListScheduler]执行失败,err", err) + } + + //err = new(area.BankInfoCrawler).AddTimeTask(c) + //if err != nil { + // fmt.Println("定时任务[BankInfoCrawler]执行失败,err", err) + //} +} diff --git a/pkg/service/artistInfo/asArtist/artist.go b/pkg/service/artistInfo/asArtist/artist.go new file mode 100644 index 0000000..781bcac --- /dev/null +++ b/pkg/service/artistInfo/asArtist/artist.go @@ -0,0 +1,626 @@ +// Package asArtist ----------------------------- +// @file : asArtist.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/2/27 9:29 +// ------------------------------------------- +package asArtist + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "golang.org/x/sync/errgroup" + "strings" + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" +) + +// GetArtistProfileList 获取画家基本信息列表 +func GetArtistProfileList(c *gin.Context) { + var req GetArtistProfileListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var now = time.Now() + var order []string + if len(req.MultSort) > 0 { + for _, v := range req.MultSort { + if v.SortField == "" { + continue + } + var orderType = "asc" + if v.SortOrder == "descend" { + orderType = "desc" + } + order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(v.SortField), orderType)) + } + } + if req.SortField != "" { + var orderType = "asc" + if req.SortOrder == "descend" { + orderType = "desc" + } + order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(req.SortField), orderType)) + } + switch req.QueryType { + case QueryArtworkSupplyUser: + //画作补充信息审批状态为”待审核“的画家置顶 需求地址:http://114.218.158.24:9017/task-view-892.html + order = append(order, "exist_pending_artwork_supply_data desc") + case QueryArtistIndexUser: + order = append(order, "exist_index_supply_data desc") + } + var where string + //if req.Sex != "" { + // switch req.Sex { + // case "男": + // where = fmt.Sprintf("sex =1") + // case "女": + // where = fmt.Sprintf("sex =2") + // default: + // service.ErrorWithMark(c, e.Failed, nil, "GetArtistProfileList Sex Validate Error", "性别字段参数错误") + // return + // } + //} + if req.ArtShowCountStart != nil { + if where != "" { + where += " AND " + } + where += fmt.Sprintf("art_show_count >= %d ", *req.ArtShowCountStart) + } + if req.ArtShowCountEnd != nil { + if where != "" { + where += " AND " + } + where += fmt.Sprintf("art_show_count <= %d", *req.ArtShowCountEnd) + } + var userListResponse *artistInfoUser.FindUsersUserViewResponse + var err error + userListResponse, err = service.GrpcArtistInfoUserImpl.FindUsersUserView(c, &artistInfoUser.FindUsersRequest{ + InviterName: req.InviterName, + ArtistRealName: req.ArtistName, + Page: req.Page, + PageSize: req.PageSize, + IsArtist: req.IsArtist, + Keyword: req.Keyword, + Tnum: req.Tnum, + Order: order, + IncludeArtworkName: req.IncludeArtworkName, + IncludeArtworkSupplyAuditStatus: req.IncludeArtworkSupplyAuditStatus, + IncludeArtworkSupplyFlowType: req.IncludeArtworkSupplyFlowType, + LowState: req.LowState, + Where: where, + NativePlace: req.NativePlace, + Sex: req.Sex, + MultInviterName: req.MultInviterName, + //BlackListStatus: 1, + //UseDynamicTable: asUser.DynamicUserService.CompleteState.IsUpdateCompleted(), //使用物理视图 + }) + fmt.Printf("cost1: %v\n", time.Now().Sub(now)) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistProfileList: GrpcArtistInfoUserImpl.FindUsers Error", "查询失败") + return + } + //黑名单用户前面加# + for i, v := range userListResponse.Data { + if v.BlackListStatus == 2 { + userListResponse.Data[i].RealName = "#" + userListResponse.Data[i].RealName + } + } + //数据转换 + var returnData []UserView + err = copier.Copy(&returnData, &userListResponse.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistProfileList: copier.Copy Error", "数据转换失败") + return + } + //查询insource字段 + var artistUids []string + for _, v := range returnData { + artistUids = append(artistUids, v.ArtistUid) + } + for i, v := range returnData { + //returnData[i].LowState = 2 + //新需求改为所有邀请者都要加上去 2023/04/26 + // 查询所有邀请者 + inviterList, err := service.GrpcArtistInfoUserImpl.GetInviterUserList(c, &artistInfoUser.GetInviterUserListRequest{InvitedCode: v.InviteCode, Page: 1, PageSize: -1}) + if err != nil { + logger.Error("GrpcArtistInfoUserImpl.GetInviterUserList ERROR :", err.Error()) + } + var inviterNames []string + if len(inviterList.Data) > 0 { + for _, inv := range inviterList.Data { + inviterNames = append(inviterNames, inv.RealName) + } + returnData[i].InviterRealName = strings.Join(inviterNames, ",") + } + } + fmt.Printf("cost2: %v\n", time.Now().Sub(now)) + + errGroup := errgroup.Group{} + for i, _ := range returnData { + i := i + //下载长文本 个人简介 + errGroup.Go(func() error { + //return downloadLongTextFromBucket(&returnData[i]) + return new(ResumeCache).QueryOrDownloadLongTextFromBucket(&returnData[i]) + }) + returnData[i].ArtistShowCount = fmt.Sprintf("%s(%d)", returnData[i].RealName, returnData[i].ArtShowCount) + //优化地址显示 + for tempAddr := range returnData[i].Address { + if strings.Contains(returnData[i].Address[tempAddr], ",,,") { + returnData[i].Address[tempAddr] = strings.ReplaceAll(returnData[i].Address[tempAddr], ",,,", "") + } + } + } + err = errGroup.Wait() + fmt.Printf("cost3: %v\n", time.Now().Sub(now)) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistProfileList: downloadLongTextFromBucket Error", "查询失败") + return + } + if strings.Contains("test,dev,xjjdev", config.Env) { + time.Sleep(time.Second * 1) + fmt.Println("测试环境等待1秒") + } + ////获取低优先级画家列表并作标注 + //lowList, err := service.GrpcArtistImpl.LowArtistList(c, &artist.LowArtistListReq{ + // Page: 1, + // PageSize: -1, + //}) + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, "GetArtistProfileList: GrpcArtistImpl.LowArtistList Error", "查询失败") + // return + //} + //for i, _ := range returnData { + // for _, v := range lowList.Data { + // if v.RealName == returnData[i].RealName { + // returnData[i].LowState = 1 + // } + // } + //} + //service.ResponseList(c, returnData, service.OptionPage(userListResponse.Page.Page, userListResponse.Page.PageSize, userListResponse.Page.Total), + // service.OptionAddField_ArtshowCount("artistUid")) + service.ResponseList(c, returnData, service.OptionPage(userListResponse.Page.Page, userListResponse.Page.PageSize, userListResponse.Page.Total)) +} + +// ArtistsArtworkStaticList 获取画家的画作统计列表 +func ArtistsArtworkStaticList(c *gin.Context) { + var startTime = time.Now() + var req ArtistArtworkStaticRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var artistStaticRequest = &artistInfoArtwork.ArtistArtworkStaticRequest{ + Page: req.Page, + PageSize: req.PageSize, + ArtistName: req.ArtistName, + Tnum: req.Tnum, + IsLock: req.IsLock, + } + + //===================================画作筛选条件处理================================================================== + var ( + queryArtistUidFromArtworkRecords bool + artworkLockRecordsReq = &artistInfoArtwork.GetArtworkLockRecordsRequest{Page: 1, PageSize: -1} + artistArtworkTotal = make(map[string]int64) //记录画家的画作数量 + ) + fmt.Println("ArtistsArtworkStaticList---------------------1") + if req.BaseAuditStatus != 0 { + queryArtistUidFromArtworkRecords = true + if req.BaseAuditStatus == StaticReq_noFinish { + artworkLockRecordsReq.Where = req.WhereAdd(artworkLockRecordsReq.Where, "(base_audit_status<3 OR base_audit_status=7)") + } else if req.BaseAuditStatus == StaticReq_preSave { + //关于暂存状态的说明: + // 暂存状态表示的是未锁定的画作。 + // 远古时的逻辑是当画家锁定后,用户上传的画作也被锁定,同时审批状态会从**暂存**变成**待审核**,也就是从不能审批状态变为可以审批,这时候直接用暂存状态直接查询是没有问题的; + // 后来要求暂存的画作也要支持审核,但是如果审批过后,画作状态就不是**暂存**状态了。按照原先的逻辑,这些画其实还是未锁定状态,因为这些画没有被锁定,最终导致有部分画作会找不到,所以要改为使用锁定状态来查询; + artworkLockRecordsReq.Where = req.WhereAdd(artworkLockRecordsReq.Where, "status =1") + } else { + artworkLockRecordsReq.BaseAuditStatus = int64(req.BaseAuditStatus) + } + } + fmt.Println("ArtistsArtworkStaticList---------------------2") + if req.NationalExhibition != 0 { + queryArtistUidFromArtworkRecords = true + artworkLockRecordsReq.Where = req.WhereAdd(artworkLockRecordsReq.Where, fmt.Sprintf("national_exhibition=%d", req.NationalExhibition)) + } + if req.QueryHaveProof != 0 { + queryArtistUidFromArtworkRecords = true + artworkLockRecordsReq.Where = req.WhereAdd(artworkLockRecordsReq.Where, "national_exhibition_proof !=''") + } + fmt.Println("ArtistsArtworkStaticList---------------------3") + if req.ArtworkName != "" || req.Tfnum != "" { + fmt.Println("ArtistsArtworkStaticList---------------------3.1") + queryArtistUidFromArtworkRecords = true + artworks, err := service.GrpcArtworkQueryImpl.GetArtworkProfileList(c, &artwork_query.GetArtworkProfileListRequest{ + Query: &artwork_query.ArtworkProfileData{ + Name: req.ArtworkName, + Tfnum: req.Tfnum, + }, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ArtistsArtworkStaticList: service.GrpcArtworkQueryImpl.ArtworkPreviewList", "查询失败") + return + } + fmt.Println("ArtistsArtworkStaticList---------------------3.2") + if len(artworks.List) == 0 { + service.ResponseList(c, []ArtistArtworkStaticStaticData{}, service.OptionPage(req.Page, req.PageSize, 0)) + return + } + fmt.Println("ArtistsArtworkStaticList---------------------3.3") + var artistUids []string + var artworkUids []string + for _, v := range artworks.List { + artistUids = append(artistUids, v.ArtistUuid) + artworkUids = append(artworkUids, v.Uuid) + } + artistUids = utils.ArrayDeduplicate(artistUids) + if len(artistStaticRequest.ArtistUidList) == 0 { + artistStaticRequest.ArtistUidList = artistUids + } else { + artistStaticRequest.ArtistUidList = utils.Intersection(artistStaticRequest.ArtistUidList, artistUids) + } + if len(artistStaticRequest.ArtworkUids) > 0 { + artistStaticRequest.ArtworkUids = utils.Intersection(artistStaticRequest.ArtworkUids, artworkUids) + } else { + artistStaticRequest.ArtworkUids = artworkUids + } + fmt.Println("ArtistsArtworkStaticList---------------------3.4") + if len(artistStaticRequest.ArtworkUids) == 0 { + service.ResponseList(c, []ArtistArtworkStaticStaticData{}, service.OptionPage(req.Page, req.PageSize, 0)) + return + } + fmt.Println("new artworkUids1111", artistStaticRequest.ArtworkUids) + fmt.Println("ArtistsArtworkStaticList---------------------3.5") + + } + fmt.Println("artistStaticRequest.ArtistUidList1111", artistStaticRequest.ArtistUidList) + if req.RulerStart != nil || req.RulerEnd != nil { + fmt.Println("ArtistsArtworkStaticList---------------------4.1") + var artworkViewListRequest = artistInfoArtwork.ArtworkViewRequest{Page: 1, PageSize: -1, Select: []string{"artist_uid", "artwork_uid"}} + //排除已解锁的画作 + artworkViewListRequest.Where = "lock_status<3" + if req.RulerStart != nil { + if artworkViewListRequest.Where != "" { + artworkViewListRequest.Where += " AND " + } + artworkViewListRequest.Where += fmt.Sprintf("ruler >= %d ", *req.RulerStart) + } + if req.RulerEnd != nil { + if artworkViewListRequest.Where != "" { + artworkViewListRequest.Where += " AND " + } + artworkViewListRequest.Where += fmt.Sprintf("ruler <= %d", *req.RulerEnd) + } + fmt.Println("ArtistsArtworkStaticList---------------------4.2") + rulerArtworkResp, err := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artworkViewListRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ArtistsArtworkStaticList: service.GrpcArtistInfoArtworkImpl.GetArtworkViewList", "查询失败") + return + } + fmt.Println("ArtistsArtworkStaticList---------------------4.3") + if rulerArtworkResp.Total == 0 { + service.ResponseList(c, []ArtistArtworkStaticStaticData{}, service.OptionPage(req.Page, req.PageSize, 0)) + return + } + fmt.Println("ArtistsArtworkStaticList---------------------4.4") + var artistUids []string + var artworkUids []string + for _, v := range rulerArtworkResp.Datas { + artistUids = append(artistUids, v.ArtistUid) + artworkUids = append(artworkUids, v.ArtworkUid) + } + artistUids = utils.ArrayDeduplicate(artistUids) + if len(artistStaticRequest.ArtistUidList) == 0 { + artistStaticRequest.ArtistUidList = artistUids + } else { + artistStaticRequest.ArtistUidList = utils.Intersection(artistStaticRequest.ArtistUidList, artistUids) + } + if len(artistStaticRequest.ArtworkUids) > 0 { + artistStaticRequest.ArtworkUids = utils.Intersection(artistStaticRequest.ArtworkUids, artworkUids) + } else { + artistStaticRequest.ArtworkUids = artworkUids + } + fmt.Println("ArtistsArtworkStaticList---------------------3.4") + if len(artistStaticRequest.ArtworkUids) == 0 { + service.ResponseList(c, []ArtistArtworkStaticStaticData{}, service.OptionPage(req.Page, req.PageSize, 0)) + return + } + } + fmt.Println("artistStaticRequest.ArtistUidList2222", artistStaticRequest.ArtistUidList) + if queryArtistUidFromArtworkRecords { + fmt.Println("ArtistsArtworkStaticList---------------------5.1") + artworkLockRecordsReq.Where = req.WhereAdd(artworkLockRecordsReq.Where, "status < 3") + artworkLockRecordsReq.Where = req.WhereAdd(artworkLockRecordsReq.Where, fmt.Sprintf("artwork_uid in (%s)", "'"+strings.Join(artistStaticRequest.ArtworkUids, "','")+"'")) + records, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, artworkLockRecordsReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ArtistsArtworkStaticList: service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords", "查询失败") + return + } + fmt.Println("ArtistsArtworkStaticList---------------------5.2") + var artworkUids []string + newArtistUidList := make([]string, 0) + for _, v := range records.Data { + newArtistUidList = append(newArtistUidList, v.ArtistUid) + artworkUids = append(artworkUids, v.ArtworkUid) + } + if len(artistStaticRequest.ArtworkUids) > 0 { + artistStaticRequest.ArtworkUids = utils.Intersection(artistStaticRequest.ArtworkUids, artworkUids) + } else { + artistStaticRequest.ArtworkUids = artworkUids + } + fmt.Println("ArtistsArtworkStaticList---------------------5.3") + if len(artistStaticRequest.ArtworkUids) == 0 { + service.ResponseList(c, []ArtistArtworkStaticStaticData{}, service.OptionPage(records.Page, records.PageSize, records.Total)) + return + } + fmt.Println("new artworkUids22222", artistStaticRequest.ArtworkUids) + fmt.Println("newArtistUidList", newArtistUidList) + fmt.Println("ArtistsArtworkStaticList---------------------5.4") + newArtistUidList = utils.ArrayDeduplicate(newArtistUidList) + if len(artistStaticRequest.ArtistUidList) == 0 { + artistStaticRequest.ArtistUidList = newArtistUidList + fmt.Println("artistStaticRequest.ArtistUidList3333_1", artistStaticRequest.ArtistUidList) + } else { + artistStaticRequest.ArtistUidList = utils.Intersection(artistStaticRequest.ArtistUidList, newArtistUidList) + fmt.Println("artistStaticRequest.ArtistUidList3333_2", artistStaticRequest.ArtistUidList) + } + fmt.Println("ArtistsArtworkStaticList---------------------5.5") + if len(artistStaticRequest.ArtistUidList) == 0 { + service.ResponseList(c, []ArtistArtworkStaticStaticData{}, service.OptionPage(records.Page, records.PageSize, records.Total)) + return + } else { + fmt.Println("ArtistsArtworkStaticList---------------------5.6") + //统计当前条件下的每个画家的画作数量 + for _, v := range artistStaticRequest.ArtistUidList { + artistArtworkTotal[v] = 0 + for _, w := range records.Data { + if w.ArtistUid == v { + artistArtworkTotal[v]++ + } + } + } + } + } + //===================================画家筛选条件处理================================================================== + var order []string + if req.SortField != "" { + var orderType = "asc" + if req.SortOrder == "descend" { + orderType = "desc" + } + order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(req.SortField), orderType)) + artistStaticRequest.Order = strings.Join(order, ",") + } + if req.IsMaster != 0 { + switch req.IsMaster { + case 1: + artistStaticRequest.Where = fmt.Sprintf("IFNULL(caa_cert_num,'') != ''") + case 2: + artistStaticRequest.Where = fmt.Sprintf("IFNULL(caa_cert_num,'') = ''") + } + } + if req.PassedRulerTotalStart != nil { + if artistStaticRequest.Where != "" { + artistStaticRequest.Where += " AND " + } + artistStaticRequest.Where += fmt.Sprintf("passed_ruler_total >= %d ", *req.PassedRulerTotalStart) + } + if req.PassedRulerTotalEnd != nil { + if artistStaticRequest.Where != "" { + artistStaticRequest.Where += " AND " + } + artistStaticRequest.Where += fmt.Sprintf("passed_ruler_total <= %d", *req.PassedRulerTotalEnd) + } + fmt.Println("artistStaticRequest.ArtistUidList444444", artistStaticRequest.ArtistUidList) + fmt.Println("ArtistsArtworkStaticList---------------------6") + datas, err := service.GrpcArtistInfoArtworkImpl.ArtistArtworkStatic(c, artistStaticRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ArtistsArtworkStaticList: service.GrpcArtistInfoArtworkImpl.ArtistArtworkStatic", "查询失败") + return + } + fmt.Println("cost1", time.Now().Sub(startTime)) + var returnData []ArtistArtworkStaticStaticData + for _, v := range datas.Data { + var lockTime string + lockT, terr := stime.StringToTimeWithFormat(v.LatestLockTime, stime.Format_Normal_YMDhms) + if terr == nil { + lockTime = lockT.Format(stime.Format_Normal_YMDhms) + } else { + lockTime = v.LatestLockTime + } + returnData = append(returnData, ArtistArtworkStaticStaticData{ + Idx: v.Idx, + IsLock: v.IsLock, + ArtistUid: v.ArtistUid, + LatestLockTime: lockTime, + PassedArtworkNumber: v.PassedArtworkTotal, + LatestUpdatedAt: v.LatestUpdatedAt, + RealName: v.RealName, + PenName: v.PenName, + StageName: v.StageName, + ArtworkTotal: v.ArtworkTotal, + RulerTotal: v.RulerTotal, + PassedRulerTotal: v.PassedRulerTotal, + PassedArtworkTotal: v.PassedArtworkTotal, + NoAuditArtworkTotal: v.NoAuditArtworkTotal, + IdNum: v.IdNum, + Tnum: v.Tnum, + CaaCertNum: v.CaaCertNum, + IsMaster: v.CaaCertNum != "", + NowConditionArtworkTotal: artistArtworkTotal[v.ArtistUid], + }) + } + fmt.Println("cost2", time.Now().Sub(startTime)) + // //查询inSource字段值 + service.ResponseList(c, returnData, service.OptionPage(datas.Page, datas.PageSize, datas.Total), + service.OptionAddField_ArtshowCount("artistUid")) +} + +// 画家导入画家服务 +func ImportUserToArtistService(c *gin.Context) { + var req artist.UpdateInsourceReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.ArtistUid == "" && len(req.ArtistUids) == 0 { + service.Error(c, e.InvalidParams, nil, "参数不能为空") + return + } + + //先更新经纪人字段 + var artistUids []string + if req.ArtistUid != "" { + artistUids = append(artistUids, req.ArtistUid) + } + if len(req.ArtistUids) > 0 { + artistUids = append(artistUids, req.ArtistUids...) + } + for _, artistUid := range artistUids { + //更新画家信息 + artistInfo, err := service.GrpcArtistImpl.ArtistDetail(c, &artist.DetailRequest{Uid: artistUid}) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "ImportUserToArtistService: GrpcArtistImpl.UpdateInsource Error:"+err.Error(), "查询画家信息失败") + return + } + //获取画家宝用户信息 + userInfo, err := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{MgmtArtistUid: artistUid}) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "ImportUserToArtistService: GrpcArtistInfoUserImpl.FindUser Err:"+err.Error(), "查询画家信息失败") + return + } + inviterRes, err := service.GrpcArtistInfoUserImpl.GetInviterUserList(c, &artistInfoUser.GetInviterUserListRequest{InvitedCode: userInfo.InviteCode}) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "ImportUserToArtistService: GrpcArtistInfoUserImpl.GetInviterUserList Err:"+err.Error(), "邀请人查询失败,无法更新经纪人字段") + return + } + var inviterNames []string + for _, v := range inviterRes.Data { + inviterNames = append(inviterNames, v.RealName) + } + if strings.Contains("test,dev,xjjdev", config.Env) { + time.Sleep(time.Second * 1) + fmt.Println("测试环境等待1秒") + } + artistInfo.ProfileInfo.Agent = strings.Join(inviterNames, ",") + //导入的时候更新性别和年龄 + if userInfo.RealName != nil { + var sex int32 + if userInfo.RealName.Sex == "男" { + sex = 1 + } + artistInfo.ProfileInfo.Age = userInfo.RealName.Age + artistInfo.ProfileInfo.Gender = sex + } + _, err = service.GrpcArtistImpl.UpdateProfile(c, artistInfo.ProfileInfo) + if err != nil { + if strings.Contains(err.Error(), "证书") { + service.ErrorWithMark(c, e.InvalidParams, err, "ImportUserToArtistService: GrpcArtistImpl.UpdateProfile Err:"+err.Error(), "导入失败:美协证书编号不匹配") + } else { + service.ErrorWithMark(c, e.InvalidParams, err, "ImportUserToArtistService: GrpcArtistImpl.UpdateProfile Err:"+err.Error(), "经纪人字段更新失败") + } + return + } + //将当前不在画家宝中展示的画作导入画家宝 + if !updateArtworkInsourceAs3(c, artistUid) { + return + } + //记录操作 + go asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_artistBaseInfo, userInfo.Id) + } + //再更新insource字段 + if req.InSource == artist.InSource_InsourceNone { + req.InSource = artist.InSource_InSourceManagerAndBox + } + _, err := service.GrpcArtistImpl.UpdateInsource(c, &req) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "ImportUserToArtistService: GrpcArtistImpl.UpdateInsource Error:"+err.Error(), "更新失败") + return + } + //_, err = service.GrpcArtistInfoUserImpl.SyncDynamicUser(c, &artistInfoUser.SyncDynamicUserRequest{ArtistUid: req.ArtistUid, ArtistUidList: req.ArtistUids}) + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, fmt.Sprintf("ImportUserToArtistService: SyncDynamicUser: Error :%v", err.Error()), "更新失败") + // return + //} + ////更新物理视图 + // if len(artistUids) > 0 { + //go asUser.DynamicUserService.UpdateUserWistArtistUid(artistUids...) + //} + service.Success(c) +} +func updateArtworkInsourceAs3(c *gin.Context, artistUid string) (ok bool) { + //画家所有画作需要在画家宝可见 + allartworks, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ + Page: 1, + PageSize: -1, + ArtistUid: artistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "ImportUserToArtistService: GrpcArtistImpl.UpdateInsource Error:"+err.Error(), "更新失败") + return + } + //将管理系统的画作更新到画家宝 + var artworkUids []string + for _, v := range allartworks.Data { + if v.InSource != 2 && v.InSource != 3 { + artworkUids = append(artworkUids, v.ArtworkUid) + } + } + if len(artworkUids) > 0 { + _, err = service.GrpcArtworkImpl.UpdateInsource(c, &artwork.UpdateInsourceReq{ + ArtworkUids: artworkUids, + InSource: 3, + }) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GrpcArtworkImpl.UpdateInsource Error:"+err.Error(), "更新失败") + return + } + //生成画作审批记录,如果记录不存在,则默认为暂存状态 + //var locktime = time.Now().Format(stime.Format_Normal_YMDhms) + for _, uid := range artworkUids { + _, _ = service.GrpcArtistInfoArtworkImpl.CreateArtworkLockRecord(c, &artistInfoArtwork.CreateArtworkLockRecordReq{ + ArtistUid: artistUid, + ArtworkUid: uid, + Status: 1, + //LockTime: locktime, + }) + } + } + ok = true + return +} + +// 画家导入画家宝 +func ImportArtistToArtistinfo(c *gin.Context) { + var req = artistInfoUser.ImportUserRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + data, err := service.GrpcArtistInfoUserImpl.ImportUser(c, &req) + if err != nil { + fmt.Println("ImportUser: GrpcArtistInfoUserImpl.ImportUser Error:" + err.Error()) + service.ErrorWithMark(c, e.Failed, err, "ImportUser: GrpcArtistInfoUserImpl.ImportUser Error:"+err.Error(), err.Error()) + return + } + service.Success(c, data) +} diff --git a/pkg/service/artistInfo/asArtist/dtoArtist.go b/pkg/service/artistInfo/asArtist/dtoArtist.go new file mode 100644 index 0000000..31f805e --- /dev/null +++ b/pkg/service/artistInfo/asArtist/dtoArtist.go @@ -0,0 +1,190 @@ +// Package dto ----------------------------- +// @file : asArtist.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/2/27 9:30 +// ------------------------------------------- +package asArtist + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" +) + +type queryType int + +const ( + QueryArtworkSupplyUser queryType = 1 //查询画作补充信息模块的用户 + QueryArtistIndexUser queryType = 2 //查询画家指数模块的用户 +) + +type SortItem struct { + SortField string `json:"sortField"` //排序字段 + SortOrder string `json:"sortOrder"` //排序方式 +} +type GetArtistProfileListRequest struct { + ArtistName string `json:"artistName"` //画家名字 + InviterName string `json:"inviterName"` //首个邀请人名字 + MultInviterName string `json:"multInviterName"` //从全部邀请人名字中查询 + IsArtist int32 `json:"isArtist"` //是否是画家 1是2否 + Page int32 `json:"page"` + PageSize int32 `json:"pageSize"` + Keyword string `json:"Keyword"` //关键字搜索 + Tnum string `json:"tnum"` //画家编号 + //单数据排序 + SortItem + //多字段排序 + MultSort []SortItem `json:"multSort"` + //新增查询信息 + QueryType queryType `json:"queryType"` // 1=画作补充信息 + //画作补充信息页面筛筛选 + IncludeArtworkName string `json:"includeArtworkName"` + IncludeArtworkSupplyAuditStatus int64 `json:"includeArtworkSupplyAuditStatus"` // 查询画作补充信息中有此审批状态的画家 5=待补充 2=待审核 3=审核不通过 4=审核通过 + IncludeArtworkSupplyFlowType int64 `json:"includeArtworkSupplyFlowType"` // 查询画作补充信息中由此流程状态的画家 1=未完成 2=历史 + + LowState int64 `json:"lowState"` //是否低优先级画家 1=是 2=否 + ArtShowCountStart *int64 `json:"artShowCountStart"` //合作次数区间 + ArtShowCountEnd *int64 `json:"artShowCountEnd"` //合作次数区间 + NativePlace string `json:"nativePlace"` //籍贯 + Sex string `json:"sex"` //性别 男/女 +} + +type UserView struct { + UserId int64 `json:"userId"` + AccId int64 `json:"accId"` + ArtistUid string `json:"artistUid"` + TelNum string `json:"telNum"` + InviteCode string `json:"inviteCode"` + Account string `json:"account"` + Photo string `json:"photo"` + IsRealName int64 `json:"isRealName"` + FddState int64 `json:"fddState"` + IsRead int64 `json:"isRead"` + IsLock bool `json:"isLock"` + RealName string `json:"realName"` + IdNum string `json:"idNum"` + Sex string `json:"sex"` + Age int64 `json:"age"` + Address []string `json:"address"` + IdcardBack string `json:"idcardBack"` + IdcardFront string `json:"idcardFront"` + InviterInviteCode string `json:"inviterInviteCode"` + InviterRealName string `json:"inviterRealName"` + JoinAssoTime string `json:"joinAssoTime"` + DeletedAt int64 `json:"deletedAt"` + UpdatedAt string `json:"updatedAt"` + CreatedAt string `json:"createdAt"` + PenName string `json:"penName"` + StageName string `json:"stageName"` + CertificateNum string `json:"certificateNum"` + CertificateImg string `json:"certificateImg"` + BankName string `json:"bankName"` + BankNum string `json:"bankNum"` + ArtistProfile string `json:"artistProfile"` + LatestLockTime string `json:"latestLockTime"` + WxAccount string `json:"wxAccount"` + InSource int32 `json:"insource"` + Tnum string `json:"tnum"` + IdType int32 `json:"idType"` + NativePlace string `json:"nativePlace"` + CanGenerateSupplyInfo bool `json:"canGenerateSupplyInfo"` //是否可以生成补充信息(管理系统按钮控制) + CanGenerateBrokerInfo bool `json:"canGenerateBrokerInfo"` //是否可以生成经纪人补充信息 + ExistPendingArtworkSupplyData int64 `json:"existPendingArtworkSupplyData"` //是否存在待审核的画作补充信息 1=存在 0=不存在 + LowState int64 `json:"lowState"` //是否低优先级画家 1=是 2=否 + ExistIndexSupplyData int64 `json:"existIndexSupplyData"` //是否存在待补充的画家补充信息 + ArtShowCount int64 `json:"artShowCount"` //画展次数 + MasterVerifyTime string `json:"masterVerifyTime"` //美协认证时间 + IsCpc int `json:"isCpc"` + Faction artistInfoUser.CpcFactionType `json:"faction"` + IsSystemUnit int `json:"isSystemUnit"` + LBankName string `json:"lBankName"` + BankCode string `json:"bankCode"` + BankArea string `json:"bankArea"` + ArtistShowCount string `json:"artistShowCount"` +} + +// func (u *UserView) AdditionalArtistInfo() { +// artistData, err := service.GrpcArtistImpl.ArtistInfo(context.Background(), &artist.ArtistInfoRequest{Uid: u.ArtistUid}) +// if err != nil { +// fmt.Println("\n补充userview数据失败", err.Error(), "\n") +// } +// if artistData.ProfileInfo != nil { +// u.Address = strings.Split(artistData.ProfileInfo.Address, ",") +// u.PenName = artistData.ProfileInfo.PenName +// u.StageName = artistData.ProfileInfo.StageName +// } +// } + +type ArtistArtworkStaticStaticData struct { + Idx int64 `json:"idx"` + IsLock bool `json:"isLock"` + ArtistUid string `json:"artistUid"` + LatestLockTime string `json:"latestLockTime"` + PassedArtworkNumber int64 `json:"passwdArtworkNumber"` + LatestUpdatedAt string `json:"latestUpdatedAt"` + RealName string `json:"realName"` + PenName string `json:"penName"` + StageName string `json:"stageName"` + ArtworkTotal int64 `json:"artworkTotal"` + RulerTotal int64 `json:"rulerTotal"` + PassedRulerTotal int64 `json:"passedRulerTotal"` + PassedArtworkTotal int64 `json:"passwdArtworkTotal"` + NoAuditArtworkTotal int64 `json:"noAuditArtworkTotal"` + IdNum string `json:"idNum"` + // InSource int32 `json:"inSource"` + Tnum string `json:"tnum"` + CaaCertNum string `json:"caaCertNum"` + IsMaster bool `json:"isMaster"` + NowConditionArtworkTotal int64 `json:"nowConditionArtworkTotal"` //当前筛选条件下,画家的画作数量 + NotifyAt string `json:"notifyAt"` + IsNew bool `json:"isNew"` // 当次有新画作加入 +} + +type ImportArtistRequest struct { + ArtistUid string `json:"artistUid"` + ArtistUids []string `json:"artistUids"` +} + +type ArtistArtworkStaticRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + + //画家筛选条件 + ArtistName string `json:"artistName"` //画家名字 + Tnum string `json:"tnum"` //画家编号 + IsMaster int `json:"isMaster"` //是否大师画家 1是 2否 + PassedRulerTotalStart *int `json:"passedRulerTotalStart"` //通过画作平尺数起始值 + PassedRulerTotalEnd *int `json:"passedRulerTotalEnd"` //通过画作平尺数结束值 + SortField string `json:"sortField"` + SortOrder string `json:"sortOrder"` + IsLock artistInfoArtwork.IsLock `json:"isLock"` //画家锁定状态 + + //画作筛选条件 + RulerStart *int `json:"rulerStart"` //平尺数区间起始值 + RulerEnd *int `json:"rulerEnd"` //平尺数区间结束值 + BaseAuditStatus StaticReqAuditStatus `json:"baseAuditStatus"` //审批状态 1=暂存 2=待审核 3=不通过 4=通过 6=驳回 7=复审 10=未完成审批的画作 + NationalExhibition int `json:"nationalExhibition"` //是否国展 2=入围 3=入选 + QueryHaveProof int `json:"queryHaveProof"` //有入选凭证 0不查询 1查询 + ArtworkName string `json:"artworkName"` //画作名字 + Tfnum string `json:"tfnum"` // 画作编号 +} + +func (a *ArtistArtworkStaticRequest) WhereAdd(old, new string) string { + if old != "" { + old += " AND " + } + old += new + return old +} + +type StaticReqAuditStatus int + +const ( + StaticReq_preSave StaticReqAuditStatus = iota + 1 //暂存 + SaticReq_pending //待审核 + SaticReq_noPass //不通过 + SaticReq_pass //通过 + SaticReq_reject = 6 //驳回 + SaticReq_review = 7 //复审 + StaticReq_noFinish = 10 //未完成审批 +) diff --git a/pkg/service/artistInfo/asArtist/readme.md b/pkg/service/artistInfo/asArtist/readme.md new file mode 100644 index 0000000..3109d8b --- /dev/null +++ b/pkg/service/artistInfo/asArtist/readme.md @@ -0,0 +1 @@ +# artist 画家模块 \ No newline at end of file diff --git a/pkg/service/artistInfo/asArtist/resumeCache.go b/pkg/service/artistInfo/asArtist/resumeCache.go new file mode 100644 index 0000000..10d63dd --- /dev/null +++ b/pkg/service/artistInfo/asArtist/resumeCache.go @@ -0,0 +1,67 @@ +// Package asArtist ----------------------------- +// @file : resumeCache.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/9/2 下午4:13 +// ------------------------------------------- +package asArtist + +import ( + "fmt" + "github.com/dorlolo/simpleRequest" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "math/rand" + "strings" + "sync" + "time" +) + +var resumeCacheLocker = sync.RWMutex{} +var resumeCacheKey = "artistinfo:resume:" + +type ResumeCache struct { +} + +func (r ResumeCache) QueryOrDownloadLongTextFromBucket(data *UserView) error { + if strings.HasPrefix(data.ArtistProfile, "http") { + //增加缓存 + resumeCacheLocker.RLock() + var artistProfile, err = cache.RedisClient.Get(resumeCacheKey + data.ArtistProfile).Bytes() + resumeCacheLocker.RUnlock() + if artistProfile != nil && err == nil { + data.ArtistProfile = string(artistProfile) + fmt.Println("查到了resume的缓存") + return nil + } + fmt.Println("下载resume数据") + //如果为空则下载data.ArtistProfile + req := simpleRequest.NewRequest() + res, err := req.GET(data.ArtistProfile) + if err != nil { + return err + } + r.setCache(data.ArtistProfile, string(res)) + data.ArtistProfile = string(res) + } + return nil +} +func (ResumeCache) setCache(key string, value string) { + resumeCacheLocker.Lock() + cache.RedisClient.Set(resumeCacheKey+key, value, time.Second*time.Duration(rand.Intn(300)+60)) + resumeCacheLocker.Unlock() +} + +func downloadLongTextFromBucket(data *UserView) error { + if strings.HasPrefix(data.ArtistProfile, "http") { + //增加缓存 + + //下载data.ArtistProfile + req := simpleRequest.NewRequest() + res, err := req.GET(data.ArtistProfile) + if err != nil { + return err + } + data.ArtistProfile = string(res) + } + return nil +} diff --git a/pkg/service/artistInfo/asArtshow/artshow.go b/pkg/service/artistInfo/asArtshow/artshow.go new file mode 100644 index 0000000..534b019 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/artshow.go @@ -0,0 +1,246 @@ +package asArtshow + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "golang.org/x/net/context" + "strconv" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" +) + +func ArtshowHistoryGroup(c *gin.Context) { + var req = artistinfoArtshow.GetArtshowHistroyListRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if req.ArtistUid == "" { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + req.ArtistUid = userInfo.MgmtArtistUid + } + + res, err := service.GrpcArtistInfoArtshowImpl.GetArtshowHistroyList(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtshowImpl.GetArtshowHistroyList Error", "查询错误") + } + if req.PageSize == -1 { + req.PageSize = int64(len(res.Data)) + } + fmt.Printf("%+v\n", res.Data) + var returnData = []*TimeGroup{} + if err = copier.Copy(&returnData, res.Data); err != nil { + service.ErrorWithMark(c, e.Failed, err, "ArtshowHistoryGroup:copier.Copy Error", "查询错误") + } + //优化空指针 + for i, v := range returnData { + if v.ArtistIndexList == nil { + returnData[i].ArtistIndexList = []*ArtistIndexData{} + } + if v.ArtistSupplementList == nil { + returnData[i].ArtistSupplementList = []*ArtistSupplementData{} + } + if v.ArtistVideoList == nil { + returnData[i].ArtistVideoList = []*ArtistVideoData{} + } + if v.ArtworkSupplementList == nil { + returnData[i].ArtworkSupplementList = []*ArtworkSupplementData{} + } + } + service.ResponseList(c, returnData, service.OptionPage(req.Page, req.PageSize, len(res.Data))) +} + +func UpdateRecomend(c *gin.Context) { + var req artistInfoUser.UpdateRecommendReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + resp, err := service.GrpcArtistInfoUserImpl.UpdateRecommend(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func ArtshowList(c *gin.Context) { + var err error + var req = artistInfoUser.ArtshowListReq{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var resp *artistInfoUser.ArtshowListResp + resp, err = service.GrpcArtistInfoUserImpl.ArtshowList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + // 遍历画家artistUuids + var artistUuids []string + for _, v := range resp.Data { + if v.ArtistUuid != "" { + artistUuids = append(artistUuids, v.ArtistUuid) + } + } + artistUuids = common.DistinctSliceString(artistUuids) + if len(artistUuids) == 0 { + service.ResponseQuickMsg(c, e.Failed, "没有画家信息", nil) + return + } + var findUsersReq artistInfoUser.FindUsersRequest + findUsersReq.Page = 1 + findUsersReq.PageSize = 999 + findUsersReq.MgmtArtistUids = artistUuids + // 批量查询画家信息 + findUsersResp, errS := service.GrpcArtistInfoUserImpl.FindUsersUserView(context.Background(), &findUsersReq) + if errS != nil { + service.ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + var artistSupperMap map[string]map[string]map[string]interface{} + artistSupperMap = map[string]map[string]map[string]interface{}{} + //查询推荐人信息和画展补充发起时间 + for _, artistUuid := range artistUuids { + var artshowReq artistinfoArtshow.GetBrokerSupplementListRequest + artshowReq.ArtistUid = artistUuid + artshowReq.Page = 1 + artshowReq.PageSize = 999 + artshowResp, errs := service.GrpcArtistInfoArtshowImpl.GetBrokerSupplementList(context.Background(), &artshowReq) + if errs != nil { + service.ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + // 查询每个画家、画展包的绑定信息 + for _, v := range artshowResp.List { + if artistSupperMap[v.ArtistUid] == nil { + artistSupperMap[v.ArtistUid] = map[string]map[string]interface{}{} + } + if artistSupperMap[v.ArtistUid][v.ArtPackageUid] == nil { + artistSupperMap[v.ArtistUid][v.ArtPackageUid] = map[string]interface{}{} + } + artistSupperMap[v.ArtistUid][v.ArtPackageUid]["artshow_ext_time"] = v.CreatedAt + artistSupperMap[v.ArtistUid][v.ArtPackageUid]["recomment_id"] = fmt.Sprintf("%v", v.BrokerId) + artistSupperMap[v.ArtistUid][v.ArtPackageUid]["recomment_name"] = fmt.Sprintf("%v", v.BrokerName) + } + } + // 组装画家信息 + var findUsersInfo map[string]map[string]interface{} + findUsersInfo = map[string]map[string]interface{}{} + var artistInvite map[string][]*artistInfoUser.ArtshowListResp_Info_InviteInfo + artistInvite = map[string][]*artistInfoUser.ArtshowListResp_Info_InviteInfo{} + for _, v := range findUsersResp.Data { + var temp map[string]interface{} + temp = map[string]interface{}{} + temp["sex"] = v.Sex + temp["age"] = v.Age + temp["phone"] = v.TelNum + temp["name"] = v.RealName + temp["invite_code"] = v.InviteCode + // 根据邀请码查询画家的邀请人信息 + inviterList, errs := service.GrpcArtistInfoUserImpl.GetInviterUserList(context.Background(), &artistInfoUser.GetInviterUserListRequest{ + InvitedCode: v.InviteCode, + Page: 1, + PageSize: -1, + }) + if errs != nil { + service.ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + for _, vv := range inviterList.Data { + //inviterNames = append(inviterNames, vv.RealName) + //inviterIds = append(inviterIds, fmt.Sprintf("%d", vv.UserId)) + if artistInvite[v.ArtistUid] == nil { + artistInvite[v.ArtistUid] = []*artistInfoUser.ArtshowListResp_Info_InviteInfo{} + } + var ttInvite *artistInfoUser.ArtshowListResp_Info_InviteInfo + ttInvite = &artistInfoUser.ArtshowListResp_Info_InviteInfo{} + ttInvite.Realname = vv.RealName + ttInvite.UserId = int32(vv.UserId) + artistInvite[v.ArtistUid] = append(artistInvite[v.ArtistUid], ttInvite) + } + //temp["invite_name"] = strings.Join(inviterNames, ",") + //temp["invite_id"] = strings.Join(inviterIds, ",") + findUsersInfo[v.ArtistUid] = temp + } + for _, v := range resp.Data { + if findUsersInfo[v.ArtistUuid] != nil { + //v.ArtistName = fmt.Sprintf("%v", findUsersInfo[v.ArtistUuid]["name"]) + v.Sex = fmt.Sprintf("%v", findUsersInfo[v.ArtistUuid]["sex"]) + age, _ := strconv.Atoi(fmt.Sprintf("%v", findUsersInfo[v.ArtistUuid]["age"])) + v.Age = int32(age) + v.Phone = fmt.Sprintf("%v", findUsersInfo[v.ArtistUuid]["phone"]) + //v.InviteUsers = fmt.Sprintf("%v", findUsersInfo[v.ArtistUuid]["invite_name"]) + //v.InviteUserId = fmt.Sprintf("%v", findUsersInfo[v.ArtistUuid]["invite_id"]) + + } + if artistInvite[v.ArtistUuid] != nil { + v.InviteData = artistInvite[v.ArtistUuid] + } + if v.ArtshowId != "" && artistSupperMap[v.ArtistUuid] != nil && artistSupperMap[v.ArtistUuid][v.ArtshowId] != nil { + v.ArtshowExtTime = fmt.Sprintf("%v", artistSupperMap[v.ArtistUuid][v.ArtshowId]["artshow_ext_time"]) + recommendId, _ := strconv.Atoi(fmt.Sprintf("%v", artistSupperMap[v.ArtistUuid][v.ArtshowId]["recomment_id"])) + v.RecommendUser = int32(recommendId) + } + // 如果画展包是空,根据supplement保存的broker来展示 + if v.ArtshowId == "" { + v.ArtshowExtTime = "" + v.RecommendUser = int32(v.BrokerId) + } + if v.ArtshowExtTime != "" { + t, errs := time.Parse(time.RFC3339, v.ArtshowExtTime) + if errs != nil { + logger.Error("time.RFC3339 err", errs) + service.ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + } + v.ArtshowExtTime = t.Format(model.DateTimeFormat) + } + /* + * 第一次 可能会先有推荐人ID 再有画展包ID ,没有画展包ID即使有推荐人ID,推荐人ID强制为空 2023-06-05 + * 第二次 只要有推荐人ID就展示出来 2023-11-23 + */ + /*if v.ArtshowId == "" { + v.RecommendUser = 0 + }*/ + } + //service.ResponseQuickMsg(c, e.Ok, "", resp) + jsonBytes, _ := json.Marshal(resp.Data) + var mapList []map[string]any + json.Unmarshal(jsonBytes, &mapList) + service.FillArtshowCount(mapList, "ArtistUuid") + var newResp = map[string]any{ + "Data": mapList, + "Count": resp.Count, + "Page": resp.Page, + "PageSize": resp.PageSize, + "Msg": "", + } + service.ResponseQuickMsg(c, e.Ok, "", newResp) + return +} + +func GetAuditUnfinishedStatistics(c *gin.Context) { + resp, err := service.GrpcArtistInfoArtshowImpl.GetAuditUnfinishedStatistics(context.Background(), &artistinfoArtshow.AuditUnfinishedStatisticsRequest{}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseData(c, resp) + return +} diff --git a/pkg/service/artistInfo/asArtshow/artshowAtistIndex.go b/pkg/service/artistInfo/asArtshow/artshowAtistIndex.go new file mode 100644 index 0000000..7b136c7 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/artshowAtistIndex.go @@ -0,0 +1,477 @@ +// Package asArtshow ----------------------------- +// @file : artshowAtistIndex.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/3 8:25 +// ------------------------------------------- +package asArtshow + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "sort" + "sync" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" +) + +// 画家指数 +var ArtshowIndex = new(artshowIndex) + +type artshowIndex struct { +} + +func (a artshowIndex) GenerateArtistIndexRecords(c *gin.Context) { + var req = RequestGenerateArtistIndexRecord{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + _, err := service.GrpcArtistInfoArtshowImpl.BatchCreateArtistIndex(c, &artistinfoArtshow.BatchCreateArtistIndexRequest{ + ArtistUids: req.ArtistUids, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GenerateArtistIndexRecord: GrpcArtshowImpl.BatchCreateArtistIndex Error ", err.Error()) + return + } else { + service.Success(c) + } +} + +// GetArtistIndexListAtUserSide 获取用户端画展视频资料列表 +func (a artshowIndex) GetArtistIndexListAtUserSide(c *gin.Context) { + var req RequestGetArtistIndexListAtUserSide + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //获取艺术家uid + if req.ArtistUid == "" { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + req.ArtistUid = userInfo.MgmtArtistUid + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(c, &artistinfoArtshow.GetArtistIndexListRequest{ + Page: req.Page, + PageSize: req.PageSize, + ArtistUid: req.ArtistUid, + Status: 2, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexListAtUserSide: GrpcArtshowImpl.GetArtistIndexList Error ", "查询失败") + return + } + var datas []*ArtistIndexInfo + err = copier.Copy(&datas, &res.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexListAtBackendSide: copier.Copy Error ", "查询失败") + return + } + service.ResponseList(c, datas, service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功")) +} + +// GetArtistIndexListAtBackendSide 获取后端画展视频资料列表 +func (a artshowIndex) GetArtistIndexListAtBackendSide(c *gin.Context) { + var request = GetArtistIndexListRequest{} //artistinfoArtshow.GetArtistIndexListRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if request.History { + request.Status = 3 //解锁状态即查询历史记录 + } else { + request.Status = 2 + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(c, &request.GetArtistIndexListRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexListAtBackendSide: GrpcArtshowImpl.GetArtistIndexList Error ", "查询失败") + return + } + var datas []*ArtistIndexInfo + err = copier.Copy(&datas, &res.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexListAtBackendSide: copier.Copy Error ", "查询失败") + return + } + service.ResponseList(c, datas, service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功")) +} + +var generateArtistIndexLock sync.Mutex + +func (a artshowIndex) UpdateArtistIndex(c *gin.Context) { + generateArtistIndexLock.Lock() + defer generateArtistIndexLock.Unlock() + var request = artistinfoArtshow.ArtistIndexInfo{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var err error + reslist, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(c, &artistinfoArtshow.GetArtistIndexListRequest{ + ArtistUid: request.ArtistUid, + }) + if err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + found := false + for _, v := range reslist.Data { + if v.Class == request.Class { + found = true + _, err = service.GrpcArtistInfoArtshowImpl.UpdateArtistIndex(c, &artistinfoArtshow.UpdateArtistIndexRequest{ + Id: v.Id, + TitleScore: request.TitleScore, + Score: request.Score, + Status: 2, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexListAtBackendSide: GrpcArtshowImpl.GetArtistIndexList Error ", "更新失败") + return + } + break + } + } + if !found { + request.LatestBrokerUpdatedAt = time.Now().Format(stime.Format_Normal_YMDhms) + request.DataUpdatedAt = request.LatestBrokerUpdatedAt + _, err = service.GrpcArtistInfoArtshowImpl.CreateArtistIndex(c, &request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "CreateArtistIndex Error ", "更新失败") + return + } + } + //同步到画家系统 + _ = SyncArtistIndexToArtistSystem(&request, c) + service.Success(c) +} + +func (a artshowIndex) AuditArtistIndex(c *gin.Context) { + var request = artistinfoArtshow.AuditArtistIndexRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + go func() { + //var userIds []int64 + + var userIdMap = make(map[int64]UserRelationArtistSupplement) + for _, id := range request.ArtistIndexIds { + asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_artistIndex, id) + artshowDetail, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexDetail(c, &artistinfoArtshow.GetArtistIndexDetailRequest{Id: id}) + if err == nil { + userInfo, errs := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{MgmtArtistUid: artshowDetail.ArtistUid}) + if errs == nil && request.AuditStatus == 4 { + //userIds = append(userIds, userInfo.Id) + userIdMap[userInfo.Id] = UserRelationArtistSupplement{userInfo, artshowDetail} + } + } + } + fmt.Printf("画家指数map:%+v \n", userIdMap) + if len(userIdMap) > 0 { + fmt.Println("aaaaa") + for userId, relationData := range userIdMap { + //if errs := asUser.ArtistInfoPushNotice.ArtistArtshowSupplementAuditNotice(userId, asUser.AuditType_ArtistInex); errs != nil { + // fmt.Println("1111:", errs.Error()) + // logger.Error("AuditArtistIndex,发送app通知失败:" + errs.Error()) + // continue + //} + pusher := asPush.NewPusher() + if errs := pusher.ArtistArtshowSupplementAuditNotice(userId, asUser.AuditType_ArtistInex); errs != nil { + fmt.Println("1111:", errs.Error()) + logger.Error("AuditArtistIndex,发送app通知失败:" + errs.Error()) + continue + } + fmt.Println("bbbbb") + //获取画家系统的画家指数数据 + //artistSystemIndex, errs := service.GrpcArtistImpl.GetIndex(c, &artist.GetIndexRequest{ + // Uid: relationData.UserInfo.MgmtArtistUid, + //}) + //if errs != nil { + // fmt.Println("2222:", errs.Error()) + // logger.Error("GrpcArtistImpl.ArtistDetail,获取画家系统详情失败:" + errs.Error()) + // continue + //} + //fmt.Println("ccccc") + //更新画家指数 + updateArtistSystemIndexRequest := &artist.IndexRequest{ + Uid: relationData.UserInfo.MgmtArtistUid, + //Exhibition: artistSystemIndex.Exhibition, + //Collectible: artistSystemIndex.Collectible, + //Education: artistSystemIndex.Education, + //Influence: artistSystemIndex.Influence, + //Professionalism: artistSystemIndex.Professionalism, + InSource: 2, //这个字段不要使用artistSystemIndex.InSource,两个字段含义不同 + Exhibition: -1, + Education: -1, + Professionalism: -1, + Influence: -1, + Collectible: -1, + } + + switch relationData.ArtistIndex.Title { + case "艺术家-展览": + updateArtistSystemIndexRequest.Exhibition = relationData.ArtistIndex.TitleScore + case "艺术家-资历": + updateArtistSystemIndexRequest.Education = relationData.ArtistIndex.TitleScore + case "艺术家-专业": + updateArtistSystemIndexRequest.Professionalism = relationData.ArtistIndex.TitleScore + case "艺术家-影响力": + updateArtistSystemIndexRequest.Influence = relationData.ArtistIndex.TitleScore + case "艺术家-收藏": + updateArtistSystemIndexRequest.Collectible = relationData.ArtistIndex.TitleScore + } + fmt.Println("ddddd") + fmt.Printf("画家指数:%+v\n", updateArtistSystemIndexRequest) + if _, errs := service.GrpcArtistImpl.UpdateIndex(c, updateArtistSystemIndexRequest); errs != nil { + fmt.Println("3333:", errs.Error()) + logger.Error("更新画家系统的画家指数失败", errs) + continue + } + } + } + }() + _, err := service.GrpcArtistInfoArtshowImpl.AuditArtistIndex(c, &request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "AuditArtistIndex: GrpcArtshowImpl.AuditArtistIndex Error ", err.Error()) + return + } + service.Success(c) +} + +// DEPRECATED +// 新方法为GetViewArtistIndexStaticList +func (a artshowIndex) GetLockedArtistList(c *gin.Context) { + var request = artistinfoArtshow.ArtistListRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + lockedUsers, err := service.GrpcArtistInfoUserImpl.FindUsers(c, &artistInfoUser.FindUsersRequest{ + ArtistRealName: request.ArtistName, + Page: int32(request.Page), + PageSize: int32(request.PageSize), + IsLock: true, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetLockedArtistList: service.GrpcArtistInfoUserImpl.FindUsers ", err.Error()) + return + } + var returnData = ResponseGetLockedArtistList{} + for _, user := range lockedUsers.Data { + artistIndexList, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(c, &artistinfoArtshow.GetArtistIndexListRequest{ + ArtistUid: user.MgmtArtistUid, + //LockTime: user.LatestLockTime, + Status: 2, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetLockedArtistList: service.GrpcArtistInfoUserImpl.FindUsers ", err.Error()) + return + } + //查找最新一次更新的记录,然后拿去该条数据的更新时间 + dataCreatedAt := "" + dataUpdatedAt := "" + if len(artistIndexList.Data) > 0 { + sort.Slice(artistIndexList.Data, func(i, j int) bool { // asc + return artistIndexList.Data[i].UpdatedAt > artistIndexList.Data[j].UpdatedAt + }) + dataCreatedAt = artistIndexList.Data[0].CreatedAt + dataUpdatedAt = artistIndexList.Data[0].UpdatedAt + } + returnData.Data = append(returnData.Data, ArtistUserInfo{ + ArtistUid: user.MgmtArtistUid, + ArtistName: user.RealName.Name, + DataCreatedAt: dataCreatedAt, + DataUpdatedAt: dataUpdatedAt, + }) + } + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetLockedArtistList: GrpcArtshowImpl.AuditArtistIndex Error ", err.Error()) + return + } + service.ResponseList(c, returnData.Data, service.OptionPage(request.Page, request.PageSize, lockedUsers.Page.Total), service.OptionMsg("查询成功")) +} + +func (a artshowIndex) GetArtistIndexDetail(c *gin.Context) { + var request = artistinfoArtshow.ArtistIndexInfo{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexDetail(c, &artistinfoArtshow.GetArtistIndexDetailRequest{ + Id: request.Id, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexListAtBackendSide: GrpcArtshowImpl.GetArtistIndexList Error ", "查询失败") + return + } + var returnData ArtistIndexDetail + err = copier.Copy(&returnData, res) + if err != nil { + service.Error(c, e.Failed, err, err.Error()) + } + service.ResponseData(c, returnData) +} + +var generateAllSupplementLock sync.Mutex + +func (a artshowIndex) GenerateAllSupplement(c *gin.Context) { + generateAllSupplementLock.Lock() + defer generateAllSupplementLock.Unlock() + type GenerateAllSupplementRequest struct { + ArtistUid string `json:"artistUid"` + } + + var ( + artistUid string + err error + request GenerateAllSupplementRequest + ) + if err = c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + artistUid = request.ArtistUid + if artistUid == "" { + service.Error(c, e.Failed, err, "画家uid不能为空") + return + } + //获取用户信息 + userInfo, err := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{ + MgmtArtistUid: artistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GenerateAllSupplement FindUser Error ", err.Error()) + return + } + if !userInfo.IsLock { + service.Error(c, e.Failed, err, "画家未锁定") + return + } + + //生成画展视频资料 + { + // 又改为通过画家系统同步过来 by jjxu 2023-09-20 + //获取访谈视频资料 + //var oriUrl string + //resp, err := service.GrpcArtistImpl.ArtistDetail(c, &artist.DetailRequest{ + // Uid: artistUid, + //}) + //if err == nil && resp.MediaInfo != nil && len(resp.MediaInfo.InterviewVideos) > 0 { + // oriUrl = resp.MediaInfo.InterviewVideos[0].OriUrl + //} + ////创建画展视频记录 + //_, err = service.GrpcArtistInfoArtshowImpl.BatchCreateArtshowVideo(c, &artistinfoArtshow.BatchCreateArtshowVideoRequest{ + // Data: []*artistinfoArtshow.ArtshowVideoInfo{ + // { + // ArtistUid: artistUid, + // LockTime: userInfo.LatestLockTime, + // ArtistName: userInfo.RealName.Name, + // AuditStatus: utils.If(oriUrl == "", int64(asArtwork.AuditType_Supplemented), int64(asArtwork.AuditType_Pass)).(int64), + // Status: 2, //锁定 + // VideoUrl: oriUrl, + // }, + // }, + //}) + _, err = service.GrpcArtistInfoArtshowImpl.BatchCreateArtshowVideo(c, &artistinfoArtshow.BatchCreateArtshowVideoRequest{ + Data: []*artistinfoArtshow.ArtshowVideoInfo{ + { + ArtistUid: artistUid, + LockTime: userInfo.LatestLockTime, + ArtistName: userInfo.RealName.Name, + AuditStatus: int64(asArtwork.AuditType_Supplemented), + Status: 2, //锁定 + }, + }, + }) + } + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, "BatchCreateArtshowVideo Error ", err.Error()) + // return + //} + + //生成画家指数 + _, err = service.GrpcArtistInfoArtshowImpl.BatchCreateArtistIndex(c, &artistinfoArtshow.BatchCreateArtistIndexRequest{ + ArtistUids: []string{artistUid}, + }) + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, "BatchCreateArtistIndex Error ", err.Error()) + // return + //} + + //生成画家补充信息 + _, err = service.GrpcArtistInfoArtshowImpl.BatchCreateArtistSupplement(c, &artistinfoArtshow.BatchCreateArtistSupplementRequest{ + ArtistUids: []string{artistUid}, + }) + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, "BatchCreateArtistSupplement Error ", err.Error()) + // return + //} + + //生成经纪人补充信息 + //_, err = service.GrpcArtistInfoArtshowImpl.GenerateBrokerRecord(c, &artistinfoArtshow.GenerateBrokerRecordRequest{ArtistUid: artistUid}) + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, "GetItemList: GrpcArtistInfoArtshowImpl.GenerateBrokerRecord Error ", err.Error()) + // return + //} + //发送画展补充信息的通知 + //if err = asUser.ArtistInfoPushNotice.ArtistArtshowSupplementBeginNotice(userInfo.Id); err != nil { + // logger.Error(err) + //} + pusher := asPush.NewPusher() + if err = pusher.ArtistArtshowSupplementBeginNotice(userInfo.Id); err != nil { + logger.Error(err) + } + service.Success(c) +} + +// 使用id查询ViewArtistIndexStatic +func (a *artshowIndex) GetViewArtistIndexStaticDetail(c *gin.Context) { + var req artistinfoArtshow.GetViewArtistIndexStaticByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcArtistInfoArtshowImpl.GetViewArtistIndexStaticDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistinfoArtshowImpl.GetViewArtistIndexStaticDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询ViewArtistIndexStatic +func (a *artshowIndex) GetViewArtistIndexStaticList(c *gin.Context) { + var req GetViewArtistIndexStaticListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = artistinfoArtshow.GetViewArtistIndexStaticListRequest{Query: &artistinfoArtshow.ViewArtistIndexStaticData{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcArtistInfoArtshowImpl.GetViewArtistIndexStaticList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewArtistIndexStaticList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, + service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} diff --git a/pkg/service/artistInfo/asArtshow/artshowAtistSupplement.go b/pkg/service/artistInfo/asArtshow/artshowAtistSupplement.go new file mode 100644 index 0000000..abd388b --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/artshowAtistSupplement.go @@ -0,0 +1,261 @@ +// Package asArtshow ----------------------------- +// @file : artshowAtistIndex.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/3 8:25 +// ------------------------------------------- +package asArtshow + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/dorlolo/simpleRequest" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "golang.org/x/sync/errgroup" + "math/rand" + "strings" +) + +const MaxTextLength = 500 + +// 画家指数 +var ArtistSupplement = new(artistSupplement) + +type artistSupplement struct { +} + +func (a artistSupplement) GenerateArtistSupplementRecords(c *gin.Context) { + var req = RequestGenerateArtistSupplementRecord{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + _, err := service.GrpcArtistInfoArtshowImpl.BatchCreateArtistSupplement(c, &artistinfoArtshow.BatchCreateArtistSupplementRequest{ + ArtistUids: req.ArtistUids, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GenerateArtistSupplementRecord: GrpcArtshowImpl.BatchCreateArtistSupplement Error ", err.Error()) + return + } else { + service.Success(c) + } +} + +// GetArtistSupplementListAtUserSide 获取用户端画展视频资料列表 +func (a artistSupplement) GetArtistSupplementListAtUserSide(c *gin.Context) { + var req RequestGetArtistSupplementListAtUserSide + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //获取艺术家uid + if req.ArtistUid == "" { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + req.ArtistUid = userInfo.MgmtArtistUid + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementList(c, &artistinfoArtshow.GetArtistSupplementListRequest{ + Page: req.Page, + PageSize: req.PageSize, + ArtistUid: req.ArtistUid, + Status: 2, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementListAtUserSide: GrpcArtshowImpl.GetArtistSupplementList Error ", "查询失败") + return + } + var datas []*ArtistSupplementInfo + err = copier.Copy(&datas, &res.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementListAtBackendSide: copier.Copy Error ", "查询失败") + return + } + service.ResponseList(c, datas, service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功")) +} + +// GetArtistSupplementListAtBackendSide 获取后端画展视频资料列表 +func (a artistSupplement) GetArtistSupplementListAtBackendSide(c *gin.Context) { + var request = GetArtistSupplementListRequest{} //artistinfoArtshow.GetArtistSupplementListRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if request.History { + request.GetArtistSupplementListRequest.Status = 3 + } else { + request.GetArtistSupplementListRequest.Status = 2 + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementList(c, &request.GetArtistSupplementListRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementListAtBackendSide: GrpcArtshowImpl.GetArtistSupplementList Error ", "查询失败") + return + } + var datas []*ArtistSupplementInfo + err = copier.Copy(&datas, &res.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementListAtBackendSide: copier.Copy Error ", "查询失败") + return + } + + //下载个人简介/个人荣誉 + errGroup := errgroup.Group{} + for i, _ := range datas { + i := i + errGroup.Go(func() error { + return a.DownloadLongTextFromBucket(datas[i], i) + }) + } + err = errGroup.Wait() + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementListAtBackendSide: DownloadLongTextFromBucket Error ", "查询失败,个人简介/个人荣誉下载失败") + return + } + service.ResponseList(c, datas, + service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +func (a artistSupplement) UpdateArtistSupplement(c *gin.Context) { + var request = artistinfoArtshow.ArtistSupplementInfo{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + _, err := service.GrpcArtistInfoArtshowImpl.UpdateArtistSupplement(c, &artistinfoArtshow.UpdateArtistSupplementRequest{ + Id: request.Id, + ArtistProfile: request.ArtistProfile, + CountryArtLevel: request.CountryArtLevel, + ArtistCertPic: request.ArtistCertPic, + BankNum: request.BankNum, + BankName: request.BankName, + //Status: 2, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementListAtBackendSide: GrpcArtshowImpl.GetArtistSupplementList Error ", "查询失败") + return + } + service.Success(c) +} + +func (a artistSupplement) AuditArtistSupplement(c *gin.Context) { + var request = artistinfoArtshow.AuditArtistSupplementRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + go func() { + for _, id := range request.ArtistSupplementIds { + asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_artistSupplyData, id) + artshowDetail, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementDetail(c, &artistinfoArtshow.GetArtistSupplementDetailRequest{Id: id}) + if err == nil { + userInfo, errs := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{MgmtArtistUid: artshowDetail.ArtistUid}) + if errs == nil { + //if errs = asUser.ArtistInfoPushNotice.ArtistArtshowSupplementAuditNotice(userInfo.Id, asUser.AuditType_ArtistSupplement); errs != nil { + // logger.Error("AuditArtistSupplement,发送app通知失败:" + errs.Error()) + //} + pusher := asPush.NewPusher() + if errs = pusher.ArtistArtshowSupplementAuditNotice(userInfo.Id, asUser.AuditType_ArtistSupplement); errs != nil { + logger.Error("AuditArtistSupplement,发送app通知失败:" + errs.Error()) + } + } + } + } + }() + _, err := service.GrpcArtistInfoArtshowImpl.AuditArtistSupplement(c, &request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "AuditArtistSupplement: GrpcArtshowImpl.AuditArtistSupplement Error ", err.Error()) + return + } + service.Success(c) +} + +func (a artistSupplement) GetSupplementDetail(c *gin.Context) { + var request = artistinfoArtshow.GetArtistSupplementDetailRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + video, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementDetail(c, &request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetVideoDetail: GrpcArtshowImpl.GetArtshowVideoDetail ", err.Error()) + return + } + var data = ArtistSupplementDetail{} + data.ConvertResponse(video) + service.ResponseData(c, data, service.OptionMsg("查询成功")) +} + +func (a artistSupplement) DownloadLongTextFromBucket(data *ArtistSupplementInfo, index int) error { + if strings.HasPrefix(data.ArtistProfile, "http") { + //下载data.ArtistProfile + req := simpleRequest.NewRequest() + res, err := req.GET(data.ArtistProfile) + if err != nil { + return err + } + data.ArtistProfile = string(res) + } + if strings.HasPrefix(data.Honor, "http") { + //下载data.Honor + req := simpleRequest.NewRequest() + res, err := req.GET(data.Honor) + if err != nil { + return err + } + data.Honor = string(res) + } + return nil +} +func (a artistSupplement) DownloadLongText(data string) string { + if strings.HasPrefix(data, "http") { + req := simpleRequest.NewRequest() + res, err := req.GET(data) + if err != nil { + return "" + } + return string(res) + } else { + return data + } +} + +// 长文本上传到bos +// textType: 1=个人简介 2=个人荣誉 +func (a artistSupplement) LongTextUploadToBucket(textType int, text string, artistUid string) (result string, err error) { + result = text + if len(text) <= MaxTextLength { + return + } + BOSClient, err := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + if err != nil { + return + } + var objPath string + switch textType { + case 1: + objPath = fmt.Sprintf("artistmgmt/static/%s/artistProfile/%s_%d", artistUid, stime.Currentime(stime.Format_NoSpacer_YMDhms), rand.Int()) + case 2: + objPath = fmt.Sprintf("artistmgmt/static/%s/horhor/%s_%d", artistUid, stime.Currentime(stime.Format_NoSpacer_YMDhms), rand.Int()) + } + _, err = BOSClient.PutObjectFromString(config.ConfigData.Oss.BucketName, objPath, text) + if err != nil { + fmt.Println("[err] LongTextUploadToBucket--PutObjectFromString(ArtistProfile):" + err.Error()) + return + } + result = config.ConfigData.Oss.CdnHost + "/" + objPath + return +} diff --git a/pkg/service/artistInfo/asArtshow/artshowBrokerSupplement.go b/pkg/service/artistInfo/asArtshow/artshowBrokerSupplement.go new file mode 100644 index 0000000..d7ec972 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/artshowBrokerSupplement.go @@ -0,0 +1,131 @@ +package asArtshow + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/gin-gonic/gin" +) + +var BrokerSupplement = new(brokerSupplement) + +type brokerSupplement struct{} + +func (b brokerSupplement) GetItemList(c *gin.Context) { + var req = artistinfoArtshow.GetBrokerItemListRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + datas, err := service.GrpcArtistInfoArtshowImpl.GetBrokerItemList(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetItemList: GrpcArtistInfoArtshowImpl.GetBrokerItemList Error ", err.Error()) + return + } else { + service.ResponseList(c, datas.List, service.OptionPage(datas.Page.Page, datas.Page.PageSize, datas.Page.Total), service.OptionMsg("查询成功")) + } +} + +func (b brokerSupplement) CreateBrokerSupplementRecord(c *gin.Context) { + var req = artistinfoArtshow.GenerateBrokerRecordRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + data, err := service.GrpcArtistInfoArtshowImpl.GenerateBrokerRecord(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetItemList: GrpcArtistInfoArtshowImpl.GenerateBrokerRecord Error ", err.Error()) + return + } else { + service.ResponseData(c, data) + } +} + +func (b brokerSupplement) UpdateBrokerSupplementRecord(c *gin.Context) { + var req = artistinfoArtshow.UpdateBrokerRecordRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + defer func() { + artshowDetail, err := service.GrpcArtistInfoArtshowImpl.GetBrokerDetail(c, &artistinfoArtshow.GetBrokerDetailRequest{Id: req.Id}) + if err == nil { + userInfo, errs := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{MgmtArtistUid: artshowDetail.ArtistUid}) + if errs == nil { + //if errs = asUser.ArtistInfoPushNotice.ArtistArtshowSupplementAuditNotice(userInfo.Id, asUser.AuditType_BrokerSupplement); errs != nil { + // logger.Error("UpdateBrokerSupplementRecord,发送app通知失败:" + errs.Error()) + //} + pusher := asPush.NewPusher() + if errs = pusher.ArtistArtshowSupplementAuditNotice(userInfo.Id, asUser.AuditType_BrokerSupplement); errs != nil { + logger.Error("UpdateBrokerSupplementRecord,发送app通知失败:" + errs.Error()) + } + } + } + }() + data, err := service.GrpcArtistInfoArtshowImpl.UpdateBrokerRecord(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetItemList: GrpcArtistInfoArtshowImpl.GenerateBrokerRecord Error ", err.Error()) + return + } else { + service.ResponseData(c, data) + } +} + +func (b brokerSupplement) GetSupplementDetail(c *gin.Context) { + var req = artistinfoArtshow.GetBrokerDetailRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if req.ArtistUid == "" && req.Id == 0 { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + req.ArtistUid = userInfo.MgmtArtistUid + } + data, err := service.GrpcArtistInfoArtshowImpl.GetBrokerDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDetail: .GrpcArtistInfoArtshowImpl.GetBrokerDetail Error ", err.Error()) + return + } else { + service.ResponseData(c, data) + } +} + +func (b brokerSupplement) BindAndGetArtPackageAndBrokerSupplement(c *gin.Context) { + var req = artistinfoArtshow.BindAndGetArtPackageRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + data, err := service.GrpcArtistInfoArtshowImpl.BindAndGetArtPackageAndBrokerSupplement(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "BindAndGetArtPackageAndBrokerSupplement: GrpcArtistInfoArtshowImpl.BindAndGetArtPackageA... Error ", err.Error()) + return + } else { + service.ResponseData(c, data.Data) + } +} + +func (b brokerSupplement) GetSupplementList(c *gin.Context) { + var req = artistinfoArtshow.GetBrokerSupplementListRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + data, err := service.GrpcArtistInfoArtshowImpl.GetBrokerSupplementList(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementList: GrpcArtistInfoArtshowImpl.GetBrokerSupplementList Error ", err.Error()) + return + } else { + service.ResponseList(c, data.List, service.OptionPage(data.Page, data.Page, data.Total), service.OptionMsg("查询成功")) + } +} diff --git a/pkg/service/artistInfo/asArtshow/artshowVideo.go b/pkg/service/artistInfo/asArtshow/artshowVideo.go new file mode 100644 index 0000000..ace69f5 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/artshowVideo.go @@ -0,0 +1,276 @@ +// Package artshowVideo ----------------------------- +// @file : artshowVideo.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/2 9:08 +// ------------------------------------------- +package asArtshow + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "sort" + + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" +) + +var ArtshowVideo = new(artshowVideo) + +type artshowVideo struct { +} + +// GenerateArtshowVideoRecord 生成画展视频资料记录 +func (a artshowVideo) GenerateArtshowVideoRecord(c *gin.Context) { + var req = RequestGenerateArtshowRecord{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if requestData, err := req.ConvertGrpcRequest(); err != nil { + service.ErrorWithMark(c, e.Failed, err, "GenerateArtshowVideoRecord:ConvertGrpcRequest Error ", err.Error()) + } else { + _, err = service.GrpcArtistInfoArtshowImpl.BatchCreateArtshowVideo(c, &artistinfoArtshow.BatchCreateArtshowVideoRequest{ + Data: requestData, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GenerateArtshowVideoRecord: GrpcArtshowImpl.BatchCreateArtshowVideo Error ", err.Error()) + return + } else { + service.Success(c) + } + } +} + +// GetArtshowVideoListAtUserSide 获取用户端画展视频资料列表 +func (a artshowVideo) GetArtshowVideoListAtUserSide(c *gin.Context) { + var req RequestGetArtshowVideoListAtUserSide + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //获取艺术家uid + if req.ArtistUid == "" { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + req.ArtistUid = userInfo.MgmtArtistUid + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtshowVideoList(c, &artistinfoArtshow.GetArtshowVideoListRequst{ + Page: req.Page, + PageSize: req.PageSize, + ArtistUid: req.ArtistUid, + Status: 2, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtshowVideoListAtUserSide: GrpcArtshowImpl.GetArtshowVideoList Error ", "查询失败") + return + } + var datas []*ArtshowVideoInfo + err = copier.Copy(&datas, &res.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtshowVideoListAtBackendSide: copier.Copy Error ", "查询失败") + return + } + service.ResponseList(c, datas, service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功")) +} + +// GetArtshowVideoListAtBackendSide 获取后端画展视频资料列表 +func (a artshowVideo) GetArtshowVideoListAtBackendSide(c *gin.Context) { + var request = GetVideoRecordsReq{} //artistinfoArtshow.GetArtshowVideoListRequst{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + var res *artistinfoArtshow.GetArtshowVideoListResponse + var err error + if request.History { + res, err = service.GrpcArtistInfoArtshowImpl.GetArtshowVideoList(c, &artistinfoArtshow.GetArtshowVideoListRequst{ + Page: int64(request.Page), + PageSize: int64(request.PageSize), + ArtistName: request.ArtistName, + AuditStatus: request.AuditStatus, + Status: 3, //后台查询解锁的记录,即历史数据 + }) + } else { + res, err = service.GrpcArtistInfoArtshowImpl.GetArtshowVideoList(c, &artistinfoArtshow.GetArtshowVideoListRequst{ + Page: int64(request.Page), + PageSize: int64(request.PageSize), + ArtistName: request.ArtistName, + AuditStatus: request.AuditStatus, + Status: 2, //后台查询锁定的数据 + }) + } + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtshowVideoListAtBackendSide: GrpcArtshowImpl.GetArtshowVideoList Error ", "查询失败") + return + } + var datas []*ArtshowVideoInfo + err = copier.Copy(&datas, &res.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtshowVideoListAtBackendSide: copier.Copy Error ", "查询失败") + return + } + service.ResponseList(c, datas, + service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +func (a artshowVideo) UpdateArtshowVideo(c *gin.Context) { + var request = artistinfoArtshow.ArtshowVideoInfo{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + _, err := service.GrpcArtistInfoArtshowImpl.UpdateArtshowVideo(c, &artistinfoArtshow.UpdateArtshowVideoRequest{ + Id: request.Id, + VideoUrl: request.VideoUrl, + AuditStatus: 2, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtshowVideoListAtBackendSide: GrpcArtshowImpl.GetArtshowVideoList Error ", "查询失败") + return + } + service.Success(c) +} + +func (a artshowVideo) AuditArtshowVideo(c *gin.Context) { + var request = AuditArtshowVideoRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var protoRerquest = &artistinfoArtshow.AuditArtshowVideoRequest{ + ArtshowVideoIds: request.ArtshowVideoIds, + AuditStatus: request.AuditStatus, + AuditMark1: request.AuditMark1, + AuditMark2: request.AuditMark2, + } + go func() { + for _, id := range request.ArtshowVideoIds { + asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_video, id) + artshowDetail, err := service.GrpcArtistInfoArtshowImpl.GetArtshowVideoDetail(c, &artistinfoArtshow.GetArtshowVideoDetailRequest{Id: id}) + if err == nil { + userInfo, errs := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{MgmtArtistUid: artshowDetail.ArtistUid}) + if errs == nil { + //if errs = asUser.ArtistInfoPushNotice.ArtistArtshowSupplementAuditNotice(userInfo.Id, asUser.AuditType_Video); errs != nil { + // logger.Error("AuditArtshowVideo,发送app通知失败:" + errs.Error()) + //} + + pusher := asPush.NewPusher() + if errs = pusher.ArtistArtshowSupplementAuditNotice(userInfo.Id, asUser.AuditType_Video); errs != nil { + logger.Error("AuditArtshowVideo,发送app通知失败:" + errs.Error()) + } + } + } + } + }() + _, err := service.GrpcArtistInfoArtshowImpl.AuditArtshowVideo(c, protoRerquest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "AuditArtshowVideo: GrpcArtshowImpl.AuditArtshowVideo Error ", err.Error()) + return + } + service.Success(c) +} + +func (a artshowVideo) GetLockedArtistList(c *gin.Context) { + var request = artistinfoArtshow.ArtistListRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + lockedUsers, err := service.GrpcArtistInfoUserImpl.FindUsers(c, &artistInfoUser.FindUsersRequest{ + ArtistRealName: request.ArtistName, + Page: int32(request.Page), + PageSize: int32(request.PageSize), + IsArtist: 2, + IsLock: true, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetLockedArtistList: service.GrpcArtistInfoUserImpl.FindUsers ", err.Error()) + return + } + var returnData = ResponseGetLockedArtistList{} + for _, user := range lockedUsers.Data { + artistIndexList, err := service.GrpcArtistInfoArtshowImpl.GetArtshowVideoList(c, &artistinfoArtshow.GetArtshowVideoListRequst{ + ArtistUid: user.MgmtArtistUid, + //LockTime: user.LatestLockTime, + Status: 2, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetLockedArtistList: service.GrpcArtistInfoUserImpl.FindUsers ", err.Error()) + return + } + //查找最新一次更新的记录,然后拿去该条数据的更新时间 + dataCreatedAt := "" + dataUpdatedAt := "" + if len(artistIndexList.Data) > 0 { + sort.Slice(artistIndexList.Data, func(i, j int) bool { // asc + return artistIndexList.Data[i].UpdatedAt > artistIndexList.Data[j].UpdatedAt + }) + dataCreatedAt = artistIndexList.Data[0].CreatedAt //time.Unix(artistIndexList.Data[0].CreatedAt, 0).Format(stime.Format_Normal_YMDhms) + dataUpdatedAt = artistIndexList.Data[0].UpdatedAt //time.Unix(artistIndexList.Data[0].UpdatedAt, 0).Format(stime.Format_Normal_YMDhms) + } + returnData.Data = append(returnData.Data, ArtistUserInfo{ + ArtistUid: user.MgmtArtistUid, + ArtistName: user.RealName.Name, + DataCreatedAt: dataCreatedAt, + DataUpdatedAt: dataUpdatedAt, + }) + } + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetLockedArtistList: GrpcArtshowImpl.AuditArtistIndex Error ", err.Error()) + return + } + service.ResponseList(c, returnData.Data, service.OptionPage(request.Page, request.PageSize, lockedUsers.Page.Total), service.OptionMsg("查询成功")) +} + +func (a artshowVideo) GetVideoDetail(c *gin.Context) { + var request = artistinfoArtshow.GetArtshowVideoDetailRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + video, err := service.GrpcArtistInfoArtshowImpl.GetArtshowVideoDetail(c, &request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetVideoDetail: GrpcArtshowImpl.GetArtshowVideoDetail ", err.Error()) + return + } + var data = ResponseVideoDetail{} + data.ConvertResponse(video) + service.ResponseData(c, data, service.OptionMsg("查询成功")) +} + +//func (a artshowVideo) GetVideoDetail(c *gin.Context) { +// var request = artistinfoArtshow.ArtistListRequest{} +// if err := c.ShouldBindJSON(&request); err != nil { +// service.Error(c, e.InvalidParams, err, err.Error()) +// return +// } +// lockedUsers, err := service.GrpcArtshowImpl.GetArtshowVideoDetail(c, &artistinfoArtshow.GetArtshowVideoDetailRequest{ +// ArtistUid: "", +// LockTime: "", +// Status: 0, +// }) +// if err != nil { +// service.ErrorWithMark(c, e.Failed, err, "GetLockedArtistList: service.GrpcArtistInfoUserImpl.FindUsers ", err.Error()) +// return +// } +// +// if err != nil { +// service.ErrorWithMark(c, e.Failed, err, "GetVideoDetail: GrpcArtshowImpl.AuditArtistIndex Error ", err.Error()) +// return +// } +// service.ResponseData(c, returnData.Data, service.OptionMsg("查询成功")) +//} diff --git a/pkg/service/artistInfo/asArtshow/brokerOperationService.go b/pkg/service/artistInfo/asArtshow/brokerOperationService.go new file mode 100644 index 0000000..87cf92b --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/brokerOperationService.go @@ -0,0 +1,1263 @@ +// Package asArtshow ----------------------------- +// @file : brokerOperationService.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/6/18 下午1:30 +// ------------------------------------------- +package asArtshow + +import ( + "context" + "encoding/json" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/getsentry/sentry-go" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "sort" + "strconv" + "strings" + "time" +) + +var BrokerOperationControl = new(brokerOperationController) + +type brokerOperationController struct{} + +// 获取画家信息的补充状态 +/* +这里的画家补充信息不跟随锁定/解锁。 +*/ +func (b brokerOperationController) GetArtistSupplementStatus(c *gin.Context) { + var data GetArtistSupplementStatusRequest + if err := c.ShouldBindJSON(&data); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistSupplementStatus: ShouldBindJSON Error", err.Error()) + return + } + //获取画家信息 + thisArtist, err := b.GetUserView(c, data.ArtistUid) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementStatus: GetUserInfo Error", err.Error()) + return + } + var resp = GetArtistSupplementStatusResp{ + ArtistUid: thisArtist.ArtistUid, + ArtistName: thisArtist.RealName, + TelNum: thisArtist.TelNum, + Sex: thisArtist.Sex, + } + countList, err := service.GrpcArtShowImpl.ArtistExhibitionCount(c, &artShow.ArtistExhibitionCountReq{ArtistUid: []string{data.ArtistUid}}) + if err != nil { + fmt.Println("FillArtshowCount:GrpcArtShowImpl.ArtistExhibitionCount Error", err) + resp.ArtistShowCount = fmt.Sprintf("%s(0)", thisArtist.RealName) + } else { + resp.ArtistShowCount = fmt.Sprintf("%s(%d)", thisArtist.RealName, countList.ArtistShowCount[0].ShowCount) + } + //判断画家指数是否填写完毕 + indexRes, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(c, &artistinfoArtshow.GetArtistIndexListRequest{ + ArtistUid: data.ArtistUid, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementStatus: GrpcArtistInfoArtshowImpl.GetArtistIndexList Error", err.Error()) + return + } + var classTitleMap = make(map[string]*artistinfoArtshow.ArtistIndexInfo, 5) + for _, class := range []string{"exhibition", "seniority", "specialized", "Influence", "collect"} { + var classList []*artistinfoArtshow.ArtistIndexInfo + for _, v := range indexRes.Data { + if v.Class == class { + classList = append(classList, v) + } + } + //fmt.Println("classList:", classList) + if len(classList) == 0 { + resp.ArtistIndexEditStatus = 2 + break + } else { + sort.Slice(classList, func(i, j int) bool { + return classList[i].CreatedAt > classList[j].CreatedAt + }) + tmp := classList[0] + classTitleMap[class] = tmp + } + for _, v := range classTitleMap { + if v.TitleScore == 0 { + resp.ArtistIndexEditStatus = 2 + break + } else { + resp.ArtistIndexEditStatus = 1 + } + } + } + //判断画家补充信息和银行卡信息是否填写完毕 + resp.ArtistSupplementEditStatus, resp.BankInfoEditStatus, err = b.GetArtistSupplementEditStatus(data.ArtistUid) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementStatus: GetArtistSupplementEditStatus Error", err.Error()) + return + } + //判断画家视频是否填写完毕 + artistVideoRes, err := service.GrpcArtistInfoArtshowImpl.GetArtshowVideoList(c, &artistinfoArtshow.GetArtshowVideoListRequst{ + ArtistUid: data.ArtistUid, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementStatus: GrpcArtistInfoArtshowImpl.GetArtshowVideoList Error", err.Error()) + return + } + if artistVideoRes.Page.Total > 0 { + sort.Slice(artistVideoRes.Data, func(i, j int) bool { + return artistVideoRes.Data[i].CreatedAt > artistVideoRes.Data[j].CreatedAt + }) + if artistVideoRes.Data[0].VideoUrl == "" { + resp.ArtistVideoEditStatus = 2 + } else { + resp.ArtistVideoEditStatus = 1 + } + } else { + resp.ArtistVideoEditStatus = 2 + } + + service.Success(c, resp) +} + +// 获取画作的补充状态列表 +func (b brokerOperationController) GetArtworkSupplementStatusList(c *gin.Context) { + var req GetArtworkSupplementStatusListReq + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistSupplementStatus: ShouldBindJSON Error", err.Error()) + return + } + thisUser, err := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{ + MgmtArtistUid: req.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkSupplementStatusList: GrpcArtistInfoUserImpl.FindUser Error", err.Error()) + return + } + if !thisUser.IsLock { + service.ResponseList(c, []struct{}{}, service.OptionPage(1, 1, 0), service.OptionMsg("查询成功")) + return + } + res, err := service.GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementList(c, &artistInfoArtwork.GetViewArtworkSupplementListRequest{ + Query: &artistInfoArtwork.ViewArtworkSupplementData{ArtistUid: req.ArtistUid, LockTime: thisUser.LatestLockTime}, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkSupplementStatusList: GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementList Error", err.Error()) + return + } + var resp = []GetArtworkSupplementStatusListType{} + for _, v := range res.List { + //var editStatus = b.DataCanEdit(v.ID == 0, v.CreatedAt, v.UpdatedAt, v.ArtistUid) + var isEmpty bool + if v.CreatedDate == "" && v.SealPic == "" && v.Abstract == "" && v.InscribeDate == "" { + isEmpty = true + } + fmt.Println(v.ArtworkUuid, "isEmpty", isEmpty, "v.CreatedAt", v.CreatedAt, "v.LatestSupplyInfoBrokerUpdatedAt", v.LatestSupplyInfoBrokerUpdatedAt) + //if !isEmpty { + // for t := range v.ArtworkMarkets { + // if len(v.ArtworkMarkets[t].Detail) > 2 { + // isEmpty = true + // break + // } + // } + //} + resp = append(resp, GetArtworkSupplementStatusListType{ + ArtworkUid: v.ArtworkUuid, + CreatedAt: v.CreatedAt, + UpdatedAt: v.UpdatedAt, + ArtworkName: v.ArtworkName, + HdPic: v.HdPic, + ArtistPhoto: v.ArtistPhoto, + //EditStatus: utils.If(v.Editable, 1, 2).(int), + EditStatus: b.CheckDataEditStatus(isEmpty, v.CreatedAt, v.LatestSupplyInfoBrokerUpdatedAt, v.ArtistUid), + }) + } + service.ResponseList(c, resp, service.OptionPage(res.Page, res.Page, res.Total), service.OptionMsg("查询成功")) +} + +// 获取画家的补充信息 +func (b brokerOperationController) GetArtistSupplementDetail(c *gin.Context) { + var req GetArtistSupplementDetailRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistSupplementDetail: ShouldBindJSON Error", err.Error()) + return + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementList(c, &artistinfoArtshow.GetArtistSupplementListRequest{ + Page: 1, + PageSize: -1, + ArtistUid: req.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, " GrpcArtistinfoArtshowImpl.GetArtistSupplementList Error") + return + } + if res.Page.Total == 0 { + service.Error(c, e.Failed, nil, "没有数据") + return + } + var thisData *artistinfoArtshow.ArtistSupplementInfo + if res.Page.Total > 1 { + sort.Slice(res.Data, func(i, j int) bool { + return res.Data[i].CreatedAt > res.Data[j].CreatedAt + }) + } + thisData = res.Data[0] + var isEmpty bool + if thisData.ArtistProfile == "" && thisData.CountryArtLevel == 0 && thisData.ArtistCertPic == "" && thisData.BankNum == "" && thisData.BankName == "" && thisData.Honor == "" { + isEmpty = true + } + var resp = GetArtistSupplementDetailResp{ + Id: thisData.Id, + CreatedAt: thisData.CreatedAt, + UpdatedAt: thisData.UpdatedAt, + DeletedAt: thisData.DeletedAt, + ArtistUid: thisData.ArtistUid, + ArtistProfile: ArtistSupplement.DownloadLongText(thisData.ArtistProfile), + CountryArtLevel: thisData.CountryArtLevel, + ArtistCertPic: thisData.ArtistCertPic, + BankNum: thisData.BankNum, + BankName: thisData.LBankName, + Honor: ArtistSupplement.DownloadLongText(thisData.Honor), + CanEdit: true, + EditStatus: b.CheckDataEditStatus(isEmpty, thisData.CreatedAt, thisData.LatestBrokerUpdatedAt, thisData.ArtistUid), + } + service.Success(c, resp) +} + +// 获取画家的补充信息 +func (b brokerOperationController) GetArtistSupplementDetailV2(c *gin.Context) { + var req GetArtistSupplementDetailRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistSupplementDetail: ShouldBindJSON Error", err.Error()) + return + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementV2Detail(c, &artistinfoArtshow.GetArtistSupplementV2ByIdRequest{ + ArtistUid: req.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, " GrpcArtistinfoArtshowImpl.GetArtistSupplementList Error") + return + } + fmt.Println("res.ExhibitionTip", res.ExhibitionTip) + var resp = ArtshowArtistSupplementInfoV3{ + Id: res.ID, + CreatedAt: res.CreatedAt, + UpdatedAt: res.UpdatedAt, + DeletedAt: res.DeletedAt, + ArtistUid: res.ArtistUid, + ArtistProfile: ArtistSupplement.DownloadLongText(res.ArtistProfile), + ArtistCertPic: res.ArtistCertPic, + BankNum: res.BankNum, + BankName: res.BankName, + LBankName: res.LBankName, + DataUpdatedAt: res.UpdatedAt, + ExhibitionTip: res.ExhibitionTip, //画展经历提示词 + } + resp.HonorType.Parse(res) + resp.EditStatus = b.CheckDataEditStatus(resp.IsEmpty(), res.CreatedAt, res.LatestBrokerUpdatedAt, res.ArtistUid) + service.Success(c, resp) +} + +// 获取画家指数列表 +func (b brokerOperationController) GetArtistIndexSupplementList(c *gin.Context) { + var req GetArtistIndexSupplementDataRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistIndexSupplementData: ShouldBindJSON Error", err.Error()) + return + } + thisUser, err := b.GetUserInfo(req.ArtistUid) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexSupplementData: GetUserInfo Error", err.Error()) + return + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(c, &artistinfoArtshow.GetArtistIndexListRequest{ + ArtistUid: req.ArtistUid, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistIndexSupplementData: GrpcArtistInfoArtshowImpl.GetArtistIndexList Error", err.Error()) + return + } + fmt.Println("res.Data", res.Data) + var resp = []GetArtistIndexSupplementType{} + var classTitleMap = map[string]string{ + "exhibition": "艺术家-展览", + "seniority": "艺术家-资历", + "specialized": "艺术家-专业", + "Influence": "艺术家-影响力", + "collect": "艺术家-收藏", + } + for _, class := range []string{"exhibition", "seniority", "specialized", "Influence", "collect"} { + var classList []*artistinfoArtshow.ArtistIndexInfo + for _, v := range res.Data { + if v.Class == class { + v := v + classList = append(classList, v) + } + } + fmt.Println("classList:", classList) + if len(classList) == 0 { + resp = append(resp, GetArtistIndexSupplementType{ + ArtistUid: req.ArtistUid, + Title: classTitleMap[class], + Class: class, + Types: "1", + CanEdit: true, + EditStatus: 1, + }) + } else { + sort.Slice(classList, func(i, j int) bool { + return classList[i].CreatedAt > classList[j].CreatedAt + }) + tmp := classList[0] + var isEmpty = tmp.TitleScore == 0 + var item = GetArtistIndexSupplementType{ + Id: tmp.Id, + ArtistUid: req.ArtistUid, + Title: tmp.Title, + Class: tmp.Class, + Types: tmp.Types, + Score: tmp.Score, + TitleScore: tmp.TitleScore, + CanEdit: true, + EditStatus: b.CheckDataEditStatus(isEmpty, tmp.CreatedAt, tmp.LatestBrokerUpdatedAt, "", thisUser), + } + resp = append(resp, item) + } + } + service.ResponseList(c, resp, service.OptionMsg("查询成功")) +} + +// 获取画家视频信息 +func (b brokerOperationController) GetArtistVideo(c *gin.Context) { + var req GetArtistVideoReq + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistVideo: ShouldBindJSON Error", err.Error()) + return + } + res, err := service.GrpcArtistInfoArtshowImpl.GetArtshowVideoList(c, &artistinfoArtshow.GetArtshowVideoListRequst{ + ArtistUid: req.ArtistUid, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistVideo: GrpcArtistInfoArtshowImpl.GetArtshowVideoList Error", err.Error()) + return + } + if res.Page.Total == 0 { + service.ResponseData(c, struct{}{}) + return + } + sort.Slice(res.Data, func(i, j int) bool { + return res.Data[i].CreatedAt > res.Data[j].CreatedAt + }) + var resp = GetArtworkSupplementInfoResp{ + ArtistUid: req.ArtistUid, + } + if res.Data != nil { + resp.Id = res.Data[0].Id + resp.CreatedAt = res.Data[0].CreatedAt + resp.UpdatedAt = res.Data[0].UpdatedAt + resp.VideoUrl = res.Data[0].VideoUrl + resp.VideoCover = res.Data[0].VideoCover + resp.CanEdit = true + resp.EditStatus = b.CheckDataEditStatus(res.Data[0].Id == 0, res.Data[0].CreatedAt, res.Data[0].LatestBrokerUpdatedAt, req.ArtistUid) + } + service.ResponseData(c, resp) +} + +// 获取画作的补充信息 +func (b brokerOperationController) GetArtworkSupplementDetail(c *gin.Context) { + var req GetArtworkSupplementInfoRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtworkSupplementDetail: ShouldBindJSON Error", err.Error()) + return + } + res, err := service.GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementDetail(c, &artistInfoArtwork.GetViewArtworkSupplementByIdRequest{ + ArtworkUid: req.ArtworkUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkSupplementStatusList: GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementList Error", err.Error()) + return + } + var resp ArtworkSupplementInfo + _ = copier.Copy(&resp, &res) + resp.CanEdit = true + resp.EditStatus = b.CheckDataEditStatus(res.ID == 0, res.CreatedAt, res.LatestSupplyInfoBrokerUpdatedAt, res.ArtistUid) + //处理获奖/参展信息 + if len(res.ArtworkMarkets) > 0 { + tmpMarket := ConvertMarketDataToResponse(res.ArtworkMarkets) + resp.ArtistMarketId1 = tmpMarket.ArtistMarketId1 + resp.ArtistMarketId2 = tmpMarket.ArtistMarketId2 + resp.ArtistMarketId3 = tmpMarket.ArtistMarketId3 + resp.ArtistMarketDetail = tmpMarket.ArtistMarketDetail + resp.ArtistMarketUrl1 = tmpMarket.ArtistMarketUrl1 + resp.ArtistMarketUrl2 = tmpMarket.ArtistMarketUrl2 + } + service.Success(c, resp) +} + +// 更新画家补充信息 +func (b brokerOperationController) UpdateArtistInfo(c *gin.Context) { + var req UpdateArtistInfoRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "UpdateArtistInfo: ShouldBindJSON Error", err.Error()) + return + } + req.ArtistProfile, _ = ArtistSupplement.LongTextUploadToBucket(1, req.ArtistProfile, req.ArtistUid) + req.Honor, _ = ArtistSupplement.LongTextUploadToBucket(2, req.Honor, req.ArtistUid) + res, err := service.GrpcArtistInfoArtshowImpl.UpdateArtistSupplement(c, &artistinfoArtshow.UpdateArtistSupplementRequest{ + Id: req.Id, + ArtistProfile: req.ArtistProfile, + CountryArtLevel: req.CountryArtLevel, + ArtistCertPic: req.ArtistCertPic, + BankNum: req.BankNum, + BankName: req.BankName, + LBankName: req.LBankName, + Honor: req.Honor, + LatestBrokerUpdatedAt: time.Now().Format(stime.Format_Normal_YMDhms), + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistInfo: GrpcArtistInfoArtshowImpl.UpdateArtistSupplement Error", err.Error()) + return + } + //同步到画家系统 + err = b.PushArtistSupplementToArtistSystem(PushArtistSupplementData{ + ArtistUid: req.ArtistUid, + ArtistProfile: req.ArtistProfile, + BankNum: req.BankNum, + BankName: req.LBankName, + Honor: req.Honor, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistInfo: PushArtistSupplementToArtistSystem Error", err.Error()) + return + } + service.Success(c, res) +} + +// 更新画家补充信息V2 +func (b brokerOperationController) UpdateArtistInfoV2(c *gin.Context) { + var request ArtshowArtistSupplementInfoV3 + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "UpdateArtistInfo: ShouldBindJSON Error", err.Error()) + return + } + request.ArtistProfile, _ = ArtistSupplement.LongTextUploadToBucket(1, request.ArtistProfile, request.ArtistUid) + var title, _ = json.Marshal(request.HonorType.Title) + var award, _ = json.Marshal(request.HonorType.Award) + var exhibition, _ = json.Marshal(request.HonorType.Exhibition) + var published, _ = json.Marshal(request.HonorType.Published) + now := time.Now().Format(stime.Format_Normal_YMDhms) + _, err := service.GrpcArtistInfoArtshowImpl.SaveArtistSupplementV2(c, &artistinfoArtshow.SaveArtistSupplementV2Request{ + Data: &artistinfoArtshow.ArtistSupplementV2Data{ + ID: request.Id, + ArtistUid: request.ArtistUid, + ArtistProfile: request.ArtistProfile, + ArtistCertPic: request.ArtistCertPic, + BankNum: request.BankNum, + BankName: request.BankName, + LBankName: request.LBankName, + Award: string(award), + Exhibition: string(exhibition), + Title: string(title), + Published: string(published), + DataUpdatedAt: now, + LatestBrokerUpdatedAt: now, + ExhibitionTip: request.ExhibitionTip, + }, + AddOmitFields: []string{"exhibition"}, //忘记做什么用的了,从给画家宝抄过来的 + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistSupplement: GrpcArtistinfoArtshowImpl.UpdateArtistSupplement Error "+err.Error(), "更新失败") + return + } + //同步到画家系统 + pushData := PushArtistSupplementDataV3{ + ArtistUid: request.ArtistUid, + ArtistProfile: request.ArtistProfile, + //ArtistCertPic: request.ArtistCertPic, + BankNum: request.BankNum, + BankName: request.LBankName, + ArtistHonor: request.HonorType, + } + err = b.PushArtistSupplementToArtistSystemV2(pushData) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistInfo: PushArtistSupplementToArtistSystem Error", err.Error()) + return + } + service.Success(c) +} + +// 更新画家视频信息 +func (b brokerOperationController) UpdateArtistVideoSupplement(c *gin.Context) { + var req UpdateArtistVideoSupplementRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "UpdateArtistVideoSupplement: ShouldBindJSON Error", err.Error()) + return + } + res, err := service.GrpcArtistInfoArtshowImpl.CreateArtshowVideo(c, &artistinfoArtshow.ArtshowVideoInfo{ + ArtistUid: req.ArtistUid, + VideoUrl: req.VideoUrl, + VideoCover: req.VideoCover, + LatestBrokerUpdatedAt: time.Now().Format(stime.Format_Normal_YMDhms), + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistVideoSupplement: GrpcArtistInfoArtshowImpl.UpdateArtshowVideo Error", err.Error()) + return + } + //同步至画家系统 + err = b.PushArtistVideoToArtistSystem(req.ArtistUid, req.VideoCover, req.VideoUrl) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistVideoSupplement: PushArtistVideoToArtistSystem Error"+err.Error(), "推送至画家系统失败,请联系管理员手动修改") + return + } + service.Success(c, res) +} + +// 创建画家指数信息 +func (b brokerOperationController) CreateArtistIndexSupplement(c *gin.Context) { + var req UpdateArtistIndexSupplementRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "UpdateArtistIndexSupplement: ShouldBindJSON Error", err.Error()) + return + } + var validateFunc = func() bool { + if req.Title == "" || req.Class == "" || req.TitleScore == 0 { + service.ErrorWithMark(c, e.InvalidParams, nil, "UpdateArtistIndexSupplement: title、class、score、titleScore不能为空", "缺少必要数据") + return false + } + if req.Score == "" { + service.ErrorWithMark(c, e.InvalidParams, nil, "UpdateArtistIndexSupplement: Score不能为空", "您未完成填写,请确保全部填写完毕!") + return false + } + var scoreMap map[string]any + if err := json.Unmarshal([]byte(req.Score), &scoreMap); err != nil { + service.ErrorWithMark(c, e.InvalidParams, nil, "UpdateArtistIndexSupplement: Score 数据格式错误", "数据格式错误") + return false + } + for k, v := range scoreMap { + if v == nil { + service.ErrorWithMark(c, e.InvalidParams, nil, fmt.Sprintf("UpdateArtistIndexSupplement: %v 未填写", k), "您未完成填写,请确保全部填写完毕!") + return false + } + } + return true + } + if !validateFunc() { + return + } + _, err := service.GrpcArtistInfoArtshowImpl.CreateArtistIndex(c, &artistinfoArtshow.ArtistIndexInfo{ + ArtistUid: req.ArtistUid, + Title: req.Title, + Class: req.Class, + TitleScore: req.TitleScore, + Score: req.Score, + Types: req.Types, + Status: 3, + LatestBrokerUpdatedAt: time.Now().Format(stime.Format_Normal_YMDhms), + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistIndexSupplement: GrpcArtistInfoArtshowImpl.UpdateArtistIndex Error", err.Error()) + return + } + //同步至画家系统 + err = b.PushArtistIndexToArtistSystem(req.ArtistUid) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtistIndexSupplement: PushArtistIndexToArtistSystem Error"+err.Error(), "推送至画家系统失败,请联系管理员手动修改") + return + } + service.Success(c) +} + +// 更新画作补充信息 +func (b brokerOperationController) UpdateArtworkSupplement(c *gin.Context) { + var req ArtworkSupplementInfo + if err := c.ShouldBindJSON(&req); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "UpdateArtworkSupplement: ShouldBindJSON Error", err.Error()) + return + } + if req.ArtworkUuid == "" { + service.Error(c, e.InvalidParams, nil, "画作uid不能为空") + return + } + //查询画作基本信息 + artworkProfile, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ArtworkUuid: req.ArtworkUuid, Type: "1"}) + if err != nil { + service.Error(c, e.Failed, err, "UpdateArtworkSupplement: GrpcArtworkImpl.ArtworkDetail Error") + return + } + //将画作补充的审核状态改为待审核 + now := time.Now().Format(stime.Format_Normal_YMDhms) + _, err = service.GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus(c, &artistInfoArtwork.UpdateArtworkAuditStatusRequest{ + ArtworkUid: req.ArtworkUuid, + AuditStatus: 2, + FlowIndex: 3, + ArtworkUids: nil, + LatestSupplyInfoBrokerUpdatedAt: now, + SupplyInfoUpdatedAt: now, + }) + if err != nil { + service.Error(c, e.Failed, err, "UpdateArtworkSupplement: GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus Error:"+err.Error()) + return + } + fmt.Printf("ArtworkImpl.ArtworkDetail 获取画作基本信息:%+v\n", artworkProfile) + + profile, marketDatas, extdata := req.ConvertGrpcRequest2(artworkProfile) + // profile.ArtistUuid = artworkLock.ArtistUid + profile.ArtworkType = 4 + fmt.Printf("ArtworkImpl.UpdateArtworkProfile 更新画作基本信息:%+v\n", profile) + //更新首选项 + _, err = service.GrpcArtworkImpl.UpdateArtworkProfile(c, profile) + if err != nil { + service.Error(c, e.Failed, err, "UpdateArtworkSupplement: GrpcArtworkImpl.UpdateArtworkProfile Error") + return + } + //更新荣誉 + for _, marketData := range marketDatas { + _, err = service.GrpcArtworkImpl.UpdateMarketInfo(c, marketData) + if err != nil { + service.Error(c, e.Failed, err, "UpdateArtworkSupplement: GrpcArtworkImpl.UpdateMarketInfo Error") + return + } + } + //更新网络首发情况 + _, err = service.GrpcArtworkImpl.UpdateExtData(c, extdata) + if err != nil { + service.Error(c, e.Failed, err, "UpdateArtworkSupplement: GrpcArtworkImpl.UpdateExtData Error") + return + } + service.Success(c) +} + +// 获取用户视图中的信息 +func (b brokerOperationController) GetUserView(ctx context.Context, artistUid string) (user *artistInfoUser.UserView, err error) { + var res *artistInfoUser.FindUsersUserViewResponse + res, err = service.GrpcArtistInfoUserImpl.FindUsersUserView(ctx, &artistInfoUser.FindUsersRequest{ + MgmtArtistUid: artistUid, + Page: 1, PageSize: 1, + }) + if err != nil { + return + } + if res.Page.Total == 0 { + err = fmt.Errorf("画家不存在") + return + } + user = res.Data[0] + return +} + +// 获取用户画展底价 +func (b brokerOperationController) GetArtshowFlowPrice(c *gin.Context) { + var request *artistinfoArtshow.GetArtshowArtistRulerFloorPriceByIdRequest + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistVideo: ShouldBindJSON Error", err.Error()) + return + } + price, err := service.GrpcArtistInfoArtshowImpl.GetArtshowArtistRulerFloorPriceDetail(c, request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtshowFlowPrice: GrpcArtistInfoArtshowImpl.GetArtshowArtistRulerFloorPriceDetail Error", err.Error()) + return + } + var resp = RulerFloorPrice{ + ID: price.ID, + CreatedAt: price.CreatedAt, + UpdatedAt: price.UpdatedAt, + DeletedAt: price.DeletedAt, + ArtistUid: price.ArtistUid, + FloorPrice: fmt.Sprintf("%0.2f", price.FloorPrice), + } + service.Success(c, resp) +} + +// 获取用户画展底价 +func (b brokerOperationController) CreateArtshowFlowPrice(c *gin.Context) { + var request RulerFloorPrice + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistVideo: ShouldBindJSON Error", err.Error()) + return + } + //获取用户信息 + accInfo, err, code := asUser.GetAccInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + floorPrice, err := strconv.ParseFloat(request.FloorPrice, 64) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "CreateArtshowFlowPrice: strconv.ParseFloat Error"+err.Error(), "平尺数底价格式错误") + return + } + var protoReq = &artistinfoArtshow.ArtshowArtistRulerFloorPriceData{ + ArtistUid: request.ArtistUid, + FloorPrice: float32(floorPrice), + OperationName: accInfo.NickName, + OperationTime: time.Now().Format(stime.Format_Normal_YMDhms), + OperationAcc: accInfo.TelNum, + } + _, err = service.GrpcArtistInfoArtshowImpl.CreateArtshowArtistRulerFloorPrice(c, protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtshowFlowPrice: GrpcArtistInfoArtshowImpl.GetArtshowArtistRulerFloorPriceDetail Error", err.Error()) + return + } + service.Success(c) +} + +// GetArtistSupplementFromSystem 获取用户画展底价 +func (b brokerOperationController) GetArtistSupplementFromSystem(c *gin.Context) { + var request ImportArtistSupplementRequest + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistVideo: ShouldBindJSON Error", err.Error()) + return + } + //查询画家宝的画家补充信息 + supplementRes, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementV2Detail(c, &artistinfoArtshow.GetArtistSupplementV2ByIdRequest{ + ArtistUid: request.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "importArtistSupplement: GetArtistSupplementV2Detail Error", err.Error()) + return + } + + //获取画家系统的荣誉信息 + artistRes, err := service.GrpcArtistImpl.ArtistDetail(c, &artist.DetailRequest{ + Uid: request.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "importArtistSupplement: GrpcArtistImpl.ArtistDetail Error", err.Error()) + return + } + //导入荣誉信息 + honorData, err := ParseHonorToArtistInfoType(artistRes.HonorInfo) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "importArtistSupplement: ParseHonorToArtistInfoType Error", err.Error()) + return + } + //获取个人简介2 + //从最近一次的画展包核验数据中获取个人简介2 + recordRes, err := service.GrpcArtistImpl.GetArtistOneQueryCheckRecordList(c, &artist.GetArtistOneQueryCheckRecordListRequest{ + Query: &artist.ArtistOneQueryCheckRecordData{ArtistUID: request.ArtistUid}, + Page: 1, + PageSize: -1, + Order: "created_at desc", + }) + if err != nil { + zap.L().Error("获取画展阿波核验数据失败", zap.Error(err)) + } + if recordRes.Total > 0 { + for _, v := range recordRes.List { + if v.Resume2 != "" { + supplementRes.ArtistProfile = v.Resume2 + break + } + } + } else if artistRes.ProfileInfo != nil && artistRes.ProfileInfo.Resume2 != "" { + supplementRes.ArtistProfile = artistRes.ProfileInfo.Resume2 + } else if artistRes.ProfileInfo != nil && artistRes.ProfileInfo.Resume != "" { + supplementRes.ArtistProfile = artistRes.ProfileInfo.Resume + } else { + supplementRes.ArtistProfile = "" + } + fmt.Printf("artistRes:%+v\n", artistRes) + fmt.Printf("supplementRes:%+v\n", supplementRes) + var resp = ArtshowArtistSupplementInfoV3{ + Id: supplementRes.ID, + CreatedAt: supplementRes.CreatedAt, + UpdatedAt: supplementRes.UpdatedAt, + DeletedAt: supplementRes.DeletedAt, + ArtistUid: supplementRes.ArtistUid, + ArtistProfile: ArtistSupplement.DownloadLongText(supplementRes.ArtistProfile), + ArtistCertPic: supplementRes.ArtistCertPic, + BankNum: supplementRes.BankNum, + BankName: supplementRes.BankName, + DataUpdatedAt: supplementRes.UpdatedAt, + HonorType: honorData, + } + resp.EditStatus = b.CheckDataEditStatus(resp.IsEmpty(), supplementRes.CreatedAt, supplementRes.LatestBrokerUpdatedAt, supplementRes.ArtistUid) + service.Success(c, resp) +} + +// 获取用户表信息 +func (b brokerOperationController) GetUserInfo(artistUid string) (thisUser *artistInfoUser.UserInfo, err error) { + thisUser, err = service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{ + MgmtArtistUid: artistUid, + }) + if err != nil { + fmt.Println("DataCanEdit:GrpcArtistInfoUserImpl.FindUser Error", err) + zap.L().Error("DataCanEdit:GrpcArtistInfoUserImpl.FindUser Error", zap.Error(err)) + return + } + return +} + +// 判断经纪人是否可编辑该条数据 +func (b brokerOperationController) CheckDataEditStatus(dataIsEmpty bool, dataCreatedAt, brokerUpdatedDataAt string, artistUid string, InputThisUser ...*artistInfoUser.UserInfo) int64 { + var editStatus int64 + if dataIsEmpty { + editStatus = 1 //未填写 + } else { + editStatus = 2 //已填写 + } + if dataCreatedAt <= brokerUpdatedDataAt { + editStatus = 3 //已锁定 + } + fmt.Println("00000 editStatus", editStatus) + //查找用户 + var thisUser *artistInfoUser.UserInfo + if InputThisUser != nil { + thisUser = InputThisUser[0] + } else { + var err error + thisUser, err = b.GetUserInfo(artistUid) + if err != nil { + fmt.Println("CheckDataEditStatus err", err) + return 3 + } + } + + fmt.Println("1111 editStatus", editStatus) + //判断是否锁定 + if editStatus != 1 { + if thisUser.ReleaseLockTime != "" { + if thisUser.ReleaseLockTime > brokerUpdatedDataAt { + editStatus = 2 + } else { + editStatus = 3 + } + } + } + return editStatus +} + +// 推送画家指数到画家系统 +func (b brokerOperationController) PushArtistIndexToArtistSystem(artistUid string) error { + res, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(context.Background(), &artistinfoArtshow.GetArtistIndexListRequest{ + ArtistUid: artistUid, + Page: 1, + PageSize: -1, + }) + if err != nil { + return err + } + updateArtistSystemIndexRequest := &artist.IndexRequest{ + Uid: artistUid, + InSource: 2, //这个字段不要使用artistSystemIndex.InSource,两个字段含义不同 + Exhibition: -1, + Education: -1, + Professionalism: -1, + Influence: -1, + Collectible: -1, + } + //整理画家指数数据,拿每种类型最新的一条数据 + for _, class := range []string{"exhibition", "seniority", "specialized", "Influence", "collect"} { + var classList []*artistinfoArtshow.ArtistIndexInfo + for _, v := range res.Data { + if v.Class == class { + classList = append(classList, v) + } + } + if len(classList) > 0 { + sort.Slice(classList, func(i, j int) bool { + return classList[i].CreatedAt > classList[j].CreatedAt + }) + switch class { + case "exhibition": + updateArtistSystemIndexRequest.Exhibition = classList[0].TitleScore + case "seniority": + updateArtistSystemIndexRequest.Education = classList[0].TitleScore + case "specialized": + updateArtistSystemIndexRequest.Professionalism = classList[0].TitleScore + case "Influence": + updateArtistSystemIndexRequest.Influence = classList[0].TitleScore + case "collect": + updateArtistSystemIndexRequest.Collectible = classList[0].TitleScore + } + } + } + fmt.Printf("画家指数:%+v\n", updateArtistSystemIndexRequest) + if _, errs := service.GrpcArtistImpl.UpdateIndex(context.Background(), updateArtistSystemIndexRequest); errs != nil { + fmt.Println("3333 GrpcArtistImpl.UpdateIndex:", errs.Error()) + zap.L().Error("更新画家系统的画家指数失败", zap.Error(errs)) + } + return nil +} + +// 推送画家视频到画家系统 +func (brokerOperationController) PushArtistVideoToArtistSystem(artistUid, videoCover, videoUrl string) error { + _, err := service.GrpcArtistImpl.SaveInterviewVideo(context.Background(), &artist.SaveInterviewVideoReq{ + ArtistUid: artistUid, + CoverUrl: videoCover, + OriUrl: videoUrl, + }) + return err +} + +// 推送画家补充信息到画家系统 +func (brokerOperationController) PushArtistSupplementToArtistSystem(supplement PushArtistSupplementData) error { + _, err := service.GrpcArtistImpl.SaveArtistSupplementInfo(context.Background(), &artist.SaveArtistSupplementInfoReq{ + ArtistUid: supplement.ArtistUid, + Resume: supplement.ArtistProfile + "\n" + supplement.Honor, //个人简介和获奖信息合并 + BankNum: supplement.BankNum, + BankName: supplement.BankName, + }) + return err +} + +// 推送画家补充信息到画家系统 +func (brokerOperationController) PushArtistSupplementToArtistSystemV2(supplement PushArtistSupplementDataV3) error { + _, err := service.GrpcArtistImpl.SaveArtistSupplementInfo(context.Background(), &artist.SaveArtistSupplementInfoReq{ + ArtistUid: supplement.ArtistUid, + Resume: supplement.ArtistProfile, //个人简介和获奖信息合并 + BankNum: supplement.BankNum, + BankName: supplement.BankName, + }) + if err != nil { + fmt.Println("PushArtistSupplementToArtistSystemV2 - SaveArtistSupplementInfo err:", err) + return err + } + // 删除已有的荣誉 + resp, err := service.GrpcArtistImpl.ArtistDetail(context.Background(), &artist.DetailRequest{Uid: supplement.ArtistUid}) + if err != nil { + return err + } + if len(resp.HonorInfo) > 0 { + honor, err := ParseHonorToArtistInfoType(resp.HonorInfo) + if err != nil { + return err + } + var delIds = []int32{} + for _, v := range honor.Award { + delIds = append(delIds, v.Id) + } + for _, v := range honor.Exhibition { + delIds = append(delIds, v.Id) + } + for _, v := range honor.Published { + delIds = append(delIds, v.Id) + } + for _, v := range honor.Title { + delIds = append(delIds, v.Id) + } + _, err = service.GrpcArtistImpl.HonorDel(context.Background(), &artist.HonorDelRequest{Ids: delIds}) + if err != nil { + return err + } + } + //重新创建 + //创建头衔 + for _, v := range supplement.ArtistHonor.Title { + if _, err = service.GrpcArtistImpl.UpdateHonor(context.Background(), &artist.HonorRequest{ + Uid: supplement.ArtistUid, + HonorType: 3, + HonorDetail: v.String(), + Id: 0, + }); err != nil { + return err + } + time.Sleep(time.Microsecond * 200) + } + //获奖经历/获奖称号 + for _, v := range supplement.ArtistHonor.Award { + if _, err = service.GrpcArtistImpl.UpdateHonor(context.Background(), &artist.HonorRequest{ + Uid: supplement.ArtistUid, + HonorType: 2, + HonorDetail: v.String(), + Id: 0, + }); err != nil { + return err + } + time.Sleep(time.Microsecond * 200) + } + //画展/展览名称 + for _, v := range supplement.ArtistHonor.Exhibition { + if _, err = service.GrpcArtistImpl.UpdateHonor(context.Background(), &artist.HonorRequest{ + Uid: supplement.ArtistUid, + HonorType: 5, + HonorDetail: v.String(), + Id: 0, + }); err != nil { + return err + } + time.Sleep(time.Microsecond * 200) + } + //创建学术发表/发表内容 + for _, v := range supplement.ArtistHonor.Published { + if _, err = service.GrpcArtistImpl.UpdateHonor(context.Background(), &artist.HonorRequest{ + Uid: supplement.ArtistUid, + HonorType: 6, + HonorDetail: v.String(), + Id: 0, + }); err != nil { + return err + } + time.Sleep(time.Microsecond * 200) + } + return err +} + +func (brokerOperationController) GetArtistSupplementEditStatus(artistUid string) (artistSupplementEditStatus int, bankInfoEditStatus int, err error) { + artistSupplyRes, err := service.GrpcArtistInfoArtshowImpl.GetArtistSupplementList(context.Background(), &artistinfoArtshow.GetArtistSupplementListRequest{ + ArtistUid: artistUid, + Page: 1, + PageSize: -1, + }) + if err != nil { + return + } + if artistSupplyRes.Page.Total == 0 { + artistSupplementEditStatus = 2 + bankInfoEditStatus = 2 + } else { + sort.Slice(artistSupplyRes.Data, func(i, j int) bool { + return artistSupplyRes.Data[i].CreatedAt > artistSupplyRes.Data[j].CreatedAt + }) + tmp := artistSupplyRes.Data[0] + if tmp.ArtistProfile == "" && tmp.ArtistCertPic == "" && tmp.Honor == "" { + artistSupplementEditStatus = 2 + } else { + artistSupplementEditStatus = 1 + } + if tmp.BankNum == "" && tmp.BankName == "" { + bankInfoEditStatus = 2 + } else { + bankInfoEditStatus = 1 + } + } + return +} + +func (brokerOperationController) UpdateBankInfo(c *gin.Context) { + var request UpdateBankInfoRequest + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "UpdateBankInfo: ShouldBindJSON Error", err.Error()) + return + } + if request.ArtistUid == "" { + service.Error(c, e.InvalidParams, nil, "画家uid不能为空") + return + } + if request.BankName == "" || request.BankCode == "" || request.BankNum == "" || request.LBankName == "" || len(request.BankArea) == 0 { + service.Error(c, e.InvalidParams, nil, "银行信息不完整") + return + } + updateBankInfoRequest := &artistinfoArtshow.UpdateBankInfoRequest{ + ArtistUid: request.ArtistUid, + BankNum: request.BankNum, + BankName: request.BankName, + LBankName: request.LBankName, + BankCode: request.BankCode, + BankArea: strings.Join(request.BankArea, ","), + IsBrokerUpdate: true, + } + saveArtistSystemRequest := &artist.SaveArtistBankInfoRequest{ + ArtistUid: request.ArtistUid, + BankNum: request.BankNum, + BankName: request.LBankName, + BankCode: request.BankCode, + } + defer func() { + sentry.WithScope(func(scope *sentry.Scope) { + scope.SetLevel(sentry.LevelInfo) + scope.SetExtra("request", fmt.Sprintf("%+v", request)) + scope.SetExtra("updateBankInfoRequest", fmt.Sprintf("%+v", updateBankInfoRequest)) + scope.SetExtra("saveArtistSystemRequest", fmt.Sprintf("%+v", saveArtistSystemRequest)) + sentry.CaptureMessage("经纪人更新银行信息") + }) + }() + jwt, _, _ := asUser.ParseTokenFromHttpHeader(c) + //获取原始的银行卡信息,用于添加到历史记录 + originData, errs := service.GrpcArtistInfoArtshowImpl.GetBankInfo(c, &artistinfoArtshow.GetBankInfoRequest{ArtistUid: request.ArtistUid}) + if errs != nil { + zap.L().Error("GrpcPayBillImpl.Record Error", zap.Error(errs)) + } + + _, err := service.GrpcArtistInfoArtshowImpl.UpdateBankInfo(c, updateBankInfoRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateBankInfo: GrpcArtistInfoArtshowImpl.UpdateBankInfo Error", err.Error()) + return + } + _, err = service.GrpcArtistImpl.SaveArtistBankInfo(context.Background(), saveArtistSystemRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateBankInfo: GrpcArtistImpl.SaveArtistBankInfo Error", err.Error()) + return + } + //按要求添加联行号更新记录 + go func() { + var ( + originBankNum string + originBankName string + originBankCode string + ) + if originData != nil { + originBankNum = originData.BankNum + originBankName = originData.BankName + originBankCode = originData.BankCode + } + //添加i记录 + var name = "画家宝经纪人" + var userId uint32 = 0 + if jwt != nil && jwt.NickName != "" { + name = jwt.NickName + } + req1 := paybill.RecordReq{ + ArtistUid: request.ArtistUid, + OldArtist: &paybill.Artist{ + BankNum: originBankNum, + BankCode: originBankCode, + BankName: originBankName, + }, + NewArtist: &paybill.Artist{ + BankNum: request.BankNum, + BankCode: request.BankCode, + BankName: request.BankName, + }, + OperatorId: userId, + OperatorName: name, + } + // 账单列表 + _, err = service.GrpcPayBillImpl.Record(context.Background(), &req1) + if err != nil { + zap.L().Error("GrpcPayBillImpl.Record Error", zap.Error(err)) + return + } + }() + + service.Success(c) +} + +func (b brokerOperationController) GetBankInfo(c *gin.Context) { + var request UpdateBankInfoRequest + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetBankInfo: ShouldBindJSON Error", err.Error()) + return + } + if request.ArtistUid == "" { + service.Error(c, e.InvalidParams, nil, "画家uid不能为空") + return + } + bankInfoRes, err := service.GrpcArtistInfoArtshowImpl.GetBankInfo(c, &artistinfoArtshow.GetBankInfoRequest{ + ArtistUid: request.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetBankInfo: GrpcArtistInfoArtshowImpl.UpdateBankInfo Error", err.Error()) + return + } + fmt.Println(" bankInfoRes.LatestBrokerUpdateBankInfoAt", bankInfoRes.LatestBrokerUpdateBankInfoAt) + var resp = GetBankInfoResp{ + ArtistUid: request.ArtistUid, + BankNum: bankInfoRes.BankNum, + BankName: bankInfoRes.BankName, + LBankName: bankInfoRes.LBankName, + BankCode: bankInfoRes.BankCode, + BankArea: utils.If(bankInfoRes.BankArea == "", []string{}, strings.Split(bankInfoRes.BankArea, ",")).([]string), + EditStatus: b.CheckDataEditStatus(bankInfoRes.BankNum == "" && bankInfoRes.BankName == "", bankInfoRes.CreatedAt, bankInfoRes.LatestBrokerUpdateBankInfoAt, request.ArtistUid), + } + service.Success(c, resp) +} +func (b brokerOperationController) GetCopyrightCommentList(c *gin.Context) { + var request GetCopyrightCommentListRequest + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistSupplementEditStatusV2: ShouldBindJSON Error", err.Error()) + return + } + if request.ArtistUid == "" { + service.Error(c, e.InvalidParams, nil, "画家uid不能为空") + return + } + commentRes, err := service.GrpcCopyrightImpl.SupplementList(c, &digital_copyright.SupplementListReq{ + Page: 1, + PageSize: -1, + ArtistUuid: request.ArtistUid, + ArtworkUidList: nil, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistSupplementEditStatusV2: GrpcArtistInfoArtworkImpl.GetArtistSupplementList Error", err.Error()) + return + } + var data = make([]CopyrightCommentListType, 0) + for _, v := range commentRes.Data { + v := v + createdAt := time.Unix(v.CreatedAt, 0).Format(stime.Format_Normal_YMDhms) + data = append(data, CopyrightCommentListType{ + //SuppId: v.SuppId, + //WorkName: v.WorkName, + //Tfnum: v.Tfnum, + //AuthorName: v.AuthorName, + //WorkFileUrl: v.WorkFileUrl, + //CopyrightId: v.CopyrightId, + //ArtistUuid: v.ArtistUuid, + //ArtworkUuid: v.ArtworkUuid, + //RemarkBrokerUpdatedAt: v.RemarkBrokerUpdatedAt, + //RemarkUpdatedAt: v.RemarkUpdatedAt, + SupplementListResp_Info: v, + Status: b.CheckDataEditStatus(v.RemarkDataIsEmpty, createdAt, v.RemarkBrokerUpdatedAt, request.ArtistUid), + }) + } + service.Success(c, data) +} + +func (b brokerOperationController) GetCopyrightCommentDetail(c *gin.Context) { + var request digital_copyright.SupplementDetailReq + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistSupplementEditStatusV2: ShouldBindJSON Error", err.Error()) + return + } + v, err := service.GrpcCopyrightImpl.SupplementDetail(c, &request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetCopyrightCommentDetail: GrpcArtistInfoArtworkImpl.SupplementDetail Error", err.Error()) + return + } + createdAt := time.Unix(v.CreatedAt, 0).Format(stime.Format_Normal_YMDhms) + var data = CopyrightCommentType{ + //SuppId: v.SuppId, + //WorkName: v.WorkName, + //Tfnum: v.Tfnum, + //AuthorName: v.AuthorName, + //WorkFileUrl: v.WorkFileUrl, + //CopyrightId: v.CopyrightId, + //ArtistUuid: v.ArtistUuid, + //ArtworkUuid: v.ArtworkUuid, + //RemarkBrokerUpdatedAt: v.RemarkBrokerUpdatedAt, + //RemarkUpdatedAt: v.RemarkUpdatedAt, + SupplementDetailResp: v, + Status: b.CheckDataEditStatus(v.RemarkDataIsEmpty, createdAt, v.RemarkBrokerUpdatedAt, v.ArtistUuid), + } + service.Success(c, data) +} + +func (b brokerOperationController) UpdateCopyrightComment(c *gin.Context) { + var request digital_copyright.UpdateSupplementReq + if err := c.ShouldBindJSON(&request); err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "GetArtistSupplementEditStatusV2: ShouldBindJSON Error", err.Error()) + return + } + var now = time.Now().Format(stime.Format_Normal_YMDhms) + request.RemarkBrokerUpdatedAt = now + request.RemarkUpdatedAt = now + _, err := service.GrpcCopyrightImpl.UpdateSupplement(c, &request) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateCopyrightComment: GrpcCopyrightImpl.UpdateSupplement Error", err.Error()) + return + } + service.Success(c) +} diff --git a/pkg/service/artistInfo/asArtshow/dto.go b/pkg/service/artistInfo/asArtshow/dto.go new file mode 100644 index 0000000..f0497cf --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/dto.go @@ -0,0 +1,216 @@ +// Package artshowVideo ----------------------------- +// @file : dto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/2 9:12 +// ------------------------------------------- +package asArtshow + +import ( + "context" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asArtwork" +) + +type RequestGenerateArtshowRecord struct { + ArtistUids []string `json:"artistUids"` +} + +// if err != nil { +// service.ErrorWithMark(c, e.Failed, err, "GenerateArtshowVideoRecord: GrpcArtistInfoUserImpl.FindUsers Error", "创建失败") +// } +func (r *RequestGenerateArtshowRecord) ConvertGrpcRequest() (requestData []*artistinfoArtshow.ArtshowVideoInfo, err error) { + userInfos, err := service.GrpcArtistInfoUserImpl.FindUsers(context.Background(), &artistInfoUser.FindUsersRequest{ + MgmtArtistUids: r.ArtistUids, + }) + if err != nil { + return nil, err + } + //service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c) + for _, v := range userInfos.Data { + realName := "" + if v.RealName != nil { + realName = v.RealName.Name + } + // 注释掉:默认用户已锁定 + // 判断用户锁定状态 + //if !v.IsLock{ + // return errors.New("") + //} + + requestData = append(requestData, &artistinfoArtshow.ArtshowVideoInfo{ + ArtistUid: v.MgmtArtistUid, + LockTime: v.LatestLockTime, + ArtistName: realName, + AuditStatus: int64(asArtwork.AuditType_Supplemented), + Status: 2, //锁定 + }) + } + return +} + +type RequestGetArtshowList struct { + ArtistName string `json:"artistName"` + Page int `json:"page"` + PageSize int `json:"pageSize"` +} + +type ResponseArtshowInfo struct { + ArtistUid string `json:"artistUid"` + LockTime string `json:"lockTime"` + AuditStatus int32 `json:"auditStatus"` + ArtistName string `json:"artistName"` + VideoUrl string `json:"videoUrl"` + CreatedAt int64 `json:"createdAt"` +} + +type ResponseArtshowList struct { + Data []ResponseArtshowList +} + +type ArtshowVideoInfo struct { + Id int64 `json:"id"` + ArtistUid string `json:"artistUid"` + LockTime string `json:"lockTime"` + VideoUrl string `json:"videoUrl"` + AuditStatus int64 `json:"auditStatus"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + ArtistName string `json:"artistName"` + Status int64 `json:"status"` //锁定状态 +} + +type RequestGetArtshowVideoListAtUserSide struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + ArtistUid string `json:"artistUid"` +} + +type ResponseVideoDetail struct { + Id int64 `json:"id"` + ArtistUid string `json:"artistUid"` + LockTime string `json:"lockTime"` + VideoUrl string `json:"videoUrl"` + AuditStatus int64 `json:"auditStatus"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + ArtistName string `json:"artistName"` + Status int64 `json:"status"` //锁定状态 + Editable bool `json:"editable"` +} + +func (e *ResponseVideoDetail) ConvertResponse(data *artistinfoArtshow.ArtshowVideoInfo) { + if data == nil { + return + } + e.Id = data.Id + e.ArtistUid = data.ArtistUid + e.LockTime = data.LockTime + e.VideoUrl = data.VideoUrl + e.AuditStatus = data.AuditStatus + e.AuditMark1 = data.AuditMark1 + e.AuditMark2 = data.AuditMark2 + e.CreatedAt = data.CreatedAt //time.Unix(data.CreatedAt, 0).Format(stime.Format_Normal_YMDhms) + e.UpdatedAt = data.UpdatedAt //time.Unix(data.UpdatedAt, 0).Format(stime.Format_Normal_YMDhms) + e.DeletedAt = data.DeletedAt + e.ArtistName = data.ArtistName + e.Status = data.Status + e.Editable = data.Editable +} + +type TimeGroup struct { + Time string `json:"time"` + ArtworkSupplementList []*ArtworkSupplementData `json:"artworkSupplementList"` + ArtistSupplementList []*ArtistSupplementData `json:"artistSupplementList"` + ArtistIndexList []*ArtistIndexData `json:"artistIndexList"` + ArtistVideoList []*ArtistVideoData `json:"artistVideoList"` +} +type ArtworkSupplementData struct { + ArtistUid string `json:"artistUid"` + Status int64 `json:"status"` + LockTime string `json:"lockTime"` + AuditStatus int64 `json:"auditStatus"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + ArtworkName string `json:"artworkName"` + CreatedDate string `json:"createdDate"` + CreatedAddress string `json:"createdAddress"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + ArtworkUuid string `json:"ArtworkUuid"` + Length int32 `json:"Length"` + Width int32 `json:"Width"` + Ruler int32 `json:"Ruler"` + HdPic string `json:"HdPic"` + ArtistPhoto string `json:"ArtistPhoto"` +} + +type ArtistSupplementData struct { + ArtistUid string `json:"artistUid"` + Status int64 `json:"status"` + LockTime string `json:"lockTime"` + AuditStatus int64 `json:"auditStatus"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + ArtistName string `json:"artistName"` + ArtistProfile string `json:"artistProfile"` + CountryArtLevel int64 `json:"countryArtLevel"` + ArtistCertPic string `json:"artistCertPic"` + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` + Id int64 `json:"id"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt string `json:"deletedAt"` +} + +type ArtistIndexData struct { + ArtistUid string `json:"artistUid"` + Title string `json:"title"` + Class string `json:"class"` + TitleScore int64 `json:"titleScore"` + Score string `json:"score"` + Types string `json:"types"` + Status int64 `json:"status"` + LockTime string `json:"lockTime"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + AuditStatus int64 `json:"auditStatus"` + Id int64 `json:"id"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt string `json:"deletedAt"` +} + +type ArtistVideoData struct { + Id int64 `json:"id"` + ArtistUid string `json:"artistUid"` + LockTime string `json:"lockTime"` + VideoUrl string `json:"videoUrl"` + AuditStatus int64 `json:"auditStatus"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + ArtistName string `json:"artistName"` +} + +type AuditArtshowVideoRequest struct { + ArtshowVideoIds []int64 `json:"artshowVideoIds"` + AuditStatus int64 `json:"auditStatus"` + AuditMark1 string `json:"auditMark"` + AuditMark2 string `json:"auditMark2"` +} + +type GetViewArtistIndexStaticListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + artistinfoArtshow.ViewArtistIndexStaticData +} diff --git a/pkg/service/artistInfo/asArtshow/dto_artisSupplement.go b/pkg/service/artistInfo/asArtshow/dto_artisSupplement.go new file mode 100644 index 0000000..9bfd4b1 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/dto_artisSupplement.go @@ -0,0 +1,146 @@ +// Package asArtshow ----------------------------- +// @file : dto_ArtistSupplement.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/3 8:28 +// ------------------------------------------- +package asArtshow + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" +) + +type ArtistSupplementInfo struct { + Id int64 `gorm:"primarykey;" json:"id" form:"id"` + CreatedAt string `gorm:"column:created_at" json:"createdAt"` + UpdatedAt string `gorm:"column:updated_at" json:"updatedAt"` + DeletedAt int64 `gorm:"column:deleted_at;type:bigint" json:"deletedAt"` + //通过这两个字段弱关联 artwork_lock_record表中对应的画作 + ArtistUid string `json:"artistUid" gorm:"column:artist_uid;comment:"` + Status int64 `json:"status" gorm:"column:status;default:2;comment:2=锁定 3=解锁"` //跟随用户的锁定和解锁状态,用于控制数据的展示 + LockTime string `json:"lockTime" gorm:"column:lock_time;comment:"` + + //审批字段 + AuditStatus int64 `json:"auditStatus" gorm:"column:audit_status;comment:审核状态:2= 待审核,3= 审核失败,4= 审核通过,5= 待补充"` + AuditMark1 string `json:"auditMark1" gorm:"column:audit_mark1;comment:审核备注1"` + AuditMark2 string `json:"auditMark2" gorm:"column:audit_mark2;comment:审核备注2"` + + ArtistName string `json:"artistName" gorm:"column:artist_name;comment:"` + ArtistProfile string `json:"artistProfile" gorm:"column:artist_profile;comment:个人简介"` + CountryArtLevel int64 `json:"countryArtLevel" gorm:"column:country_art_level;comment:国家美术师级别: 1=无 2=1级 3=2级"` + ArtistCertPic string `json:"artistCertPic" gorm:"column:artist_cert_pic;comment:国家美术师证书"` + BankNum string `json:"bankNum" gorm:"column:bank_num;comment:开户行"` + BankName string `json:"bankName" gorm:"column:bank_name;comment:银行卡账号"` + Tnum string `json:"tnum" gorm:"column:tnum;comment:"` + Honor string `json:"honor"` +} + +type RequestGetArtistSupplementListAtUserSide struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + ArtistUid string `json:"artistUid"` +} + +type RequestGenerateArtistSupplementRecord struct { + ArtistUids []string `json:"artistUids"` +} + +type SupplementArtistUserInfo struct { + ArtistUid string `json:"artistUid"` + ArtistName string `json:"artistName"` + DataCreatedAt string `json:"dataCreatedAt"` + DataUpdatedAt string `json:"dataUpdateAt"` +} + +type ResponseGetLockedSupplementArtistList struct { + Data []SupplementArtistUserInfo +} + +type ArtistSupplementDetail struct { + Id int64 `json:"id"` + ArtistUid string `json:"artistUid"` + Status int64 `json:"status"` + LockTime string `json:"lockTime"` + AuditStatus int64 `json:"auditStatus"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + ArtistName string `json:"artistName"` + ArtistProfile string `json:"artistProfile"` + CountryArtLevel int64 `json:"countryArtLevel"` + ArtistCertPic string `json:"artistCertPic"` + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + Editable bool `json:"editable"` //是否用户可编辑 +} + +func (e *ArtistSupplementDetail) ConvertResponse(data *artistinfoArtshow.ArtistSupplementInfo) { + e.Id = data.Id + e.ArtistUid = data.ArtistUid + e.Status = data.Status + e.LockTime = data.LockTime + e.AuditStatus = data.AuditStatus + e.AuditMark1 = data.AuditMark1 + e.AuditMark2 = data.AuditMark2 + e.ArtistName = data.ArtistName + e.ArtistProfile = data.ArtistProfile + e.CountryArtLevel = data.CountryArtLevel + e.ArtistCertPic = data.ArtistCertPic + e.BankNum = data.BankNum + e.BankName = data.BankName + e.CreatedAt = data.CreatedAt + e.UpdatedAt = data.UpdatedAt + e.DeletedAt = data.DeletedAt + e.Editable = data.Editable +} + +type GetArtistSupplementListRequest struct { + artistinfoArtshow.GetArtistSupplementListRequest + History bool `json:"history"` //是否查询历史记录 +} + +type UserRelationArtistSupplement struct { + UserInfo *artistInfoUser.UserInfo + ArtistIndex *artistinfoArtshow.ArtistIndexInfo +} + +type ArtshowArtistSupplementInfoV3 struct { + Id int64 `gorm:"primarykey;" json:"id" form:"id"` + CreatedAt string `gorm:"column:created_at" json:"createdAt"` + UpdatedAt string `gorm:"column:updated_at" json:"updatedAt"` + DeletedAt int64 `gorm:"column:deleted_at;type:bigint" json:"deletedAt"` + ArtistUid string `json:"artistUid" gorm:"column:artist_uid;comment:"` + ArtistProfile string `json:"artistProfile" gorm:"column:artist_profile;comment:个人简介"` + ArtistCertPic string `json:"artistCertPic" gorm:"column:artist_cert_pic;comment:国家美术师证书"` + BankNum string `json:"bankNum" gorm:"column:bank_num;comment:开户行"` + BankName string `json:"bankName" gorm:"column:bank_name;comment:银行卡账号"` + LBankName string `json:"lBankName"` + HonorType + DataUpdatedAt string `json:"dataUpdatedAt"` + EditStatus int64 `json:"editStatus"` // 编辑状态 + ExhibitionTip string `json:"exhibitionTip"` // 画展经历提示词 + BankInfo BankInfoType `json:"bankInfo"` // 银行卡信息 +} + +func (a *ArtshowArtistSupplementInfoV3) IsEmpty() bool { + if a.ArtistCertPic == "" && a.BankNum == "" && a.BankName == "" && len(a.HonorType.Title) == 0 && len(a.HonorType.Award) == 0 && len(a.HonorType.Exhibition) == 0 && len(a.HonorType.Published) == 0 { + return true + } + return false +} + +type PushArtistSupplementDataV3 struct { + ArtistUid string `json:"artistUid"` + ArtistProfile string `json:"artistProfile"` + //ArtistCertPic string `json:"artistCertPic"` + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` + ArtistHonor HonorType +} + +type ImportArtistSupplementRequest struct { + ArtistUid string `json:"artistUid"` +} diff --git a/pkg/service/artistInfo/asArtshow/dto_artistIndex.go b/pkg/service/artistInfo/asArtshow/dto_artistIndex.go new file mode 100644 index 0000000..1ad99f5 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/dto_artistIndex.go @@ -0,0 +1,74 @@ +// Package asArtshow ----------------------------- +// @file : dto_artistIndex.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/3 8:28 +// ------------------------------------------- +package asArtshow + +import "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + +type ArtistIndexInfo struct { + Id int64 `gorm:"primarykey;" json:"id" form:"id"` + CreatedAt string `gorm:"column:created_at" json:"createdAt"` + UpdatedAt string `gorm:"column:updated_at" json:"updatedAt"` + DeletedAt int64 `gorm:"column:deleted_at;type:bigint" json:"deletedAt"` + ArtistUid string `gorm:"column:artist_uid;comment:画家uid" json:"artistUid"` + Title string `gorm:"column:title;comment:" json:"title"` //艺术家-展览(exhibition) 、 艺术家-资历(seniority) 、艺术家-专业(specialized) 、艺术家-影响力(Influence)、艺术家-收藏(collect) + Class string `gorm:"column:class;comment:指数类别" json:"class"` //exhibition 、seniority 、specialized 、Influence 、collect + TitleScore float32 `gorm:"column:title_score;comment:总分" json:"titleScore"` + Score string `gorm:"column:score;comment:前端定义的分数列表" json:"score"` // + Types string `gorm:"column:types;comment:" json:"types"` + Status int64 `json:"status" gorm:"column:status;default:2;comment:2=锁定 3=解锁"` //跟随用户的锁定和解锁状态,用于控制数据的展示 + LockTime string `json:"lockTime" gorm:"column:lock_time;comment:锁定时间"` + AuditStatus int64 `json:"auditStatus" gorm:"column:audit_status;default:5;comment:审核状态:2= 待审核,3= 审核失败,4= 审核通过,5= 待补充"` + AuditMark1 string `json:"auditMark1" gorm:"column:audit_mark1;comment:审核备注1"` + AuditMark2 string `json:"auditMark2" gorm:"column:audit_mark2;comment:审核备注2"` + ArtistUpdateAt string `json:"artistUpdateAt"` //画家更新时间 + LatestOperator int64 `json:"latestOperator"` //最后审批人 + LatestOperationTime string `json:"latestOperationTime"` //最后审批时间 +} + +type RequestGetArtistIndexListAtUserSide struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + ArtistUid string `json:"artistUid"` +} + +type RequestGenerateArtistIndexRecord struct { + ArtistUids []string `json:"artistUids"` +} + +type ArtistUserInfo struct { + ArtistUid string `json:"artistUid"` + ArtistName string `json:"artistName"` + DataCreatedAt string `json:"dataCreatedAt"` + DataUpdatedAt string `json:"dataUpdateAt"` +} + +type ResponseGetLockedArtistList struct { + Data []ArtistUserInfo +} +type ArtistIndexDetail struct { + Id int64 `json:"id"` + ArtistUid string `json:"artistUid"` + Title string `json:"title"` + Class string `json:"class"` + TitleScore int64 `json:"titleScore"` + Score string `json:"score"` + Types string `json:"types"` + Status int64 `json:"status"` + LockTime string `json:"lockTime"` + AuditMark1 string `json:"auditMark1"` + AuditMark2 string `json:"auditMark2"` + AuditStatus int64 `json:"auditStatus"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + Editable bool `json:"editable"` +} + +type GetArtistIndexListRequest struct { + artistinfoArtshow.GetArtistIndexListRequest + History bool `json:"history"` //是否查询历史记录 +} diff --git a/pkg/service/artistInfo/asArtshow/dto_artshowVideo.go b/pkg/service/artistInfo/asArtshow/dto_artshowVideo.go new file mode 100644 index 0000000..ec4d553 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/dto_artshowVideo.go @@ -0,0 +1,9 @@ +package asArtshow + +type GetVideoRecordsReq struct { + Page int `json:"page"` + PageSize int `json:"pageSize"` + ArtistName string `json:"artistName"` //模糊查询画家名称 + AuditStatus int64 `json:"auditStatus"` //审批状态 + History bool `json:"history"` //是否查询历史记录 +} diff --git a/pkg/service/artistInfo/asArtshow/dto_brokerOperation.go b/pkg/service/artistInfo/asArtshow/dto_brokerOperation.go new file mode 100644 index 0000000..ac04864 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/dto_brokerOperation.go @@ -0,0 +1,363 @@ +// Package asArtshow ----------------------------- +// @file : dto_brokerOperation.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/6/18 下午1:39 +// ------------------------------------------- +package asArtshow + +import ( + "context" + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "time" +) + +type GetArtistSupplementStatusRequest struct { + ArtistUid string `json:"artistUid"` +} +type GetArtistSupplementStatusResp struct { + ArtistUid string `json:"artistUid"` + ArtistName string `json:"artistName"` + TelNum string `json:"telNum"` + Sex string `json:"sex"` + ArtistShowCount string `json:"artistShowCount"` + ArtistIndexEditStatus int `json:"artistIndexEditStatus"` //画家指数编辑状态 1已编辑 2未编辑 + ArtistSupplementEditStatus int `json:"artistSupplementEditStatus"` //画家补充编辑状态 1已编辑 2未编辑 + ArtistVideoEditStatus int `json:"artistVideoEditStatus"` //画家视频编辑状态 1已编辑 2未编辑 + BankInfoEditStatus int `json:"artistBankInfoEditStatus"` //画家银行信息编辑状态 1已编辑 2未编辑 +} + +type GetArtistSupplementDetailRequest struct { + ArtistUid string `json:"artistUid"` +} +type GetArtistSupplementDetailResp struct { + Id int64 `json:"id"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + ArtistUid string `json:"artistUid"` + + ArtistProfile string `json:"artistProfile"` // 个人简介 + CountryArtLevel int64 `json:"countryArtLevel"` // 国家美术师级别: 1=无 2=1级 3=2级 + ArtistCertPic string `json:"artistCertPic"` // 国家美术师证书 + BankNum string `json:"bankNum"` // 银行卡号 + BankName string `json:"bankName"` // 总行名称 + LBankName string `json:"lBankName"` // 支行名称 + Honor string `json:"honor"` // 获奖信息 + CanEdit bool `json:"canEdit"` // 是否可以编辑 DEPRECATED + EditStatus int64 `json:"editStatus"` // 编辑状态 +} +type GetArtworkSupplementStatusListReq struct { + ArtistUid string `json:"artistUid"` + Page int32 `json:"page"` + PageSize int64 `json:"pageSize"` +} +type GetArtworkSupplementStatusListType struct { + ArtworkUid string `json:"artworkUid"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + ArtworkName string `json:"artworkName"` + HdPic string `json:"hdPic"` + ArtistPhoto string `json:"artistPhoto"` + EditStatus int64 `json:"editStatus"` +} +type GetArtistIndexSupplementDataRequest struct { + ArtistUid string `json:"artistUid"` +} +type GetArtistIndexSupplementType struct { + Id int64 `json:"id"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + ArtistUid string `json:"artistUid"` + Title string `json:"title"` + Class string `json:"class"` + TitleScore float32 `json:"titleScore"` + Score string `json:"score"` + Types string `json:"types"` + CanEdit bool `json:"canEdit"` // 是否可以编辑 Deprecated + EditStatus int64 `json:"editStatus"` +} +type GetArtistVideoRequest struct { + ArtistUid string `json:"artistUid"` +} + +type GetArtistVideoReq struct { + ArtistUid string `json:"artistUid"` +} +type GetArtworkSupplementInfoResp struct { + Id int64 `json:"id"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + ArtistUid string `json:"artistUid"` + VideoUrl string `json:"videoUrl"` + VideoCover string `json:"videoCover"` + CanEdit bool `json:"canEdit"` // 是否可以编辑 Deprecated + EditStatus int64 `json:"editStatus"` +} +type GetArtworkSupplementInfoRequest struct { + ArtworkUid string `json:"artworkUid"` + ArtistUid string `json:"artistUid"` +} + +type ArtworkSupplementInfo struct { + // 画作首选项 + //Id int `json:"id"` + ArtworkUuid string `json:"artworkUid"` + ArtistName string `json:"artistName"` + ArtistUid string `json:"artistUid"` + ArtworkName string `json:"artworkName"` + Length int32 `json:"length"` + Width int32 `json:"width"` + Ruler int32 `json:"ruler"` + InscribeDate string `json:"inscribeDate"` //落款时间 + Abstract string `json:"abstract"` //简介 + HdPic string `json:"hdPic"` //高清图 + ArtistPhoto string `json:"artistPhoto"` //画家画作合照 + CreatedDate string `json:"createdDate"` //初始创作时间 + PriceRun float32 `json:"priceRun"` + CreatedAt string `json:"createdAt"` //todo 这几个字段没画作服务没返回,待处理 + UpdatedAt string `json:"updatedAt"` //todo 这几个字段没画作服务没返回,待处理 + DeletedAt int64 `json:"deletedAt"` //todo 这几个字段没画作服务没返回,待处理 + //首次发表 + FirstPublish string `gorm:"column:first_publish" json:"firstPublish"` + + // 画作荣誉 + ArtistMarketDetail string `json:"artistMarketDetail"` //画作微服务ArtworkMarketData表 - Type: int32 =0 详情 + ArtistMarketUrl1 string `json:"artistMarketUrl1"` //画作微服务ArtworkMarketData表 - Type: int32 =1 获奖 + ArtistMarketUrl2 string `json:"artistMarketUrl2"` //画作微服务ArtworkMarketData表 - Type: int32 =1 拍卖 + ArtistMarketId1 int32 `json:"artistMarketId1"` //对应上面三个字段的id + ArtistMarketId2 int32 `json:"artistMarketId2"` + ArtistMarketId3 int32 `json:"artistMarketId3"` // deprecated + + // 审核状态 + SupplementAuditStatus int32 `json:"supplementAuditStatus"` + SupplementAuditMark string `json:"supplementAuditMark"` + SupplementAuditMark2 string `json:"supplementAuditMark2"` + + SealPic string `json:"sealPic"` + //动态字段 + CanEdit bool `json:"canEdit"` //该条数据是否可编辑 deprecated + EditStatus int64 `json:"editStatus"` //可以编辑状态 + IsFirstPublish bool `json:"isFirstPublish"` //是否首次发表 +} + +func (a *ArtworkSupplementInfo) ConvertResponse(lockInfo *artistInfoArtwork.ArtworkLockInfo, profile *artwork.CreArtProRequest, marketInfo []*artwork.UpdateMInfoRequest, extDataInfo *artwork.UpdateExtDataRequest) error { + //数据拼接 + if lockInfo != nil { + a.ArtworkUuid = lockInfo.ArtworkUid + a.ArtistUid = lockInfo.ArtistUid + a.SupplementAuditStatus = lockInfo.SupplementAuditStatus + a.SupplementAuditMark = lockInfo.SupplementAuditMark + a.SupplementAuditMark2 = lockInfo.SupplementAuditMark2 + a.CreatedAt = stime.TimeToString(time.Unix(lockInfo.CreatedAt, 0), stime.Format_Normal_YMDhms) + a.UpdatedAt = stime.TimeToString(time.Unix(lockInfo.UpdatedAt, 0), stime.Format_Normal_YMDhms) + } + if profile != nil { + a.ArtworkUuid = profile.ArtworkUuid + a.ArtistName = profile.ArtistName + a.ArtworkName = profile.ArtworkName + a.Length = profile.Length + a.Width = profile.Width + a.Ruler = profile.Ruler + a.InscribeDate = profile.InscribeDate + a.HdPic = profile.HdPic + a.ArtistPhoto = profile.ArtistPhoto + a.PriceRun = profile.PriceRun + a.Abstract = profile.Abstract + a.CreatedDate = profile.CreatedDate + } + if a.ArtistName == "" || a.ArtistName == " " { + artistInfo, _ := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{ + MgmtArtistUid: lockInfo.ArtistUid, + IsArtist: true, + }) + if artistInfo != nil && artistInfo.RealName != nil { + a.ArtistName = artistInfo.RealName.Name + } + } + if marketInfo != nil && len(marketInfo) > 0 { + for _, v := range marketInfo { + switch v.Type { + case 0: + a.ArtistMarketDetail = v.Detail + a.ArtistMarketId1 = v.MarketId + case 2: + if a.ArtistMarketUrl1 == "" { + a.ArtistMarketUrl1 = v.Detail + a.ArtistMarketId2 = v.MarketId + } else if a.ArtistMarketUrl2 == "" { + a.ArtistMarketUrl2 = v.Detail + a.ArtistMarketId3 = v.MarketId + break + } + } + } + } + if extDataInfo != nil { + a.FirstPublish = extDataInfo.FirstPublish + a.IsFirstPublish = utils.If(extDataInfo.FirstPublish == "", false, true).(bool) + } + return nil +} + +func (a *ArtworkSupplementInfo) ConvertGrpcRequest(artworkProfile *artwork.ArtworkDetailResponse) (profile *artwork.CreArtProRequest, marketInfo []*artwork.UpdateMInfoRequest, extDataInfo *artwork.UpdateExtDataRequest) { + artworkProfile.ProfileInfo.ArtworkUuid = a.ArtworkUuid + artworkProfile.ProfileInfo.ArtistName = a.ArtistName + artworkProfile.ProfileInfo.ArtworkName = a.ArtworkName + artworkProfile.ProfileInfo.Length = a.Length + artworkProfile.ProfileInfo.Width = a.Width + artworkProfile.ProfileInfo.Ruler = a.Ruler + artworkProfile.ProfileInfo.InscribeDate = a.InscribeDate + artworkProfile.ProfileInfo.HdPic = a.HdPic + artworkProfile.ProfileInfo.ArtistPhoto = a.ArtistPhoto + artworkProfile.ProfileInfo.PriceRun = a.PriceRun + artworkProfile.ProfileInfo.CreatedDate = a.CreatedDate + artworkProfile.ProfileInfo.Abstract = a.Abstract + + profile = artworkProfile.ProfileInfo + marketInfo = []*artwork.UpdateMInfoRequest{} + if a.ArtistMarketDetail != "" || a.ArtistMarketUrl1 != "" { + var award = ArtworkAward{ + AwardContent: a.ArtistMarketDetail, + AwardCert: a.ArtistMarketUrl1, + } + detail, err := json.Marshal(&award) + if err != nil { + fmt.Println("获奖信息转json失败", err.Error()) + } else { + marketInfo = append(marketInfo, &artwork.UpdateMInfoRequest{ + ArtworkUuid: a.ArtworkUuid, + Type: 1, + Detail: string(detail), + MarketId: a.ArtistMarketId1, + }) + } + } + if a.ArtistMarketUrl2 != "" { + var award = ArtworkAward{ + AwardContent: a.ArtistMarketDetail, + AwardCert: a.ArtistMarketUrl2, + } + detail, err := json.Marshal(&award) + if err != nil { + fmt.Println() + } else { + marketInfo = append(marketInfo, &artwork.UpdateMInfoRequest{ + ArtworkUuid: a.ArtworkUuid, + Type: 1, + Detail: string(detail), + MarketId: a.ArtistMarketId2, + }) + } + } + + extDataInfo = &artwork.UpdateExtDataRequest{ + FirstPublish: a.FirstPublish, + ArtworkUuid: a.ArtworkUuid, + } + return +} + +// 获奖信息修改为不管是否有值都更新 +func (a *ArtworkSupplementInfo) ConvertGrpcRequest2(artworkProfile *artwork.ArtworkDetailResponse) (profile *artwork.CreArtProRequest, marketInfo []*artwork.UpdateMInfoRequest, extDataInfo *artwork.UpdateExtDataRequest) { + artworkProfile.ProfileInfo.ArtworkUuid = a.ArtworkUuid + artworkProfile.ProfileInfo.ArtistName = a.ArtistName + artworkProfile.ProfileInfo.ArtworkName = a.ArtworkName + artworkProfile.ProfileInfo.Length = a.Length + artworkProfile.ProfileInfo.Width = a.Width + artworkProfile.ProfileInfo.Ruler = a.Ruler + artworkProfile.ProfileInfo.InscribeDate = a.InscribeDate + artworkProfile.ProfileInfo.HdPic = a.HdPic + artworkProfile.ProfileInfo.ArtistPhoto = a.ArtistPhoto + artworkProfile.ProfileInfo.PriceRun = a.PriceRun + artworkProfile.ProfileInfo.CreatedDate = a.CreatedDate + artworkProfile.ProfileInfo.Abstract = a.Abstract + + profile = artworkProfile.ProfileInfo + marketInfo = []*artwork.UpdateMInfoRequest{} + var award = ArtworkAward{ + AwardContent: a.ArtistMarketDetail, + AwardCert: a.ArtistMarketUrl1, + } + detail, err := json.Marshal(&award) + if err != nil { + fmt.Println("获奖信息转json失败", err.Error()) + } else { + marketInfo = append(marketInfo, &artwork.UpdateMInfoRequest{ + ArtworkUuid: a.ArtworkUuid, + Type: 1, + Detail: string(detail), + MarketId: a.ArtistMarketId1, + }) + } + var award2 = ArtworkAward{ + AwardContent: a.ArtistMarketDetail, + AwardCert: a.ArtistMarketUrl2, + } + detail2, err := json.Marshal(&award2) + if err != nil { + fmt.Println() + } else { + marketInfo = append(marketInfo, &artwork.UpdateMInfoRequest{ + ArtworkUuid: a.ArtworkUuid, + Type: 1, + Detail: string(detail2), + MarketId: a.ArtistMarketId2, + }) + } + + extDataInfo = &artwork.UpdateExtDataRequest{ + FirstPublish: a.FirstPublish, + ArtworkUuid: a.ArtworkUuid, + } + return +} + +type UpdateArtistInfoRequest struct { + GetArtistSupplementDetailResp +} + +type UpdateArtistVideoSupplementRequest struct { + Id int64 `json:"id"` + VideoUrl string `json:"videoUrl"` + VideoCover string `json:"videoCover"` + ArtistUid string `json:"artistUid"` +} + +type UpdateArtistIndexSupplementRequest struct { + GetArtistIndexSupplementType +} + +type PushArtistSupplementData struct { + ArtistUid string `json:"artistUid"` + ArtistProfile string `json:"artistProfile"` + Honor string `json:"honor"` + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` +} + +type UpdateBankInfoRequest struct { + ArtistUid string `json:"artistUid"` + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` + LBankName string `json:"lBankName"` + BankCode string `json:"bankCode"` + BankArea []string `json:"bankArea"` +} + +type GetBankInfoResp struct { + ArtistUid string `json:"artistUid"` + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` + EditStatus int64 `json:"editStatus"` + LBankName string `json:"lBankName"` + BankCode string `json:"bankCode"` + BankArea []string `json:"bankArea"` +} diff --git a/pkg/service/artistInfo/asArtshow/dto_copyrightComment.go b/pkg/service/artistInfo/asArtshow/dto_copyrightComment.go new file mode 100644 index 0000000..1d77185 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/dto_copyrightComment.go @@ -0,0 +1,44 @@ +// Package asArtshow ----------------------------- +// @file : dto_copyrightComment.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/24 下午7:26 +// ------------------------------------------- +package asArtshow + +import "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + +type GetCopyrightCommentListRequest struct { + ArtistUid string `json:"artistUid"` +} + +type CopyrightCommentListType struct { + //SuppId string `json:"suppId"` + //WorkName string `json:"workName"` + //Tfnum string `json:"tfnum"` + //AuthorName string `json:"authorName"` + //WorkFileUrl string `json:"workFileUrl"` + //CopyrightId string `json:"copyrightId"` + //ArtistUuid string `json:"artistUuid"` + //ArtworkUuid string `json:"artworkUuid"` + //RemarkBrokerUpdatedAt string `json:"remarkBrokerUpdatedAt"` + //RemarkUpdatedAt string `json:"remarkUpdatedAt"` + *digital_copyright.SupplementListResp_Info + Status int64 `json:"status"` //1=未填写,2=已填写,3=已锁定 +} + +type CopyrightCommentType struct { + //SuppId string `json:"suppId"` + //WorkName string `json:"workName"` + //Tfnum string `json:"tfnum"` + //AuthorName string `json:"authorName"` + //WorkFileUrl string `json:"workFileUrl"` + //CopyrightId string `json:"copyrightId"` + //ArtistUuid string `json:"artistUuid"` + //ArtworkUuid string `json:"artworkUuid"` + //RemarkBrokerUpdatedAt string `json:"remarkBrokerUpdatedAt"` + //RemarkUpdatedAt string `json:"remarkUpdatedAt"` + Status int64 `json:"status"` //1=未填写,2=已填写,3=已锁定 + //RemarkDetail string `json:"remarkDetail"` + *digital_copyright.SupplementDetailResp +} diff --git a/pkg/service/artistInfo/asArtshow/dto_rulerFloorPrice.go b/pkg/service/artistInfo/asArtshow/dto_rulerFloorPrice.go new file mode 100644 index 0000000..031969b --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/dto_rulerFloorPrice.go @@ -0,0 +1,19 @@ +// Package asArtshow ----------------------------- +// @file : dto_rulerFloorPrice.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/2 上午9:10 +// ------------------------------------------- +package asArtshow + +type RulerFloorPrice struct { + ID int64 `json:"ID"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + ArtistUid string `json:"artistUid"` + FloorPrice string `json:"floorPrice"` + //OperationName string `json:"operationName"` + //OperationTime string `json:"operationTime"` + //OperationAcc string `json:"operationAcc"` +} diff --git a/pkg/service/artistInfo/asArtshow/pushDto.go b/pkg/service/artistInfo/asArtshow/pushDto.go new file mode 100644 index 0000000..73494fb --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/pushDto.go @@ -0,0 +1,283 @@ +// Package asArtshowV2 ----------------------------- +// @file : pushDto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/6/20 上午11:29 +// ------------------------------------------- +package asArtshow + +import ( + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" +) + +type HonorType struct { + Title []HonorTitleType `json:"title"` + School []HonorSchoolType `json:"-"` + Award []HonorAwardType `json:"award"` + ComeOut []HonorComeOutType `json:"-"` + Exhibition []HonorExhibitionType `json:"exhibition"` + Published []HonorPublishedType `json:"published"` + Commentator []HonorCommentatorType `json:"-"` +} + +func (h *HonorType) Parse(artistSupplement *artistinfoArtshow.ArtistSupplementV2Data) { + h.Title = make([]HonorTitleType, 0) + h.School = make([]HonorSchoolType, 0) + h.Award = make([]HonorAwardType, 0) + h.ComeOut = make([]HonorComeOutType, 0) + h.Exhibition = make([]HonorExhibitionType, 0) + h.Published = make([]HonorPublishedType, 0) + h.Commentator = make([]HonorCommentatorType, 0) + _ = json.Unmarshal([]byte(artistSupplement.Award), &h.Award) + _ = json.Unmarshal([]byte(artistSupplement.Exhibition), &h.Exhibition) + _ = json.Unmarshal([]byte(artistSupplement.Published), &h.Published) + _ = json.Unmarshal([]byte(artistSupplement.Title), &h.Title) +} + +func ParseHonorToArtistInfoType(honorList []*artist.HonorRequest) (data HonorType, err error) { + data = HonorType{ + Title: make([]HonorTitleType, 0), + School: make([]HonorSchoolType, 0), + Award: make([]HonorAwardType, 0), + ComeOut: make([]HonorComeOutType, 0), + Exhibition: make([]HonorExhibitionType, 0), + Published: make([]HonorPublishedType, 0), + Commentator: make([]HonorCommentatorType, 0), + } + for _, honorInfo := range honorList { + var vBytes = []byte(honorInfo.HonorDetail) + switch honorInfo.HonorType { + case 1: + var tmp HonorSchoolType + _ = json.Unmarshal(vBytes, &tmp) + tmp.Id = honorInfo.Id + data.School = append(data.School, tmp) + case 2: + var tmp HonorAwardType + _ = json.Unmarshal(vBytes, &tmp) + tmp.Id = honorInfo.Id + data.Award = append(data.Award, tmp) + case 3: + var tmp HonorTitleType + _ = json.Unmarshal(vBytes, &tmp) + tmp.Id = honorInfo.Id + data.Title = append(data.Title, tmp) + case 4: + var tmp HonorComeOutType + _ = json.Unmarshal(vBytes, &tmp) + tmp.Id = honorInfo.Id + data.ComeOut = append(data.ComeOut, tmp) + case 5: + fmt.Printf("exhibition: %+v\n", string(vBytes)) + var tmp HonorExhibitionType + err = json.Unmarshal(vBytes, &tmp) + if err != nil { + return + } + tmp.Id = honorInfo.Id + data.Exhibition = append(data.Exhibition, tmp) + case 6: + fmt.Printf("Published: %+v\n", string(vBytes)) + var tmp HonorPublishedType + _ = json.Unmarshal(vBytes, &tmp) + tmp.Id = honorInfo.Id + data.Published = append(data.Published, tmp) + case 7: + var tmp HonorCommentatorType + _ = json.Unmarshal(vBytes, &tmp) + tmp.Id = honorInfo.Id + data.Commentator = append(data.Commentator, tmp) + } + } + return +} + +type PushArtistSupplementDataV2 struct { + ArtistUid string `json:"artistUid"` + ArtistProfile string `json:"artistProfile"` + //ArtistCertPic string `json:"artistCertPic"` + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` + ArtistHonor HonorType +} + +// 头衔 +type HonorTitleType struct { + Id int32 `json:"id"` + Date string `json:"date"` + Title string `json:"title"` + Grade string `json:"grade"` + Details string `json:"details"` + Remark string `json:"remark"` + Editable bool `json:"editable"` + BtnDis bool `json:"btnDis"` + VoucherImg string `json:"voucherImg"` +} + +func (h *HonorTitleType) ParseToArtistHonorRequest(artistUid string) *artist.HonorRequest { + return &artist.HonorRequest{ + Uid: artistUid, + HonorType: 1, + HonorDetail: h.String(), + } +} +func (h *HonorTitleType) String() string { + bytes, _ := json.Marshal(h) + return string(bytes) +} + +// 游学地址/学校 +type HonorSchoolType struct { + Id int32 `json:"id"` + Date string `json:"date"` + StudyAddress string `json:"studyAddress"` + Details string `json:"details"` + Remark string `json:"remark"` + Editable bool `json:"editable"` + BtnDis bool `json:"btnDis"` +} + +func (h *HonorSchoolType) ParseToArtistHonorRequest(artistUid string) artist.HonorRequest { + return artist.HonorRequest{ + Uid: artistUid, + HonorType: 1, + HonorDetail: h.String(), + } +} +func (h *HonorSchoolType) String() string { + bytes, _ := json.Marshal(h) + return string(bytes) +} + +// 获奖称号 +type HonorAwardType struct { + Id int32 `json:"id"` + Date string `json:"date"` + Award string `json:"award"` + EventName string `json:"eventName"` + Picture string `json:"picture"` + Remark string `json:"remark"` + Editable bool `json:"editable"` + BtnDis bool `json:"btnDis"` +} + +func (h *HonorAwardType) ParseToArtistHonorRequest(artistUid string) artist.HonorRequest { + return artist.HonorRequest{ + Uid: artistUid, + HonorType: 1, + HonorDetail: h.String(), + } +} +func (h *HonorAwardType) String() string { + bytes, _ := json.Marshal(h) + return string(bytes) +} + +// 出版内容 +type HonorComeOutType struct { + Id int32 `json:"id"` + Date string `json:"date"` + Content string `json:"content"` + State string `json:"state"` + Remark string `json:"remark"` + Editable bool `json:"editable"` + BtnDis bool `json:"btnDis"` +} + +func (h *HonorComeOutType) ParseToArtistHonorRequest(artistUid string) artist.HonorRequest { + return artist.HonorRequest{ + Uid: artistUid, + HonorType: 1, + HonorDetail: h.String(), + } +} +func (h *HonorComeOutType) String() string { + bytes, _ := json.Marshal(h) + return string(bytes) +} + +// 展览名称 +type HonorExhibitionType struct { + Id int32 `json:"id"` + Date string `json:"date"` + ExhibitionName string `json:"exhibitionName"` + PaintingName string `json:"paintingName"` + Picture string `json:"picture"` + Remark string `json:"remark"` + Editable bool `json:"editable"` + BtnDis bool `json:"btnDis"` +} + +func (h *HonorExhibitionType) ParseToArtistHonorRequest(artistUid string) artist.HonorRequest { + return artist.HonorRequest{ + Uid: artistUid, + HonorType: 1, + HonorDetail: h.String(), + } +} +func (h *HonorExhibitionType) String() string { + bytes, _ := json.Marshal(h) + return string(bytes) +} + +// 发表内容 +type HonorPublishedType struct { + Id int32 `json:"id"` + Date string `json:"date"` + ContentName string `json:"contentName"` + Articles string `json:"articles"` + Remark string `json:"remark"` + Editable bool `json:"editable"` + BtnDis bool `json:"btnDis"` +} + +func (h *HonorPublishedType) ParseToArtistHonorRequest(artistUid string) artist.HonorRequest { + return artist.HonorRequest{ + Uid: artistUid, + HonorType: 1, + HonorDetail: h.String(), + } +} +func (h *HonorPublishedType) String() string { + bytes, _ := json.Marshal(h) + return string(bytes) +} + +// 评论方 +type HonorCommentatorType struct { + Id int32 `json:"id"` + Date string `json:"date"` + Person string `json:"person"` + Comments string `json:"comments"` + Photo string `json:"photo"` + Picture string `json:"picture"` + Video []HonorVideoType `json:"video"` + Remark string `json:"remark"` + Editable bool `json:"editable"` + BtnDis bool `json:"btnDis"` +} + +func (h *HonorCommentatorType) ParseToArtistHonorRequest(artistUid string) artist.HonorRequest { + return artist.HonorRequest{ + Uid: artistUid, + HonorType: 1, + HonorDetail: h.String(), + } +} +func (h *HonorCommentatorType) String() string { + bytes, _ := json.Marshal(h) + return string(bytes) +} + +type HonorVideoType struct { + CoverUrl string `json:"CoverUrl"` + OriUrl string `json:"OriUrl"` +} + +type BankInfoType struct { + BankNum string `json:"bankNum"` + BankName string `json:"bankName"` +} diff --git a/pkg/service/artistInfo/asArtshow/readme.md b/pkg/service/artistInfo/asArtshow/readme.md new file mode 100644 index 0000000..7255e7d --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/readme.md @@ -0,0 +1,9 @@ +# artshowVideo +## 说明 +画展补充资料提交和审批,包含: +1. 画家补充信息 + 画家补充信息又包含: + 1. 画家补充信息 + 2. 画家指数 + 3. 画家访谈视频 +2. 画作补充信息 \ No newline at end of file diff --git a/pkg/service/artistInfo/asArtshow/sync.go b/pkg/service/artistInfo/asArtshow/sync.go new file mode 100644 index 0000000..bf98b75 --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/sync.go @@ -0,0 +1,68 @@ +// Package asArtshow ----------------------------- +// @file : sync.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/5 上午10:04 +// ------------------------------------------- +package asArtshow + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "sort" +) + +// 同步画家指数到画家系统 +func SyncArtistIndexToArtistSystem(request *artistinfoArtshow.ArtistIndexInfo, c *gin.Context) (err error) { + artistIndexResp, err := service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(c, &artistinfoArtshow.GetArtistIndexListRequest{ArtistUid: request.ArtistUid}) + if err != nil { + return + } + updateArtistSystemIndexRequest := &artist.IndexRequest{ + Uid: request.ArtistUid, + //Exhibition: artistSystemIndex.Exhibition, + //Collectible: artistSystemIndex.Collectible, + //Education: artistSystemIndex.Education, + //Influence: artistSystemIndex.Influence, + //Professionalism: artistSystemIndex.Professionalism, + InSource: 2, //这个字段不要使用artistSystemIndex.InSource,两个字段含义不同 + Exhibition: -1, + Education: -1, + Professionalism: -1, + Influence: -1, + Collectible: -1, + } + //整理画家指数数据,拿每种类型最新的一条数据 + for _, class := range []string{"exhibition", "seniority", "specialized", "Influence", "collect"} { + var classList []*artistinfoArtshow.ArtistIndexInfo + for _, v := range artistIndexResp.Data { + if v.Class == class { + classList = append(classList, v) + } + } + if len(classList) > 0 { + sort.Slice(classList, func(i, j int) bool { + return classList[i].CreatedAt > classList[j].CreatedAt + }) + switch class { + case "exhibition": + updateArtistSystemIndexRequest.Exhibition = utils.If(request.Id == classList[0].Id, request.TitleScore, classList[0].TitleScore).(float32) + case "seniority": + updateArtistSystemIndexRequest.Education = utils.If(request.Id == classList[0].Id, request.TitleScore, classList[0].TitleScore).(float32) + case "specialized": + updateArtistSystemIndexRequest.Professionalism = utils.If(request.Id == classList[0].Id, request.TitleScore, classList[0].TitleScore).(float32) + case "Influence": + updateArtistSystemIndexRequest.Influence = utils.If(request.Id == classList[0].Id, request.TitleScore, classList[0].TitleScore).(float32) + case "collect": + updateArtistSystemIndexRequest.Collectible = utils.If(request.Id == classList[0].Id, request.TitleScore, classList[0].TitleScore).(float32) + } + } + } + fmt.Printf("准备同步画家指数:%+v\n", updateArtistSystemIndexRequest) + _, err = service.GrpcArtistImpl.UpdateIndex(c, updateArtistSystemIndexRequest) + return err +} diff --git a/pkg/service/artistInfo/asArtshow/util.go b/pkg/service/artistInfo/asArtshow/util.go new file mode 100644 index 0000000..2742add --- /dev/null +++ b/pkg/service/artistInfo/asArtshow/util.go @@ -0,0 +1,68 @@ +// Package asArtwork ----------------------------- +// @file : util.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/29 18:33 +// ------------------------------------------- +package asArtshow + +import ( + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "strings" +) + +type ArtworkAward struct { + AwardTime string `json:"award_time"` //获奖时间(画家宝不需要) + AwardContent string `json:"award_content"` //获奖奖项或正文内容 + AwardCert string `json:"award_cert"` //获奖图片 + AwardLink string `json:"award_link"` //链接地址 +} +type tmpArtworkAwardResponse struct { + ArtistMarketId1 int32 + ArtistMarketId2 int32 + ArtistMarketId3 int32 + ArtistMarketDetail string + ArtistMarketUrl1 string + ArtistMarketUrl2 string +} + +func ConvertMarketDataToResponse(ArtworkMarkets []*artistInfoArtwork.ArtworkMarketData) (tmp tmpArtworkAwardResponse) { + for _, v := range ArtworkMarkets { + if v.Detail != "" { + if strings.Contains(v.Detail, "{") { + var detail ArtworkAward + if err := json.Unmarshal([]byte(v.Detail), &detail); err != nil { + fmt.Println(err.Error()) + continue + } + if tmp.ArtistMarketId1 == 0 { + tmp.ArtistMarketDetail = detail.AwardContent + tmp.ArtistMarketUrl1 = detail.AwardCert + tmp.ArtistMarketId1 = int32(v.ID) + } else if tmp.ArtistMarketId2 == 0 { + tmp.ArtistMarketUrl2 = detail.AwardCert + tmp.ArtistMarketId2 = int32(v.ID) + } + } else { + //旧版数据处理优化 + switch v.Type { + case 0: + tmp.ArtistMarketDetail = v.Detail + tmp.ArtistMarketId1 = int32(v.ID) + case 2: + if tmp.ArtistMarketUrl1 == "" { + tmp.ArtistMarketUrl1 = v.Detail + tmp.ArtistMarketId2 = int32(v.ID) + } else if tmp.ArtistMarketUrl2 == "" { + tmp.ArtistMarketUrl2 = v.Detail + tmp.ArtistMarketId3 = int32(v.ID) + } + } + } + } + + } + return +} diff --git a/pkg/service/artistInfo/asArtwork/artwork.go b/pkg/service/artistInfo/asArtwork/artwork.go new file mode 100644 index 0000000..82494d8 --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/artwork.go @@ -0,0 +1,1270 @@ +package asArtwork + +import ( + "bufio" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "golang.org/x/net/context" + "log" + "os" + "path" + "path/filepath" + "sort" + "strconv" + "strings" + "sync" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoContract" + + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func CreateWorkProfile(c *gin.Context) { + var req AddArtWorkRequest + var err error + if err = c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + } + //ArtistUid 默认从token获取 + if req.ArtistUuid == "" { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.ErrorWithMark(c, code, err, "AddArtwork:GetUserInfoWithToken", err.Error()) + return + } + req.ArtistUuid = userInfo.MgmtArtistUid + } + if req.ArtworkType == 0 { + req.ArtworkType = 4 //默认画作类型为:普通画作 + } + if req.CreateSource == 0 { + req.CreateSource = 2 //默认来源:画家宝 + } + // 跳过画作微端的名称不能为空校验 + if req.ArtworkName == "" { + req.ArtworkName = " " + } + req.CreatedDate = stime.TimeToString(time.Now(), stime.Format_Normal_YMD) + artistProfile, err := service.GrpcArtistImpl.ArtistInfo(c, &artist.ArtistInfoRequest{Uid: req.ArtistUuid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "AddArtwork:GrpcArtistImpl.ArtistInfo Error", err.Error()) + return + } + if req.ArtistName == "" { + req.ArtistName = utils.If(artistProfile.ProfileInfo.Name == "", " ", artistProfile.ProfileInfo.Name).(string) + } + // 创建画作 + artworkRes, err := service.GrpcArtworkImpl.CreateArtworkProfile(c, req.ProtoRequest()) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "AddArtwork:CreateArtworkProfile Error", err.Error()) + return + } + //记录画作锁定状态 + _, err = service.GrpcArtistInfoArtworkImpl.CreateArtworkLockRecord(c, &artistInfoArtwork.CreateArtworkLockRecordReq{ + ArtistUid: req.ArtistUuid, + ArtworkUid: artworkRes.Data.ArtworkUuid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "AddArtwork:GrpcArtistInfoArtworkImpl.CreateArtworkLockRecord", err.Error()) + return + } + service.Success(c) + return +} + +// UpdateArtwork 更新画作 +func UpdateArtwork(c *gin.Context) { + //查询用户信息 + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + + //检查用户锁 + _, err = service.GrpcArtistInfoUserImpl.CheckUserLock(c, &artistInfoUser.CheckUserLockRequest{ + Id: int64(userInfo.Id), + }) + if err != nil { + service.Error(c, e.Failed, errors.New("用户已被锁定")) + return + } + + // 解析请求参数 + var req AddArtWorkRequest + if err = c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + //更新数据 + _, err = service.GrpcArtworkImpl.UpdateArtworkProfile(c, req.ProtoRequest()) + if err != nil { + service.Error(c, e.Failed, err, err.Error()) + return + } + service.Success(c) +} + +// UpdateArtwork 更新画作(根据页面进行了优化) +func UpdateArtwork2(c *gin.Context) { + //查询用户信息 + //userInfo, err, code := asAccount.GetUserInfoWithToken(c) + //if err != nil { + // service.Error(c, code, err, err.Error()) + // return + //} + //检查用户锁 + //_, err = service.GrpcArtistInfoUserImpl.CheckUserLock(c, &asUser.CheckUserLockRequest{ + // Id: int64(userInfo.Id), + //}) + //if err != nil { + // service.Error(c, e.Failed, errors.New("用户已被锁定")) + // return + //} + + // 解析请求参数 + var req AddArtWorkRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + //检查画作锁定状态 + artworkLock, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(c, &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: req.ArtworkUuid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtwork2: GetArtworkLockDetail Error", err.Error()) + return + } + if artworkLock.BaseAuditStatus != 1 && artworkLock.BaseAuditStatus != 3 { + service.ErrorWithMark(c, e.Failed, err, fmt.Sprintf("UpdateArtwork2: GetArtworkLockDetail artworkLock.BaseAuditStatus:%s", AuditStatus(artworkLock.BaseAuditStatus)), fmt.Sprintf("画作当前状态为[%s],不允许修改", AuditStatus(artworkLock.BaseAuditStatus))) + return + } + //获取详情 + detailRes, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{Type: "1", ArtworkUuid: req.ArtworkUuid}) + if err != nil { + service.ErrorWithMark(c, e.InvalidParams, err, "UpdateArtwork2: ArtworkDetail Error", err.Error()) + return + } + detailRes.ProfileInfo.ArtworkName = req.ArtworkName + detailRes.ProfileInfo.Length = req.Length + detailRes.ProfileInfo.Width = req.Width + detailRes.ProfileInfo.Ruler = req.Ruler + detailRes.ProfileInfo.CreatedAddress = strings.Join(req.CreatedAddress, ",") + detailRes.ProfileInfo.ArtistPhoto = req.ArtistPhoto + detailRes.ProfileInfo.HdPic = req.HdPic + //更新数据 + _, err = service.GrpcArtworkImpl.UpdateArtworkProfile(c, req.ProtoRequest()) + if err != nil { + service.Error(c, e.Failed, err, err.Error()) + return + } + if artworkLock.BaseAuditStatus == 3 || artworkLock.SupplementAuditStatus == 3 { + var flowIndex int64 = 3 + if artworkLock.BaseAuditStatus == 3 { + flowIndex = 2 + } + if _, err = service.GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus(c, &artistInfoArtwork.UpdateArtworkAuditStatusRequest{ + ArtworkUid: req.ArtworkUuid, + AuditStatus: 2, + FlowIndex: flowIndex, + }); err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateArtwork2 :GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus Error", err.Error()) + return + } + } + service.Success(c) +} + +// GetArtworkProfile 获取画作 +func GetArtworkProfile(c *gin.Context) { + var req ArtworkDetailRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "参数错误") + return + } + if req.ArtworkUuid == "" { + service.Error(c, e.InvalidParams, errors.New("artworkUuid不能为空"), "参数错误") + return + } + req.Type = "1" //1为查询首选项 + res, err := service.GrpcArtworkImpl.ArtworkDetail(c, req.ProtoRequest()) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkProfile GrpcArtworkImpl.ArtworkDetail Error", err.Error()) + return + } + artworkLock, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(c, &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: req.ArtworkUuid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkProfile GrpcArtistInfoArtworkImpl.GetArtworkLockDetail Error", err.Error()) + return + } + var response = ArtworkDetailResponse{} + response.Convert(res, artworkLock) + service.Success(c, response) +} + +// GetArtworkList 获取画作列表 +// +// func GetArtworkList(c *gin.Context) { +// var req artwork_query.ArtworkPreviewListRequest +// if err := c.ShouldBindJSON(&req); err != nil { +// service.Error(c, e.InvalidParams, err, "无效参数") +// return +// } +// res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &req) +// if err != nil { +// service.ErrorWithMark(c, e.Failed, err, "GetArtworkList:ArtworkList", "查询失败") +// return +// } +// var respList = []ArtworkListResponse{} +// if len(res.Data) > 0 { +// for _, v := range res.Data { +// //todo 最好通过列表接口返回需要的字段 +// artworkDetail, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ArtworkUuid: v.ArtworkUid, Type: "1"}) +// if err != nil { +// log.Println("rpcArtworkImpl.ArtworkDetail ERROR", err.Error()) +// } +// var inscribeDate string +// if artworkDetail != nil && artworkDetail.ProfileInfo != nil { +// inscribeDate = artworkDetail.ProfileInfo.InscribeDate +// } +// var item = ArtworkListResponse{ +// ArtistUid: v.ArtistUuid, +// ArtworkName: v.ArtworkName, +// Length: v.Length, +// Width: v.Width, +// Ruler: v.Ruler, +// CreatedAddress: v.CreatedAddress, +// ArtistPhoto: v.ArtistPhoto, +// HdPic: v.HdPic, +// ArtworkUid: v.ArtworkUid, +// CreateDate: v.CreateDate, +// InscribeDate: inscribeDate, +// } +// respList = append(respList, item) +// } +// } +// service.ResponseList(c, respList, service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功")) +// } + +// 第二版画作列表接口 +func GetArtworkList2(c *gin.Context) { + var req GetArtworkListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + // 从画家宝查询画作 + var err error + var artworks *artistInfoArtwork.ArtworkLockList + var artworkUids []string + switch req.SearchMode { + case 1: //查询锁定的画作 + artworks, err = service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_NowLockedArtwork, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkList2:GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error 1") + } + case 2: //查询解锁的画作 + artworks, err = service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_AllUnlockArtwork, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkList2:GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error 2") + } + default: //所有画作 + artworks, err = service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: req.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkList2:GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error 3") + } + // artworks.Data = append(artworks.Data, artworks2.Data...) + } + for _, v := range artworks.Data { + artworkUids = append(artworkUids, v.ArtworkUid) + } + var total int64 = int64(len(artworkUids)) + if total == 0 { + service.ResponseList(c, nil, service.OptionPage(req.Page, req.PageSize, total), service.OptionMsg("查询成功")) + return + } + //从画作服务查询画作数据 + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ + Page: 1, + PageSize: int32(len(artworkUids)), + ArtworkUids: artworkUids, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkList:ArtworkList", "查询失败") + return + } + var respList = []ArtworkListResponse{} + if len(res.Data) > 0 { + for k, v := range res.Data { + if int64(k) >= req.PageSize*(req.Page-1) && int64(k) < req.PageSize*req.Page { + //todo 最好通过列表接口返回需要的字段 + artworkDetail, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ArtworkUuid: v.ArtworkUid, Type: "1"}) + if err != nil { + log.Println("rpcArtworkImpl.ArtworkDetail ERROR", err.Error()) + } + var inscribeDate string + if artworkDetail != nil && artworkDetail.ProfileInfo != nil { + inscribeDate = artworkDetail.ProfileInfo.InscribeDate + } + var ( + auditFlowIndex = "无" + auditStatus = "无" + updatedAt string + createdAt string + ) + for _, auditRecord := range artworks.Data { + if auditRecord.ArtworkUid == v.ArtworkUid { + auditFlowIndex, auditStatus = DescriptionAuidtStatusAtNow(auditRecord) + updatedAt = time.Unix(auditRecord.UpdatedAt, 0).Format(stime.Format_Normal_YMDhms) + createdAt = time.Unix(auditRecord.CreatedAt, 0).Format(stime.Format_Normal_YMDhms) + } + } + + //获取画作合同状态 + getContractStateRespond, err := service.GrpcArtistInfoContracImpl.GetContractState(c, &artistInfoContract.GetContractStateRequest{AristUid: v.ArtistUuid, ArtworkUid: v.ArtworkUid}) + if err != nil { + return + } + + if getContractStateRespond != nil { + var item = ArtworkListResponse{ + CreatedAt: createdAt, + UpdatedAt: updatedAt, + ArtistUid: v.ArtistUuid, + ArtworkName: v.ArtworkName, + Length: v.Length, + Width: v.Width, + Ruler: v.Ruler, + CreatedAddress: v.CreatedAddress, + ArtistPhoto: v.ArtistPhoto, + HdPic: v.HdPic, + ArtworkUid: v.ArtworkUid, + CreateDate: v.CreateDate, + InscribeDate: inscribeDate, + FolwIndexAtNow: auditFlowIndex, + AuditStatusStr: auditStatus, + FirstState: getContractStateRespond.FirstState, + SecondState: getContractStateRespond.SecondState, + ThirdState: getContractStateRespond.ThirdState, + Tfnum: v.Tfnum, + } + respList = append(respList, item) + } + } + } + } + sort.Slice(respList, func(i, j int) bool { + return respList[i].Tfnum < respList[j].Tfnum + }) + service.ResponseList(c, respList, service.OptionPage(req.Page, req.PageSize, total), service.OptionMsg("查询成功")) +} + +// GetArtworkPreviewList 获取画作预览列表(画作管理中的列表) +func GetArtworkPreviewListAtUserSide(c *gin.Context) { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + var req GetArtworkPreviewListReq + if err = c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.ArtistUid == "" { + req.ArtistUid = userInfo.MgmtArtistUid + } + //获取当前暂存或经锁定的画作 + GetArtworkPreviewList(c, &req, artistInfoArtwork.ArtworkQueryMode_NowPreSaveAndLocked) +} + +func GetArtworkHistoryList(c *gin.Context) { + var req = artwork_query.ArtworkPreviewListRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.ArtistUid == "" { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + req.ArtistUid = userInfo.MgmtArtistUid + } + // 获取画作历史记录 + records, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockHistoryGroup(c, &artistInfoArtwork.GetArtworkLockHistoryRequest{ + ArtistUid: req.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkList:GrpcArtistInfoArtworkImpl.GetArtworkLockRecords", "查询失败") + return + } + if len(records.GroupList) == 0 { + service.ResponseList(c, []struct{}{}, service.OptionPage(req.Page, req.PageSize, 0), service.OptionMsg("查询成功")) + return + } + var returData = ArtworkLockRecordList{} + returData.ConvertData(records.GroupList) + service.ResponseList(c, returData.Data, service.OptionPage(1, len(records.GroupList), len(records.GroupList)), service.OptionMsg("查询成功")) +} + +// DelArtwork 删除画作 +func DelArtwork(c *gin.Context) { + //查询用户信息 + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + + //检查用户锁 + _, err = service.GrpcArtistInfoUserImpl.CheckUserLock(c, &artistInfoUser.CheckUserLockRequest{ + Id: int64(userInfo.Id), + }) + if err != nil { + service.Error(c, e.Failed, errors.New("用户已被锁定")) + return + } + + var req DelAwRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "参数错误") + return + } + if req.ArtworkUuid == "" { + service.Error(c, e.InvalidParams, errors.New("artworkUid不能为空"), "参数错误") + return + } + //删除画作 + res, err := service.GrpcArtworkQueryImpl.DelArtwork(c, req.ProtoRequest()) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DelArtwork: ArtworkQueryImpl.DelArtwork Error", res.Msg) + return + } + //删除锁定记录 + _, err = service.GrpcArtistInfoArtworkImpl.DeleteArtworkRecord(c, &artistInfoArtwork.DeleteArtworkRecordRequest{ArtworkUids: []string{req.ArtworkUuid}}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DelArtwork: GrpcArtistInfoArtworkImpl.DeleteArtworkRecord Error", res.Msg) + return + } + service.Success(c) + return +} + +func UploadArtwork(c *gin.Context) { + //创建一个UserLoginService对象 + //var req asArtwork.UploadArtworkRequest + //claims, err := utils.ParseToken(c.GetHeader("Authorization")) + //if err != nil { + // service.Error(c, e.Failed, err) + // return + //} + //if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + // service.Error(c, e.InvalidParams, err, err.Error()) + // return + //} + //var userLock = artistinfo.CheckUserLockRequest{ + // Id: int64(claims.ID), + //} + //_, err = service.GrpcArtistInfoUserImpl.CheckUserLock(c, &userLock) + //fmt.Println("?????") + //if err != nil { + // fmt.Println("!!!!!") + // fmt.Println(err.Error()) + // service.Error(c, e.InvalidParams, err, err.Error()) + // return + //} + //res, err := service.GrpcArtworkImpl.UploadArtwork(c, &req) + //if err != nil { + // service.Error(c, e.InvalidParams, err, err.Error()) + // return + //} + //service.Success(c, res) +} + +func ImportArtowrkToArtworkService(c *gin.Context) { + var req artwork.UpdateInsourceReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.ArtworkUid == "" && len(req.ArtworkUids) == 0 { + service.Error(c, e.InvalidParams, nil, "参数不能为空") + return + } + if req.InSource == artwork.InSource_InsourceNone { + req.InSource = artwork.InSource_InSourceManagerAndBox + } + fmt.Printf("导入画作:artwork_uid =%v insource=%d\n", req.ArtworkUid, req.InSource) + _, err := service.GrpcArtworkImpl.UpdateInsource(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ImportArtowrkToArtworkService GrpcArtworkImpl.UpdateInsource", "更新失败") + return + } + //按业务部需求,导入后要将尺寸相关设置为0 + var artistUid string + if req.InSource == 3 { + artworkProfile, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ArtworkUuid: req.ArtworkUid, Type: "1"}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ImportArtowrkToArtworkService GrpcArtworkImpl.ArtworkDetail 111", "画作信息查询失败") + return + } + artistUid = artworkProfile.ProfileInfo.ArtistUuid + artworkProfile.ProfileInfo.Length = 0 + artworkProfile.ProfileInfo.Width = 0 + artworkProfile.ProfileInfo.Ruler = 0 + _, err = service.GrpcArtworkImpl.UpdateArtworkProfile(c, artworkProfile.ProfileInfo) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ImportArtowrkToArtworkService GrpcArtworkImpl.ArtworkDetail 222", "清除画作尺寸失败") + return + } + + } + //根据画家锁定状态,提供提示 + if artistUid != "" { + userInfo, err := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{MgmtArtistUid: artistUid}) + if err != nil || (err == nil && userInfo.IsLock) { + service.Success(c) + } else if err == nil && !userInfo.IsLock { + service.ResponseQuickMsg(c, 0, "注意:画家尚未锁定,画作处于可删除状态!", nil) + } + } else { + service.Success(c) + } +} +func GetArtworkPreviewListAtBackendSide2(c *gin.Context) { + var req GetArtworkPreviewListReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + + result, err := handleArtworkPreviewList(&req, c) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoArtworkImpl.GetArtworkViewList Err", err.Error()) + return + } + var resp []ArtworkViewDetailListType + copier.Copy(&resp, &result.Datas) + if len(resp) > 0 { + //获取释义补充信息 + for i, v := range resp { + detail, errs := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{Type: "7", ArtworkUuid: v.ArtworkUid}) + if errs != nil { + continue + } + resp[i].CommentData = detail.CopyRightInfo.Supplement + time.Sleep(50 * time.Millisecond) + } + } + service.ResponseList(c, resp, + service.OptionPage(req.Page, req.PageSize, result.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} +func handleArtworkPreviewList(req *GetArtworkPreviewListReq, c *gin.Context) (datas *artistInfoArtwork.GetArtworkViewListResponse, err error) { + var order []string + if req.SortField != "" { + var orderType = "asc" + if req.SortOrder == "descend" { + orderType = "desc" + } + order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(req.SortField), orderType)) + } + var where string + if req.QueryUnfinishedAudit == 1 { + where = "(base_audit_status < 3 or base_audit_status = 7)" + } + if req.QueryHaveProof == 1 { + if where != "" { + where += " AND " + } + where += "national_exhibition_proof !='' " + } + if req.NationalExhibition != 0 { + if where != "" { + where += " AND " + } + where += fmt.Sprintf("national_exhibition = %d ", req.NationalExhibition) + } + if req.RulerStart != nil { + if where != "" { + where += " AND " + } + where += fmt.Sprintf("ruler >= %d", *req.RulerStart) + } + if req.RulerEnd != nil { + if where != "" { + where += " AND " + } + where += fmt.Sprintf("ruler <= %d", *req.RulerEnd) + } + if req.BaseAuditStatus == 10 { + //查询所有画作 + req.BaseAuditStatus = 0 + if where != "" { + where += " AND " + } + where += "(base_audit_status<4 or base_audit_status=7)" + } + var mode artistInfoArtwork.ArtworkQueryMode + if req.History { + //查询历史画作 + mode = artistInfoArtwork.ArtworkQueryMode_AllUnlockArtwork + } else if req.BaseAuditStatus == 1 { + //查询暂存的画作 + mode = artistInfoArtwork.ArtworkQueryMode_NowPreSaveArtwork + } else { + //查询当前处于画作补充信息审批流程中的画作(未完成的画作) + mode = artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfBase + } + if req.PageSize <= 500 { + datas, err = service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtistUid: req.ArtistUid, + QueryType: mode, + BaseAuditStatus: req.BaseAuditStatus, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + ArtworkUids: req.ArtworkUids, + Page: int64(req.Page), + PageSize: int64(req.PageSize), + Order: order, + ArtworkName: req.ArtworkName, + ArtistName: req.ArtistName, + Status: nil, + Tfnum: req.Tfnum, + StartBaseInfoArtistUpdateAt: req.StartBaseInfoArtistUpdateAt, + EndBaseInfoArtistUpdateAt: req.EndBaseInfoArtistUpdateAt, + Where: where, + }) + } else if req.PageSize == 9999 { + fmt.Println("分页遍历获取全量数据") + //分页遍历获取全量数据 + datas = &artistInfoArtwork.GetArtworkViewListResponse{} + var page int64 = 1 + var pageSize int64 = 500 + var total int64 = 0 + fmt.Println("page", page) + data1, err2 := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtistUid: req.ArtistUid, + QueryType: mode, + BaseAuditStatus: req.BaseAuditStatus, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + ArtworkUids: req.ArtworkUids, + Page: page, + PageSize: pageSize, + Order: order, + ArtworkName: req.ArtworkName, + ArtistName: req.ArtistName, + Status: nil, + Tfnum: req.Tfnum, + StartBaseInfoArtistUpdateAt: req.StartBaseInfoArtistUpdateAt, + EndBaseInfoArtistUpdateAt: req.EndBaseInfoArtistUpdateAt, + Where: where, + }) + if err2 != nil { + err = err2 + return + } + total = data1.Total + fmt.Println("total", total) + datas.Total = data1.Total + datas.PageSize = int32(data1.Total) + datas.Page = 1 + datas.Datas = append(datas.Datas, data1.Datas...) + for page*pageSize < total { + page++ + fmt.Println("page", page) + data1, err = service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtistUid: req.ArtistUid, + QueryType: mode, + BaseAuditStatus: req.BaseAuditStatus, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + ArtworkUids: req.ArtworkUids, + Page: page, + PageSize: pageSize, + Order: order, + ArtworkName: req.ArtworkName, + ArtistName: req.ArtistName, + Tfnum: req.Tfnum, + StartBaseInfoArtistUpdateAt: req.StartBaseInfoArtistUpdateAt, + EndBaseInfoArtistUpdateAt: req.EndBaseInfoArtistUpdateAt, + }) + if err != nil { + return + } + datas.Datas = append(datas.Datas, data1.Datas...) + } + } else { + err = errors.New("数据量过大,请缩小分页再试") + } + return datas, err +} +func GetArtworkPreviewDetailAtBackendSide2(c *gin.Context) { + var req GetArtworkPreviewDetailReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + + datas, err := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtworkUids: []string{req.ArtworkUid}, + Page: 1, + PageSize: 1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoArtworkImpl.GetArtworkViewList Err", err.Error()) + return + } + //var returnData = &artistInfoArtwork.ArtworkViewDetail{} + //if len(datas.Datas) > 0 { + // returnData = datas.Datas[0] + //} + //service.ResponseData(c, returnData, service.OptionMsg("查询成功")) + var tempData []map[string]any + if len(datas.Datas) > 0 { + jsonBytes, _ := json.Marshal(datas.Datas) + _ = json.Unmarshal(jsonBytes, &tempData) + service.FillArtshowCount(tempData, "artistUid") + service.ResponseData(c, tempData[0], service.OptionMsg("查询成功")) + } else { + service.ResponseData(c, nil, service.OptionMsg("查询成功")) + } +} + +// GetArtworkPreviewListAtBackendSide +// Deprecated +func GetArtworkPreviewListAtBackendSide(c *gin.Context) { + var req GetArtworkPreviewListReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.ArtistUid == "" { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + //使用画作名称模糊查询画作列表 + var isSearhArtwork bool + if req.ArtworkName != "" { + isSearhArtwork = true + var artworkUids []string + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ArtworkName: req.ArtworkName, ArtistUid: req.ArtistUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkPreviewListAtBackendSide: GrpcArtworkQueryImpl.ArtworkPreviewList Error", "画作服务查询失败") + } + for _, v := range res.Data { + artworkUids = append(artworkUids, v.ArtworkUid) + } + req.ArtworkUids = artworkUids + } + if isSearhArtwork && len(req.ArtworkUids) == 0 { + service.ResponseList(c, []struct{}{}, service.OptionPage(req.Page, req.PageSize, 0), service.OptionMsg("查询成功")) + return + } + if req.History { + //查询历史画作 + GetArtworkPreviewList(c, &req, artistInfoArtwork.ArtworkQueryMode_AllUnlockArtwork) + } else if req.BaseAuditStatus == 1 { + //查询暂存的画作 + GetArtworkPreviewList(c, &req, artistInfoArtwork.ArtworkQueryMode_NowPreSaveArtwork) + } else { + //查询当前处于画作补充信息审批流程中的画作(未完成的画作) + GetArtworkPreviewList(c, &req, artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfBase) + } +} + +// GetArtworkPreviewListAtBackendSideExport +// Deprecated +func GetArtworkPreviewListAtBackendSideExport(c *gin.Context) { + var req GetArtworkPreviewExportReq + var exportUrl string + if err := c.ShouldBindJSON(&req); err != nil { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if req.ColumnId == "" { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + //if req.ArtistUid == "" { + // service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + // return + //} + //根据ID查询导出字段信息 + var exportFileReq artistInfoArtwork.ExportFieldDataReq + exportFileReq.ColumnId = req.ColumnId + exportDataResp, err := service.GrpcArtistInfoArtworkImpl.ExportFieldData(context.Background(), &exportFileReq) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if exportDataResp == nil || exportDataResp.Data == nil || len(exportDataResp.Data) == 0 { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + + //使用画作名称模糊查询画作列表 + var isSearhArtwork bool + if req.ArtworkName != "" { + isSearhArtwork = true + var artworkUids []string + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ArtworkName: req.ArtworkName, ArtistUid: req.ArtistUid}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + for _, v := range res.Data { + artworkUids = append(artworkUids, v.ArtworkUid) + } + req.ArtworkUids = artworkUids + } + if req.ArtworkUuids != nil && len(req.ArtworkUuids) != 0 { + req.ArtworkUids = req.ArtworkUuids + } + if isSearhArtwork && len(req.ArtworkUids) == 0 { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + var result []ArtworkPreviewResponse + var listReq GetArtworkPreviewListReq + _ = copier.Copy(&listReq, &req) + if req.History { + //查询历史画作 + result, err = GetArtworkPreviewListData(&listReq, artistInfoArtwork.ArtworkQueryMode_AllUnlockArtwork) + } else if req.BaseAuditStatus == 1 { + //查询暂存的画作 + result, err = GetArtworkPreviewListData(&listReq, artistInfoArtwork.ArtworkQueryMode_NowPreSaveArtwork) + } else { + //查询当前处于画作补充信息审批流程中的画作(未完成的画作) + result, err = GetArtworkPreviewListData(&listReq, artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfBase) + } + if err != nil { + //service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + service.ErrorWithMark(c, e.Failed, err, "GetArtworkPreviewListAtBackendSideExport:GetArtworkPreviewListData", "查询失败") + return + } + if len(result) == 0 { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + // 如果字段有画家名字或者笔名 + var selectArtistInfo bool + var columns, columnStruct, columnDesc []string + for _, v := range exportDataResp.Data { + columns = append(columns, v.ColumnDesc) + columnStruct = append(columnStruct, v.StructName) + columnDesc = append(columnDesc, v.ColumnDesc) + if v.StructName == "ArtistName" || v.StructName == "PenName" { + selectArtistInfo = true + } + } + + fmt.Println("1") + + //var exportData []ArtworkPreviewExport + //copier.Copy(&exportData, result) + var artistUuids []string + for k, _ := range result { + //result[k].ArtistName = req.ArtistName + //result[k].PenName = req.PenName + if selectArtistInfo { + artistUuids = append(artistUuids, result[k].ArtistUuid) + } + } + fmt.Println("2") + if len(artistUuids) > 0 { + getInfoResp, errS := service.GrpcArtistImpl.ArtistData(context.Background(), &artist.ArtistDataRequest{Uids: artistUuids}) + if errS != nil { + service.ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + if getInfoResp.Data != nil && len(getInfoResp.Data) > 0 { + for k, v := range result { + for _, vv := range getInfoResp.Data { + if vv.ProfileInfo.Uid == v.ArtistUuid { + result[k].ArtistName = vv.ProfileInfo.Name + result[k].PenName = vv.ProfileInfo.PenName + } + } + } + } + } + fmt.Println("3") + var adminId uint64 + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + if req.ExportType == 1 { + fileName := fmt.Sprintf("%s%d%s", model.EXPORT_ARTISTARTWORK_FILENAME, adminId, model.EXCEL_FILE_SUFFIX) + filePath := fmt.Sprintf("./runtime/%s", fileName) + _ = excelData(c, result, columnStruct, columns, filePath) + exportUrl = fileName + } else { + + exportUrl, err = RegroupArtworkDownloadData(result, columnStruct, columnDesc, adminId, model.DownloadFile, model.EXPORT_ARTISTARTWORK_FILE_FILENAME) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + fmt.Println("4") + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + exportUrl = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, exportUrl) + service.ResponseQuickMsg(c, e.Ok, "", &ExportData{ExportUrl: exportUrl}) + return +} + +func GetArtworkPreviewListAtBackendSideExport2(c *gin.Context) { + var req GetArtworkPreviewExportReq + var exportUrl string + if err := c.ShouldBindJSON(&req); err != nil { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if req.ColumnId == "" { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + //if req.ArtistUid == "" { + // service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + // return + //} + //根据ID查询导出字段信息 + var exportFileReq artistInfoArtwork.ExportFieldDataReq + exportFileReq.ColumnId = req.ColumnId + exportDataResp, err := service.GrpcArtistInfoArtworkImpl.ExportFieldData(context.Background(), &exportFileReq) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if exportDataResp == nil || exportDataResp.Data == nil || len(exportDataResp.Data) == 0 { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + var isSearhArtwork bool + if req.ArtworkName != "" { + isSearhArtwork = true + var artworkUids []string + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ArtworkName: req.ArtworkName, ArtistUid: req.ArtistUid}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + for _, v := range res.Data { + artworkUids = append(artworkUids, v.ArtworkUid) + } + req.ArtworkUids = artworkUids + } + if isSearhArtwork && len(req.ArtworkUids) == 0 { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + var result []ArtworkPreviewResponse + var listReq GetArtworkPreviewListReq + _ = copier.Copy(&listReq, &req) + if req.ArtworkUuids != nil && len(req.ArtworkUuids) != 0 { + listReq.ArtworkUids = req.ArtworkUuids + } + previewData, err := handleArtworkPreviewList(&listReq, c) + if err != nil { + if strings.HasPrefix(err.Error(), "grpc: received message larger than max") { + service.ErrorWithMark(c, e.Failed, err, "export:handleArtworkPreviewList", "数据量过大,请分页导出") + } else if "数据量过大,请缩小分页再试" == err.Error() { + service.ErrorWithMark(c, e.Failed, err, "export:handleArtworkPreviewList", "数据量过大,请缩小分页再试") + } else { + service.ErrorWithMark(c, e.Failed, err, "export:handleArtworkPreviewList", "查询失败") + } + return + } + if previewData.Total == 0 { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + //数据清晰 + for _, v := range previewData.Datas { + result = append(result, ArtworkPreviewResponse{ + //DeletedAt: v.DeletedAt, + //PenName: v.pEN, + //Id: v, + ArtistUuid: v.ArtistUid, + ArtworkName: v.ArtworkName, + Length: v.Length, + Width: v.Width, + Ruler: v.Ruler, + CreatedAddress: v.CreatedAddress, + ArtistPhoto: v.ArtistPhoto, + HdPic: v.HdPic, + ArtworkUid: v.ArtworkUid, + CreatedDate: v.CreatedDate, + LockStatus: int64(v.LockStatus), + CreatedAt: v.CreatedAt, + UpdatedAt: v.UpdatedAt, + BaseAuditStatus: v.BaseAuditStatus, + BaseAuditMark: v.BaseAuditMark, + BaseAuditMark2: v.BaseAuditMark2, + SupplementAuditStatus: v.SupplementAuditStatus, + SupplementAuditMark: v.SupplementAuditMark, + SupplementAuditMark2: v.SupplementAuditMark2, + AuditFlowIndex: v.AuditFlowIndex, + Insource: v.InSource, + NationalExhibition: int64(v.NationalExhibition), + TfNum: v.Tfnum, + ArtworkType: v.ArtworkType, + ArtistName: v.ArtistName, + BaseInfoArtistUpdateAt: v.BaseInfoArtistUpdateAt, + BaseInfoLatestOperator: v.BaseInfoLatestOperator, + BaseInfoLatestOperationTime: v.BaseInfoLatestOperationTime, + SupplyInfoArtistUpdateAt: v.SupplyInfoArtistUpdateAt, + SupplyInfoLatestOperator: v.SupplyInfoLatestOperator, + SupplyInfoLatestOperationTime: v.SupplyInfoLatestOperationTime, + NationalExhibitionProof: v.NationalExhibitionProof, + }) + } + // 如果字段有画家名字或者笔名 + var selectArtistInfo bool + var columns, columnStruct, columnDesc []string + for _, v := range exportDataResp.Data { + columns = append(columns, v.ColumnDesc) + columnStruct = append(columnStruct, v.StructName) + columnDesc = append(columnDesc, v.ColumnDesc) + if v.StructName == "ArtistName" || v.StructName == "PenName" { + selectArtistInfo = true + } + } + + fmt.Println("1") + + //var exportData []ArtworkPreviewExport + //copier.Copy(&exportData, result) + var artistUuids []string + for k, _ := range result { + //result[k].ArtistName = req.ArtistName + //result[k].PenName = req.PenName + if selectArtistInfo { + artistUuids = append(artistUuids, result[k].ArtistUuid) + } + } + fmt.Println("2 更新画家信息") + if len(artistUuids) > 0 { + getInfoResp, errS := service.GrpcArtistImpl.ArtistData(context.Background(), &artist.ArtistDataRequest{Uids: artistUuids}) + if errS != nil { + service.ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + if getInfoResp.Data != nil && len(getInfoResp.Data) > 0 { + for k, v := range result { + for _, vv := range getInfoResp.Data { + if vv.ProfileInfo.Uid == v.ArtistUuid { + result[k].ArtistName = vv.ProfileInfo.Name + result[k].PenName = vv.ProfileInfo.PenName + } + } + } + } + } + fmt.Println("3") + var adminId uint64 + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + if req.ExportType == 1 { + fileName := fmt.Sprintf("%s%d%s", model.EXPORT_ARTISTARTWORK_FILENAME, adminId, model.EXCEL_FILE_SUFFIX) + _ = utils.CreateDirPath("./runtime") + filePath := fmt.Sprintf("./runtime/%s", fileName) + _ = excelData(c, result, columnStruct, columns, filePath) + exportUrl = fileName + } else { + exportUrl, err = RegroupArtworkDownloadData(result, columnStruct, columnDesc, adminId, model.DownloadFile, model.EXPORT_ARTISTARTWORK_FILE_FILENAME) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + fmt.Println("4") + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + exportUrl = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, exportUrl) + service.ResponseQuickMsg(c, e.Ok, "", &ExportData{ExportUrl: exportUrl}) + return +} +func excelData(c *gin.Context, result []ArtworkPreviewResponse, columnStruct []string, columns []string, filePath string) (err error) { + data, _ := RegroupArtistInfoArtworkExcelData(result, columnStruct, nil) + _, _ = utils.ToExcelByType(columns, data, "slice", filePath) + return +} + +func RegroupArtistInfoArtworkExcelData(sourceData []ArtworkPreviewResponse, columnStruct []string, tagInfo map[int32]string) (data []interface{}, err error) { + if len(sourceData) > 0 { + for _, v := range sourceData { + //vData, err := utils.SimpleStructField(v) + //fmt.Println(err) + vData := utils.StructToMap(v) + //查询标签信息 + var temp []string + for _, keyName := range columnStruct { + //if strings.Count(allColumns, fmt.Sprintf("%s,", columnStruct[i])) > 0 { + // keyName := columnStruct[i] + columnVal := fmt.Sprintf("%v", vData[keyName]) + // 如果是需要处理的字段 则特殊处理 + switch keyName { + case "ArtworkType": + typeId, _ := strconv.Atoi(columnVal) + columnVal = model.ArtworkTypeMap[uint8(typeId)] + case "Insource": + typeId, _ := strconv.Atoi(columnVal) + columnVal = model.ArtworkInSource[uint8(typeId)] + case "NationalExhibition": + typeId, _ := strconv.Atoi(columnVal) + columnVal = model.NationalExhibitionMap[uint8(typeId)] + case "BaseAuditStatus": + typeId, _ := strconv.Atoi(columnVal) + columnVal = model.BaseAuditStatusMap[uint8(typeId)] + } + if columnVal == "" { + columnVal = "" + } + temp = append(temp, columnVal) + //} + } + data = append(data, &temp) + } + } + return +} + +func RegroupArtworkDownloadData(sourceData []ArtworkPreviewResponse, columnStruct []string, columnDesc []string, adminId uint64, downloadType uint, downloadFileName string) (zipPath string, err error) { + var downloadDir string = fmt.Sprintf("%s/%s", "runtime/tmp/artworks", "download") + //var downloadPath = fmt.Sprintf("%s/%v", downloadDir, adminId) + var downloadPath = filepath.Join(downloadDir, fmt.Sprintf("%v", adminId)) + var fileNum int32 + if len(sourceData) > 0 { + var downloadImgPathArtwork string + var wg sync.WaitGroup + wg.Add(1) + go func() { + defer wg.Done() + for _, v := range sourceData { + //wg.Add(1) + //go func(v *artist.ExportArtistResponse_Info) { + //defer wg.Done() + var downloadHashPathArtwork = fmt.Sprintf("%s/%v", downloadPath, v.TfNum) + vData := utils.StructToMap(v) + //查询标签信息 + for key, keyName := range columnStruct { + downloadImgPathArtwork = fmt.Sprintf("%s", downloadPath) + columnVal := fmt.Sprintf("%v", vData[keyName]) + if columnVal != "" { + switch downloadType { + case model.DownloadFile: + if len(columnVal) > 8 && columnVal[:4] == "http" { + fileNum++ + downloadImgPathArtwork = fmt.Sprintf("%s/%s", downloadImgPathArtwork, columnDesc[key]) + _, _ = utils.SaveUrlFileDisk(columnVal, downloadImgPathArtwork, fmt.Sprintf("%v_%v%v", v.TfNum, v.ArtworkName, path.Ext(columnVal))) + } + case model.DownloadHash: + //downloadFileName = "画作物权hash" + if err = utils.CreateDirPath(downloadPath); err != nil { + zap.L().Error("SaveUrlFileDisk err ", zap.Error(err)) + return + } + downloadHashPathArtwork = fmt.Sprintf("%s.txt", downloadHashPathArtwork) + file, err := os.OpenFile(downloadHashPathArtwork, os.O_WRONLY|os.O_CREATE, 0666) + if err != nil { + return + } + defer file.Close() + wr := bufio.NewWriter(file) + _, _ = wr.WriteString(columnVal) + _ = wr.Flush() + fileNum++ + } + } + } + } + }() + + //要加入Excel 导出 画家的姓名 编号 画作名称 + err = regroup(sourceData, downloadPath) + + wg.Wait() + if fileNum == 0 { + err = errors.New(e.GetMsg(e.ERROR_NO_FILE)) + return + } + fmt.Println(222222222, time.Now().Unix()) + //zipFilepath := filepath.Join(downloadDir, fmt.Sprintf("%s%v.zip", downloadFileName, adminId)) + zipFilepath := filepath.Join("runtime", fmt.Sprintf("%s%v.zip", downloadFileName, adminId)) + //zipFilepath := fmt.Sprintf("%s/%s%v.zip", downloadDir, downloadFileName, adminId) + defer os.RemoveAll(downloadPath) + if err = utils.ZipFile(downloadPath, zipFilepath); err != nil { + logger.Errorf("utils.ZipFile err", err) + err = errors.New(e.GetMsg(e.ERROR_ZIP)) + return + } + fmt.Println(333333333, time.Now().Unix()) + zipPath = fmt.Sprintf("%s%v.zip", downloadFileName, adminId) + } else { + err = errors.New(e.GetMsg(e.NOTDATA)) + return + } + return +} + +func regroup(sourceData []ArtworkPreviewResponse, downloadPath string) (err error) { + artworkKy := map[string][]*model.ExportArtworkInfo{} + if len(sourceData) > 0 { + for _, v := range sourceData { + var temp model.ExportArtworkInfo + temp.ArtistUuid = v.ArtistUuid + temp.Uuid = v.ArtworkUid + temp.Tfnum = v.TfNum + //temp.Seqnum = v.se + temp.ArtworkName = v.ArtworkName + //temp.RealrightHash = v.RealrightHash + artworkKy[v.ArtistUuid] = append(artworkKy[v.ArtistUuid], &temp) + } + } + fmt.Println(artworkKy) + //_ = artistkyExcel(downloadPath, artworkKy) + fmt.Println(artworkKy) + return +} diff --git a/pkg/service/artistInfo/asArtwork/dtoArtwork.go b/pkg/service/artistInfo/asArtwork/dtoArtwork.go new file mode 100644 index 0000000..e9360b4 --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/dtoArtwork.go @@ -0,0 +1,576 @@ +package asArtwork + +import ( + "strings" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" +) + +type AuditStatus int64 + +const ( + AuditType_preSave AuditStatus = 1 //1= 暂存 + AuditType_Pending AuditStatus = 2 //2= 待审核 + AuditType_Failed AuditStatus = 3 //3= 审核失败 + AuditType_Pass AuditStatus = 4 //4= 审核通过 + AuditType_Supplemented AuditStatus = 5 //5= 待补充 +) + +var auditStatusMaper = map[AuditStatus]string{ + AuditType_preSave: "暂存", + AuditType_Pending: "待审核", + AuditType_Failed: "审核失败", + AuditType_Pass: "审核通过", + AuditType_Supplemented: "待补充", +} + +func (a AuditStatus) String() string { + if a == 0 { + return "无" + } + str, ok := auditStatusMaper[a] + if !ok { + return "未知" + } + return str +} + +type AddArtWorkRequest struct { + ArtistUuid string `json:"artistUid"` //画家uuid + ArtworkName string `json:"artworkName"` //画作名字 + ArtworkUuid string `json:"artworkUid"` //画作uuid + ArtCondition int32 `json:"artCondition"` //画作品相 1 完好 2 破损 3 残缺 + Mountmode int32 `json:"mountmode"` //装裱方式 1 画心 + ArtHorizontal int32 `json:"artHorizontal"` //幅式 请求 catlist 接口 + Size int32 `json:"size"` //尺寸 1 大 2中 3小 + Length int32 `json:"length"` //长度 + Width int32 `json:"width"` //宽度 + Ruler int32 `json:"ruler"` //平尺 + InscribeDate string `json:"inscribeDate"` //落款时间 + CreatedDate string `json:"createdDate"` //创作日期 + CreatedAddress []string `json:"createdAddress"` //创作地点 + Abstract string `json:"abstract"` //简介 + Belong int32 `json:"belong"` //归属状态 1 泰丰 2丰链 + FlowState int32 `json:"flowState"` //流程状态 1 丰链 2 托裱 3 泰丰 + ArtQuality int32 `json:"artQuality"` //画作状态 1 完好 2 破损 3 残缺 + ArtworkType int32 `json:"artworkType"` //画作类型 1-优秀画作,2-赠画,3-卷轴,4-普通画作 + IncompletePic []string `json:"incompletePic"` ///画作状态图片 + Signpic string `json:"signpic"` //落款图 + Sealpic string `json:"sealpic"` //人名章图 + ArtistPhoto string `json:"artistPhoto"` //画家画作合照 + PhotoPic string `json:"photoPic"` //手机拍摄 + HdPic string `json:"hdPic"` //高清图 + Material int32 `json:"material"` //画作材质 1 宣纸 2 绢 3 水彩纸 + ArtistName string `json:"artistName"` //画家名字 + CreateSource int32 `json:"createSource"` //1 后台 2 画家宝 + PriceRun float32 `json:"priceRun"` //润格 + Signdate string `json:"signdate"` //签约时间 + PriceRuler float32 `json:"priceRuler"` //平尺单价 + PriceCopyright float32 `json:"priceCopyright"` //版权单价 + PriceArtwork float32 `json:"price_artwork"` //画作单价 + PriceMarket float32 `json:"price_market"` //市场单价 + TreasureName string `json:"treasureName"` //画家宝画作名 + FilterState int32 `json:"filter_state"` //筛选状态1 通过 2 不通过 + StorageStatus int32 `json:"storageStatus"` //库存状态 0=未入库 1=仓库 2 =数字化中 3 =鉴证中 4=出库 + SaleStatus int32 `json:"saleStatus"` //销售状态 0=不在仓库 1=在仓库 2=数字化中 3=鉴证中 4=数字化完 5=鉴证完成 6=待销售 +} + +func (a AddArtWorkRequest) ProtoRequest() *artwork.CreArtProRequest { + return &artwork.CreArtProRequest{ + ArtistUuid: a.ArtistUuid, + ArtistName: a.ArtistName, + ArtworkName: a.ArtworkName, + ArtCondition: a.ArtCondition, + Mountmode: a.Mountmode, + ArtHorizontal: a.ArtHorizontal, + Size: a.Size, + Length: a.Length, + Width: a.Width, + Ruler: a.Ruler, + InscribeDate: a.InscribeDate, + CreatedDate: a.CreatedDate, + CreatedAddress: strings.Join(a.CreatedAddress, ","), + Abstract: a.Abstract, + PriceRuler: a.PriceRuler, + PriceCopyright: a.PriceCopyright, + PriceArtwork: a.PriceArtwork, + PriceMarket: a.PriceMarket, + Belong: a.Belong, + FlowState: a.FlowState, + ArtQuality: a.ArtQuality, + IncompletePic: a.IncompletePic, + Signpic: a.Signpic, + Sealpic: a.Sealpic, + ArtistPhoto: a.ArtistPhoto, + PhotoPic: a.PhotoPic, + HdPic: a.HdPic, + Material: a.Material, + ArtworkUuid: a.ArtworkUuid, + ArtworkType: a.ArtworkType, + CreateSource: a.CreateSource, + TreasureName: a.TreasureName, + FilterState: a.FilterState, + PriceRun: a.PriceRun, + StorageStatus: a.StorageStatus, + SaleStatus: a.SaleStatus, + Signdate: a.Signdate, + } +} + +// type ArtworkListRequest struct { +// Keyword string `json:"keyword" form:"keyword"` +// Page int32 `json:"page" form:"page"` +// PageSize int32 `json:"pageSize" form:"pageSize"` +// StorageStatus int32 `json:"storageStatus" form:"storageStatus"` +// IsOver int32 `json:"isOver" form:"isOver"` +// AdminId int32 `json:"adminId" form:"adminId"` +// ArtistUid string `json:"artistUid" form:"artistUid"` +// InArtShow int32 `json:"inArtShow" form:"inArtShow"` // 是否在画家宝 +// } + +// func (a ArtworkListRequest) GrRpcequest() *artwork_query.ArtworkListRequest { +// var storageStatus = wrapperspb.IntpValue{ +// Value: a.StorageStatus, +// } +// return &artwork_query.ArtworkListRequest{ +// Keyword: a.Keyword, +// Page: a.Page, +// PageSize: a.PageSize, +// StorageStatus: &storageStatus, +// IsOver: a.IsOver, +// AdminId: a.AdminId, +// ArtistUid: a.ArtistUid, +// InArtShow: a.InArtShow, +// } +// } + +type DelAwRequest struct { + ArtworkUuid string `json:"artworkUid"` +} + +func (d DelAwRequest) ProtoRequest() *artwork_query.DelAwRequest { + return &artwork_query.DelAwRequest{ + ArtworkUuid: d.ArtworkUuid, + } +} + +type ArtworkDetailRequest struct { + Type string `json:"type"` + ArtworkUuid string `json:"artworkUid"` +} + +func (d ArtworkDetailRequest) ProtoRequest() *artwork.ArtworkDetailRequest { + return &artwork.ArtworkDetailRequest{ + Type: d.Type, + ArtworkUuid: d.ArtworkUuid, + } +} + +type ArtworkListResponse struct { + // Id int `json:"id"` + // ArtworkUuid string `json:"artworkUid"` + // ArtistName string `json:"artistName"` + // ArtworkName string `json:"artworkName"` + // Length int `json:"length"` + // Width int `json:"width"` + // Ruler int `json:"ruler"` + // Num string `json:"num"` + // HdPic string `json:"hdPic"` + // InStorageTime string `json:"inStorageTime"` + // WtState int `json:"wtState"` + // Changchainstate int `json:"changchainstate"` + // BaiduState int `json:"baiduState"` + // PhotoPic string `json:"photoPic"` + // PriceRun float64 `json:"priceRun"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + // DeletedAt int64 `json:"deletedAt"` + ArtistUid string `json:"artistUid"` + ArtworkName string `json:"artworkName"` + Length int32 `json:"length"` + Width int32 `json:"width"` + Ruler int32 `json:"ruler"` + CreatedAddress string `json:"createdAddress"` + ArtistPhoto string `json:"artistPhoto"` + HdPic string `json:"hdPic"` + ArtworkUid string `json:"artworkUid"` + CreateDate string `json:"createDate"` + InscribeDate string `json:"inscribeDate"` + FolwIndexAtNow string `json:"folwIndexAtNow"` //当前画作审批流位置 + AuditStatusStr string `json:"auditStatusStr"` //画作补充信息审批状态 + FirstState int32 `json:"firstState"` //2、6合同 1:未生成合同 2:已生成合同 + SecondState int32 `json:"secondState"` //3合同 1:未生成合同 2:已生成合同 + ThirdState int32 `json:"thirdState"` //5合同 1:未生成合同 2:已生成合同 + Tfnum string `json:"tfnum"` +} +type ArtworkDetailResponse struct { + ArtworkUuid string `json:"artworkUid"` + ProfileInfo struct { + ArtworkName string `json:"artworkName"` + ArtistName string `json:"artistName"` + ArtCondition int32 `json:"artCondition"` + Mountmode int32 `json:"mountmode"` + ArtHorizontal int32 `json:"artHorizontal"` + Size int32 `json:"size"` + Length int32 `json:"length"` + Width int32 `json:"width"` + Ruler int32 `json:"ruler"` + InscribeDate string `json:"inscribeDate"` + CreatedDate string `json:"createdDate"` + CreatedAddress []string `json:"createdAddress"` + Abstract string `json:"abstract"` + Belong int32 `json:"belong"` + FlowState int32 `json:"flowState"` + ArtQuality int32 `json:"artQuality"` + IncompletePic []string `json:"incompletePic"` + Signpic string `json:"signpic"` + Sealpic string `json:"sealpic"` + ArtistPhoto string `json:"artistPhoto"` + PhotoPic string `json:"photoPic"` + HdPic string `json:"hdPic"` + Material int32 `json:"material"` + ArtworkUuid string `json:"artworkUid"` + ArtistUuid string `json:"artistUuid"` + ArtworkType int32 `json:"artworkType"` + CreateSource int32 `json:"createSource"` + FilterState int32 `json:"filterState"` + PriceRun float32 `json:"priceRun"` + Signdate string `json:"signdate"` + //AuditStatus int64 `json:"auditStatus"` + //AuditMark string `json:"auditMark"` + //AuditMark2 string `json:"auditMark2"` + CreatedAt int64 `json:"createdAt"` + UpdatedAt int64 `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + + BaseAuditStatus int32 `json:"baseAuditStatus"` + BaseAuditMark string `json:"baseAuditMark"` + BaseAuditMark2 string `json:"baseAuditMark2"` + SupplementAuditStatus int32 `json:"supplementAuditStatus"` + SupplementAuditMark string `json:"supplementAuditMark"` + SupplementAuditMark2 string `json:"supplementAuditMark2"` + AuditFlowIndex int32 `json:"auditFlowIndex"` + } `json:"profileInfo"` +} + +func (a *ArtworkDetailResponse) Convert(data *artwork.ArtworkDetailResponse, lockData *artistInfoArtwork.ArtworkLockInfo) { + a.ProfileInfo.ArtworkName = data.ProfileInfo.ArtworkName + a.ProfileInfo.ArtistName = data.ProfileInfo.ArtistName + a.ProfileInfo.ArtCondition = data.ProfileInfo.ArtCondition + a.ProfileInfo.Mountmode = data.ProfileInfo.Mountmode + a.ProfileInfo.ArtHorizontal = data.ProfileInfo.ArtHorizontal + a.ProfileInfo.Size = data.ProfileInfo.Size + a.ProfileInfo.Length = data.ProfileInfo.Length + a.ProfileInfo.Width = data.ProfileInfo.Width + a.ProfileInfo.Ruler = data.ProfileInfo.Ruler + a.ProfileInfo.InscribeDate = data.ProfileInfo.InscribeDate + a.ProfileInfo.CreatedDate = data.ProfileInfo.CreatedDate + a.ProfileInfo.CreatedAddress = strings.Split(data.ProfileInfo.CreatedAddress, ",") + a.ProfileInfo.Abstract = data.ProfileInfo.Abstract + a.ProfileInfo.Belong = data.ProfileInfo.Belong + a.ProfileInfo.FlowState = data.ProfileInfo.FlowState + a.ProfileInfo.ArtQuality = data.ProfileInfo.ArtQuality + a.ProfileInfo.IncompletePic = data.ProfileInfo.IncompletePic + a.ProfileInfo.Signpic = data.ProfileInfo.Signpic + a.ProfileInfo.Sealpic = data.ProfileInfo.Sealpic + a.ProfileInfo.ArtistPhoto = data.ProfileInfo.ArtistPhoto + a.ProfileInfo.PhotoPic = data.ProfileInfo.PhotoPic + a.ProfileInfo.HdPic = data.ProfileInfo.HdPic + a.ProfileInfo.Material = data.ProfileInfo.Material + a.ProfileInfo.ArtworkUuid = data.ProfileInfo.ArtworkUuid + a.ProfileInfo.ArtistUuid = data.ProfileInfo.ArtistUuid + a.ProfileInfo.ArtworkType = data.ProfileInfo.ArtworkType + a.ProfileInfo.CreateSource = data.ProfileInfo.CreateSource + a.ProfileInfo.FilterState = data.ProfileInfo.FilterState + a.ProfileInfo.PriceRun = data.ProfileInfo.PriceRun + a.ProfileInfo.Signdate = data.ProfileInfo.Signdate + //a.ProfileInfo.AuditStatus = lockData.AuditStatus + //a.ProfileInfo.AuditMark = lockData.AuditMark + //a.ProfileInfo.AuditMark2 = lockData.AuditMark2 + a.ProfileInfo.CreatedAt = lockData.CreatedAt + a.ProfileInfo.UpdatedAt = lockData.UpdatedAt + a.ProfileInfo.DeletedAt = lockData.DeletedAt + a.ProfileInfo.BaseAuditStatus = int32(lockData.BaseAuditStatus) + a.ProfileInfo.BaseAuditMark = lockData.BaseAuditMark + a.ProfileInfo.BaseAuditMark2 = lockData.BaseAuditMark2 + a.ProfileInfo.SupplementAuditStatus = lockData.SupplementAuditStatus + a.ProfileInfo.SupplementAuditMark = lockData.SupplementAuditMark + a.ProfileInfo.SupplementAuditMark2 = lockData.SupplementAuditMark2 + a.ProfileInfo.AuditFlowIndex = lockData.AuditFlowIndex +} + +//type ArtworkPreviewResponse struct { +// ID int `json:"ID"` +// CreatedAt time.Time `json:"CreatedAt"` +// UpdatedAt time.Time `json:"UpdatedAt"` +// DeletedAt interface{} `json:"DeletedAt"` +// Id int `json:"id"` +// ArtistId int `json:"artistId"` +// Name string `json:"name"` +// ArtworkId string `json:"artworkId"` +// ModelYear string `json:"modelYear"` +// Photo string `json:"photo"` +// BatchId int `json:"batchId"` +// ArtistPhoto string `json:"artistPhoto"` +// CreateAddress string `json:"createAddress"` +// Width int `json:"width"` +// Height int `json:"height"` +// Ruler int `json:"ruler"` +// AgeOfCreation string `json:"ageOfCreation"` +// CreateTime string `json:"createTime"` +// Introduct string `json:"introduct"` +// NetworkTrace bool `json:"networkTrace"` +// FlowState int `json:"FlowState"` +// Url string `json:"url"` +// Remark string `json:"remark"` +// Remark2 string `json:"remark2"` +// State int `json:"state"` +//} + +type ArtworkPreviewResponse struct { + ArtistUuid string `json:"artistUid"` + ArtworkName string `json:"artworkName"` + Length int32 `json:"length"` + Width int32 `json:"width"` + Ruler int32 `json:"ruler"` + CreatedAddress []string `json:"createdAddress"` + ArtistPhoto string `json:"artistPhoto"` + HdPic string `json:"hdPic"` + ArtworkUid string `json:"artworkUid"` + CreatedDate string `json:"createdDate"` + LockStatus int64 `json:"lockStatus"` + //AuditStatus int64 `json:"auditStatus"` + //AuditMark string `json:"auditMark"` + //AuditMark2 string `json:"auditMark2"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + BaseAuditStatus int32 `json:"baseAuditStatus"` + BaseAuditMark string `json:"baseAuditMark"` + BaseAuditMark2 string `json:"baseAuditMark2"` + SupplementAuditStatus int32 `json:"supplementAuditStatus"` + SupplementAuditMark string `json:"supplementAuditMark"` + SupplementAuditMark2 string `json:"supplementAuditMark2"` + AuditFlowIndex int32 `json:"auditFlowIndex"` + Insource int32 `json:"insource"` + NationalExhibition int64 `json:"nationalExhibition"` //是否入选国家画展 1=无(默认) 2=入围 3=入选 + TfNum string `json:"tfNum"` + ArtworkType int32 `json:"artworkType"` + ArtistName string `json:"artistName"` + PenName string `json:"penName"` + //操作记录相关 + BaseInfoArtistUpdateAt string `json:"baseInfoArtistUpdateAt"` + + BaseInfoLatestOperator int32 `json:"baseInfoLatestOperator"` + BaseInfoLatestOperationTime string `json:"baseInfoLatestOperationTime"` + SupplyInfoArtistUpdateAt string `json:"supplyInfoArtistUpdateAt"` + SupplyInfoLatestOperator int32 `json:"supplyInfoLatestOperator"` + SupplyInfoLatestOperationTime string `json:"supplyInfoLatestOperationTime"` + Id int32 `json:"id"` + NationalExhibitionProof string `json:"nationalExhibitionProof"` +} + +type ArtworkPreviewExport struct { + ArtistUuid string `json:"artistUid"` + ArtworkName string `json:"artworkName"` + Length int32 `json:"length"` + Width int32 `json:"width"` + Ruler int32 `json:"ruler"` + ArtistPhoto string `json:"artistPhoto"` + HdPic string `json:"hdPic"` + ArtworkUid string `json:"artworkUid"` + CreatedDate string `json:"createdDate"` + LockStatus int64 `json:"lockStatus"` + //AuditStatus int64 `json:"auditStatus"` + //AuditMark string `json:"auditMark"` + //AuditMark2 string `json:"auditMark2"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + BaseAuditStatus int32 `json:"baseAuditStatus"` + BaseAuditMark string `json:"baseAuditMark"` + BaseAuditMark2 string `json:"baseAuditMark2"` + SupplementAuditStatus int32 `json:"supplementAuditStatus"` + SupplementAuditMark string `json:"supplementAuditMark"` + SupplementAuditMark2 string `json:"supplementAuditMark2"` + AuditFlowIndex int32 `json:"auditFlowIndex"` + Insource int32 `json:"insource"` + NationalExhibition int64 `json:"nationalExhibition"` //是否入选国家画展 1=无(默认) 2=入围 3=入选 + TfNum string `json:"tfNum"` + ArtworkType int32 `json:"artworkType"` +} + +type ArtworkPreviewListResponse struct { + Data []*ArtworkPreviewResponse +} + +//func (a *ArtworkPreviewResponse) ConvertData() []*artistInfoArtwork.ArtworkPreviewInfo { +// +//} + +type GetArtworkHistoryListRequest struct { +} + +// type GetArtworkHistoryResponse struct { +// LockTime string `json:"lockTime"` +// List []ArtworkPreviewResponse `json:"list"` +// } +// +// type GetArtworkHistoryListResponse []GetArtworkHistoryResponse +// +// func (g *GetArtworkHistoryResponse) Clean(records []*ArtworkPreviewResponse) { +// if len(records) == 0 { +// return +// } +// var group = make(map[string][]ArtworkPreviewResponse, 0) +// for _, record := range records { +// if record == nil { +// continue +// } +// group[record.LockTime] = append(group[record.LockTime], ArtworkPreviewResponse{ +// ArtistUuid: record.ArtistUid, +// ArtworkName: record.ArtworkName, +// Length: record.Length, +// Width: record.Width, +// Ruler: record.Ruler, +// CreatedAddress: record.CreatedAddress, +// ArtistPhoto: record.ArtistPhoto, +// HdPic: record.HdPic, +// ArtworkUid: record.ArtworkUid, +// CreatedDate: record.CreatedDate, +// }) +// } +// if len(group) == 0 { +// return +// } +// for lockTime, datas := range group { +// g = append(g, GetArtworkHistoryResponse{ +// LockTime: "", +// List: datas, +// }) +// } +// } +type ArtworkLockRecord struct { + LockGroup string `json:"lockGroup,omitempty"` + DataList []*ArtworkPreviewResponse `json:"dataList,omitempty"` +} +type ArtworkLockRecordList struct { + Data []*ArtworkLockRecord +} + +func (a *ArtworkLockRecordList) ConvertData(records []*artistInfoArtwork.ArtworkLockRecord) { + for _, v := range records { + var dataList = []*ArtworkPreviewResponse{} + for _, dl := range v.DataList { + dataList = append(dataList, &ArtworkPreviewResponse{ + ArtistUuid: dl.ArtistUuid, + ArtworkName: dl.ArtworkName, + Length: dl.Length, + Width: dl.Width, + Ruler: dl.Ruler, + CreatedAddress: dl.CreatedAddress, + ArtistPhoto: dl.ArtistPhoto, + HdPic: dl.HdPic, + ArtworkUid: dl.ArtworkUid, + CreatedDate: dl.CreatedDate, + LockStatus: int64(dl.LockStatus), + //AuditStatus: dl.AuditStatus, + //AuditMark: dl.AuditMark, + //AuditMark2: dl.AuditMark2, + CreatedAt: time.Unix(dl.CreatedAt, 0).Format(stime.Format_Normal_YMDhms), + UpdatedAt: time.Unix(dl.UpdatedAt, 0).Format(stime.Format_Normal_YMDhms), + DeletedAt: dl.DeletedAt, + BaseAuditStatus: int32(dl.BaseAuditStatus), + BaseAuditMark: dl.BaseAuditMark, + BaseAuditMark2: dl.BaseAuditMark2, + SupplementAuditStatus: dl.SupplementAuditStatus, + SupplementAuditMark: dl.SupplementAuditMark, + SupplementAuditMark2: dl.SupplementAuditMark2, + AuditFlowIndex: dl.AuditFlowIndex, + }) + } + a.Data = append(a.Data, &ArtworkLockRecord{ + LockGroup: v.LockGroup, + DataList: dataList, + }) + } +} + +type ArtworkSupplementPreviewList struct { + ArtistUuid string `json:"artistUuid"` + ArtworkName string `json:"artworkName"` + // 补充信息审批状态 + SupplementAuditStatus int32 `protobuf:"varint,15,opt,name=supplementAuditStatus,proto3" json:"supplementAuditStatus,omitempty"` + SupplementAuditMark string `protobuf:"bytes,16,opt,name=supplementAuditMark,proto3" json:"supplementAuditMark,omitempty"` + SupplementAuditMark2 string `protobuf:"bytes,17,opt,name=supplementAuditMark2,proto3" json:"supplementAuditMark2,omitempty"` + // 当前审批流位置 + AuditFlowIndex int32 `protobuf:"varint,18,opt,name=auditFlowIndex,proto3" json:"auditFlowIndex,omitempty"` +} + +type ImportArtowrkRequest struct { + ArtworkUid string `json:"artworkUid"` + ArtworkUids []string `json:"artworkUids"` +} + +type GetArtworkPreviewListReq struct { + artwork_query.ArtworkPreviewListRequest + History bool `json:"history"` + BaseAuditStatus int64 `json:"baseAuditStatus"` //画作基本信息审核状态 1:暂存 2:待审核 3:审核不通过 4:审核通过 + SupplementAuditStatus int32 `json:"supplementAuditStatus"` //画作补充信息审核状态 1:暂存 2:待审核 3:审核不通过 4:审核通过 + ArtworkName string `json:"artworkName"` + //单数据排序 + SortField string `json:"sortField"` //排序字段 + SortOrder string `json:"sortOrder"` //排序方式 + LockTime string `json:"lockTime"` // 画家最新锁定时间 + + ArtistName string `json:"artistName"` //为数据导出功能提供画家名字模糊查询 + Tfnum string `json:"tfnum"` //画作编号 + //区间 + StartBaseInfoArtistUpdateAt string `json:"startBaseInfoArtistUpdateAt"` //更新时间起始 + EndBaseInfoArtistUpdateAt string `json:"endBaseInfoArtistUpdateAt"` //更新时间结束 + QueryHaveProof int `json:"queryHaveProof"` //拓展查询 查询有未完成审批画作的画家 0不查询 1查询 + QueryUnfinishedAudit int `json:"queryUnfinishedAudit"` //拓展查询 查询有入选凭证的画家 0不查询 1查询 + NationalExhibition int `json:"nationalExhibition"` //国展入选情况 + RulerStart *int `json:"rulerStart"` //平尺数区间起始值 + RulerEnd *int `json:"rulerEnd"` //平尺数区间结束值 +} +type ArtworkViewDetailListType struct { + artistInfoArtwork.ArtworkViewDetail + CommentData string `json:"commentData"` +} +type GetArtworkPreviewDetailReq struct { + ArtworkUid string `json:"artworkUid"` +} + +type GetArtworkPreviewExportReq struct { + artwork_query.ArtworkPreviewListRequest + History bool `json:"history"` + BaseAuditStatus int32 `json:"baseAuditStatus"` //画作基本信息审核状态 1:暂存 2:待审核 3:审核不通过 4:审核通过 + SupplementAuditStatus int32 `json:"supplementAuditStatus"` //画作补充信息审核状态 1:暂存 2:待审核 3:审核不通过 4:审核通过 + ArtworkName string `json:"artworkName"` + //单数据排序 + SortField string `json:"sortField"` //排序字段 + SortOrder string `json:"sortOrder"` //排序方式 + ArtistName string `json:"artistName"` //画家名字 + PenName string `json:"penName"` //笔名 + ColumnId string `json:"columnId"` //字段集合 + ArtworkUuids []string `json:"artworkUuids"` //画作ID + ExportType int32 `json:"exportType"` //操作类型 + StartBaseInfoArtistUpdateAt string `json:"startBaseInfoArtistUpdateAt"` + EndBaseInfoArtistUpdateAt string `json:"endBaseInfoArtistUpdateAt"` +} + +type ExportData struct { + ExportUrl string `json:"exportUrl"` +} +type GetArtworkListRequest struct { + Keyword string `json:"keyword"` + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + ArtistUid string `json:"artistUid"` + SearchMode int `json:"searchMode"` //0=所有画作,1=锁定状态画作 2=解锁的画作(历史数据) +} diff --git a/pkg/service/artistInfo/asArtwork/dtoArtwork_ext.go b/pkg/service/artistInfo/asArtwork/dtoArtwork_ext.go new file mode 100644 index 0000000..066e6cd --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/dtoArtwork_ext.go @@ -0,0 +1,96 @@ +// Package dto ----------------------------- +// @file : artwork_ext.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/2/28 10:35 +// ------------------------------------------- +package asArtwork + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artwork" +) + +type GetExtDataListRequest struct { + ArtistUid string `json:"artistUid"` //可选 艺术家id + ArtworkName string `json:"artworkName"` //可选 画作名称 + AuditStatus int64 `json:"auditStatus"` //可选 审批状态 + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` +} +type SaveArtworkExtDataRequest struct { + Id int32 `json:"id"` + ArtType int32 `json:"artType"` + ArtTitle int32 `json:"artTitle"` + ArtStyle int32 `json:"artStyle"` + Color int32 `json:"color"` + PenTechniques string `json:"penTechniques"` + ArtIdea string `json:"artIdea"` + ExpressIdea string `json:"expressIdea"` + ArtStory string `json:"artStory"` + FirstPublish string `json:"firstPublish"` + FirstPublishImg string `json:"firstPublishImg"` + FirstName string `json:"firstName"` + FirstNameImg string `json:"firstNameImg"` + ThirdComment string `json:"thirdComment"` + ArtworkUuid string `json:"artworkUid"` +} + +func (s SaveArtworkExtDataRequest) ConvertProtoRequest() *artwork.UpdateExtDataRequest { + return &artwork.UpdateExtDataRequest{ + Id: s.Id, + ArtType: s.ArtType, + ArtTitle: s.ArtTitle, + ArtStyle: s.ArtStyle, + Color: s.Color, + PenTechniques: s.PenTechniques, + ArtIdea: s.ArtIdea, + ExpressIdea: s.ExpressIdea, + ArtStory: s.ArtStory, + FirstPublish: s.FirstPublish, + FirstPublishImg: s.FirstPublishImg, + FirstName: s.FirstName, + FirstNameImg: s.FirstNameImg, + ThirdComment: s.ThirdComment, + ArtworkUuid: s.ArtworkUuid, + } + +} + +type ArtworkExtInfo struct { + Id int32 `json:"id"` + ArtType int32 `json:"artType"` + ArtTitle int32 `json:"artTitle"` + ArtStyle int32 `json:"artStyle"` + Color int32 `json:"color"` + PenTechniques string `json:"penTechniques"` + ArtIdea string `json:"artIdea"` + ExpressIdea string `json:"expressIdea"` + ArtStory string `json:"artStory"` + FirstPublish string `json:"firstPublish"` + FirstPublishImg string `json:"firstPublish_img"` + FirstName string `json:"firstName"` + FirstNameImg string `json:"firstName_img"` + ThirdComment string `json:"thirdComment"` + ArtworkUuid string `json:"artworkUid"` +} + +func (a *ArtworkExtInfo) Convert(protoData *artwork.UpdateExtDataRequest) { + if protoData == nil { + return + } + a.Id = protoData.Id + a.ArtType = protoData.ArtType + a.ArtTitle = protoData.ArtTitle + a.ArtStyle = protoData.ArtStyle + a.Color = protoData.Color + a.PenTechniques = protoData.PenTechniques + a.ArtIdea = protoData.ArtIdea + a.ExpressIdea = protoData.ExpressIdea + a.ArtStory = protoData.ArtStory + a.FirstPublish = protoData.FirstPublish + a.FirstPublishImg = protoData.FirstPublishImg + a.FirstName = protoData.FirstName + a.FirstNameImg = protoData.FirstNameImg + a.ThirdComment = protoData.ThirdComment + a.ArtworkUuid = protoData.ArtworkUuid +} diff --git a/pkg/service/artistInfo/asArtwork/dtoCommon.go b/pkg/service/artistInfo/asArtwork/dtoCommon.go new file mode 100644 index 0000000..c9289fd --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/dtoCommon.go @@ -0,0 +1,265 @@ +// Package asArtwork ----------------------------- +// @file : common.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/2/28 14:00 +// ------------------------------------------- +package asArtwork + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "strings" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" +) + +// ReplenishArtwork 补充画家宝中查询到的画作首选项数据 更新ReplenishArtwork2,此方法无法正常进行排序 +func ReplenishArtwork2(lockRecords []*artistInfoArtwork.ArtworkLockInfo) ([]ArtworkPreviewResponse, error) { + var artworkUids []string + for _, v := range lockRecords { + artworkUids = append(artworkUids, v.ArtworkUid) + } + if len(artworkUids) == 0 { + return nil, nil + } + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(context.Background(), &artwork_query.ArtworkPreviewListRequest{ + Page: 1, + PageSize: -1, + ArtworkUids: artworkUids, + }) + if err != nil { + fmt.Println("1111111111") + return nil, err + } + var resultData []ArtworkPreviewResponse + for _, record := range lockRecords { + for _, v := range res.Data { + var ( // 这些数据存在画家宝的数据表中 + lockStatus int64 + BaseAuditStatus int32 + BaseAuditMark string + BaseAuditMark2 string + SupplementAuditStatus int32 + SupplementAuditMark string + SupplementAuditMark2 string + AuditFlowIndex int32 + CreatedAt int64 + UpdatedAt int64 + DeletedAt int64 + artistUid string + ) + if record.ArtworkUid == v.ArtworkUid { + lockStatus = record.Status + BaseAuditStatus = int32(record.BaseAuditStatus) + BaseAuditMark = record.BaseAuditMark + BaseAuditMark2 = record.BaseAuditMark2 + SupplementAuditStatus = record.SupplementAuditStatus + SupplementAuditMark = record.SupplementAuditMark + SupplementAuditMark2 = record.SupplementAuditMark2 + AuditFlowIndex = record.AuditFlowIndex + CreatedAt = record.CreatedAt + UpdatedAt = record.UpdatedAt + DeletedAt = record.DeletedAt + artistUid = record.ArtistUid + + fmt.Println("查询画作是否入围国展") + var artworkExtResp, err = service.GrpcArtistInfoArtworkImpl.GetArtworkExtDatas(context.Background(), &artistInfoArtwork.GetArtworkExtDataRequest{ArtworkUid: v.ArtworkUid}) + if err != nil { + fmt.Println("ReplenishArtwork GrpcArtistInfoArtworkImpl.GetArtworkExtDatas Err: ", err.Error()) + } + // if v.InSource == 1 { //排除仅存在于画作系统中的画作 + // continue + // } + var nationalExhibition int64 = 1 + if artworkExtResp != nil { + nationalExhibition = artworkExtResp.Data[0].NationalExhibition + } + + profileRes, err := service.GrpcArtworkImpl.ArtworkDetail(context.Background(), &artwork.ArtworkDetailRequest{ArtworkUuid: v.ArtworkUid, Type: "1"}) + if err != nil { + fmt.Println("ReplenishArtwork GrpcArtworkImpl.ArtworkDetail Err: ", err.Error()) + } + var tfNum string + if profileRes != nil && profileRes.ProfileInfo != nil { + tfNum = profileRes.ProfileInfo.Tfnum + } + resultData = append(resultData, ArtworkPreviewResponse{ + ArtistUuid: artistUid, + ArtworkName: v.ArtworkName, + Length: v.Length, + Width: v.Width, + Ruler: v.Ruler, + CreatedAddress: strings.Split(v.CreatedAddress, ","), + ArtistPhoto: v.ArtistPhoto, + HdPic: v.HdPic, + ArtworkUid: v.ArtworkUid, + CreatedDate: v.CreateDate, //utils.If(v.CreateDate == "", "未知", v.CreateDate).(string), + LockStatus: lockStatus, + CreatedAt: time.Unix(CreatedAt, 0).Format(stime.Format_Normal_YMDhms), + UpdatedAt: time.Unix(UpdatedAt, 0).Format(stime.Format_Normal_YMDhms), + DeletedAt: DeletedAt, + BaseAuditStatus: BaseAuditStatus, + BaseAuditMark: BaseAuditMark, + BaseAuditMark2: BaseAuditMark2, + SupplementAuditStatus: SupplementAuditStatus, + SupplementAuditMark: SupplementAuditMark, + SupplementAuditMark2: SupplementAuditMark2, + AuditFlowIndex: AuditFlowIndex, + Insource: v.InSource, + NationalExhibition: nationalExhibition, + TfNum: tfNum, + ArtworkType: v.ArtworkType, + BaseInfoArtistUpdateAt: record.BaseInfoArtistUpdateAt, + BaseInfoLatestOperator: record.BaseInfoLatestOperator, + BaseInfoLatestOperationTime: record.BaseInfoLatestOperationTime, + SupplyInfoArtistUpdateAt: record.SupplyInfoArtistUpdateAt, + SupplyInfoLatestOperator: record.SupplyInfoLatestOperator, + SupplyInfoLatestOperationTime: record.SupplyInfoLatestOperationTime, + Id: record.Id, + }) + } + } + } + return resultData, nil +} +func GetArtworkPreviewList(c *gin.Context, req *GetArtworkPreviewListReq, mode artistInfoArtwork.ArtworkQueryMode) { //*artwork_query.ArtworkPreviewListRequest + var order []string + if req.SortField != "" { + var orderType = "asc" + if req.SortOrder == "descend" { + orderType = "desc" + } + order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(req.SortField), orderType)) + } + //画家宝微服务获取画作管理中的列表 + records, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: req.ArtistUid, + QueryType: mode, + ArtworkUids: req.ArtworkUids, + BaseAuditStatus: int64(req.BaseAuditStatus), + SupplementAuditStatus: int64(req.SupplementAuditStatus), + Order: order, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkList:GrpcArtistInfoArtworkImpl.GetArtworkLockRecords", "查询失败") + return + } + + if len(records.Data) == 0 { + service.ResponseList(c, []struct{}{}, service.OptionPage(req.Page, req.PageSize, 0), service.OptionMsg("查询成功")) + return + } + // 通过画作微服务补充画作信息 + resultData, err := ReplenishArtwork2(records.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetIncompleteExtDataList ReplenishArtwork Error", err.Error()) + return + } + //分页 todo 分页后面放到画家宝微服务 + var result2 = []ArtworkPreviewResponse{} + for k, v := range resultData { + if int32(k) >= req.PageSize*(req.Page-1) && int32(k) < req.PageSize*req.Page { + result2 = append(result2, v) + } + } + + service.ResponseList(c, result2, service.OptionPage(req.Page, req.PageSize, records.Total), service.OptionMsg("查询成功")) +} + +// GetArtworkPreviewListData +// +// @Description: 返回切片结构体 +// @param req +// @param mode +// @return result +// @return err +func GetArtworkPreviewListData(req *GetArtworkPreviewListReq, mode artistInfoArtwork.ArtworkQueryMode) (result2 []ArtworkPreviewResponse, err error) { + var order []string + if req.SortField != "" { + var orderType = "asc" + if req.SortOrder == "descend" { + orderType = "desc" + } + order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(req.SortField), orderType)) + } + //画家宝微服务获取画作管理中的列表 + records, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(context.Background(), &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: req.ArtistUid, + QueryType: mode, + ArtworkUids: req.ArtworkUids, + BaseAuditStatus: int64(req.BaseAuditStatus), + SupplementAuditStatus: int64(req.SupplementAuditStatus), + Order: order, + }) + if err != nil { + logger.Error("GetArtworkPreviewListData GrpcArtistInfoArtworkImpl err", err) + err = errors.New(e.GetMsg(e.ErrorSelect)) + return + } + if len(records.Data) == 0 { + err = errors.New(e.GetMsg(e.NOTDATA)) + return + } + // 通过画作微服务补充画作信息 + resultData, err := ReplenishArtwork2(records.Data) + if err != nil { + err = errors.New(e.GetMsg(e.ErrorSelect)) + return + } + for k, v := range resultData { + if int32(k) >= req.PageSize*(req.Page-1) && int32(k) < req.PageSize*req.Page { + result2 = append(result2, v) + } + } + return +} + +// DEPRECATED +func ConvertAuditStatusToString(auditStatus int) string { + switch auditStatus { + case 1: + return "暂存" + case 2: + return "待审核" + case 3: + return "审批不通过" + case 4: + return "审批通过" + case 5: + return "信息待补充" + case 6: + return "驳回" + case 7: + return "复审中" + default: + return "未知" + } +} + +func DescriptionAuidtStatusAtNow(data *artistInfoArtwork.ArtworkLockInfo) (flowIndex string, auditStatus string) { + auditStatus = data.BaseAuditStatus.Value() + switch data.AuditFlowIndex { + case 2: + flowIndex = "基本信息审批" + case 3: + flowIndex = "补充信息审批" + default: + if auditStatus != "暂存" { + flowIndex = "基本信息审批" + } else { + flowIndex = "无" + } + } + return +} diff --git a/pkg/service/artistInfo/asArtwork/readme.md b/pkg/service/artistInfo/asArtwork/readme.md new file mode 100644 index 0000000..6e4bc4d --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/readme.md @@ -0,0 +1 @@ +# artwork 画作模块 \ No newline at end of file diff --git a/pkg/service/artistInfo/asArtwork/supplement.go b/pkg/service/artistInfo/asArtwork/supplement.go new file mode 100644 index 0000000..a0287fd --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/supplement.go @@ -0,0 +1,1608 @@ +// Package asArtwork ----------------------------- +// @file : artworkSupplement.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/2/27 11:22 +// ------------------------------------------- + +package asArtwork + +import ( + "context" + "encoding/json" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/syncDownload" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/excel" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" + "os" + "path" + "path/filepath" + "strings" + "sync" + "time" +) + +// 画作补充信息 +var Supplement = artworkSupplement{} + +// 画作补充模块 +type artworkSupplement struct { +} + +// GetUnsupplementedExtDataList 获取补充信息的画作列表 +//func (a artworkSupplement) GetUnsupplementedDataList(c *gin.Context) { +// var req GetAuditSupplementDataListRequest +// if err := c.ShouldBindJSON(&req); err != nil { +// service.Error(c, e.InvalidParams, err, err.Error()) +// return +// } +// if req.ArtistUid == "" { +// userInfo, err, code := asAccount.GetUserInfoWithToken(c) +// if err != nil { +// service.Error(c, code, err, err.Error()) +// return +// } +// req.ArtistUid = userInfo.MgmtArtistUid +// } +// artworkDatas, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ +// ArtistUid: req.ArtistUid, +// QueryType: artistInfoArtwork.ArtworkQueryMode_NowLockedArtwork, +// }) +// if err != nil { +// service.Error(c, e.Failed, err, err.Error()) +// return +// } +// var cleanDatas = []*artistInfoArtwork.ArtistLockInfo{} +// for i, v := range artworkDatas.Data { +// //筛选出已被锁定并且未审核通过的画作 +// if v.Status == 2 && v.LockTime != "" && v.SupplementAuditStatus != 2 { +// cleanDatas = append(cleanDatas, artworkDatas.Data[i]) +// } +// } +// result, err := ReplenishArtwork(cleanDatas) +// if err != nil { +// service.ErrorWithMark(c, e.Failed, err, "GetIncompleteExtDataList ReplenishArtwork Error", err.Error()) +// return +// } +// service.ResponseList(c, result, service.OptionPage(req.Page, req.PageSize, len(result)), service.OptionMsg("查询成功")) +//} + +// Detail 获取画作补充信息详情 +func (a artworkSupplement) Detail(c *gin.Context) { + var req DelAwRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + res, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ + Type: "1,2,3", //1=首选项 2=画作荣誉信息 3=获取画作补充信息 + ArtworkUuid: req.ArtworkUuid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "Detail: GrpcArtworkImpl.ArtworkDetail", "查询失败") + return + } + lockRecords, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(c, &artistInfoArtwork.GetArtworkLockDetailRequest{ + ArtworkUid: res.ArtworkUuid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "Detail : GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error", err.Error()) + return + } + //转换成利于前端对接的数据结构 + var returnData = ArtworkSupplementInfo{} + err = returnData.ConvertResponse(lockRecords, res.ProfileInfo, res.MarketInfo, res.ExtDataInfo) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "Detail:returnData.ConvertResponse", "查询失败") + return + } + service.Success(c, returnData) +} + +// GetSupplementDataListAtUserSide 获取用户端画作补充信息列表 +func (a artworkSupplement) GetSupplementDataListAtUserSide(c *gin.Context) { + userInfo, err, code := asUser.GetUserInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + + var req GetSupplementDataListAtUserSideRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + lockRecords, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: userInfo.MgmtArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfSupplementing, + }) + if err != nil { + service.ErrorWithMark(c, code, err, "GetSupplementDataListAtUserSide : GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error", err.Error()) + return + } + var datasPagination = []*artistInfoArtwork.ArtworkLockInfo{} + if req.PageSize != -1 { + for k, v := range lockRecords.Data { + if k >= req.PageSize*(req.Page-1) && k < req.PageSize*req.Page { + datasPagination = append(datasPagination, v) + } + } + } else { + datasPagination = lockRecords.Data + } + //returnDatas, err := ReplenishArtwork(datasPagination) + //if err != nil { + // service.ErrorWithMark(c, code, err, "GetSupplementDataListAtUserSide :ReplenishArtwork Error", err.Error()) + // return + //} + var returnDatas []ArtworkSupplementInfo + for _, v := range datasPagination { + // todo 后续优化 + artworkDetail, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ + Type: "1,2,3", + ArtworkUuid: v.ArtworkUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : GrpcArtworkImpl.ArtworkDetail Error", err.Error()) + return + } + var data ArtworkSupplementInfo + if err = data.ConvertResponse(v, artworkDetail.ProfileInfo, artworkDetail.MarketInfo, artworkDetail.ExtDataInfo); err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : data.ConvertResponse Error", err.Error()) + return + } + returnDatas = append(returnDatas, data) + } + service.ResponseList(c, returnDatas, service.OptionPage(req.Page, req.PageSize, len(returnDatas)), service.OptionMsg("查询成功")) +} + +// GetSupplementDataListAtBackendSide 获取后台的画作补充信息列表 +// Deprecated: 此方法已弃用,请使用 GetSupplementDataListAtBackendSide2 替代 +func (a artworkSupplement) GetSupplementDataListAtBackendSide(c *gin.Context) { + var req GetSupplementDataListAtBackendSideRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //模糊查询画作名称 + var artworkUids []string + if req.ArtworkName != "" { + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ArtworkName: req.ArtworkName, ArtistUid: req.ArtistUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkPreviewListAtBackendSide: GrpcArtworkQueryImpl.ArtworkPreviewList Error", "画作服务查询失败") + } + for _, v := range res.Data { + artworkUids = append(artworkUids, v.ArtworkUid) + } + } + var lockRecords *artistInfoArtwork.ArtworkLockList + var err error + if req.History { + lockRecords, err = service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_HistorySupplementInfo, + ArtworkUids: artworkUids, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + }) + } else { + lockRecords, err = service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfSupplementing, + ArtworkUids: artworkUids, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + }) + } + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error", err.Error()) + return + } + var datasPagination = []*artistInfoArtwork.ArtworkLockInfo{} + if req.PageSize != -1 { + for k, v := range lockRecords.Data { + if k >= req.PageSize*(req.Page-1) && k < req.PageSize*req.Page { + datasPagination = append(datasPagination, v) + } + } + } else { + datasPagination = lockRecords.Data + } + //datas, err := ReplenishArtwork(datasPagination) + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide :ReplenishArtwork Error", err.Error()) + // return + //} + var returnDatas []ArtworkSupplementInfo + for _, v := range datasPagination { + // todo 后续优化 提升效率 + artworkDetail, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ + Type: "123", + ArtworkUuid: v.ArtworkUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : GrpcArtworkImpl.ArtworkDetail Error", err.Error()) + return + } + var data = ArtworkSupplementInfo{} + if err = data.ConvertResponse(v, artworkDetail.ProfileInfo, artworkDetail.MarketInfo, artworkDetail.ExtDataInfo); err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : data.ConvertResponse Error", err.Error()) + return + } + returnDatas = append(returnDatas, data) + } + service.ResponseList(c, returnDatas, service.OptionPage(req.Page, req.PageSize, len(lockRecords.Data)), service.OptionMsg("查询成功")) +} + +// UpdateExtData 更新画作补充信息 +func (artworkSupplement) UpdateSupplement(c *gin.Context) { + //userInfo, err, code := asAccount.GetUserInfoWithToken(c) + //if err != nil { + // service.Error(c, code, err, err.Error()) + // return + //} + var req ArtworkSupplementInfo + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if req.ArtworkUuid == "" { + service.Error(c, e.InvalidParams, nil, "画作uid不能为空") + return + } + //查询画作锁定和审批状态 + artworkLock, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(c, &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: req.ArtworkUuid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtistInfoArtworkImpl.GetArtworkLockDetail Error", "更新失败") + return + } + if artworkLock.Status != 2 { + service.Error(c, e.Failed, nil, "画作未在锁定列表,操作取消") + return + } + profile, marketDatas, extdata := req.ConvertGrpcRequest() + //更新首选项 + _, err = service.GrpcArtworkImpl.UpdateArtworkProfile(c, profile) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtworkImpl.UpdateExtData Error", "更新失败") + return + } + //更新荣誉 + for _, marketData := range marketDatas { + _, err = service.GrpcArtworkImpl.UpdateMarketInfo(c, marketData) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtworkImpl.UpdateExtData Error", "更新失败") + return + } + } + //更新网络首发情况 + _, err = service.GrpcArtworkImpl.UpdateExtData(c, extdata) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtworkImpl.UpdateExtData Error", "更新失败") + return + } + service.Success(c) +} + +// AuditExt 画作基本信息和补充信息审批 +func (artworkSupplement) AuditSupplement(c *gin.Context) { + accInfo, err, code := asUser.GetAccInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + + var req AuditSupplement + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var artworkUids = []string{} + if req.ArtworkUid != "" { + artworkUids = append(artworkUids, req.ArtworkUid) + } else if req.ArtworkUids != nil { + artworkUids = append(artworkUids, req.ArtworkUids...) + } + defer func() { + if err != nil { + return + } + for _, artworkUid := range artworkUids { + if req.FlowIndex == 2 { + asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_artworkBaseData, artworkUid) + } else if req.FlowIndex == 3 { + asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_artworkSupplyData, artworkUid) + } + } + if (req.AuditStatus != 4 && req.FlowIndex == 2) || req.FlowIndex == 3 { + pusher := asPush.NewPusher() + for _, artworkUid := range artworkUids { + //查询画作锁定和审批状态 + artworkLock, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(context.Background(), &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: artworkUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtistInfoArtworkImpl.GetArtworkLockDetail Error", "审批失败") + return + } + if artworkLock.Status == 3 { + service.Error(c, e.Failed, nil, "画作已解锁,不允许审批") + return + } + //生成流转记录请求数据 + flowRecord, auditType, auditResult := generateArtworkAuditFlowIndex(req.AuditStatus, req.FlowIndex, artworkLock, time.Now().Unix()) + if req.AuditMark != "" { + flowRecord.ClauseList = append(flowRecord.ClauseList, req.AuditMark) + } + if req.AuditMark2 != "" { + flowRecord.ClauseList = append(flowRecord.ClauseList, req.AuditMark2) + } + fmt.Printf("flowRecord:%+v\n", flowRecord) + _, err = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), flowRecord) + if err != nil { + fmt.Println("AuditSupplement AddArtworkFlowRecord Err:", err.Error()) + } + //发送审批通知 + userData, err := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{MgmtArtistUid: artworkLock.ArtistUid}) + if err != nil { + fmt.Println("AuditSupplement FindUser Err:", err.Error()) + continue + } + artworkView, err := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(context.Background(), &artistInfoArtwork.ArtworkViewRequest{ArtworkUids: []string{artworkUid}, PageSize: 1, Page: 1}) + if err != nil || artworkView.Total == 0 { + fmt.Println("AuditSupplement GetArtworkViewList Err:", err.Error()) + continue + } + //if err = asUser.ArtistInfoPushNotice.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + // fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + //} + if err = pusher.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + } + + } + } + }() + fmt.Println("accInfo:", accInfo.ID, accInfo.NickName) + _, err = service.GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus(c, req.ConvertGrpcRequest(accInfo.ID, accInfo.NickName)) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus Error", "审批失败") + return + } + + service.Success(c) +} + +// 基本画作重新审批 +// Deprecated 此逻辑由前端控制,后台不需要处理 +func (artworkSupplement) ReAuditBaseInfo(c *gin.Context) { + + accInfo, err, code := asUser.GetAccInfoWithToken(c) + if err != nil { + service.Error(c, code, err, err.Error()) + return + } + + var req AuditSupplement + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + artworkDetail, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(c, &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: req.ArtworkUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtistInfoArtworkImpl.GetArtworkLockDetail Error", "查询画作信息失败") + return + } + if artworkDetail.Status == 3 { + service.Error(c, e.Failed, nil, "画作已解锁,不允许重新审批") + return + } + if artworkDetail.BaseAuditStatus == 7 { + service.Error(c, e.Failed, nil, "画作处于复审中,不允许重新审批") + return + } + if artworkDetail.BaseAuditStatus == 4 { + service.Error(c, e.Failed, nil, "画作审批状态为已通过,不允许重新审批!") + return + } + fmt.Println("accInfo:", accInfo.ID, accInfo.NickName) + _, err = service.GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus(c, req.ConvertGrpcRequest(accInfo.ID, accInfo.NickName)) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtistInfoArtworkImpl.UpdateArtworkAuditStatus Error", "审批失败") + return + } + { + //记录操作时间 + if req.FlowIndex == 2 { + asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_artworkBaseData, req.ArtworkUid) + } else if req.FlowIndex == 3 { + asUser.UpdateOperationTime(c, artistinfoArtshow.OdType_artworkSupplyData, req.ArtworkUid) + } + //生成流转记录请求数据 + if req.AuditStatus != 4 { + flowRecord, auditType, auditResult := generateArtworkAuditFlowIndex(req.AuditStatus, req.FlowIndex, artworkDetail, time.Now().Unix()) + fmt.Printf("flowRecord:%+v\n", flowRecord) + _, err = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), flowRecord) + if err != nil { + fmt.Println("AuditSupplement AddArtworkFlowRecord Err:", err.Error()) + } + //发送审批通知 + userData, err := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{MgmtArtistUid: artworkDetail.ArtistUid}) + if err != nil { + fmt.Println("AuditSupplement FindUser Err:", err.Error()) + return + } + artworkView, err := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(context.Background(), &artistInfoArtwork.ArtworkViewRequest{ArtworkUids: []string{req.ArtworkUid}, PageSize: 1, Page: 1}) + if err != nil || artworkView.Total == 0 { + fmt.Println("AuditSupplement GetArtworkViewList Err:", err.Error()) + return + } + //if err = asUser.ArtistInfoPushNotice.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + // fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + //} + pusher := asPush.NewPusher() + if err = pusher.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + } + + } + + } + service.Success(c) +} + +// GenerateSupplementInfo 生成画作补充信息 +func (a artworkSupplement) GenerateSupplementInfo(c *gin.Context) { + var req GenerateSupplementInfoRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if req.ArtworkUids == nil { + service.Error(c, e.InvalidParams, nil, "artworkUids 不能为空") + return + } + err := SupplementService.GenerateSupplementInfo(req.ArtworkUids) + if err != nil { + service.Error(c, e.Failed, err, "生成失败") + return + } + service.Success(c) +} + +// ReviewBaseArtwork 画作基本信息复审列表 +func (a artworkSupplement) ReviewBaseArtworkList(c *gin.Context) { + var req GetViewReviewArtworkListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = artistInfoArtwork.GetViewReviewArtworkListRequest{} + asUtil.RequestDataConvert(&req, &protoReq) + if req.History { + history, err := service.GrpcArtistInfoArtworkImpl.GetArtworkBaseAuditHistoryList(c, &artistInfoArtwork.GetArtworkBaseAuditHistoryListRequest{ + Query: &artistInfoArtwork.ArtworkBaseAuditHistoryData{ + ArtistUid: req.ArtistUid, + Node: 2, + }, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtworkList:GetArtworkBaseAuditHistoryList Err", "查询失败") + return + } + var artworkUids []string + for _, v := range history.List { + artworkUids = append(artworkUids, "'"+v.ArtworkUid+"'") + } + if len(artworkUids) == 0 { + service.ResponseList(c, []struct{}{}, service.OptionPage(req.Page, req.PageSize, history.Total), service.OptionMsg("查询成功")) + return + } + protoReq.Where = fmt.Sprintf("artwork_uid in (%s)", "'"+strings.Join(artworkUids, "','")+"'") + } + resp, err := service.GrpcArtistInfoArtworkImpl.GetViewReviewArtworkList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewReviewArtworkList Err", "查询失败") + return + } + if !req.History { + cacheData, err := service.GrpcArtistInfoArtworkImpl.GetTempSaveReviewStatusList(c, &artistInfoArtwork.GetTempSaveReviewStatusListRequest{ + CacheArtistUid: req.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtworkList:GetArtworkBaseAuditHistoryList Err222", "查询失败") + return + } + for _, v := range cacheData.List { + for i, _ := range resp.List { + if v.ArtworkUid == resp.List[i].ArtworkUid { + resp.List[i].ReviewStatus = artistInfoArtwork.ReviewAuditStatus(v.ReviewStatus) + resp.List[i].ReviewMark = v.ReviewMark + resp.List[i].ReviewMark2 = v.ReviewMark2 + resp.List[i].ReviewUpdatedAt = v.OptTime + break + } + } + } + } + service.ResponseList(c, resp.List, + service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +// 复审画作 +func (a artworkSupplement) ReviewBaseArtwork(c *gin.Context) { + var req artistInfoArtwork.ReviewBaseArtworkAuditRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //获取账号信息 + accInfo, err, code := asUser.GetAccInfoWithToken(c) + if err != nil { + service.ErrorWithMark(c, code, err, "", "无效的登录状态") + return + } + req.ApproverAccid = int32(accInfo.ID) + req.Approver = accInfo.NickName + + //从缓存中拿去审批数据为后面添加路转记录做准备 + fmt.Printf("req.CacheArtistUid:%+v\n", req.CacheArtistUid) + var tmpAuditData = &artistInfoArtwork.GetTempSaveReviewStatusListResp{} + if req.CacheArtistUid != "" { + fmt.Println("从缓存中获取审批数据111111111111111111") + tmpAuditData, err = service.GrpcArtistInfoArtworkImpl.GetTempSaveReviewStatusList(c, &artistInfoArtwork.GetTempSaveReviewStatusListRequest{ + CacheArtistUid: req.CacheArtistUid, + }) + fmt.Println("从缓存中获取审批数据22222", err) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtwork: GetTempSaveReviewStatusList Error", "审批失败,请稍后重试") + return + } + } + fmt.Println("3333333333333333333333") + //进行审批 + fmt.Printf("tmpAuditData:%+v\n", tmpAuditData) + resp, err := service.GrpcArtistInfoArtworkImpl.ReviewBaseArtworkAudit(c, &req) + fmt.Printf("ReviewBaseArtworkAudit resp:%+v\n", resp) + if err != nil { + if utils.Contains([]string{"该画家画作已经审批完成,请勿重复提交", "请审批完后再提交", "未识别到您的审批操作,操作取消"}, err.Error()) { + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtwork: ReviewBaseArtwork Error", err.Error()) + return + } + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtwork: ReviewBaseArtwork Error", "审批失败") + return + } + + fmt.Println("444444444444444444444") + // 添加画作流转记录(如果审批通过) + if req.ArtworkUid != "" { + req.BatchAudit = append(req.BatchAudit, &artistInfoArtwork.BatchReviewAudit{ + ArtworkUid: req.ArtworkUid, + ReviewStatus: req.ReviewStatus, + ReviewMark: req.ReviewMark, + ReviewMark2: req.ReviewMark2, + }) + } + + fmt.Println("555555555555555555") + if tmpAuditData.List != nil && len(tmpAuditData.List) > 0 { + for _, v := range tmpAuditData.List { + fmt.Println("v.ArtworkUid:", v.ArtworkUid, "v.ReviewStatus:", v.ReviewStatus) + req.BatchAudit = append(req.BatchAudit, &artistInfoArtwork.BatchReviewAudit{ + ArtworkUid: v.ArtworkUid, + ReviewStatus: artistInfoArtwork.ReviewAuditStatus(v.ReviewStatus), + ReviewMark: v.ReviewMark, + ReviewMark2: v.ReviewMark2, + }) + } + } + fmt.Printf("准备添加流转记录:%+v\n", req.BatchAudit) + for _, artAudit := range req.BatchAudit { + if artAudit.ReviewStatus != artistInfoArtwork.ReviewAuditStatus_Pass { + fmt.Println(artAudit.ArtworkUid+"没有通过,跳过流转记录添加 ,reviewStatus", artAudit.ReviewStatus) + continue + } + fmt.Println(artAudit.ArtworkUid+"通过复审,添加流转记录 ,reviewStatus", artAudit.ReviewStatus) + //查询画作锁定和审批状态 + artworkLock, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(context.Background(), &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: artAudit.ArtworkUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtistInfoArtworkImpl.GetArtworkLockDetail Error", "审批失败") + return + } + //if artworkLock.Status == 3 { + // service.Error(c, e.Failed, nil, "画作已解锁,不允许审批") + // return + //} + //生成流转记录请求数据 + flowRecord, auditType, auditResult := generateArtworkAuditFlowIndex(4, 2, artworkLock, time.Now().Unix()) + fmt.Printf("flowRecord:%+v\n", flowRecord) + _, err = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), flowRecord) + if err != nil { + fmt.Println("AuditSupplement AddArtworkFlowRecord Err:", err.Error()) + } + //发送审批通知 + userData, err := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{MgmtArtistUid: artworkLock.ArtistUid}) + if err != nil { + fmt.Println("AuditSupplement FindUser Err:", err.Error()) + continue + } + artworkView, err := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(context.Background(), &artistInfoArtwork.ArtworkViewRequest{ArtworkUids: []string{artAudit.ArtworkUid}, PageSize: 1, Page: 1}) + if err != nil || artworkView.Total == 0 { + fmt.Println("AuditSupplement GetArtworkViewList Err:", err.Error()) + continue + } + //if err = asUser.ArtistInfoPushNotice.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + // fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + //} + pusher := asPush.NewPusher() + if err = pusher.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + } + } + + service.Success(c) +} + +// GetSupplementDataListAtBackendSide 获取后台的画作补充信息列表 +func (a artworkSupplement) GetSupplementDataListAtBackendSide2(c *gin.Context) { + var req GetSupplementDataListAtBackendSideRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //模糊查询画作名称 + var artworkUids []string + if req.ArtworkName != "" { + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ArtworkName: req.ArtworkName, ArtistUid: req.ArtistUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkPreviewListAtBackendSide: GrpcArtworkQueryImpl.ArtworkPreviewList Error", "画作服务查询失败") + } + for _, v := range res.Data { + artworkUids = append(artworkUids, v.ArtworkUid) + } + } + var lockRecords *artistInfoArtwork.GetArtworkViewListResponse + var err error + if req.History { + lockRecords, err = service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_HistorySupplementInfo, + ArtworkUids: artworkUids, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + Page: int64(req.Page), + PageSize: int64(req.PageSize), + }) + } else { + lockRecords, err = service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfSupplementing, + ArtworkUids: artworkUids, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + Page: int64(req.Page), + PageSize: int64(req.PageSize), + }) + } + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error", err.Error()) + return + } + //datas, err := ReplenishArtwork(datasPagination) + //if err != nil { + // service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide :ReplenishArtwork Error", err.Error()) + // return + //} + var returnDatas []ArtworkSupplementInfo + for _, v := range lockRecords.Datas { + //获取并处理一下字段数据 + var ( + editable bool + ArtistMarketDetail string + ArtistMarketUrl1 string + ArtistMarketUrl2 string + ArtistMarketId1 int32 + ArtistMarketId2 int32 + ArtistMarketId3 int32 + ) + var lockStatus *artistInfoArtwork.CheckArtworkEditableResponse + lockStatus, err = service.GrpcArtistInfoArtworkImpl.CheckArtworkSupplementInfoEditable(context.Background(), &artistInfoArtwork.ArtworkUidRequest{ArtworkUid: v.ArtworkUid}) + if err != nil { + return + } + editable = lockStatus.Editable + var artworkMarket *artwork.ArtworkDetailResponse + artworkMarket, err := service.GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ + Type: "2", + ArtworkUuid: v.ArtworkUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : GrpcArtworkImpl.ArtworkDetail Error", err.Error()) + return + } + if config.Env == "test" || config.Env == "dev" { + time.Sleep(time.Microsecond * 300) + } + if artworkMarket.MarketInfo != nil && len(artworkMarket.MarketInfo) > 0 { + for _, v := range artworkMarket.MarketInfo { + switch v.Type { + case 0: + ArtistMarketDetail = v.Detail + ArtistMarketId1 = v.MarketId + case 2: + if ArtistMarketUrl1 == "" { + ArtistMarketUrl1 = v.Detail + ArtistMarketId2 = v.MarketId + } else if ArtistMarketUrl2 == "" { + ArtistMarketUrl2 = v.Detail + ArtistMarketId3 = v.MarketId + break + } + } + } + } + returnDatas = append(returnDatas, ArtworkSupplementInfo{ + ArtworkUuid: v.ArtworkUid, + ArtistName: v.ArtistName, + ArtistUid: v.ArtistUid, + ArtworkName: v.ArtworkName, + Length: v.Length, + Width: v.Width, + Ruler: v.Ruler, + InscribeDate: v.InscribeDate, + Abstract: v.SupplementAbstract, + HdPic: v.HdPic, + ArtistPhoto: v.ArtistPhoto, + CreatedDate: v.CreatedDate, + CreatedAddress: strings.Join(v.CreatedAddress, ","), + PriceRun: float32(v.PriceRun), + CreatedAt: v.CreatedAt, + UpdatedAt: v.UpdatedAt, + DeletedAt: v.DeletedAt, + FirstPublish: v.FirstPublish, + SupplementAuditStatus: v.SupplementAuditStatus, + SupplementAuditMark: v.SupplementAuditMark, + SupplementAuditMark2: v.SupplementAuditMark2, + Editable: editable, + IsFirstPublish: utils.If(v.FirstPublish == "", false, true).(bool), + Status: int64(v.LockStatus), + ArtistMarketDetail: ArtistMarketDetail, + ArtistMarketUrl1: ArtistMarketUrl1, + ArtistMarketUrl2: ArtistMarketUrl2, + ArtistMarketId1: ArtistMarketId1, + ArtistMarketId2: ArtistMarketId2, + ArtistMarketId3: ArtistMarketId3, + Tfnum: v.Tfnum, + }) + } + service.ResponseList(c, returnDatas, service.OptionPage(req.Page, req.PageSize, lockRecords.Total), service.OptionMsg("查询成功")) +} + +// GetSupplementDataListAtBackendSide3 +// Deprecated +func (a artworkSupplement) GetSupplementDataListAtBackendSide3(c *gin.Context) { + var req GetSupplementDataListAtBackendSideRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //var order []string + //if req.SortField != "" { + // var orderType = "asc" + // if req.SortOrder == "descend" { + // orderType = "desc" + // } + // order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(req.SortField), orderType)) + //} + //模糊查询画作名称 + var artworkUids []string + if req.ArtworkName != "" { + //res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ArtworkName: req.ArtworkName, ArtistUid: req.ArtistUid, Order}) + res, err := service.GrpcArtworkQueryImpl.ArtworkPreviewList(c, &artwork_query.ArtworkPreviewListRequest{ArtworkName: req.ArtworkName, ArtistUid: req.ArtistUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkPreviewListAtBackendSide: GrpcArtworkQueryImpl.ArtworkPreviewList Error", "画作服务查询失败") + } + for _, v := range res.Data { + artworkUids = append(artworkUids, v.ArtworkUid) + } + } + //todo 下面开始改成获取画作补充信息视图列表 + var lockRecords *artistInfoArtwork.GetArtworkViewListResponse + var err error + if req.History { + lockRecords, err = service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_HistorySupplementInfo, + ArtworkUids: artworkUids, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + Page: int64(req.Page), + PageSize: int64(req.PageSize), + }) + } else { + lockRecords, err = service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(c, &artistInfoArtwork.ArtworkViewRequest{ + ArtistUid: req.ArtistUid, + QueryType: artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfSupplementing, + ArtworkUids: artworkUids, + SupplementAuditStatus: int64(req.SupplementAuditStatus), + Page: int64(req.Page), + PageSize: int64(req.PageSize), + }) + } + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSupplementDataListAtUserSide : GrpcArtistInfoArtworkImpl.GetArtworkLockRecords Error", err.Error()) + return + } + var returnDatas []ArtworkSupplementInfo + for _, v := range lockRecords.Datas { + //获取并处理一下字段数据 + var ( + editable bool + ArtistMarketDetail string + ArtistMarketUrl1 string + ArtistMarketUrl2 string + ArtistMarketId1 int32 + ArtistMarketId2 int32 + ArtistMarketId3 int32 + ) + var lockStatus *artistInfoArtwork.CheckArtworkEditableResponse + lockStatus, err = service.GrpcArtistInfoArtworkImpl.CheckArtworkSupplementInfoEditable(context.Background(), &artistInfoArtwork.ArtworkUidRequest{ArtworkUid: v.ArtworkUid}) + if err != nil { + return + } + editable = lockStatus.Editable + + supplyInfo, err := service.GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementDetail(c, &artistInfoArtwork.GetViewArtworkSupplementByIdRequest{ + ArtworkUid: v.ArtworkUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "assdf : GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementDetail Error", err.Error()) + return + } + if len(supplyInfo.ArtworkMarkets) > 0 { + tmpMarket := ConvertMarketDataToResponse(supplyInfo.ArtworkMarkets) + ArtistMarketId1 = tmpMarket.ArtistMarketId1 + ArtistMarketId2 = tmpMarket.ArtistMarketId2 + ArtistMarketId3 = tmpMarket.ArtistMarketId3 + ArtistMarketDetail = tmpMarket.ArtistMarketDetail + ArtistMarketUrl1 = tmpMarket.ArtistMarketUrl1 + ArtistMarketUrl2 = tmpMarket.ArtistMarketUrl2 + } + returnDatas = append(returnDatas, ArtworkSupplementInfo{ + ArtworkUuid: supplyInfo.ArtworkUuid, + ArtistName: supplyInfo.ArtistName, + ArtistUid: supplyInfo.ArtistUid, + ArtworkName: supplyInfo.ArtworkName, + Length: supplyInfo.Length, + Width: supplyInfo.Width, + Ruler: supplyInfo.Ruler, + InscribeDate: supplyInfo.InscribeDate, + Abstract: supplyInfo.Abstract, + HdPic: supplyInfo.HdPic, + ArtistPhoto: supplyInfo.ArtistPhoto, + CreatedDate: supplyInfo.CreatedDate, + CreatedAddress: strings.Join(v.CreatedAddress, ","), + PriceRun: float32(v.PriceRun), + CreatedAt: supplyInfo.CreatedAt, //todo supplyInfo.CreatedAt 是字符串类型的数字 + UpdatedAt: supplyInfo.UpdatedAt, + DeletedAt: time.Unix(supplyInfo.DeletedAt, 0).Format(stime.Format_Normal_YMDhms), + FirstPublish: supplyInfo.FirstPublish, + SupplementAuditStatus: supplyInfo.SupplementAuditStatus, + SupplementAuditMark: supplyInfo.SupplementAuditMark, + SupplementAuditMark2: supplyInfo.SupplementAuditMark2, + Editable: editable, + IsFirstPublish: utils.If(v.FirstPublish == "", false, true).(bool), + Status: int64(v.LockStatus), + ArtistMarketDetail: ArtistMarketDetail, + ArtistMarketUrl1: ArtistMarketUrl1, + ArtistMarketUrl2: ArtistMarketUrl2, + ArtistMarketId1: ArtistMarketId1, + ArtistMarketId2: ArtistMarketId2, + ArtistMarketId3: ArtistMarketId3, + Tfnum: v.Tfnum, + }) + } + service.ResponseList(c, returnDatas, service.OptionPage(req.Page, req.PageSize, lockRecords.Total), service.OptionMsg("查询成功")) +} + +func generateArtworkAuditFlowIndex(auditStatus int64, flowIndex int64, artworkLockInfo *artistInfoArtwork.ArtworkLockInfo, timestamp int64) (record *artistInfoArtwork.AddArtworkFlowRecordRequest, auditType, auditResult string) { + record = &artistInfoArtwork.AddArtworkFlowRecordRequest{ + ArtistUid: artworkLockInfo.ArtistUid, + ArtworkUid: artworkLockInfo.ArtworkUid, + TimeStamp: timestamp, + Operator: artistInfoArtwork.Operator_Backend, + } + if flowIndex < 3 { //基本信息审批 + auditType = "基本信息" + switch auditStatus { + case 4: + auditResult = "通过" + record.FlowState = artistInfoArtwork.FlowState_BaseInfoAuditPass + case 3: + auditResult = "不通过" + record.FlowState = artistInfoArtwork.FlowState_BaseInfoAuditNoPass + case 6: + auditResult = "驳回" + record.FlowState = artistInfoArtwork.FlowState_BaseInfoAuditReject + } + } else { //补充信息审批 + auditType = "补充信息" + switch auditStatus { + case 2: + auditResult = "通过" + record.FlowState = artistInfoArtwork.FlowState_ArtWorkSupplementPass + case 3: + auditResult = "不通过" + record.FlowState = artistInfoArtwork.FlowState_ArtWorkSupplementNoPass + } + } + return +} + +func (a artworkSupplement) ExportArtworkReviewList(c *gin.Context) { + var req ExportArtworkReviewListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var accId uint64 + claims, err := asUser.GetJwtInfo(c) + if err == nil && claims != nil { + accId = claims.ID + } + if req.ReviewUpdatedFrom == "" || req.ReviewUpdatedTo == "" { + service.Error(c, e.InvalidParams, err, "请选择时间区间") + return + } + resp, err := service.GrpcArtistInfoArtworkImpl.GetViewReviewArtworkList(c, &artistInfoArtwork.GetViewReviewArtworkListRequest{ + Page: 1, + PageSize: -1, + SelectColumns: req.ColumnIds, + //ArtworkUids: req.ArtworkUids, + ReviewUpdatedFrom: req.ReviewUpdatedFrom, + ReviewUpdatedTo: req.ReviewUpdatedTo, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportArtworkReviewList: GrpcArtistInfoUserImpl.GetBackendUserViewList", "查询失败") + return + } + columnResp, err := service.GrpcArtistInfoUserImpl.GetExportFieldList(c, &artistInfoUser.GetExportFieldListRequest{ + Page: 1, + PageSize: -1, + Ids: req.ColumnIds, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportArtworkReviewList: GetExportFieldList", "查询失败") + return + } + var exportData []*ViewReviewArtworkExportData + for _, v := range resp.List { + temp := &ViewReviewArtworkExportData{ + ID: v.ID, + CreatedAt: v.CreatedAt, + DeletedAt: v.DeletedAt, + ReviewMark: v.ReviewMark, + ArtworkName: v.ArtworkName, + ArtworkUid: v.ArtworkUid, + Tfnum: v.Tfnum, + ArtistName: v.ArtistName, + ArtistUid: v.ArtistUid, + Tnum: v.Tnum, + Width: v.Width, + Length: v.Length, + Ruler: v.Ruler, + HdPic: v.HdPic, + ArtistPhoto: v.ArtistPhoto, + SealPic: v.SealPic, + LockStatus: v.LockStatus, + LockTime: v.LockTime, + ReviewMark2: v.ReviewMark2, + ReviewUpdatedAt: v.ReviewUpdatedAt, + } + if v.ReviewStatus != 0 { + switch v.ReviewStatus { + case 2: + temp.ReviewStatus = "待审核" + case 3: + temp.ReviewStatus = "不通过" + case 4: + temp.ReviewStatus = "通过" + default: + temp.ReviewStatus = "无" + } + } + if v.InSource != 0 { + switch v.InSource { + case 3: + temp.InSource = "已导入" + default: + temp.InSource = "未导入" + } + } + if v.ArtworkType != 0 { + switch v.ArtworkType { + case 1: + temp.ArtworkType = "优秀画作" + case 2: + temp.ArtworkType = "赠画" + case 3: + temp.ArtworkType = "卷轴" + case 4: + temp.ArtworkType = "普通画作" + default: + temp.ArtworkType = "普通画作" + } + } + + if v.NationalExhibition != 0 { + switch v.NationalExhibition { + case 1: + temp.NationalExhibition = "无" + case 2: + temp.NationalExhibition = "入围" + case 3: + temp.NationalExhibition = "入选" + case 4: + temp.NationalExhibition = "入围+入选" + } + } + exportData = append(exportData, temp) + } + var headerTime = fmt.Sprintf("操作日期: %s-%s", strings.Replace(req.ReviewUpdatedFrom, "-", "/", -1), strings.Replace(req.ReviewUpdatedTo, "-", "/", -1)) + filePath, _, err := writeToExcel(headerTime, accId, exportData, columnResp.List) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserViewList: writeToExcel", "导出失败") + return + } + defer func() { + if filePath != "" { + service.DelayDeleteFileTask.AddPendingDeleteFile(service.DelayDeleteFile{ + Path: filePath, + RetentionTime: time.Now().Add(2 * time.Minute), + }) + } + }() + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/tmp/%s", httpType, c.Request.Host, filepath.Base(filePath)) + service.Success(c, map[string]interface{}{"ExportUrl": exportUrl}) +} + +var exportExportArtworkReviewStaticLock = sync.RWMutex{} + +func (a artworkSupplement) ExportArtworkReviewStatic(c *gin.Context) { + if !exportExportArtworkReviewStaticLock.TryLock() { + service.Error(c, e.InvalidParams, nil, "正在压缩文件,请勿重复操作!") + return + } + defer exportExportArtworkReviewStaticLock.Unlock() + var req ExportArtworkReviewListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var accId uint64 + claims, err := asUser.GetJwtInfo(c) + if err == nil && claims != nil { + accId = claims.ID + } + if req.ReviewUpdatedFrom == "" || req.ReviewUpdatedTo == "" { + service.Error(c, e.InvalidParams, err, "请选择时间区间") + return + } + //添加为文件命名时用的参数 + res, err := service.GrpcArtistInfoUserImpl.GetExportFieldList(c, &artistInfoUser.GetExportFieldListRequest{ + Query: &artistInfoUser.ExportFieldData{ + Origin: "view_review_artwork_detail", + }, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportArtworkReviewStatic:GetExportFieldList", "导出失败") + return + } + for _, v := range res.List { + if v.Column == "artist_name" || v.Column == "artwork_name" || v.Column == "tfnum" || v.Column == "tnum" { + fmt.Println("找到了", v.Column) + req.ColumnIds = append(req.ColumnIds, v.ID) + } + } + fmt.Printf("req.ColumnIds:%+v\n", req.ColumnIds) + resp, err := service.GrpcArtistInfoArtworkImpl.GetViewReviewArtworkList(c, &artistInfoArtwork.GetViewReviewArtworkListRequest{ + Page: 1, + PageSize: -1, + SelectColumns: req.ColumnIds, + ReviewUpdatedFrom: req.ReviewUpdatedFrom, + ReviewUpdatedTo: req.ReviewUpdatedTo, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportArtworkReviewStatic: GetViewReviewArtworkList", "查询失败") + return + } + if resp.Total > 0 { + staticRootDir := path.Join("./runtime/tmp", fmt.Sprintf("复审画作静态资源_%d_%d", accId, time.Now().Unix())) + if err = os.MkdirAll(staticRootDir, os.ModePerm); err != nil { + service.ErrorWithMark(c, e.Failed, err, "文件生成失败,请稍后再试!") + return + } + var ( + childDir_hdpic = staticRootDir + childDir_artistpic = staticRootDir + childDir_sealpic = staticRootDir + ) + if len(req.ColumnIds) > 1 { //选择的图片类型数量大于1需要分目录 + childDir_hdpic = path.Join(staticRootDir, "画作高清图") + childDir_artistpic = path.Join(staticRootDir, "画家画作合照") + childDir_sealpic = path.Join(staticRootDir, "人名章图") + + if err = os.MkdirAll(childDir_hdpic, os.ModePerm); err != nil { + service.ErrorWithMark(c, e.Failed, err, "文件生成失败,请稍后再试!") + return + } + if err = os.MkdirAll(childDir_artistpic, os.ModePerm); err != nil { + service.ErrorWithMark(c, e.Failed, err, "文件生成失败,请稍后再试!") + return + } + if err = os.MkdirAll(childDir_sealpic, os.ModePerm); err != nil { + service.ErrorWithMark(c, e.Failed, err, "文件生成失败,请稍后再试!") + return + } + } + + var wg sync.WaitGroup + var downloadTasks []*syncDownload.DownLoadInfo + for _, v := range resp.List { + //userStaticRoot := filepath.Join(staticRootDir, v.Tnum+"_"+v.RealName) + userStaticRoot := staticRootDir + if err = os.MkdirAll(userStaticRoot, os.ModePerm); err != nil { + service.ErrorWithMark(c, e.Failed, err, "文件生成失败,请稍后再试!") + return + } + fmt.Println("v.HdPic:", v.HdPic) + fmt.Println("v.ArtistPhoto:", v.ArtistPhoto) + fmt.Println("v.SealPic:", v.SealPic) + if v.HdPic != "" { + fileExt := filepath.Ext(v.HdPic) + filePath := filepath.Join(childDir_hdpic, v.ArtistName+"["+v.Tnum+"]_"+v.ArtworkName+"["+v.Tfnum+"]"+fileExt) + downloadTasks = append(downloadTasks, &syncDownload.DownLoadInfo{ + DownloadUrl: v.HdPic, + SavePath: filePath, + Wg: &wg, + }) + } + if v.ArtistPhoto != "" { + fileExt := filepath.Ext(v.ArtistPhoto) + filePath := filepath.Join(childDir_artistpic, v.ArtistName+"["+v.Tnum+"]_"+v.ArtworkName+"["+v.Tfnum+"]"+fileExt) + downloadTasks = append(downloadTasks, &syncDownload.DownLoadInfo{ + DownloadUrl: v.ArtistPhoto, + SavePath: filePath, + Wg: &wg, + }) + } + if v.SealPic != "" { + fileExt := filepath.Ext(v.SealPic) + filePath := filepath.Join(childDir_sealpic, v.ArtistName+"["+v.Tnum+"]_"+v.ArtworkName+"["+v.Tfnum+"]"+fileExt) + downloadTasks = append(downloadTasks, &syncDownload.DownLoadInfo{ + DownloadUrl: v.SealPic, + SavePath: filePath, + Wg: &wg, + }) + } + } + wg.Add(len(downloadTasks)) + syncDownload.DownloadService.AddDownLoadTask(downloadTasks...) + wg.Wait() + zipPath := staticRootDir + ".zip" + err = utils.ZipDirectory(staticRootDir, zipPath) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserStatic:zipDirectory", "文件压缩失败") + return + } + defer func() { + if zipPath != "" || staticRootDir != "" { + service.DelayDeleteFileTask.AddPendingDeleteFile(service.DelayDeleteFile{ + Path: zipPath, + RetentionTime: time.Now().Add(2 * time.Minute), + }, service.DelayDeleteFile{ + Path: staticRootDir, + RetentionTime: time.Now().Add(2 * time.Minute), + }) + } + }() + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/tmp/%s", httpType, c.Request.Host, filepath.Base(zipPath)) + service.Success(c, map[string]interface{}{"ExportUrl": exportUrl}) + } else { + service.Error(c, e.Failed, nil, "查询数据为空,无法下载") + } +} + +func writeToExcel(headerTime string, accId uint64, datas []*ViewReviewArtworkExportData, columns []*artistInfoUser.ExportFieldData) (path string, filename string, err error) { + + var ( + sheet1Columns []string + jsonFiledList []string + ) + for _, col := range columns { + sheet1Columns = append(sheet1Columns, col.ColumnDesc) + jsonFiledList = append(jsonFiledList, utils.SnakeToCamel(col.Column)) + } + sheet1Data := excel.NewSheet("Sheet1", datas, sheet1Columns, jsonFiledList) + var fileName = fmt.Sprintf("画作复审数据导出列表_%d.xlsx", accId) + + //path, filename, err = excel.WriteToExcel(fileName, "./runtime/tmp", "", sheet1Data) + ex, _ := excel.NewExcelCreatorWithNewFile(fileName, "./runtime/tmp", sheet1Data) + ex.UseOption(excel.OptionFileNameSuffixWithUnixTime) + ex.AfterAddData(excel.AfterAddHeader1(sheet1Data, headerTime)) + path, filename, err = ex.WriteToFile() + return +} + +func (a artworkSupplement) TempSaveReviewStatus(c *gin.Context) { + var req artistInfoArtwork.TempSaveReviewStatusData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if config.Env == "local" { + req.Accid = 1 + } else { + accInfo, err, code := asUser.GetAccInfoWithToken(c) + if err != nil { + service.Error(c, code, err, "登录状态失效") + return + } + req.Accid = int32(accInfo.ID) + } + if _, err := service.GrpcArtistInfoArtworkImpl.SaveTempSaveReviewStatus(c, &req); err != nil { + service.Error(c, e.Failed, err, "保存审批状态失败") + return + } + service.Success(c) +} + +func (a artworkSupplement) TempSaveReviewStatusList(c *gin.Context) { + var req artistInfoArtwork.GetTempSaveReviewStatusListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + if result, err := service.GrpcArtistInfoArtworkImpl.GetTempSaveReviewStatusList(c, &req); err != nil { + service.Error(c, e.Failed, err, "查审批状态失败") + return + } else { + service.ResponseList(c, result.List, service.OptionPage(result.Page, result.PageSize, result.Total)) + } +} + +// 批量查询ViewReviewArtistStatic +func (a *artworkSupplement) GetViewReviewArtistStaticList(c *gin.Context) { + var req GetViewReviewArtistStaticListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq artistInfoArtwork.GetViewReviewArtistStaticListRequest + asUtil.RequestDataConvert(&req, &protoReq) + switch req.Mode { + case 1: //查询有待审核画作的画家 + protoReq.Where = "artwork_num_pending > 0" + case 2: //查询有复审历史记录的画家 + protoReq.Query.HaveHistory = true + } + resp, err := service.GrpcArtistInfoArtworkImpl.GetViewReviewArtistStaticList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewReviewArtistStaticList Err", "查询失败") + return + } + //按徐家鸿要求修改,审核页面的画作数量和平尺数统计按照缓存中的审批数据实时展示 + if req.Mode == 1 { + for i, thisArtist := range resp.List { + //2. 统计各个复审状态下的画作数量 + //2.1 拿到当前待审核的画作数据 + artworkResp, err := service.GrpcArtistInfoArtworkImpl.GetViewReviewArtworkList(c, &artistInfoArtwork.GetViewReviewArtworkListRequest{ + Query: &artistInfoArtwork.ViewReviewArtworkData{ReviewStatus: 2, ArtistUid: thisArtist.ArtistUid}, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewReviewArtworkList Err", "查询失败") + return + } + //2.2 拿到缓存中的复审数据 + cacheData, err := service.GrpcArtistInfoArtworkImpl.GetTempSaveReviewStatusList(c, &artistInfoArtwork.GetTempSaveReviewStatusListRequest{ + CacheArtistUid: thisArtist.ArtistUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtworkList:GetArtworkBaseAuditHistoryList Err222", "查询失败") + return + } + //2.4 缓存数据合并到artworkResp + for cacheIndex, cache := range cacheData.List { + for realIndex, _ := range artworkResp.List { + if cache.ArtworkUid == artworkResp.List[realIndex].ArtworkUid { + artworkResp.List[realIndex].ReviewStatus = artistInfoArtwork.ReviewAuditStatus(cacheData.List[cacheIndex].ReviewStatus) + artworkResp.List[realIndex].ReviewMark = cacheData.List[cacheIndex].ReviewMark + artworkResp.List[realIndex].ReviewMark2 = cacheData.List[cacheIndex].ReviewMark2 + artworkResp.List[realIndex].ReviewUpdatedAt = cacheData.List[cacheIndex].OptTime + break + } + } + } + //2.5 重新统计当前审批列表中的信息 + resp.List[i].RulerTotal = 0 + resp.List[i].RulerTotalPassed = 0 + resp.List[i].RulerTotalNoPassed = 0 + resp.List[i].RulerTotalPending = 0 + resp.List[i].ArtworkNumAll = 0 + resp.List[i].ArtworkNumNoPassed = 0 + resp.List[i].ArtworkNumPassed = 0 + resp.List[i].ArtworkNumPending = 0 + for _, v := range artworkResp.List { + resp.List[i].RulerTotal += v.Ruler + resp.List[i].ArtworkNumAll++ + switch v.ReviewStatus { + case artistInfoArtwork.ReviewAuditStatus_Pass: + resp.List[i].RulerTotalPassed += v.Ruler + resp.List[i].ArtworkNumPassed++ + case artistInfoArtwork.ReviewAuditStatus_Failed: + resp.List[i].RulerTotalNoPassed += v.Ruler + resp.List[i].ArtworkNumNoPassed++ + case artistInfoArtwork.ReviewAuditStatus_Pending: + resp.List[i].RulerTotalPending += v.Ruler + resp.List[i].ArtworkNumPending++ + } + } + } + } else if req.Mode == 2 { //复审历史记录页面 + for i, thisArtist := range resp.List { + //2. 统计各个复审状态下的画作数量 + //2.1 拿到当前待审核的画作数据 + history, err := service.GrpcArtistInfoArtworkImpl.GetArtworkBaseAuditHistoryList(c, &artistInfoArtwork.GetArtworkBaseAuditHistoryListRequest{ + Query: &artistInfoArtwork.ArtworkBaseAuditHistoryData{ + ArtistUid: thisArtist.ArtistUid, + Node: 2, + }, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewReviewArtistStaticList:GetArtworkBaseAuditHistoryList Err", "查询失败") + return + } + var artworkUids []string + for _, v := range history.List { + artworkUids = append(artworkUids, "'"+v.ArtworkUid+"'") + } + var req2 = &artistInfoArtwork.GetViewReviewArtworkListRequest{Page: 1, PageSize: -1} + req2.Where = fmt.Sprintf("artwork_uid in (%s)", strings.Join(artworkUids, ",")) + artworkResp, err := service.GrpcArtistInfoArtworkImpl.GetViewReviewArtworkList(c, req2) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewReviewArtistStaticList:GetViewReviewArtworkList Err", "查询失败") + return + } + //2.5 统计当前审批的画作数量 + resp.List[i].RulerTotal = 0 + resp.List[i].RulerTotalPassed = 0 + resp.List[i].RulerTotalNoPassed = 0 + resp.List[i].RulerTotalPending = 0 + resp.List[i].ArtworkNumAll = 0 + resp.List[i].ArtworkNumNoPassed = 0 + resp.List[i].ArtworkNumPassed = 0 + resp.List[i].ArtworkNumPending = 0 + for _, v := range artworkResp.List { + resp.List[i].RulerTotal += v.Ruler + resp.List[i].ArtworkNumAll++ + switch v.ReviewStatus { + case artistInfoArtwork.ReviewAuditStatus_Pass: + resp.List[i].RulerTotalPassed += v.Ruler + resp.List[i].ArtworkNumPassed++ + case artistInfoArtwork.ReviewAuditStatus_Failed: + resp.List[i].RulerTotalNoPassed += v.Ruler + resp.List[i].ArtworkNumNoPassed++ + case artistInfoArtwork.ReviewAuditStatus_Pending: + resp.List[i].RulerTotalPending += v.Ruler + resp.List[i].ArtworkNumPending++ + } + } + } + } + service.ResponseList(c, resp.List, + service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid")) +} + +// 批量查询ArtworkBaseAuditHistory +func (a *artworkSupplement) GetArtworkBaseAuditHistoryList(c *gin.Context) { + var req GetArtworkBaseAuditHistoryListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq artistInfoArtwork.GetArtworkBaseAuditHistoryListRequest + asUtil.RequestDataConvert(&req, &protoReq) + protoReq.Where = "(node=1 AND audit_status=7) OR node=2" + resp, err := service.GrpcArtistInfoArtworkImpl.GetArtworkBaseAuditHistoryList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtworkBaseAuditHistoryList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, + service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +// 批量查询ViewArtworkSupplementDetail +func (a *artworkSupplement) GetViewArtworkSupplementDetailList(c *gin.Context) { + var req GetViewArtworkSupplementDetailListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + + var protoReq = artistInfoArtwork.GetViewArtworkSupplementDetailListRequest{Query: &artistInfoArtwork.ViewArtworkSupplementDetailData{}} + asUtil.RequestDataConvert(&req, &protoReq) + if req.SupplementAuditStatus != 0 { + protoReq.Query.SupplementAuditStatus = req.SupplementAuditStatus + } + // 配置排序 + var order []string + if req.SortField != "" { + var orderType = "asc" + if req.SortOrder == "descend" { + orderType = "desc" + } + order = append(order, fmt.Sprintf("%s %s", utils.CamelToSnake(req.SortField), orderType)) + protoReq.Order = strings.Join(order, ",") + } + switch req.History { + case 1: + protoReq.Query.LockStatus = 2 + case 2: + protoReq.Query.LockStatus = 3 + } + resp, err := service.GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementDetailList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewArtworkSupplementDetailList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, + service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +// 批量查询ReviewAuditMessage +func (a *artworkSupplement) GetReviewAuditMessageList(c *gin.Context) { + var req GetReviewAuditMessageListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = artistInfoArtwork.GetReviewAuditMessageListRequest{Query: &artistInfoArtwork.ReviewAuditMessageData{}} + asUtil.RequestDataConvert(&req, &protoReq) + protoReq.Query.History = &artistInfoArtwork.ArtworkBaseAuditHistoryData{ + ArtworkName: req.ArtworkName, + ArtistName: req.ArtistName, + ArtistUid: req.ArtistUid, + ArtworkUid: req.ArtworkUid, + Tnum: req.Tnum, + Tfnum: req.Tfnum, + } + resp, err := service.GrpcArtistInfoArtworkImpl.GetReviewAuditMessageList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetReviewAuditMessageList Err", "查询失败") + return + } + if resp != nil && resp.Total > 0 { + //查询画家的画展次数 + var artistUidList []string + for _, v := range resp.List { + if v.History != nil && v.History.ArtistUid != "" { + artistUidList = append(artistUidList, v.History.ArtistUid) + } + } + countList, _ := service.GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUidList}) + //增加artistShowCount字段 + jsonBytes, _ := json.Marshal(resp.List) + var mapList []map[string]any + json.Unmarshal(jsonBytes, &mapList) + fmt.Println("mapList len: ", len(mapList)) + fmt.Println("resp.list len: ", len(resp.List)) + for i, v := range mapList { + if v["history"] != nil { + artistUid := v["history"].(map[string]any)["artistUid"].(string) + found := false + for _, countInfo := range countList.ArtistShowCount { + if countInfo.ArtistUid == artistUid { + found = true + mapList[i]["history"].(map[string]any)["artistShowCount"] = fmt.Sprintf("%s(%d)", + mapList[i]["history"].(map[string]any)["artistName"], countInfo.ShowCount) + break + } + } + if !found { + mapList[i]["history"].(map[string]any)["artistShowCount"] = fmt.Sprintf("%s(0)", + mapList[i]["history"].(map[string]any)["artistName"]) + } + } + } + service.ResponseList(c, mapList, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) + } else { + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) + } + +} + +func (a *artworkSupplement) GetReviewAuditMessageStatic(c *gin.Context) { + //var req GetReviewAuditMessageListRequest + //if err := c.ShouldBindJSON(&req); err != nil { + // service.Error(c, e.InvalidParams, err, "无效参数") + // return + //} + //var protoReq = artistInfoArtwork.GetReviewAuditMessageListRequest{Query: &artistInfoArtwork.ReviewAuditMessageData{}} + //asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcArtistInfoArtworkImpl.GetReviewAuditMessageStatic(c, &artistInfoArtwork.GetReviewAuditMessageStaticRequest{}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetReviewAuditMessageList Err", "查询失败") + return + } + if resp == nil { + resp = &artistInfoArtwork.GetReviewAuditMessageStaticResp{} + } + service.Success(c, resp) +} + +// 更新ReviewAuditMessage +func (a *artworkSupplement) UpdateReviewAuditMessage(c *gin.Context) { + var req artistInfoArtwork.ReviewAuditMessageData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoArtworkImpl.UpdateReviewAuditMessage(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoArtworkImpl.UpdateReviewAuditMessage Err", "更新失败") + return + } + service.Success(c) +} + +// 删除ReviewAuditMessage +func (a *artworkSupplement) DeleteReviewAuditMessage(c *gin.Context) { + var req artistInfoArtwork.DeleteReviewAuditMessageRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoArtworkImpl.DeleteReviewAuditMessage(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteReviewAuditMessage Err", "删除失败") + return + } + service.Success(c) +} diff --git a/pkg/service/artistInfo/asArtwork/supplementDto.go b/pkg/service/artistInfo/asArtwork/supplementDto.go new file mode 100644 index 0000000..3ec9ea7 --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/supplementDto.go @@ -0,0 +1,369 @@ +// Package dto ----------------------------- +// @file : artworkSupplement.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/2/28 16:47 +// ------------------------------------------- +package asArtwork + +import ( + "context" + "encoding/json" + "fmt" + "strings" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" +) + +// 画作补充信息 +type ArtworkSupplementInfo struct { + // 画作首选项 + //Id int `json:"id"` + ArtworkUuid string `json:"artworkUid"` + ArtistName string `json:"artistName"` + ArtistUid string `json:"artistUid"` + ArtworkName string `json:"artworkName"` + Length int32 `json:"length"` + Width int32 `json:"width"` + Ruler int32 `json:"ruler"` + InscribeDate string `json:"inscribeDate"` //落款时间 + Abstract string `json:"abstract"` //简介 + HdPic string `json:"hdPic"` //高清图 + ArtistPhoto string `json:"artistPhoto"` //画家画作合照 + CreatedDate string `json:"createdDate"` //初始创作时间 + CreatedAddress string `json:"createdAddress"` //创作地址 + PriceRun float32 `json:"priceRun"` + CreatedAt string `json:"createdAt"` //todo 这几个字段没画作服务没返回,待处理 + UpdatedAt string `json:"updatedAt"` //todo 这几个字段没画作服务没返回,待处理 + DeletedAt string `json:"deletedAt"` //todo 这几个字段没画作服务没返回,待处理 + //首次发表 + FirstPublish string `gorm:"column:first_publish" json:"firstPublish"` //type:string comment:首次发发表作品url + //FirstPublishImg string `gorm:"column:first_publish_img" json:"FirstPublishImg"` //type:string comment:首次发表作品url + //FirstName string `gorm:"column:first_name" json:"FirstName"` //type:string comment:首次命名 + //FirstNameImg string `gorm:"column:first_name_img" json:"FirstNameImg"` //type:string comment:首次命名截图 + + // 画作荣誉 + ArtistMarketDetail string `json:"artistMarketDetail"` //画作微服务ArtworkMarketData表 - Type: int32 =0 详情 + ArtistMarketUrl1 string `json:"artistMarketUrl1"` //画作微服务ArtworkMarketData表 - Type: int32 =1 获奖 + ArtistMarketUrl2 string `json:"artistMarketUrl2"` //画作微服务ArtworkMarketData表 - Type: int32 =1 拍卖 + ArtistMarketId1 int32 `json:"artistMarketId1"` //对应上面三个字段的id + ArtistMarketId2 int32 `json:"artistMarketId2"` + ArtistMarketId3 int32 `json:"artistMarketId3"` + + // 审核状态 + SupplementAuditStatus int32 `json:"supplementAuditStatus"` + SupplementAuditMark string `json:"supplementAuditMark"` + SupplementAuditMark2 string `json:"supplementAuditMark2"` + + //动态字段 + Editable bool `json:"editable"` //该条数据是否可编辑 + IsFirstPublish bool `json:"isFirstPublish"` //是否首次发表 + + //锁定状态 + Status int64 `json:"lockStatus"` //锁定状态 2锁定 3解锁 + Tfnum string `json:"tfnum"` //画作编号 +} + +func (a *ArtworkSupplementInfo) ConvertResponse(lockInfo *artistInfoArtwork.ArtworkLockInfo, profile *artwork.CreArtProRequest, marketInfo []*artwork.UpdateMInfoRequest, extDataInfo *artwork.UpdateExtDataRequest) error { + //查询该条数据是否可编辑 + lockStatus, err := service.GrpcArtistInfoArtworkImpl.CheckArtworkSupplementInfoEditable(context.Background(), &artistInfoArtwork.ArtworkUidRequest{ArtworkUid: profile.ArtworkUuid}) + if err != nil { + return err + } + a.Editable = lockStatus.Editable + a.Status = lockInfo.Status + //数据拼接 + if lockInfo != nil { + a.ArtworkUuid = lockInfo.ArtworkUid + a.ArtistUid = lockInfo.ArtistUid + a.SupplementAuditStatus = lockInfo.SupplementAuditStatus + a.SupplementAuditMark = lockInfo.SupplementAuditMark + a.SupplementAuditMark2 = lockInfo.SupplementAuditMark2 + a.CreatedAt = stime.TimeToString(time.Unix(lockInfo.CreatedAt, 0), stime.Format_Normal_YMDhms) + a.UpdatedAt = stime.TimeToString(time.Unix(lockInfo.UpdatedAt, 0), stime.Format_Normal_YMDhms) + } + if profile != nil { + a.ArtworkUuid = profile.ArtworkUuid + a.ArtistName = profile.ArtistName + a.ArtworkName = profile.ArtworkName + a.Length = profile.Length + a.Width = profile.Width + a.Ruler = profile.Ruler + a.InscribeDate = profile.InscribeDate + a.HdPic = profile.HdPic + a.ArtistPhoto = profile.ArtistPhoto + a.PriceRun = profile.PriceRun + a.Abstract = profile.Abstract + a.CreatedDate = profile.CreatedDate + a.CreatedAddress = profile.CreatedAddress + } + if a.ArtistName == "" || a.ArtistName == " " { + artistInfo, _ := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{ + MgmtArtistUid: lockInfo.ArtistUid, + IsArtist: true, + }) + if artistInfo != nil && artistInfo.RealName != nil { + a.ArtistName = artistInfo.RealName.Name + } + } + if marketInfo != nil && len(marketInfo) > 0 { + for _, v := range marketInfo { + switch v.Type { + case 0: + a.ArtistMarketDetail = v.Detail + a.ArtistMarketId1 = v.MarketId + case 2: + if a.ArtistMarketUrl1 == "" { + a.ArtistMarketUrl1 = v.Detail + a.ArtistMarketId2 = v.MarketId + } else if a.ArtistMarketUrl2 == "" { + a.ArtistMarketUrl2 = v.Detail + a.ArtistMarketId3 = v.MarketId + break + } + } + } + } + if extDataInfo != nil { + a.FirstPublish = extDataInfo.FirstPublish + a.IsFirstPublish = utils.If(extDataInfo.FirstPublish == "", false, true).(bool) + } + return nil +} + +func (a *ArtworkSupplementInfo) ConvertGrpcRequest() (profile *artwork.CreArtProRequest, marketInfo []*artwork.UpdateMInfoRequest, extDataInfo *artwork.UpdateExtDataRequest) { + profile = &artwork.CreArtProRequest{ + ArtworkUuid: a.ArtworkUuid, + ArtistName: a.ArtistName, + ArtworkName: a.ArtworkName, + Length: a.Length, + Width: a.Width, + Ruler: a.Ruler, + InscribeDate: a.InscribeDate, + HdPic: a.HdPic, + ArtistPhoto: a.ArtistPhoto, + PriceRun: a.PriceRun, + CreatedDate: a.CreatedDate, + } + marketInfo = []*artwork.UpdateMInfoRequest{ + { + ArtworkUuid: a.ArtworkUuid, + Type: 0, + Detail: a.ArtistMarketDetail, + MarketId: a.ArtistMarketId1, + }, + { + ArtworkUuid: a.ArtworkUuid, + Type: 2, + Detail: a.ArtistMarketUrl1, + MarketId: a.ArtistMarketId2, + }, + { + ArtworkUuid: a.ArtworkUuid, + Type: 2, + Detail: a.ArtistMarketUrl2, + MarketId: a.ArtistMarketId3, + }, + } + extDataInfo = &artwork.UpdateExtDataRequest{ + ArtworkUuid: a.ArtworkUuid, + FirstPublish: a.FirstPublish, + } + return +} + +type GetAuditSupplementDataListRequest struct { + ArtistUid string `json:"artistUid"` //可选 艺术家id + ArtworkName string `json:"artworkName"` //可选 画作名称 + AuditStatus int64 `json:"auditStatus"` //可选 审批状态 + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` +} + +type AuditSupplement struct { + ArtworkUid string `json:"artworkUid"` + ArtworkUids []string `json:"artworkUids"` + AuditStatus int64 `json:"auditStatus"` // 画作补充信息审核状态 1:待审核/暂存 2:审核通过 3:审核不通过 6驳回 + AuditMark string `json:"auditMark" gorm:"column:audit_mark;comment:审核备注"` + AuditMark2 string `json:"auditMark2" gorm:"column:audit_mark2;comment:审核备注2"` + FlowIndex int64 `json:"flowIndex"` //需要修改的审批流程位置 +} + +func (a AuditSupplement) ConvertGrpcRequest(userAccId uint64, userNickName string) *artistInfoArtwork.UpdateArtworkAuditStatusRequest { + return &artistInfoArtwork.UpdateArtworkAuditStatusRequest{ + ArtworkUid: a.ArtworkUid, + AuditStatus: a.AuditStatus, + AuditMark: a.AuditMark, + AuditMark2: a.AuditMark2, + FlowIndex: a.FlowIndex, + ArtworkUids: a.ArtworkUids, + ApproverAccid: int32(userAccId), + Approver: userNickName, + } +} + +// 获取用户端补充信息预览列表请求 +type GetSupplementDataListAtUserSideRequest struct { + Page int `json:"page"` + PageSize int `json:"pageSize"` +} +type GetSupplementDataListAtBackendSideRequest struct { + Page int `json:"page"` + PageSize int `json:"pageSize"` + ArtistUid string `json:"artistUid"` + History bool `json:"history"` + SupplementAuditStatus int32 `json:"supplementAuditStatus"` //画作补充信息审核状态 1:暂存 2:待审核 3:审核不通过 4:审核通过 + ArtworkName string `json:"artworkName"` + SortOrder string `json:"sortOrder"` + SortField string `json:"sortField"` +} +type GenerateSupplementInfoRequest struct { + ArtworkUids []string `json:"artworkUids"` +} + +// ArtworkSupplementInfoList 画作补充信息列表 +type ArtworkSupplementInfoList []ArtworkSupplementInfo + +type ArtworkAward struct { + AwardTime string `json:"award_time"` //获奖时间(画家宝不需要) + AwardContent string `json:"award_content"` //获奖奖项或正文内容 + AwardCert string `json:"award_cert"` //获奖图片 + AwardLink string `json:"award_link"` //链接地址 +} +type tmpArtworkAwardResponse struct { + ArtistMarketId1 int32 + ArtistMarketId2 int32 + ArtistMarketId3 int32 + ArtistMarketDetail string + ArtistMarketUrl1 string + ArtistMarketUrl2 string +} + +func ConvertMarketDataToResponse(ArtworkMarkets []*artistInfoArtwork.ArtworkMarketData) (tmp tmpArtworkAwardResponse) { + for _, v := range ArtworkMarkets { + if v.Detail != "" { + if strings.Contains(v.Detail, "{") { + var detail ArtworkAward + if err := json.Unmarshal([]byte(v.Detail), &detail); err != nil { + fmt.Println(err.Error()) + continue + } + if tmp.ArtistMarketId1 == 0 { + tmp.ArtistMarketDetail = detail.AwardContent + tmp.ArtistMarketUrl1 = detail.AwardCert + tmp.ArtistMarketId1 = int32(v.ID) + } else if tmp.ArtistMarketId2 == 0 { + tmp.ArtistMarketUrl2 = detail.AwardCert + tmp.ArtistMarketId2 = int32(v.ID) + } + } else { + //旧版数据处理优化 + switch v.Type { + case 0: + tmp.ArtistMarketDetail = v.Detail + tmp.ArtistMarketId1 = int32(v.ID) + case 2: + if tmp.ArtistMarketUrl1 == "" { + tmp.ArtistMarketUrl1 = v.Detail + tmp.ArtistMarketId2 = int32(v.ID) + } else if tmp.ArtistMarketUrl2 == "" { + tmp.ArtistMarketUrl2 = v.Detail + tmp.ArtistMarketId3 = int32(v.ID) + } + } + } + } + + } + return +} + +type GetViewReviewArtworkListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + artistInfoArtwork.ViewReviewArtworkData + + SelectColumns []int64 + ArtworkUids []string + ReviewUpdatedFrom string `json:"reviewUpdatedFrom"` + ReviewUpdatedTo string `json:"reviewUpdatedTo"` + History bool `json:"history"` +} + +type ExportArtworkReviewListRequest struct { + artistInfoArtwork.ViewReviewArtworkData + + ColumnIds []int64 `json:"columnIds"` + //ArtworkUids []string `json:"artworkUids"` + ReviewUpdatedFrom string `json:"reviewUpdatedFrom"` + ReviewUpdatedTo string `json:"reviewUpdatedTo"` +} +type ViewReviewArtworkExportData struct { + ID int64 `json:"ID"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + ReviewStatus string `json:"reviewStatus"` + ReviewMark string `json:"reviewMark"` //复审备注 + InSource string `json:"inSource"` //导入状态 + ArtworkName string `json:"artworkName"` // + ArtworkUid string `json:"artworkUid"` // + Tfnum string `json:"tfnum"` //画作名 + ArtistName string `json:"artistName"` // + ArtistUid string `json:"artistUid"` // + Tnum string `json:"tnum"` //画家编号 + ArtworkType string `json:"artworkType"` // + Width int32 `json:"width"` // + Length int32 `json:"length"` // + Ruler int32 `json:"ruler"` // + HdPic string `json:"hdPic"` // + ArtistPhoto string `json:"artistPhoto"` // + SealPic string `json:"sealPic"` //人名章图 + NationalExhibition string `json:"nationalExhibition"` // + LockStatus int32 `json:"lockStatus"` // + LockTime string `json:"lockTime"` // + ReviewMark2 string `json:"reviewMark2"` //复审备注 + ReviewUpdatedAt string `json:"reviewUpdatedAt"` //复审操作时间 +} + +type GetViewReviewArtistStaticListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + artistInfoArtwork.ViewReviewArtistStaticData + Mode int `json:"mode"` +} + +type GetArtworkBaseAuditHistoryListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + artistInfoArtwork.ArtworkBaseAuditHistoryData +} + +type GetViewArtworkSupplementDetailListRequest struct { + artistInfoArtwork.ViewArtworkSupplementDetailData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + History int32 `json:"history"` + SupplementAuditStatus int32 `json:"supplementAuditStatus"` //画作补充信息审核状态 1:暂存 2:待审核 3:审核不通过 4:审核通过 + SortOrder string `json:"sortOrder"` + SortField string `json:"sortField"` +} + +type GetReviewAuditMessageListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + artistInfoArtwork.ReviewAuditMessageData + + ArtworkName string `json:"artworkName"` + ArtistName string `json:"artistName"` + Tfnum string `json:"tfnum"` + Tnum string `json:"tnum"` + ArtistUid string `json:"artistUid"` + ArtworkUid string `json:"artworkUid"` +} diff --git a/pkg/service/artistInfo/asArtwork/supplementService.go b/pkg/service/artistInfo/asArtwork/supplementService.go new file mode 100644 index 0000000..b267b4f --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/supplementService.go @@ -0,0 +1,95 @@ +// Package asArtwork ----------------------------- +// @file : supplementService.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/6/19 上午10:25 +// ------------------------------------------- +package asArtwork + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "time" +) + +var SupplementService = new(supplementService) + +type supplementService struct { +} + +func (s supplementService) GenerateSupplementInfo(ArtworkUids []string) error { + _, err := service.GrpcArtistInfoArtworkImpl.GenerateArtworkSupplementInfo(context.Background(), &artistInfoArtwork.ArtworkUidsRequest{ + ArtworkUids: ArtworkUids, + }) + if err != nil { + return err + } + //添加流转记录 发送通知 + if len(ArtworkUids) > 0 { + go func() { + var userIds []int64 + { + //添加流转记录 + var nowStamp = time.Now().Unix() + artworkRecords, err := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(context.Background(), &artistInfoArtwork.ArtworkViewRequest{ + ArtworkUids: ArtworkUids, + Page: 1, + PageSize: int64(len(ArtworkUids)), + }) + if err != nil { + fmt.Println("GenerateSupplementInfo: GetArtworkLockRecords Err", err.Error()) + } else { + for _, w := range artworkRecords.Datas { + //如果不是锁定状态,则不添加流转记录,最新状态还是已通过。等到用户锁定时,再添加画作信息待补充的流转记录 + if w.LockStatus != 2 { + continue + } + _, err = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), &artistInfoArtwork.AddArtworkFlowRecordRequest{ + ArtistUid: w.ArtistUid, + ArtworkUid: w.ArtworkUid, + TimeStamp: nowStamp, + FlowState: artistInfoArtwork.FlowState_ArtWorkSupplementBegin, + Operator: artistInfoArtwork.Operator_Backend, + }) + if err != nil { + fmt.Println("GenerateSupplementInfo: AddArtworkFlowRecord Err", err.Error()) + } + userData, err := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{ + MgmtArtistUid: w.ArtistUid, + }) + userIds = append(userIds, userData.Id) + if err != nil { + fmt.Println("GenerateSupplementInfo: FindUser Err", err.Error()) + } + } + } + //发送消息推送 + { + if len(userIds) > 0 { + userIds = utils.ArrayDeduplicate(userIds) + fmt.Println("notice artistInfo userIds:", userIds) + puser := asPush.NewPusher() + for _, id := range userIds { + //err = asUser.ArtistInfoPushNotice.ArtworkSupplementNotice(id) + //if err != nil { + // fmt.Println("GenerateSupplementInfo: ArtworkSupplementNotice Err", err.Error()) + //} + err = puser.ArtworkSupplementNotice(id) + if err != nil { + fmt.Println("GenerateSupplementInfo: ArtworkSupplementNotice Err", err.Error()) + } else { + fmt.Println("画作补充信息通知成功. userId:", id) + } + } + } + } + } + }() + } + return err +} diff --git a/pkg/service/artistInfo/asArtwork/supplementV2.go b/pkg/service/artistInfo/asArtwork/supplementV2.go new file mode 100644 index 0000000..2af1a12 --- /dev/null +++ b/pkg/service/artistInfo/asArtwork/supplementV2.go @@ -0,0 +1,155 @@ +// Package asArtwork ----------------------------- +// @file : supplementV2.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/6/19 上午10:38 +// ------------------------------------------- +package asArtwork + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "time" +) + +// 复审画作 +// 新增复审通过自动生成画作补充信息 +func (a artworkSupplement) ReviewBaseArtworkV2(c *gin.Context) { + var req artistInfoArtwork.ReviewBaseArtworkAuditRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //获取账号信息 + accInfo, err, code := asUser.GetAccInfoWithToken(c) + if err != nil { + service.ErrorWithMark(c, code, err, "", "无效的登录状态") + return + } + req.ApproverAccid = int32(accInfo.ID) + req.Approver = accInfo.NickName + + //从缓存中拿去审批数据为后面添加路转记录做准备 + fmt.Printf("req.CacheArtistUid:%+v\n", req.CacheArtistUid) + var tmpAuditData = &artistInfoArtwork.GetTempSaveReviewStatusListResp{} + if req.CacheArtistUid != "" { + fmt.Println("从缓存中获取审批数据111111111111111111") + tmpAuditData, err = service.GrpcArtistInfoArtworkImpl.GetTempSaveReviewStatusList(c, &artistInfoArtwork.GetTempSaveReviewStatusListRequest{ + CacheArtistUid: req.CacheArtistUid, + }) + fmt.Println("从缓存中获取审批数据22222", err) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtwork: GetTempSaveReviewStatusList Error", "审批失败,请稍后重试") + return + } + } + fmt.Println("3333333333333333333333") + //进行审批 + fmt.Printf("tmpAuditData:%+v\n", tmpAuditData) + resp, err := service.GrpcArtistInfoArtworkImpl.ReviewBaseArtworkAudit(c, &req) + fmt.Printf("ReviewBaseArtworkAudit resp:%+v\n", resp) + if err != nil { + if utils.Contains([]string{"该画家画作已经审批完成,请勿重复提交", "请审批完后再提交", "未识别到您的审批操作,操作取消"}, err.Error()) { + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtwork: ReviewBaseArtwork Error", err.Error()) + return + } + service.ErrorWithMark(c, e.Failed, err, "ReviewBaseArtwork: ReviewBaseArtwork Error", "审批失败") + return + } + + fmt.Println("444444444444444444444") + // 添加画作流转记录(如果审批通过) + if req.ArtworkUid != "" { + req.BatchAudit = append(req.BatchAudit, &artistInfoArtwork.BatchReviewAudit{ + ArtworkUid: req.ArtworkUid, + ReviewStatus: req.ReviewStatus, + ReviewMark: req.ReviewMark, + ReviewMark2: req.ReviewMark2, + }) + } + + fmt.Println("555555555555555555") + if tmpAuditData.List != nil && len(tmpAuditData.List) > 0 { + for _, v := range tmpAuditData.List { + fmt.Println("v.ArtworkUid:", v.ArtworkUid, "v.ReviewStatus:", v.ReviewStatus) + req.BatchAudit = append(req.BatchAudit, &artistInfoArtwork.BatchReviewAudit{ + ArtworkUid: v.ArtworkUid, + ReviewStatus: artistInfoArtwork.ReviewAuditStatus(v.ReviewStatus), + ReviewMark: v.ReviewMark, + ReviewMark2: v.ReviewMark2, + }) + } + } + fmt.Printf("准备添加流转记录:%+v\n", req.BatchAudit) + for _, artAudit := range req.BatchAudit { + if artAudit.ReviewStatus != artistInfoArtwork.ReviewAuditStatus_Pass { + fmt.Println(artAudit.ArtworkUid+"没有通过,跳过流转记录添加 ,reviewStatus", artAudit.ReviewStatus) + continue + } + fmt.Println(artAudit.ArtworkUid+"通过复审,添加流转记录 ,reviewStatus", artAudit.ReviewStatus) + //查询画作锁定和审批状态 + artworkLock, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(context.Background(), &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: artAudit.ArtworkUid}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateExtData: GrpcArtistInfoArtworkImpl.GetArtworkLockDetail Error", "审批失败") + return + } + //if artworkLock.Status == 3 { + // service.Error(c, e.Failed, nil, "画作已解锁,不允许审批") + // return + //} + //生成流转记录请求数据 + flowRecord, auditType, auditResult := generateArtworkAuditFlowIndex(4, 2, artworkLock, time.Now().Unix()) + fmt.Printf("flowRecord:%+v\n", flowRecord) + _, err = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), flowRecord) + if err != nil { + fmt.Println("AuditSupplement AddArtworkFlowRecord Err:", err.Error()) + } + //如果复审通过并且画作被锁定,则额外生成一条待画家补充画作信息的流转记录。 + //同样的,画作被锁定时也要增加这个逻辑 + if flowRecord.FlowState == artistInfoArtwork.FlowState_BaseInfoAuditNoPass && artworkLock.Status == 2 { + _, _ = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), &artistInfoArtwork.AddArtworkFlowRecordRequest{ + ArtistUid: artworkLock.ArtistUid, + ArtworkUid: artworkLock.ArtworkUid, + TimeStamp: time.Now().Unix(), + Operator: artistInfoArtwork.Operator_Backend, + FlowState: artistInfoArtwork.FlowState_ArtWorkSupplementBegin, + }) + } + + //发送审批通知 + userData, err := service.GrpcArtistInfoUserImpl.FindUser(context.Background(), &artistInfoUser.FindUserRequest{MgmtArtistUid: artworkLock.ArtistUid}) + if err != nil { + fmt.Println("AuditSupplement FindUser Err:", err.Error()) + continue + } + artworkView, err := service.GrpcArtistInfoArtworkImpl.GetArtworkViewList(context.Background(), &artistInfoArtwork.ArtworkViewRequest{ArtworkUids: []string{artAudit.ArtworkUid}, PageSize: 1, Page: 1}) + if err != nil || artworkView.Total == 0 { + fmt.Println("AuditSupplement GetArtworkViewList Err:", err.Error()) + continue + } + //if err = asUser.ArtistInfoPushNotice.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + // fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + //} + pusher := asPush.NewPusher() + if err = pusher.ArtworkAuditResultNotice(userData.Id, artworkView.Datas[0].ArtworkName, auditType, auditResult); err != nil { + fmt.Println("AuditSupplement ArtworkAuditResultNotice Err:", err.Error()) + } + //自动生成画作补充信息 + err = SupplementService.GenerateSupplementInfo([]string{artAudit.ArtworkUid}) + if err != nil { + fmt.Println("ReviewBaseArtworkV2 GenerateSupplementInfo Err:", err.Error()) + zap.L().Error("ReviewBaseArtworkV2 GenerateSupplementInfo Err", zap.Error(err)) + } + } + + service.Success(c) +} diff --git a/pkg/service/artistInfo/asContract/check.go b/pkg/service/artistInfo/asContract/check.go new file mode 100644 index 0000000..d9dff76 --- /dev/null +++ b/pkg/service/artistInfo/asContract/check.go @@ -0,0 +1,131 @@ +// Package asContract ----------------------------- +// @file : check.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/9/26 上午11:09 +// ------------------------------------------- +package asContract + +import ( + "context" + "errors" + "fmt" + art_show "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoContract" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "strings" +) + +func (req *BatchCreateContractRequest) Validate() error { + c := context.Background() + // ------------------------------------------------校验------------------------------------------------ + if len(req.ArtworkUids) == 0 { + return errors.New("请选择画作") + } + if utils.Contains(req.ContractType, artistInfoContract.ContractType_CopyrightAgencyAppendix) { //类型2自动携带附表 + return errors.New(fmt.Sprintf("%s不支持批量生成", artistInfoContract.ContractType_CopyrightAgencyAppendix.Value())) + } + if utils.Contains(req.ContractType, artistInfoContract.ContractType_PropertyReconciliation) { + return errors.New(fmt.Sprintf("%s不支持批量生成", artistInfoContract.ContractType_PropertyReconciliation.Value())) + } + if utils.Contains(req.ContractType, artistInfoContract.ContractType_CopyrightReconciliation) { + return errors.New(fmt.Sprintf("%s不支持批量生成", artistInfoContract.ContractType_CopyrightReconciliation.Value())) + } + //画作没有底价则报错 + artworkPriceList, err := service.GrpcArtShowImpl.GetArtworkPriceList(c, &art_show.GetArtworkPriceListRequest{ + Page: 1, + PageSize: -1, + ArtworkUidIn: req.ArtworkUids, + }) + if err != nil { + return fmt.Errorf("画作底价查询失败:%s", err.Error()) + } + if artworkPriceList.Total == 0 { + return errors.New("你选择的所有画作都没有底价,请生成后再试!") + } + var lostArtworkPriceUids []string + for _, artworkUid := range req.ArtworkUids { + var found bool + for _, vv := range artworkPriceList.List { + if vv.ArtworkUID == artworkUid { + found = true + if vv.ArtworkPrice == 0 { + lostArtworkPriceUids = append(lostArtworkPriceUids, artworkUid) + } + break + } + } + if !found { + lostArtworkPriceUids = append(lostArtworkPriceUids, artworkUid) + } + } + if len(lostArtworkPriceUids) > 0 { + //查询丢失平尺数底价的画作名称和编号并返回报错 + var message = "生成失败,以下画作没有平尺数底价: " + var list *artwork_query.GetArtworkProfileListResp + list, err = service.GrpcArtworkQueryImpl.GetArtworkProfileList(c, &artwork_query.GetArtworkProfileListRequest{ + Page: 1, + PageSize: -1, + Where: fmt.Sprintf("uuid in (%s)", "\""+strings.Join(lostArtworkPriceUids, ",\"")+"\""), + }) + if err != nil { + return errors.New("查询画作信息失败,请稍再试!") + } + for i, v := range list.List { + message += fmt.Sprintf("%s[%s]", v.Name, v.Tfnum) + if i+1 < int(list.Total) { + message += "," + } + } + return errors.New(message) + } + //检测画作是否有版权哈希 + copyrightListRes, copyErr := service.GrpcArtworkQueryImpl.GetArtworkCopyrightList(c, &artwork_query.GetArtworkCopyrightListRequest{ + Where: fmt.Sprintf("artwork_uuid in (%s)", "'"+strings.Join(req.ArtworkUids, "','")+"'"), + Page: 1, + PageSize: -1, + }) + if copyErr != nil { + return errors.New("获取画作版权失败,请稍后再试!") + } + if copyrightListRes.Total == 0 { + return errors.New("你选择的所有画作都没有版权哈希,请生成后再试!") + } + var lostCopyrightArtworkUidList []string + for _, thisArtworkUid := range req.ArtworkUids { + found := false + for _, thisCopy := range copyrightListRes.List { + if thisCopy.ArtworkUuid == thisArtworkUid { + found = true + if thisCopy.Number == "" { + lostCopyrightArtworkUidList = append(lostCopyrightArtworkUidList, thisCopy.ArtworkUuid) + } + } + } + if !found { + lostCopyrightArtworkUidList = append(lostCopyrightArtworkUidList, thisArtworkUid) + } + } + if len(lostCopyrightArtworkUidList) > 0 { + var message = "生成失败,以下画作没有版权哈希: " + lostCopyArtworkRes, _ := service.GrpcArtworkQueryImpl.GetArtworkProfileList(c, &artwork_query.GetArtworkProfileListRequest{ + Where: fmt.Sprintf("uuid in (%s)", "'"+strings.Join(lostCopyrightArtworkUidList, "','")+"'"), + PageSize: int64(len(lostCopyrightArtworkUidList)), + Page: 1, + }) + var tfNumList []string + for _, thisArtwork := range lostCopyArtworkRes.List { + tfNumList = append(tfNumList, thisArtwork.Tfnum) + } + for i, v := range lostCopyArtworkRes.List { + message += fmt.Sprintf("%s[%s]", v.Name, v.Tfnum) + if i+1 < int(lostCopyArtworkRes.Total) { + message += "," + } + } + return errors.New(fmt.Sprintf("合同生成失败,这些画作没有版权哈希[%s]", strings.Join(tfNumList, ","))) + } + return nil +} diff --git a/pkg/service/artistInfo/asContract/contract.go b/pkg/service/artistInfo/asContract/contract.go new file mode 100644 index 0000000..f7321b7 --- /dev/null +++ b/pkg/service/artistInfo/asContract/contract.go @@ -0,0 +1,388 @@ +package asContract + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoContract" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "strings" + "time" +) + +func CreateContractMgmt(c *gin.Context) { + var createContractRequest artistInfoContract.CreateContractRequest + if err := c.ShouldBind(&createContractRequest); err != nil { + logger.Errorf("putInRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + fmt.Println("1111111111111111111") + rep, err := service.GrpcArtistInfoContracImpl.CreateContract(context.Background(), &createContractRequest) + fmt.Println("1111111111111111111") + fmt.Printf("err:%v\n", err) + fmt.Println("rep", rep) + if err != nil { + fmt.Println("222222222222222222222") + logger.Error("err1212121212", utils.If(err == nil, "", err.Error())) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + fmt.Println("23333333333333333333") + go func() { + //增加画作流转记录 + for _, artworkUid := range createContractRequest.ArtworkUid { + _, _ = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), &artistInfoArtwork.AddArtworkFlowRecordRequest{ + ArtistUid: createContractRequest.ArtistUid, + ArtworkUid: artworkUid, + TimeStamp: time.Now().Unix(), + FlowState: artistInfoArtwork.FlowState_ContractGenerate, + Operator: artistInfoArtwork.Operator_Backend, + }) + } + }() + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func ContractListMgmt(c *gin.Context) { + var ContractListMgmtRequest artistInfoContract.ContractListMgmtRequest + if err := c.ShouldBind(&ContractListMgmtRequest); err != nil { + logger.Errorf("ContractListMgmt ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("ContractListMgmtRequest", ContractListMgmtRequest) + rep, err := service.GrpcArtistInfoContracImpl.ContractListMgmt(context.Background(), &ContractListMgmtRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + var resp []ContractListType + for _, v := range rep.Data { + v := v + var relArtwork string + if v.Type == artistInfoContract.ContractType_PowerOfAttorney || v.Type == artistInfoContract.ContractType_ArtworkRegistrationPromise { + artworkInfo, errs := service.GrpcArtworkQueryImpl.GetArtworkProfileList(context.Background(), &artwork_query.GetArtworkProfileListRequest{ + Page: 1, + PageSize: 1, + Query: &artwork_query.ArtworkProfileData{ + Uuid: v.ArtworkUid, + }, + }) + if errs == nil && artworkInfo.Total > 0 { + relArtwork = artworkInfo.List[0].Name + "_" + artworkInfo.List[0].Tfnum + } + } + resp = append(resp, ContractListType{ + RelArtwork: relArtwork, + Contracts: v, + }) + } + service.ResponseList(c, resp, service.OptionPage(ContractListMgmtRequest.Page, ContractListMgmtRequest.PageSize, rep.Total)) +} + +func ContractListMgmtV2(c *gin.Context) { + var ContractListMgmtRequest artistInfoContract.ContractListMgmtV2Request + if err := c.ShouldBind(&ContractListMgmtRequest); err != nil { + logger.Errorf("ContractListMgmt ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("ContractListMgmtRequest", ContractListMgmtRequest) + rep, err := service.GrpcArtistInfoContracImpl.ContractListMgmtV2(context.Background(), &ContractListMgmtRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + var resp []ContractListType + for _, v := range rep.Data { + v := v + var relArtwork string + if v.Type == artistInfoContract.ContractType_PowerOfAttorney || v.Type == artistInfoContract.ContractType_ArtworkRegistrationPromise { + artworkInfo, errs := service.GrpcArtworkQueryImpl.GetArtworkProfileList(context.Background(), &artwork_query.GetArtworkProfileListRequest{ + Page: 1, + PageSize: 1, + Query: &artwork_query.ArtworkProfileData{ + Uuid: v.ArtworkUid, + }, + }) + if errs == nil && artworkInfo.Total > 0 { + relArtwork = artworkInfo.List[0].Name + "_" + artworkInfo.List[0].Tfnum + } + } + resp = append(resp, ContractListType{ + RelArtwork: relArtwork, + Contracts: v, + }) + } + service.ResponseList(c, resp, service.OptionPage(ContractListMgmtRequest.Page, ContractListMgmtRequest.PageSize, rep.Total)) +} + +func GetContractArtistStatList(c *gin.Context) { + var request GetContractArtistStatListRequest + if err := c.ShouldBind(&request); err != nil { + service.Error(c, e.Failed, err, "参数错误") + return + } + var protoRequest artistInfoContract.ContractArtistStatListRequest + asUtil.RequestDataConvert(&request, &protoRequest) + rep, err := service.GrpcArtistInfoContracImpl.GetContractArtistStatList(c, &protoRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "查询失败") + return + } + var resp []*ContractArtistStatType + copier.Copy(&resp, &rep.Data) + if len(resp) > 0 { + var artistUidList = []string{} + for _, v := range resp { + v := v + artistUidList = append(artistUidList, v.ArtistUid) + } + res, err := service.GrpcArtistImpl.GetArtistProfileList(c, &artist.GetArtistProfileListRequest{ + Page: 1, + PageSize: -1, + Where: fmt.Sprintf("uid in (%s)", "'"+strings.Join(artistUidList, "','")+"'"), + }) + if err != nil { + service.Error(c, e.Failed, err, "查询失败") + return + } + for i, _ := range resp { + for _, vv := range res.List { + vv := vv + if vv.Uid == resp[i].ArtistUid { + resp[i].PenName = vv.PenName + } + } + } + } + service.ResponseList(c, resp, service.OptionPage(rep.Page, rep.PageSize, rep.Total), service.OptionAddField_ArtshowCount("artistUid")) +} + +func BatchCreateContract(c *gin.Context) { + var req BatchCreateContractRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ContractListMgmt ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err := req.Validate(); err != nil { + service.Error(c, e.Failed, err, err.Error()) + return + } + // ------------------------------------------------批量生成合同------------------------------------------------ + for _, t := range req.ContractType { + rep, createErr := service.GrpcArtistInfoContracImpl.CreateContract(context.Background(), &artistInfoContract.CreateContractRequest{ + ArtistUid: req.ArtistUid, + ArtworkUid: req.ArtworkUids, + Type: t, + }) + if createErr != nil { + fmt.Printf("CreateContract err:%v\n", createErr) + if rep != nil { + fmt.Printf("CreateContract rep:%v\n", rep) + } + zap.L().Error("batch create contract err", zap.Error(createErr), zap.String("contractType", t.String()), zap.String("artistUid", req.ArtistUid), zap.Strings("artworkUids", req.ArtworkUids)) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: createErr.Error(), + Status: e.Failed, + }) + return + } + } + go func() { + //增加画作流转记录 + for _, artworkUid := range req.ArtworkUids { + _, _ = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), &artistInfoArtwork.AddArtworkFlowRecordRequest{ + ArtistUid: req.ArtistUid, + ArtworkUid: artworkUid, + TimeStamp: time.Now().Unix(), + FlowState: artistInfoArtwork.FlowState_ContractGenerate, + Operator: artistInfoArtwork.Operator_Backend, + }) + } + //app推送 + userRes, err := service.GrpcArtistInfoUserImpl.GetUserList(context.Background(), &artistInfoUser.GetUserListRequest{ + Query: &artistInfoUser.UserData{MgmtArtistUid: req.ArtistUid}, + Page: 1, + PageSize: 1, + }) + if err != nil { + return + } + _ = asPush.NewPusher().ContractOnWaitToBeSignedNotice(userRes.List[0].ID) + }() + service.Success(c) +} + +func ReBatchCreateContract(c *gin.Context) { + var req BatchCreateContractRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ContractListMgmt ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // ------------------------------------------------校验------------------------------------------------ + if err := req.Validate(); err != nil { + service.Error(c, e.Failed, err, err.Error()) + return + } + //将当前批次的合同丢到合同垃圾箱 + _, err := service.GrpcArtistInfoContracImpl.MoveCurrentBathContractsToTrash(context.Background(), &artistInfoContract.MoveCurrentBathContractsToTrashRequest{ + ArtistUid: req.ArtistUid, + }) + if err != nil { + service.Error(c, e.Failed, err) + return + } + // ------------------------------------------------批量生成合同------------------------------------------------ + for _, t := range req.ContractType { + rep, createErr := service.GrpcArtistInfoContracImpl.CreateContract(context.Background(), &artistInfoContract.CreateContractRequest{ + ArtistUid: req.ArtistUid, + ArtworkUid: req.ArtworkUids, + Type: t, + }) + if createErr != nil { + fmt.Printf("CreateContract err:%v\n", createErr) + if rep != nil { + fmt.Printf("CreateContract rep:%v\n", rep) + } + zap.L().Error("batch create contract err", zap.Error(createErr), zap.String("contractType", t.String()), zap.String("artistUid", req.ArtistUid), zap.Strings("artworkUids", req.ArtworkUids)) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: createErr.Error(), + Status: e.Failed, + }) + return + } + } + go func() { + //增加画作流转记录 + for _, artworkUid := range req.ArtworkUids { + _, _ = service.GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), &artistInfoArtwork.AddArtworkFlowRecordRequest{ + ArtistUid: req.ArtistUid, + ArtworkUid: artworkUid, + TimeStamp: time.Now().Unix(), + FlowState: artistInfoArtwork.FlowState_ContractGenerate, + Operator: artistInfoArtwork.Operator_Backend, + }) + } + //app推送 + userRes, err := service.GrpcArtistInfoUserImpl.GetUserList(context.Background(), &artistInfoUser.GetUserListRequest{ + Query: &artistInfoUser.UserData{MgmtArtistUid: req.ArtistUid}, + Page: 1, + PageSize: 1, + }) + if err != nil { + return + } + _ = asPush.NewPusher().ContractOnWaitToBeSignedNotice(userRes.List[0].ID) + }() + service.Success(c) +} + +func ContractArtworkList(c *gin.Context) { + var req artistInfoContract.GetContractArtworkListRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ContractListMgmt ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + result, err := service.GrpcArtistInfoContracImpl.GetContractArtworkList(context.Background(), &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "查询失败") + return + } + var resp = []ContractArtworkType{} + if result.Total > 0 { + var ArtworkUids []string + for _, v := range result.Data { + v := v + ArtworkUids = append(ArtworkUids, v.ArtworkUid) + } + artworkResult, err := service.GrpcArtworkQueryImpl.GetArtworkProfileList(context.Background(), &artwork_query.GetArtworkProfileListRequest{ + Page: 1, + PageSize: -1, + Where: fmt.Sprintf("uuid in (%s)", "'"+strings.Join(ArtworkUids, "','")+"'"), + }) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + for _, v := range result.Data { + for _, vv := range artworkResult.List { + if v.ArtworkUid == vv.Uuid { + v := v + vv := vv + resp = append(resp, ContractArtworkType{ + HasContract: v.HasContract, + ArtworkName: vv.Name, + Tfnum: vv.Tfnum, + HdPic: vv.HdPic, + ArtistPhoto: vv.ArtistPhoto, + Width: vv.Width, + Length: vv.Length, + Ruler: vv.Ruler, + InscribeDate: vv.InscribeDate, + CreatedDate: vv.CreatedDate, + }) + } + } + } + } + service.ResponseList(c, resp, service.OptionPage(req.Page, req.PageSize, result.Total)) +} diff --git a/pkg/service/artistInfo/asContract/contractDto.go b/pkg/service/artistInfo/asContract/contractDto.go new file mode 100644 index 0000000..899472a --- /dev/null +++ b/pkg/service/artistInfo/asContract/contractDto.go @@ -0,0 +1,50 @@ +// Package asContract ----------------------------- +// @file : contractDto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/4/23 11:28 +// ------------------------------------------- +package asContract + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoContract" +) + +type BatchCreateContractRequest struct { + ArtistUid string `json:"artistUid"` + ContractType []artistInfoContract.ContractType `json:"contractType"` + ArtworkUids []string `json:"artworkUids"` +} + +type ContractListType struct { + RelArtwork string `json:"relArtwork"` + *artistInfoContract.Contracts +} +type GetContractArtistStatListRequest struct { + artistInfoContract.ContractArtistStatType + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + Where string `json:"where"` + Order string `json:"order"` + Sort string `json:"sort"` +} +type ContractArtistStatType struct { + artistInfoContract.ContractArtistStatType + PenName string `json:"penName"` +} + +type ContractArtworkListRequest struct { + ArtistUid string `json:"artistUid"` +} +type ContractArtworkType struct { + HasContract int32 `json:"hasContract"` //1=未发起 2=已发起 + ArtworkName string `json:"artworkName"` + Tfnum string `json:"tfnum"` + HdPic string `json:"hdPic"` + ArtistPhoto string `json:"artistPhoto"` + Width int32 `json:"width"` + Length int32 `json:"length"` + Ruler int32 `json:"ruler"` + InscribeDate string `json:"inscribeDate"` //落款时间 + CreatedDate string `json:"createdDate"` //创作日期 +} diff --git a/pkg/service/artistInfo/asPush/asPush.go b/pkg/service/artistInfo/asPush/asPush.go new file mode 100644 index 0000000..34ed1e4 --- /dev/null +++ b/pkg/service/artistInfo/asPush/asPush.go @@ -0,0 +1,20 @@ +// Package asPush ----------------------------- +// @file : asPush.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/19 14:10 +// ------------------------------------------- +package asPush + +const domain = "artistinfo" + +// NewAsPush +// params artistInfoVersion: 默认版本3.0(使用unipush),小于3.0版本使用极光推送 +func NewPusher(artistInfoVersion ...float32) IArtistInfoNotifyPush { + var currentArtistInfoVersion float32 = 3.0 + if len(artistInfoVersion) > 0 && artistInfoVersion[0] < currentArtistInfoVersion { + return NewArtistInfoJiGuangAppPush() + } else { + return NewArtistinfoUniPush() + } +} diff --git a/pkg/service/artistInfo/asPush/interface.go b/pkg/service/artistInfo/asPush/interface.go new file mode 100644 index 0000000..714654c --- /dev/null +++ b/pkg/service/artistInfo/asPush/interface.go @@ -0,0 +1,47 @@ +// Package asPush ----------------------------- +// @file : interface.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/19 14:03 +// ------------------------------------------- +package asPush + +type IArtistInfoNotifyPush interface { + //实名信息申请成功 画家宝所有版本都没用到 + RealNameApplySuccess(userId int64) error + //实名信息审批结果通知 画家宝所有版本都没用到 + RealNameAuditResultNotice(userId int64, auditResult string) error + //画作补充信息发起通知 + ArtworkSupplementNotice(userId int64) error + //画作基本信息/补充信息审批通知 + ArtworkAuditResultNotice(userId int64, artworkName, auditType string, auditResult string, hasMany ...bool) error + //画展补充信息发起通知 + ArtistArtshowSupplementBeginNotice(userId int64) error + //画展审批通知 + ArtistArtshowSupplementAuditNotice(userId int64, auditType AuditType) error + //画作系统数字化通知 digitState: 1=已分配、2=已完成 + ArtworkSystemDigitNotice(userId int64, artworkName string, digitState int) error + //画作系统鉴证通知 authState: 1=开始鉴证、2=鉴证完成 + ArtworkSystemAuthNotice(userId int64, artworkName string, authState int) error + //画作待寄出 + ArtworkWaitToBeMailedNotice(userId int64) error + //画作待收货 + ArtworkWaitToBeReceivedNotice(userId int64) error + //画作待签署 + ContractOnWaitToBeSignedNotice(userId int64) error + //鉴证费用待支付 + AuthpaymentWaitToBePaidNotice(userId int64) error + //邀请函待确认 + InvitationLetterWaitToBeConfirmedNotice(userId int64) error + // 客服聊天消息推送(这个推送在画家宝客户端) + //NewChatMessageNotice(userId int64, txtMessage string) error +} + +type AuditType int + +const ( + AuditType_Video = iota + 1 + AuditType_ArtistInex + AuditType_ArtistSupplement + AuditType_BrokerSupplement +) diff --git a/pkg/service/artistInfo/asPush/jiguang.go b/pkg/service/artistInfo/asPush/jiguang.go new file mode 100644 index 0000000..e2e97e4 --- /dev/null +++ b/pkg/service/artistInfo/asPush/jiguang.go @@ -0,0 +1,160 @@ +// Package asPush ----------------------------- +// @file : jiguang.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/19 14:01 +// ------------------------------------------- +package asPush + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/push" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" +) + +var _ IArtistInfoNotifyPush = new(ArtistInfoJiGuangAppPush) + +// JiGuangAppPush 极光推送(画家宝3.0之前使用的推送功能) +type ArtistInfoJiGuangAppPush struct { +} + +func NewArtistInfoJiGuangAppPush() IArtistInfoNotifyPush { + return &ArtistInfoJiGuangAppPush{} +} + +func (p ArtistInfoJiGuangAppPush) ArtworkSystemAuthNotice(userId int64, artworkName string, authState int) error { + return nil +} +func (p ArtistInfoJiGuangAppPush) ArtworkWaitToBeMailedNotice(userId int64) error { + return nil +} + +func (p ArtistInfoJiGuangAppPush) ArtworkWaitToBeReceivedNotice(userId int64) error { + return nil +} + +func (p ArtistInfoJiGuangAppPush) ContractOnWaitToBeSignedNotice(userId int64) error { + return nil +} + +func (p ArtistInfoJiGuangAppPush) AuthpaymentWaitToBePaidNotice(userId int64) error { + return nil +} + +func (p ArtistInfoJiGuangAppPush) InvitationLetterWaitToBeConfirmedNotice(userId int64) error { + var thisUser, err = service.GrpcArtistInfoUserImpl.FindUsers(context.Background(), &artistInfoUser.FindUsersRequest{UserId: userId}) + if err != nil { + fmt.Printf("app通知发送失败。获取画家信息失败:%s\n", err.Error()) + return err + } + appPusher := push.DefaultArtistinfoPusher() + appPusher.Audience.SetAlias([]string{fmt.Sprintf("user_%d_%s", userId, thisUser.Data[0].TelNum)}) + appPusher.Notice.Title = "恭喜您收到了一张画展邀请函!" + appPusher.Notice.Alert = "请进入画家宝点击邀请函以查看详情。" + appPusher.SetAndroidIntentPage("action=com.jiyi.jy_jpush_third.JYThirdActivity;component=uni.UNID335ADB/com.jiyi.jy_jpush_third.JYThirdActivity") + if config.Env == "test" { + //测试环境 + appPusher.SetExtrasKeyVale("pageLink", "http://artisttest.szjixun.cn/pages/invite/index") + } else { + //生成环境 + appPusher.SetExtrasKeyVale("pageLink", "/pages/invite/index") + } + //appPusher.SetIosPageLink("/pages/invite/index") + err = appPusher.PushNotify() + if err != nil { + fmt.Println("app通知发送失败:" + err.Error()) + } + return nil +} + +// 实名信息申请成功 +func (p ArtistInfoJiGuangAppPush) RealNameApplySuccess(userId int64) error { + var Title = "实名信息提交成功!" + var Alert = "请耐心等待审批结果" + return p.CommonPush(userId, Title, Alert) +} + +// 实名信息审批结果通知 +func (p ArtistInfoJiGuangAppPush) RealNameAuditResultNotice(userId int64, auditResult string) error { + var Title = "实名信息审批结果通知" + var Alert = "您的实名信息审批[" + auditResult + "],请进入画家宝查看详情。" + + return p.CommonPush(userId, Title, Alert) +} + +// 画作补充信息发起通知 +func (p ArtistInfoJiGuangAppPush) ArtworkSupplementNotice(userId int64) error { + var Title = "您有待补充的画作数据" + var Alert = "您的多个待补充的画作数据,请及时进入画家宝查看。" + return p.CommonPush(userId, Title, Alert) +} + +// 画作基本信息/补充信息审批通知 +func (p ArtistInfoJiGuangAppPush) ArtworkAuditResultNotice(userId int64, artworkName, auditType string, auditResult string, hasMany ...bool) error { + var title = "画作审批结果通知" + var alert = fmt.Sprintf("您的画作[%s]-[%s]审批%s,请进入画家宝查看详情。", artworkName, auditType, auditResult) //您的画作[艾坤]-[基本信息]审批通过,请进入画家宝查看详情。 + if hasMany != nil { + alert = "您的多幅画作审批有新进展,请进入画家宝查看详情。" + } + + return p.CommonPush(userId, title, alert) +} + +// 画展补充信息发起通知 +func (p ArtistInfoJiGuangAppPush) ArtistArtshowSupplementBeginNotice(userId int64) error { + return p.CommonPush(userId, "您有待补充的画展数据", "您有多个待补充的画展数据,请及时查看。") +} + +// 画展审批通知 +func (p ArtistInfoJiGuangAppPush) ArtistArtshowSupplementAuditNotice(userId int64, auditType AuditType) error { + var auditTypeStr string + switch auditType { + case AuditType_Video: + auditTypeStr = "画展视频" + case AuditType_ArtistInex: + auditTypeStr = "画家指数" + case AuditType_ArtistSupplement: + auditTypeStr = "画家信息补充" + case AuditType_BrokerSupplement: + auditTypeStr = "经纪人补充" + } + return p.CommonPush(userId, "画展审批进度更新通知", fmt.Sprintf("您的%s审批进度,请及时进入画家宝查看。", auditTypeStr)) +} + +// 画作数字化通知 +// digitState: 1=已分配、2=已完成 +func (p ArtistInfoJiGuangAppPush) ArtworkSystemDigitNotice(userId int64, artworkName string, digitState int) error { + var alert string + if digitState == 1 { + alert = fmt.Sprintf("您的画作[%s]已进入数字化流程,进入画家宝可查看画展进度。", artworkName) + } else { + alert = fmt.Sprintf("您的画作[%s]已完成数字化,进入画家宝可查看画展进度。", artworkName) + } + return p.CommonPush(userId, "画展流程进度更新通知", alert) +} + +// 通用的消息推送 +func (p ArtistInfoJiGuangAppPush) CommonPush(userId int64, title, alert string, telnumInput ...string) error { + var telNum string + if len(telnumInput) == 0 { + user, err := service.GrpcArtistInfoUserImpl.GetUserDetail(context.Background(), &artistInfoUser.GetUserByIdRequest{Id: userId}) + if err != nil { + return errors.New("发送通知失败:" + err.Error()) + } + telNum = user.TelNum + } else { + telNum = telnumInput[0] + } + pusher := push.DefaultArtistinfoPusher() + var alias []string + alias = append(alias, fmt.Sprintf("user_%d_%s", userId, telNum)) + pusher.Audience.SetAlias(alias) + pusher.Notice.Title = title + pusher.Notice.Alert = alert + err := pusher.PushNotify() + return err +} diff --git a/pkg/service/artistInfo/asPush/readme.md b/pkg/service/artistInfo/asPush/readme.md new file mode 100644 index 0000000..a147be1 --- /dev/null +++ b/pkg/service/artistInfo/asPush/readme.md @@ -0,0 +1,4 @@ +# asPush +## 1. 介绍 +asPush是画家包的消息推送模块。在画家宝3.0之前使用极光推送,画家宝3.0时使用了unipush。 +[jiguang.go](jiguang.go)是极光推送的封装,[unipush.go](unipush.go)是unipush的封装。 \ No newline at end of file diff --git a/pkg/service/artistInfo/asPush/service.go b/pkg/service/artistInfo/asPush/service.go new file mode 100644 index 0000000..9b75582 --- /dev/null +++ b/pkg/service/artistInfo/asPush/service.go @@ -0,0 +1,50 @@ +// Package asPush ----------------------------- +// @file : service.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/26 09:49 +// ------------------------------------------- +package asPush + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +type TestRequest struct { + UserId int64 `json:"userId"` + NoticeId int64 `json:"noticeId"` +} + +func Test(c *gin.Context) { + var req TestRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var err error + push := NewArtistinfoUniPush() + switch req.NoticeId { + case 1: //画作基本信息审批 + //err = push.InvitationLetterWaitToBeConfirmedNotice(req.UserId) + err = push.ArtworkAuditResultNotice(req.UserId, "", "基本信息审批", "不通过") + case 2: //画作信息补充 + err = push.ArtworkSupplementNotice(req.UserId) + case 3: //待寄出 + err = push.ArtworkWaitToBeMailedNotice(req.UserId) + case 4: //待收货 + err = push.ArtworkWaitToBeReceivedNotice(req.UserId) + case 5: //合同待签署 + err = push.ContractOnWaitToBeSignedNotice(req.UserId) + case 6: //待支付 + err = push.AuthpaymentWaitToBePaidNotice(req.UserId) + case 7: //邀请函 + err = push.InvitationLetterWaitToBeConfirmedNotice(req.UserId) + } + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "") + return + } + service.Success(c) +} diff --git a/pkg/service/artistInfo/asPush/unipush2V0Params.go b/pkg/service/artistInfo/asPush/unipush2V0Params.go new file mode 100644 index 0000000..4a48482 --- /dev/null +++ b/pkg/service/artistInfo/asPush/unipush2V0Params.go @@ -0,0 +1,122 @@ +// Package asPush ----------------------------- +// @file : unipush2V0Params.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/23 16:33 +// ------------------------------------------- +package asPush + +type UniPushDeviceType uint8 //手机厂商 +func (p UniPushDeviceType) String() string { + return deviceOptionMap[p] +} + +const ( + XIAO_MI UniPushDeviceType = iota + 1 //小米 + VIVO //VIVO + HUA_WEI //华为 + RONG_YAO //荣耀 + OPPO //oppo +) + +var ( + deviceOptionMap = map[UniPushDeviceType]string{ + XIAO_MI: "XM", + VIVO: "VV", + HUA_WEI: "HW", + RONG_YAO: "HO", + OPPO: "OP", + } +) + +type IUnipushOptionsBuilder interface { + BuildOptionParams(map[string]any) map[string]any //构建请求参数中options字段的对象 +} + +type CommonPushOptionsType struct { + Type UniPushDeviceType + Options map[string]any +} + +func (c *CommonPushOptionsType) BuildOptionParams(params map[string]any) map[string]any { + if params["options"] == nil { + params["options"] = make(map[string]any) + } + for k, v := range c.Options { + params["options"].(map[string]any)[k] = v + } + return params +} + +// NewUnipushHuaWeiOptions 创建华为平台消息推送参数 +func NewUnipushHuaWeiOptions(category ...string) IUnipushOptionsBuilder { + cate := "WORK" + if category != nil && len(category) > 0 { + cate = category[0] + } + return &CommonPushOptionsType{ + Type: HUA_WEI, + Options: map[string]any{ + HUA_WEI.String(): map[string]any{ + "/message/android/notification/importance": "NORMAL", + "/message/android/category": cate, + "/message/android/notification/default_sound": false, + "/message/android/notification/channel_id": "tinsoCallAudioCustom", + "/message/android/notification/sound": "/raw/callaudio", + }, + }, + } +} + +// NewUnipushVivoOptions 创建vivo平台消息推送参数 +func NewUnipushVivoOptions() IUnipushOptionsBuilder { + return &CommonPushOptionsType{ + Type: VIVO, + Options: map[string]any{ + VIVO.String(): map[string]any{ + "/classificatioin": 1, + "/notifyType": 4, + }, + }, + } +} + +// NewUnipushXiaoMiOptions 创建小米平台消息推送参数 +func NewUnipushXiaoMiOptions(channelId string) IUnipushOptionsBuilder { + return &CommonPushOptionsType{ + Type: XIAO_MI, + Options: map[string]any{ + XIAO_MI.String(): map[string]any{ + "/extra.channel_id": channelId, + "/extra.sound_uri": "android.resource://aobo.onbotics.accessibleCommunication/raw/callaudio", + }, + }, + } +} + +// NewUnipushRongYaoOptions 创建荣耀平台消息推送参数 +func NewUnipushRongYaoOptions() IUnipushOptionsBuilder { + return &CommonPushOptionsType{ + Type: RONG_YAO, + Options: map[string]any{ + RONG_YAO.String(): map[string]any{ + "/android/notification/importance": "NORMAL", + }, + }, + } +} + +// NewUnipushOppoOptions 创建oppo平台消息推送参数 +func NewUnipushOppoOptions() IUnipushOptionsBuilder { + return &CommonPushOptionsType{ + Type: OPPO, + Options: map[string]any{ + OPPO.String(): map[string]any{ + "/channel_id": "push_oplus_category_service", + "/style": 1, + "/category": "TODO", + "/notify_level": 2, + }, + }, + } +} diff --git a/pkg/service/artistInfo/asPush/unipush2V0ParamsBuilder.go b/pkg/service/artistInfo/asPush/unipush2V0ParamsBuilder.go new file mode 100644 index 0000000..5eb858d --- /dev/null +++ b/pkg/service/artistInfo/asPush/unipush2V0ParamsBuilder.go @@ -0,0 +1,68 @@ +// Package asPush ----------------------------- +// @file : unipush2V0ParamsBuilder.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/24 09:27 +// ------------------------------------------- +package asPush + +import ( + "encoding/json" + "fmt" +) + +func NewUnipush2V0ParamsBuilder() *Unipush2V0ParamsBuilder { + builder := &Unipush2V0ParamsBuilder{} + builder.InitParams() + return builder +} + +type Unipush2V0ParamsBuilder struct { + Params map[string]any +} + +func (u *Unipush2V0ParamsBuilder) InitParams() { + u.Params = map[string]any{ + "push_clientid": nil, //手机端app获取到的cid,可以[]string或者string类型。如果是nil会向所有客户端进行app推送 + "title": "", //标题 + "content": "", //消息内容 + "force_notification": true, //用于显示横幅,默认为true + "payload": map[string]any{}, //这个是自定义参数 + "options": map[string]any{}, //这个是手机厂商的参数 + } +} +func (u *Unipush2V0ParamsBuilder) ClientId(value ...string) { + fmt.Println("inputClientId:", value) + switch len(value) { + case 0: + return + case 1: + u.Params["push_clientid"] = value[0] + default: + u.Params["push_clientid"] = value + } +} +func (u *Unipush2V0ParamsBuilder) Title(value string) { + u.Params["title"] = value +} +func (u *Unipush2V0ParamsBuilder) Content(value string) { + u.Params["content"] = value +} +func (u *Unipush2V0ParamsBuilder) forceNotification(value bool) { + u.Params["force_notification"] = value +} + +// 自定义参数 ViewPathOfPayload +func (u *Unipush2V0ParamsBuilder) ViewPathOfPayload(value string) { + u.Params["payload"].(map[string]any)["viewPath"] = value +} + +func (u *Unipush2V0ParamsBuilder) OptionsOfParams(options ...IUnipushOptionsBuilder) { + for _, option := range options { + u.Params = option.BuildOptionParams(u.Params) + } +} +func (u *Unipush2V0ParamsBuilder) JsonData() []byte { + data, _ := json.Marshal(u.Params) + return data +} diff --git a/pkg/service/artistInfo/asPush/unipush2V0Push.go b/pkg/service/artistInfo/asPush/unipush2V0Push.go new file mode 100644 index 0000000..573466b --- /dev/null +++ b/pkg/service/artistInfo/asPush/unipush2V0Push.go @@ -0,0 +1,529 @@ +// Package asPush ----------------------------- +// @file : unipush2V0Push.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/19 14:10 +// ------------------------------------------- +package asPush + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/unipush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" +) + +const ( + ARTWORK_ON_EDIT = "ARTWORK_ON_EDIT" //画作信息待修改 + ARTWORK_ON_SUPPLY = "ARTWORK_ON_SUPPLY" //画作信息待补充 + ARTWORK_ON_MAIL = "ARTWORK_ON_MAIL" //画作待寄出 + ARTWORK_ON_RECEIVE = "ARTWORK_ON_RECEIVE" //画作待收货 + CONTRACT_ON_SIGN = "CONTRACT_ON_SIGN" //合同待签署 + ARTWORK_AUTH_ON_PAY = "ARTWORK_AUTH_ON_PAY" //鉴证费用待支付 + INVITATION_LETTER_ON_CONFIRM = "INVITATION_LETTER_ON_CONFIRM" //邀请函待确认 + NEW_CHAT_MESSAGE = "NEW_CHAT_MESSAGE" //客服聊天新消息 + +) + +var _ IArtistInfoNotifyPush = new(ArtistInfoUniPush) + +func init() { + service.SetInvitationLetterAppNoticeFunc(new(ArtistInfoUniPush).InvitationLetterWaitToBeConfirmedNotice) +} + +// ArtistInfoUniPush 画家宝3.0使用unipush2.0进行app推送 +type ArtistInfoUniPush struct { +} + +func NewArtistinfoUniPush() *ArtistInfoUniPush { + return &ArtistInfoUniPush{} + +} + +// 实名信息申请成功 没用到 +func (p ArtistInfoUniPush) RealNameApplySuccess(userId int64) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("实名信息提交成功") + params.Content("请耐心等待审批结果") + //params.ViewPathOfPayload("artistInfo/realName") + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), //todo + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 实名信息审批结果通知 没用到 +func (p ArtistInfoUniPush) RealNameAuditResultNotice(userId int64, auditResult string) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("实名信息审批结果通知") + params.Content("您的实名信息审批[" + auditResult + "],请进入画家宝查看详情。") + //params.ViewPathOfPayload("artistInfo/realName") + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), //todo + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 画作基本信息/补充信息审批通知 +func (p ArtistInfoUniPush) ArtworkAuditResultNotice(userId int64, artworkName, auditType string, auditResult string, hasMany ...bool) error { + fmt.Println("auditType:", auditType) + fmt.Println("auditResult:", auditResult) + if auditResult == "不通过" { + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params := NewUnipush2V0ParamsBuilder() + params.ClientId(cids...) + params.Title("画作信息待修改") + params.Content("您有一幅画作审核不通过,需要您进行相关信息修改,点击查看") + params.ViewPathOfPayload(ARTWORK_ON_EDIT) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + } + return nil +} + +// 画作补充信息发起通知 +func (p ArtistInfoUniPush) ArtworkSupplementNotice(userId int64) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("画作信息补充") + params.Content("您有一幅画作审核通过,需要您进行相关信息补充,点击查看详情") + params.ViewPathOfPayload(ARTWORK_ON_SUPPLY) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + fmt.Println("ArtworkSupplementNotice 1111") + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 画展补充信息发起通知 +func (p ArtistInfoUniPush) ArtistArtshowSupplementBeginNotice(userId int64) error { + //params := NewUnipush2V0ParamsBuilder() + //params.ClientId(p.GetClientId(userId)...) + //params.Title("画作信息补充") + //params.Content("您有一幅画作审核通过,需要您进行相关信息补充,点击查看详情") + //params.ViewPathOfPayload("131021") //todo + //params.OptionsOfParams( + // NewUnipushHuaWeiOptions(), + // NewUnipushVivoOptions(), + // NewUnipushXiaoMiOptions("131021"), + // NewUnipushRongYaoOptions(), + // NewUnipushOppoOptions(), + //) + //return p.PushData(params) + return nil +} + +// 画展审批通知 画家宝3.0已弃用 +func (p ArtistInfoUniPush) ArtistArtshowSupplementAuditNotice(userId int64, auditType AuditType) error { + return nil +} + +// 画作数字化通知 +// digitState: 1=已分配、2=已完成 +func (p ArtistInfoUniPush) ArtworkSystemDigitNotice(userId int64, artworkName string, digitState int) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("画作信息补充") + if digitState == 1 { + params.Content(fmt.Sprintf("您的画作[%s]已进入数字化流程", artworkName)) + } else { + params.Content(fmt.Sprintf("您的画作[%s]已完成数字化", artworkName)) + } + params.ViewPathOfPayload("131021") //todo + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 鉴证流程相关通知 +func (p ArtistInfoUniPush) ArtworkSystemAuthNotice(userId int64, artworkName string, authState int) error { + var alert string + if authState == 1 { + alert = fmt.Sprintf("您的画作[%s]已进入鉴证流程", artworkName) + } else { + alert = fmt.Sprintf("您的画作[%s]已完成鉴证", artworkName) + } + + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("鉴证通知") + params.Content(alert) + params.ViewPathOfPayload("131021") //todo + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 画作待寄出通知 +func (p ArtistInfoUniPush) ArtworkWaitToBeMailedNotice(userId int64) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.ClientId(cids...) + params.Title("画作待寄出") + params.Content("您有一批画作被通知寄出,请尽快进行相关的线下及线上操作,点击查看详情") + params.ViewPathOfPayload(ARTWORK_ON_MAIL) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 画作待收货 +func (p ArtistInfoUniPush) ArtworkWaitToBeReceivedNotice(userId int64) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("画作待收货") + params.Content("您有一批画作被确认退回,请关注相关物流状态并及时确认收货,点击查看详情") + params.ViewPathOfPayload(ARTWORK_ON_RECEIVE) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131021"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 合同待签署 +func (p ArtistInfoUniPush) ContractOnWaitToBeSignedNotice(userId int64) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("合同待签署") + params.Content("您有一批合同已被发起,请尽快进行线上签署,点击查看详情") + params.ViewPathOfPayload(CONTRACT_ON_SIGN) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131023"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return p.PushData(params) +} + +// 鉴证待支付 +func (p ArtistInfoUniPush) AuthpaymentWaitToBePaidNotice(userId int64) error { + params := NewUnipush2V0ParamsBuilder() + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + params.Title("费用待支付") + params.Content("您有一笔待支付费用,请尽快进行线上缴纳,点击查看详情") + params.ViewPathOfPayload(ARTWORK_AUTH_ON_PAY) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131024"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + } + return nil +} + +// 邀请函待确认 +func (p ArtistInfoUniPush) InvitationLetterWaitToBeConfirmedNotice(userId int64) error { + params := NewUnipush2V0ParamsBuilder() + params.Title("邀请函待确认") + params.Content("您有一份邀请函已接收,请尽快进行线上确认,点击查看详情") + params.ViewPathOfPayload(INVITATION_LETTER_ON_CONFIRM) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131025"), + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + fmt.Println("发送app推送 cid", cid, "data", string(params.JsonData())) + } + return nil +} + +// 客服聊天消息提醒 +func (p ArtistInfoUniPush) NewChatMessageNotice(userId int64, txtMessage string) error { + params := NewUnipush2V0ParamsBuilder() + params.Title("画家宝客服") + runMsg := []rune(txtMessage) + if len(runMsg) > 15 { + txtMessage = string(runMsg[:15]) + } + params.Content(txtMessage) + params.ViewPathOfPayload(NEW_CHAT_MESSAGE) + params.forceNotification(false) + params.OptionsOfParams( + NewUnipushHuaWeiOptions(), + NewUnipushVivoOptions(), + NewUnipushXiaoMiOptions("131025"), //todo代办 + NewUnipushRongYaoOptions(), + NewUnipushOppoOptions(), + ) + cids := p.GetClientId(userId) + if len(cids) == 0 { + return nil + } + for _, cid := range cids { + params.ClientId(cid) + errs := p.PushData(params) + if errs != nil { + return errs + } + fmt.Println("发送app推送 cid", cid, "data", string(params.JsonData())) + } + return nil +} +func (p ArtistInfoUniPush) GetAccId(userId ...int64) (accIdList []int64) { + if len(userId) == 0 { + return + } + ctx := context.Background() + userRes, err := service.GrpcArtistInfoUserImpl.GetUserList(ctx, + &artistInfoUser.GetUserListRequest{UserIdIn: userId, PageSize: -1, Page: 1}, + ) + if err != nil { + return + } + if userRes == nil || userRes.Total == 0 { + return + } + for _, user := range userRes.List { + accIdList = append(accIdList, user.MgmtAccId) + } + return +} +func (p ArtistInfoUniPush) GetClientId(userId ...int64) (cidList []string) { + if len(userId) == 0 { + return + } + ctx := context.Background() + userRes, err := service.GrpcArtistInfoUserImpl.GetUserList(ctx, + &artistInfoUser.GetUserListRequest{UserIdIn: userId, PageSize: -1, Page: 1}, + ) + if err != nil { + return + } + if userRes == nil || userRes.Total == 0 { + return + } + accIdList := []int64{} + for _, user := range userRes.List { + accIdList = append(accIdList, user.MgmtAccId) + } + fmt.Println("accIdList :", accIdList) + cidRes, err := service.GrpcUnipushImpl.GetCidOfMultiUsers(context.Background(), &unipush.GetCidOfMultiUsersRequest{UserId: accIdList, Domain: domain}) + if err != nil { + fmt.Println("查询cid失败", err) + return + } + fmt.Println("cidList:", cidRes.Data) + for _, v := range cidRes.Data { + if len(v.Cid) > 0 { + cidList = append(cidList, v.Cid...) + } + } + return +} + +// 通用的消息推送 +//func (p ArtistInfoUniPush) CommonPush(params *unipush.AppNotifyParams) error { +// fmt.Println("使用unipush进行app推送") +// ctx := context.Background() +// //userRes, err := service.GrpcArtistInfoUserImpl.GetUserList(ctx, +// // &artistInfoUser.GetUserListRequest{Query: &artistInfoUser.UserData{ID: userId}}, +// //) +// //if err != nil { +// // return errors.New("发送通知失败:" + err.Error()) +// //} +// //if userRes == nil || userRes.Total == 0 { +// // return errors.New("未找到用户信息") +// //} +// //notifyParams := p.BuildParams() +// //notifyParams.Title = title +// //notifyParams.Content = alert +// //notifyParams.UserId = []int64{userRes.List[0].MgmtAccId} +// resp, err := service.GrpcUnipushImpl.InvokeCloudFunc(ctx, &unipush.InvokeCloudFuncRequest{ +// Domain: "artistinfo", +// Func: unipush.FuncType_notify, +// AppNotifyParams: params, +// }) +// if err != nil { +// return err +// } +// fmt.Println(resp) +// return err +//} + +// 通用的消息推送 +func (p ArtistInfoUniPush) PushData(params *Unipush2V0ParamsBuilder) error { + fmt.Println("使用unipush进行app推送 1") + ctx := context.Background() + resp, err := service.GrpcUnipushImpl.InvokeCloudFunc(ctx, &unipush.InvokeCloudFuncRequest{ + Domain: domain, + Func: unipush.FuncType_notify, + JsonData: params.JsonData(), + }) + fmt.Println("使用unipush进行app推送 2") + if err != nil { + return err + } + fmt.Println("使用unipush进行app推送 3") + fmt.Println("resp", resp) + return err +} + +// 通用的消息推送 +func (p ArtistInfoUniPush) InitUnipush2V0CloudFunc(params *Unipush2V0ParamsBuilder) error { + fmt.Println("使用unipush进行app推送") + ctx := context.Background() + resp, err := service.GrpcUnipushImpl.InvokeCloudFunc(ctx, &unipush.InvokeCloudFuncRequest{ + Domain: domain, + Func: unipush.FuncType_notify, + JsonData: params.JsonData(), + }) + if err != nil { + return err + } + fmt.Println(resp) + return err +} diff --git a/pkg/service/artistInfo/asStatement/statement.go b/pkg/service/artistInfo/asStatement/statement.go new file mode 100644 index 0000000..7f985f5 --- /dev/null +++ b/pkg/service/artistInfo/asStatement/statement.go @@ -0,0 +1,771 @@ +package asStatement + +import ( + "context" + "encoding/json" + "fmt" + "strconv" + "strings" + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/360EntSecGroup-Skylar/excelize" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoStatement" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func UploadExcelOneTx(c *gin.Context) { + var uploadExcelOneTxRequest artistInfoStatement.UploadExcelOneTxRequest + + file, err := c.FormFile("file") + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + f, err := file.Open() + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + fe, err := excelize.OpenReader(f) + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + rows := fe.GetRows("附件一") // + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + //获取批次时间 + batchTime := getBatchTime(rows[1][0]) + + for i := 3; i < len(rows); i++ { + excelOneInfo := &artistInfoStatement.ExcelOneInfo{} + row := rows[i] + + tfnums := []string{row[1]} + //根据画作编号获取画家uid + awInfoByKeyReq := artwork_third_party.AwInfoByKeyReq{ + Tfnums: tfnums, + } + + resp, err := service.GrpcArtworkThirdPartyImpl.AwInfoByKey(context.Background(), &awInfoByKeyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if resp == nil { + logger.Errorf("AwInfoByKey接口没有获取到值") + fmt.Println("AwInfoByKey接口没有获取到值") + return + } + + var artistid string + if resp.Data != nil { + artistid = resp.Data[row[1]].ArtistUuid + } + + fmt.Println("artistid", artistid) + //string 转 float + ruler, err := strconv.ParseFloat(row[3], 32) + fmt.Println("ruler", ruler) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + minPrice, err := strconv.ParseFloat(row[4], 32) + fmt.Println("minPrice", minPrice) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + guaranteePrice, err := strconv.ParseFloat(row[5], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + excelOneInfo.ArtistUid = artistid + excelOneInfo.BatchTime = batchTime + excelOneInfo.ArtistName = row[0] + excelOneInfo.TfNum = row[1] + excelOneInfo.ArtworkName = row[2] + excelOneInfo.Ruler = float32(ruler) + excelOneInfo.MinPrice = float32(minPrice) + excelOneInfo.GuaranteePrice = float32(guaranteePrice) + + uploadExcelOneTxRequest.ExcelOneInfo = append(uploadExcelOneTxRequest.ExcelOneInfo, excelOneInfo) + } + + fmt.Println("uploadExcelOneTxRequest", uploadExcelOneTxRequest.ExcelOneInfo) + rep, err := service.GrpcArtistInfoStatementsImpl.UploadExcelOneTx(context.Background(), &uploadExcelOneTxRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func UploadExcelTwoTx(c *gin.Context) { + var uploadExcelTwoTxRequest artistInfoStatement.UploadExcelTwoTxRequest + + file, err := c.FormFile("file") + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + f, err := file.Open() + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + fe, err := excelize.OpenReader(f) + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + rows := fe.GetRows("附件二") // + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + //获取批次时间 + batchTime := getBatchTime(rows[1][0]) + + for i := 3; i < len(rows); i++ { + excelTwoInfo := &artistInfoStatement.ExcelTwoInfo{} + row := rows[i] + //根据画作编号获取画家uid + tfnums := []string{row[1]} + awInfoByKeyReq := artwork_third_party.AwInfoByKeyReq{ + Tfnums: tfnums, + } + + resp, err := service.GrpcArtworkThirdPartyImpl.AwInfoByKey(context.Background(), &awInfoByKeyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if resp == nil { + logger.Errorf("AwInfoByKey接口没有获取到值") + fmt.Println("AwInfoByKey接口没有获取到值") + return + } + + var artistid string + if resp.Data != nil { + artistid = resp.Data[row[1]].ArtistUuid + } + + //string 转 float + ruler, err := strconv.ParseFloat(row[3], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + salePrice, err := strconv.ParseFloat(row[6], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //string 转 int + i, err := strconv.Atoi(row[5]) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + excelTwoInfo.ArtistUid = artistid + excelTwoInfo.BatchTime = batchTime + excelTwoInfo.ArtistName = row[0] + excelTwoInfo.TfNum = row[1] + excelTwoInfo.ArtworkName = row[2] + excelTwoInfo.Ruler = float32(ruler) + excelTwoInfo.SaleNo = row[4] + excelTwoInfo.CompleteDate = time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC).AddDate(0, 0, i-2).Format("2006年1月2日") + excelTwoInfo.SalePrice = float32(salePrice) + + uploadExcelTwoTxRequest.ExcelTwoInfo = append(uploadExcelTwoTxRequest.ExcelTwoInfo, excelTwoInfo) + } + + rep, err := service.GrpcArtistInfoStatementsImpl.UploadExcelTwoTx(context.Background(), &uploadExcelTwoTxRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func UploadExcelOneCopy(c *gin.Context) { + var uploadExcelOneCopyRequest artistInfoStatement.UploadExcelOneCopyRequest + + file, err := c.FormFile("file") + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + f, err := file.Open() + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + fe, err := excelize.OpenReader(f) + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + rows := fe.GetRows("附件一") + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + //获取批次时间 + batchTime := getBatchTime(rows[1][0]) + + for i := 3; i < len(rows); i++ { + excelOneInfo := &artistInfoStatement.ExcelOneInfo{} + row := rows[i] + + copyrightNumber := []string{row[1]} + + //根据画作编号获取画家uid + awInfoByKeyReq := artwork_third_party.AwInfoByKeyReq{ + CopyrightNumbers: copyrightNumber, + } + resp, err := service.GrpcArtworkThirdPartyImpl.AwInfoByKey(context.Background(), &awInfoByKeyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if resp == nil { + logger.Errorf("AwInfoByKey接口没有获取到值") + fmt.Println("AwInfoByKey接口没有获取到值") + return + } + + var artistid string + if resp.Data != nil { + artistid = resp.Data[row[1]].ArtistUuid + } + + //string 转 float + ruler, err := strconv.ParseFloat(row[3], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + minPrice, err := strconv.ParseFloat(row[4], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + guaranteePrice, err := strconv.ParseFloat(row[5], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + excelOneInfo.ArtistUid = artistid + excelOneInfo.BatchTime = batchTime + excelOneInfo.ArtistName = row[0] + excelOneInfo.TfNum = row[1] + excelOneInfo.ArtworkName = row[2] + excelOneInfo.Ruler = float32(ruler) + excelOneInfo.MinPrice = float32(minPrice) + excelOneInfo.GuaranteePrice = float32(guaranteePrice) + + uploadExcelOneCopyRequest.ExcelOneInfo = append(uploadExcelOneCopyRequest.ExcelOneInfo, excelOneInfo) + } + + rep, err := service.GrpcArtistInfoStatementsImpl.UploadExcelOneCopy(context.Background(), &uploadExcelOneCopyRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func UploadExcelTwoCopy(c *gin.Context) { + var uploadExcelTwoCopyRequest artistInfoStatement.UploadExcelTwoCopyRequest + + file, err := c.FormFile("file") + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + f, err := file.Open() + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + fe, err := excelize.OpenReader(f) + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + rows := fe.GetRows("附件二") // + if err != nil { + logger.Errorf("读取文件失败", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + fmt.Println("len(rows)", len(rows)) + fmt.Println("rows(3)", rows[3]) + //获取批次时间 + batchTime := getBatchTime(rows[1][0]) + + for i := 3; i < len(rows); i++ { + + excelTwoInfo := &artistInfoStatement.ExcelTwoInfo{} + row := rows[i] + //根据画作编号获取画家uid + fmt.Println("第一处") + fmt.Println("row[1]值为:", row[1]) + + copyrightNumber := []string{row[1]} + awInfoByKeyReq := artwork_third_party.AwInfoByKeyReq{ + CopyrightNumbers: copyrightNumber, + } + fmt.Println("第二处") + resp, err := service.GrpcArtworkThirdPartyImpl.AwInfoByKey(context.Background(), &awInfoByKeyReq) + fmt.Println("第三处") + fmt.Println("第四处", err) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + fmt.Println("第五处") + if resp == nil { + logger.Errorf("AwInfoByKey接口没有获取到值") + fmt.Println("AwInfoByKey接口没有获取到值") + return + } + + var artistid string + if resp.Data != nil { + artistid = resp.Data[row[1]].ArtistUuid + } + + //string 转 float + ruler, err := strconv.ParseFloat(row[3], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + salePrice, err := strconv.ParseFloat(row[6], 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //string 转 int + i, err := strconv.Atoi(row[5]) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + excelTwoInfo.ArtistUid = artistid + excelTwoInfo.BatchTime = batchTime + excelTwoInfo.ArtistName = row[0] + excelTwoInfo.TfNum = row[1] + excelTwoInfo.ArtworkName = row[2] + excelTwoInfo.Ruler = float32(ruler) + excelTwoInfo.SaleNo = row[4] + excelTwoInfo.CompleteDate = time.Date(1900, 1, 1, 0, 0, 0, 0, time.UTC).AddDate(0, 0, i-2).Format("2006年1月2日") + excelTwoInfo.SalePrice = float32(salePrice) + + uploadExcelTwoCopyRequest.ExcelTwoInfo = append(uploadExcelTwoCopyRequest.ExcelTwoInfo, excelTwoInfo) + } + + rep, err := service.GrpcArtistInfoStatementsImpl.UploadExcelTwoCopy(context.Background(), &uploadExcelTwoCopyRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func GetAllBatchTimeTx(c *gin.Context) { + var getAllBatchTimeTxRequest artistInfoStatement.GetAllBatchTimeTxRequest + + rep, err := service.GrpcArtistInfoStatementsImpl.GetAllBatchTimeTx(context.Background(), &getAllBatchTimeTxRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep != nil && rep.BatchTime == nil { + rep.BatchTime = []string{} + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func GetAllBatchTimeCopy(c *gin.Context) { + var getAllBatchTimeCopyRequest artistInfoStatement.GetAllBatchTimeCopyRequest + + rep, err := service.GrpcArtistInfoStatementsImpl.GetAllBatchTimeCopy(context.Background(), &getAllBatchTimeCopyRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep != nil && rep.BatchTime == nil { + rep.BatchTime = []string{} + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func GetArtworkSoldTxList(c *gin.Context) { + var getArtworkSoldTxListRequest artistInfoStatement.GetArtworkSoldTxListRequest + if err := c.ShouldBind(&getArtworkSoldTxListRequest); err != nil { + logger.Errorf("getTxArtistListRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + rep, err := service.GrpcArtistInfoStatementsImpl.GetArtworkSoldTxList(context.Background(), &getArtworkSoldTxListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep != nil && rep.ArtistList == nil { + rep.ArtistList = []*artistInfoStatement.ArtistList{} + } + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: rep.Msg, + // Status: e.Ok, + // Data: rep, + //}) + //新增字段 artistArtshowCount + var listMap []map[string]any + jsonBytes, _ := json.Marshal(rep.ArtistList) + json.Unmarshal(jsonBytes, &listMap) + service.FillArtshowCount(listMap, "artistUid") + var newResp = map[string]any{ + "artist_list": listMap, + "Total": rep.Total, + "msg": rep.Msg, + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: newResp, + }) +} + +func GetArtworkSoldTxDetailList(c *gin.Context) { + var getArtworkSoldTxDetailListRequest artistInfoStatement.GetArtworkSoldTxDetailListRequest + if err := c.ShouldBind(&getArtworkSoldTxDetailListRequest); err != nil { + logger.Errorf("getTxArtistListRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + rep, err := service.GrpcArtistInfoStatementsImpl.GetArtworkSoldTxDetailList(context.Background(), &getArtworkSoldTxDetailListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep != nil && rep.ArtworkSoldDetailList == nil { + rep.ArtworkSoldDetailList = []*artistInfoStatement.ArtworkSoldDetailList{} + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func GetArtworkSoldCopyList(c *gin.Context) { + var getArtworkSoldCopyListRequest artistInfoStatement.GetArtworkSoldCopyListRequest + if err := c.ShouldBind(&getArtworkSoldCopyListRequest); err != nil { + logger.Errorf("getArtworkSoldCopyDetailListRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("getArtworkSoldCopyListRequest", getArtworkSoldCopyListRequest) + + rep, err := service.GrpcArtistInfoStatementsImpl.GetArtworkSoldCopyList(context.Background(), &getArtworkSoldCopyListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep != nil && rep.ArtistList == nil { + rep.ArtistList = []*artistInfoStatement.ArtistList{} + } + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: rep.Msg, + // Status: e.Ok, + // Data: rep, + //}) + //新增字段 artistArtshowCount + var listMap []map[string]any + jsonBytes, _ := json.Marshal(rep.ArtistList) + json.Unmarshal(jsonBytes, &listMap) + service.FillArtshowCount(listMap, "artistUid") + var newResp = map[string]any{ + "artist_list": listMap, + "Total": rep.Total, + "msg": rep.Msg, + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: newResp, + }) +} + +func GetArtworkSoldCopyDetailList(c *gin.Context) { + var getArtworkSoldCopyDetailListRequest artistInfoStatement.GetArtworkSoldCopyDetailListRequest + if err := c.ShouldBind(&getArtworkSoldCopyDetailListRequest); err != nil { + logger.Errorf("getArtworkSoldCopyDetailListRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + rep, err := service.GrpcArtistInfoStatementsImpl.GetArtworkSoldCopyDetailList(context.Background(), &getArtworkSoldCopyDetailListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep != nil && rep.ArtworkSoldDetailList == nil { + rep.ArtworkSoldDetailList = []*artistInfoStatement.ArtworkSoldDetailList{} + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +// 操作批次时间 +func getBatchTime(oldBatchTime string) (batchTime string) { + batchArr := strings.Split(oldBatchTime, "-") + batchName := batchArr[0] + "-" + batchArr[1] + data := strings.Split(batchName, "-") + startMd := strings.Split(data[0], "年") + startYear := startMd[0] + startM := strings.Split(startMd[1], "月") + startMonth := startM[0] + if len(startMonth) == 1 { + startMonth = "0" + startMonth + } + endMd := strings.Split(data[1], "年") + endYear := endMd[0] + endM := strings.Split(endMd[1], "月") + endMonth := endM[0] + if len(endMonth) == 1 { + endMonth = "0" + endMonth + } + batchTime = startYear + startMonth + "-" + endYear + endMonth + return +} diff --git a/pkg/service/artistInfo/asUser/account.go b/pkg/service/artistInfo/asUser/account.go new file mode 100644 index 0000000..bb0d0d9 --- /dev/null +++ b/pkg/service/artistInfo/asUser/account.go @@ -0,0 +1,690 @@ +package asUser + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/nacos-group/nacos-sdk-go/common/logger" + "go.uber.org/zap" + "sort" + "strings" + "time" +) + +// //用户锁 +func LockUser(c *gin.Context) { + var req artistInfoUser.UserLockRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //_, err := service.GrpcArtistInfoUserImpl.UpdateUserData(c, + // &asUser.UserInfo{MgmtAccId: req.AccId, IsLock: req.Lock}, + //) + userInfo, err := service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{ + MgmtAccId: req.AccId, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "LockUser: FindUser Error ", err.Error()) + return + } + if userInfo.IsLock == false && req.IsLock == false { + service.Error(c, e.Failed, errors.New("用户当前已处于解锁状态")) + return + } else if userInfo.IsLock == true && req.IsLock == true { + service.Error(c, e.Failed, errors.New("用户当前已处于锁定状态")) + return + } + //锁定/解锁用户 + lockStatus, err := service.GrpcArtistInfoUserImpl.UserLock(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "LockUser: UserLock Error ", err.Error()) + return + } + if lockStatus.ErrMsg != "" { + service.ErrorWithMark(c, e.Failed, nil, "LockUser: UserLock Error 22", lockStatus.ErrMsg) + return + } + //修改画作锁定/解锁状态 todo 后面加到服务端 + var lockAction int32 = 3 + if req.IsLock { + lockAction = 2 + } + _, err = service.GrpcArtistInfoArtworkImpl.ArtworkLockAction(c, &artistInfoArtwork.ArtworkLockActionRequest{ + ArtistUid: userInfo.MgmtArtistUid, + Lock: lockAction, + LockTime: lockStatus.LockTime, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, fmt.Sprintf("LockUser: ArtworkLockAction:%d Error ", lockAction)) + return + } + //获取锁定且审批通过的画作,然后按照画作数量发送画作补充信息的通知 + if req.IsLock { + go func() { + artworkResList, errs := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + Page: 1, + PageSize: -1, + Where: fmt.Sprintf("status = 2 AND base_audit_status = 4 AND artist_uid = '%s'", userInfo.MgmtArtistUid), + }) + if errs == nil && artworkResList.Total > 0 { + fmt.Println("artworkResList.Total", artworkResList.Total) + push := asPush.NewPusher() + for i := range artworkResList.Data { + fmt.Println("i", i) + err = push.ArtworkSupplementNotice(userInfo.Id) + if err != nil { + fmt.Println("发送画作补充信息app通知失败", err) + } else { + fmt.Println("发送画作补充信息app通知成功,userId:", userInfo.Id) + } + time.Sleep(time.Second * 2) + } + } + }() + } + //UpdateOperationTime(c, artistinfoArtshow.OdType_artistBaseInfo, userInfo.Id) + //循环引爆 + //更新物理视图 + //go asUser.DynamicUserService.UpdateUser(userInfo.MgmtArtistUid) + //如果解锁用户,需要把所有邀请函都归为历史 + if req.IsLock == false { + _, err = service.GrpcArtistImpl.InvitationLetterSetToHistory(c, &artist.InvitationLetterSetToHistoryReq{ + ArtistUid: userInfo.MgmtArtistUid, + }) + if err != nil { + zap.L().Error("LockUser: InvitationLetterSetToHistory Error ", zap.Error(err)) + fmt.Println("LockUser: InvitationLetterSetToHistory Error", err.Error()) + service.ErrorWithMark(c, e.Failed, err, "LockUser: InvitationLetterSetToHistory Error ", err.Error()) + return + } + } + service.Success(c) +} + +// 撤回锁定 +func LockRollBack(c *gin.Context) { + var req artistInfoUser.LockRollbackRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //_, err := service.GrpcArtistInfoUserImpl.UpdateUserData(c, + // &asUser.UserInfo{MgmtAccId: req.AccId, IsLock: req.Lock}, + //) + _, err := service.GrpcArtistInfoUserImpl.LockRollback(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "LockUser: FindUser Error ", err.Error()) + return + } + UpdateOperationTime(c, artistinfoArtshow.OdType_artistBaseInfo, req.Uid) + service.Success(c) +} + +func GetInvitedListByBackendSide2(c *gin.Context) { + var req GetInvitedListByBackendSide2Request + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + //如果没有提供邀请码则使用token中的用户id进行查询 + if req.InviterCode == "" { + req.RemoveHiddenObjects = "1" //去除不对经纪人展示的画家 + req.OmitJoinShow = true //经纪人管理模块需要忽略已经参加过画展的画家 + userInfo := login.GetUserInfoFromCNoPanic(c) + if userInfo.ID == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "token解析失败", + Status: e.Failed, + }) + return + } + //查询邀请码 + accountInfo, err := service.AccountProvider.Info(c, &account.InfoRequest{ + Domain: "fontree", + ID: userInfo.ID, + }) + if err != nil { + logger.Errorf("service.AccountProvider.Info err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.JsonUnmarshal), + Status: e.Failed, + }) + return + } + if accountInfo.Info == nil { + service.ErrorWithMark(c, e.Failed, errors.New("账号不存在"), fmt.Sprintf("%+v", userInfo)) + return + } + if accountInfo.Info.InvitationCode == "" { + service.Error(c, e.Failed, errors.New("邀请码为空")) + return + } + req.InviterCode = accountInfo.Info.InvitationCode + } + + //判断是否使用缓存 + fmt.Println("req.ArtistIndexEditStatus", req.ArtistIndexEditStatus) + fmt.Println("req.ArtistProfileEditStatus", req.ArtistProfileEditStatus) + fmt.Println("req.ArtworkSupplementEditStatus", req.ArtworkSupplementEditStatus) + fmt.Println("req.CopyrightCommentEditStatus", req.CopyrightCommentEditStatus) + if req.ArtistIndexEditStatus != 0 || req.ArtistProfileEditStatus != 0 || req.ArtworkSupplementEditStatus != 0 || req.FddStateSelect != 0 || req.CopyrightCommentEditStatus != 0 { + if !utils.Contains([]string{"g5BDC9xr", "0000000E", "000001bC", "000001aD"}, req.InviterCode) && config.AppMode == "prod" { + service.Error(c, e.Failed, errors.New("使用了不支持的筛选条件"), "使用了不支持的筛选条件") + return + } + fmt.Println("使用邀请列表缓存数据查询") + resp, err := getInvitedListFromCache(&req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "getInvitedListFromCache Error ", err.Error()) + return + } + if req.RealName != "" { + var tmp []InviteUserType + for _, v := range resp { + if strings.Contains(v.InvitedUser.RealName, req.RealName) { + tmp = append(tmp, v) + } + } + resp = tmp + } + var total = len(resp) + //分页 + if req.Page > 0 && req.PageSize > 0 { + start := (req.Page - 1) * req.PageSize + end := start + req.PageSize + if start > int64(len(resp)) { + resp = []InviteUserType{} + } else if end > int64(len(resp)) { + resp = resp[start:] + } else { + resp = resp[start:end] + } + } + if resp == nil { + resp = []InviteUserType{} + } + + service.ResponseList(c, resp, service.OptionPage(req.Page, req.PageSize, total), + service.OptionMsg("查询成功"), service.OptionAddField_ArtshowCount("artistUid")) + return + } + getInvitedList2(c, &req.GetInvitedUserListRequest) + +} + +// GetInviterUserList +func GetInviterUserList(c *gin.Context) { + var req artistInfoUser.GetInviterUserListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + getInviterUserList(c, &req) +} + +// 获取所有受邀请的用户列表 +func getInvitedList2(c *gin.Context, req *artistInfoUser.GetInvitedUserListRequest) { + res, err := service.GrpcArtistInfoUserImpl.GetInvitedUserList(c, req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.GetInvitedUserList: Error ", err.Error()) + return + } + fmt.Println("getInvitedList2 111111111111111") + respData, err := GetInviteListDataHandle(res.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "getInvitedList2: GetInviteListDataHandle Error ", err.Error()) + return + } + service.ResponseList(c, respData, service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), + service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +func getInvitedListFromCache(request *GetInvitedListByBackendSide2Request) (data []InviteUserType, err error) { + allData, err := CacheInviteList.GetCache() + if err != nil { + return + } + if len(allData) == 0 { + return + } + //筛选allData + for _, v := range allData { + if request.ArtistIndexEditStatus != 0 && v.ArtistIndexEditStatus != request.ArtistIndexEditStatus { + continue + } + if request.ArtistProfileEditStatus != 0 && v.ArtistProfileEditStatus != request.ArtistProfileEditStatus { + continue + } + if request.ArtworkSupplementEditStatus != 0 && v.ArtworkSupplementEditStatus != request.ArtworkSupplementEditStatus { + continue + } + if request.CopyrightCommentEditStatus != 0 && v.CopyrightCommentEditStatus != request.CopyrightCommentEditStatus { + continue + } + if request.RealName != "" && !strings.Contains(v.InvitedUser.RealName, request.RealName) { + continue + } + if request.Keyword != "" && (!strings.Contains(v.InvitedUser.RealName, request.Keyword) || + !strings.Contains(v.InvitedUser.TelNum, request.Keyword)) { + continue + } + if request.FddStateSelect != 0 { + if request.FddStateSelect == 1 && v.InvitedUser.FddState != 2 { + continue + } + if request.FddStateSelect == 2 && v.InvitedUser.FddState == 2 { + continue + } + } + data = append(data, v) + } + return +} +func GetInviteListDataHandle(data []*artistInfoUser.InvitedUser) (respData []InviteUserType, err error) { + respData = []InviteUserType{} + ctx := context.Background() + for _, v := range data { + //fmt.Println("22222222222222222") + var tmp = InviteUserType{ + InvitedUser: v, + FlowPrice: "0.00", + ArtistIndexEditStatus: 2, + ArtistProfileEditStatus: 2, + ArtworkSupplementEditStatus: 3, + CopyrightCommentEditStatus: 3, + } + if v.FddState == 2 { + var priceList *artistinfoArtshow.GetArtshowArtistRulerFloorPriceListResp + priceList, err = service.GrpcArtistInfoArtshowImpl.GetArtshowArtistRulerFloorPriceList(ctx, &artistinfoArtshow.GetArtshowArtistRulerFloorPriceListRequest{ + Query: &artistinfoArtshow.ArtshowArtistRulerFloorPriceData{ + ArtistUid: v.ArtistUid, + }, + Page: 1, + PageSize: -1, + Order: "created_at desc", + }) + if err != nil { + zap.L().Error("getInvitedList2: GetArtshowArtistRulerFloorPriceList Error ", zap.Error(err)) + } + //fmt.Println("3333333333333333333333") + if len(priceList.List) > 0 { + tmp.FlowPrice = fmt.Sprintf("%2f", priceList.List[0].FloorPrice) + } + //fmt.Println("444444444444444444444444") + // 判断3种数据的填写状态 + //1.判断画家指数填写装填 + var indexListRes *artistinfoArtshow.GetArtistIndexListResponse + indexListRes, err = service.GrpcArtistInfoArtshowImpl.GetArtistIndexList(ctx, &artistinfoArtshow.GetArtistIndexListRequest{ + ArtistUid: v.ArtistUid, + Page: 1, + PageSize: -1, + }) + if err != nil { + fmt.Println("getInvitedList2:GetArtistIndexList Error", err.Error()) + zap.L().Error("getInvitedList2:GetArtistIndexList Error", zap.Error(err)) + return + } + // 全部填写完才算已填写 + if indexListRes.Page.Total > 0 { + var classTitleMap = make(map[string]*artistinfoArtshow.ArtistIndexInfo, 5) + for _, class := range []string{"exhibition", "seniority", "specialized", "Influence", "collect"} { + var classList []*artistinfoArtshow.ArtistIndexInfo + for _, v := range indexListRes.Data { + if v.Class == class { + classList = append(classList, v) + } + } + //fmt.Println("classList:", classList) + if len(classList) == 0 { + tmp.ArtistIndexEditStatus = 2 + break + } else { + sort.Slice(classList, func(i, j int) bool { + return classList[i].CreatedAt > classList[j].CreatedAt + }) + tmpIndex := classList[0] + classTitleMap[class] = tmpIndex + } + for _, v := range classTitleMap { + if v.TitleScore == 0 { + tmp.ArtistIndexEditStatus = 2 + break + } else { + tmp.ArtistIndexEditStatus = 1 + } + } + } + } else { + tmp.ArtistIndexEditStatus = 2 + } + //2.判断画家简介填写状态 + var artistProfileRes *artistinfoArtshow.ArtistSupplementV2Data + artistProfileRes, err = service.GrpcArtistInfoArtshowImpl.GetArtistSupplementV2Detail(ctx, &artistinfoArtshow.GetArtistSupplementV2ByIdRequest{ + ArtistUid: v.ArtistUid, + }) + if err != nil { + fmt.Println("getInvitedList2.GetArtistSupplementV2Detail Error", err.Error()) + zap.L().Error("getInvitedList2.GetArtistSupplementV2Detail Error", zap.Error(err)) + tmp.ArtistProfileEditStatus = 2 + } else { + //fmt.Println("666666666666666666666666666666") + if artistProfileRes.ArtistProfile != "" { + tmp.ArtistProfileEditStatus = 1 + } else { + tmp.ArtistProfileEditStatus = 2 + } + } + //3.判断画作补充填写状态 + var thisUser *artistInfoUser.UserInfo + thisUser, err = service.GrpcArtistInfoUserImpl.FindUser(ctx, &artistInfoUser.FindUserRequest{ + MgmtArtistUid: v.ArtistUid, + }) + if err != nil { + fmt.Println("getInvitedList2: GrpcArtistInfoUserImpl.FindUser Error", err.Error()) + zap.L().Error("getInvitedList2: GrpcArtistInfoUserImpl.FindUser Error", zap.Error(err)) + tmp.ArtworkSupplementEditStatus = 1 + } else { + //fmt.Println("77777777777777777777777777777777777777777 v.ArtistUid", v.ArtistUid) + var artowkSupplyRes *artistInfoArtwork.GetViewArtworkSupplementListResp + artowkSupplyRes, err = service.GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementList(ctx, &artistInfoArtwork.GetViewArtworkSupplementListRequest{ + Query: &artistInfoArtwork.ViewArtworkSupplementData{ArtistUid: v.ArtistUid, LockTime: thisUser.LatestLockTime}, + Page: 1, + PageSize: -1, + }) + if err != nil { + fmt.Println("GetArtworkSupplementStatusList: GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementList Error", err.Error()) + zap.L().Error("GetArtworkSupplementStatusList: GrpcArtistInfoArtworkImpl.GetViewArtworkSupplementList Error", zap.Error(err)) + return + } + //fmt.Printf("88888888888888888888888:%+v\n", artowkSupplyRes) + tmp.ArtworkSupplementEditStatus = 1 + if len(artowkSupplyRes.List) == 0 { + //fmt.Println("999999999999999") + tmp.ArtworkSupplementEditStatus = 3 + } else { + for _, v := range artowkSupplyRes.List { + if v.CreatedDate == "" && v.FirstPublish == "" && v.InscribeDate == "" { + tmp.ArtworkSupplementEditStatus = 2 + //fmt.Println("1010101010101") + break + } + } + } + } + //4.判断释义补充信息填写状态 + var commentRes *digital_copyright.SupplementListResp + commentRes, err = service.GrpcCopyrightImpl.SupplementList(ctx, &digital_copyright.SupplementListReq{ + Page: 1, + PageSize: -1, + ArtistUuid: v.ArtistUid, + }) + if err != nil { + fmt.Println("GetArtworkSupplementStatusList: GrpcCopyrightImpl.SupplementList Error", err.Error()) + zap.L().Error("GetArtworkSupplementStatusList: GrpcCopyrightImpl.SupplementList", zap.Error(err)) + return + } + if commentRes.Count > 0 { + for _, comment := range commentRes.Data { + if comment.RemarkDataIsEmpty { + tmp.CopyrightCommentEditStatus = 2 + break + } + } + if tmp.CopyrightCommentEditStatus == 3 { + tmp.CopyrightCommentEditStatus = 1 + } + } + } + respData = append(respData, tmp) + } + //标记黑名单画家 + blackList, err := service.GrpcArtistImpl.BlackList(ctx, &artist.BlackListReq{Page: 1, PageSize: -1, Gender: -1, BlackListStatus: 2}) + if err != nil { + fmt.Println("GetInviteListDataHandle: GrpcArtistImpl.BlackList Error", err.Error()) + } + for i, v := range respData { + for _, black := range blackList.Data { + if v.InvitedUser.ArtistUid == black.ArtistUuid { + respData[i].InArtistBlackList = true + break + } + } + } + return +} +func getInvitedList3(c *gin.Context, req *artistInfoUser.GetInvitedUserListRequest) { + + //var resturnData = []InvitedUser{} + res, err := service.GrpcArtistInfoUserImpl.GetInvitedUserList(c, req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.GetInvitedUserList: Error ", err.Error()) + return + } + service.ResponseList(c, res.Data, service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), + service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} +func getInviterUserList(c *gin.Context, req *artistInfoUser.GetInviterUserListRequest) { + res, err := service.GrpcArtistInfoUserImpl.GetInviterUserList(c, req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.GetInvitedUserList: Error ", err.Error()) + return + } + var resturnData = []InvitedUser{} + for _, v := range res.Data { + resturnData = append(resturnData, InvitedUser{ + UserId: v.UserId, + AccId: v.AccId, + ArtistUid: v.ArtistUid, + TelNum: v.TelNum, + InviteCode: v.InviteCode, + Account: v.Account, + Photo: v.Photo, + IsRealName: v.IsRealName, + FddState: v.FddState, + RealName: v.RealName, + Sex: v.Sex, + Age: v.Age, + CreatedAt: v.CreatedAt, + PenName: v.PenName, + StageName: v.StageName, + IdCard: v.IdCard, + InviteTime: v.InviteTime, + }) + } + service.ResponseList(c, resturnData, + service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +func BatchCreateQrCode(c *gin.Context) { + userRes, err := service.GrpcArtistInfoUserImpl.FindUsers(c, &artistInfoUser.FindUsersRequest{ + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ReCreateQrCode:service.GrpcArtistInfoUserImpl.FindUsers", err.Error()) + return + } + for _, v := range userRes.Data { + err = utils.CreateQrCode(v.InviteCode, v.RealName.Name) + if err != nil { + fmt.Println("二维码生成失败", err.Error()) + } + } + service.Success(c) +} + +func InviteStatic(c *gin.Context) { + var req artistInfoUser.GetInviteStaticListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + res, err := service.GrpcArtistInfoUserImpl.GetInviteStaticList(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "InviteStatic GrpcArtistInfoUserImpl.GetInviteStaticList Error") + return + } + var resturnData = []GetInviteStaticListData{} + for _, v := range res.Data { + resturnData = append(resturnData, GetInviteStaticListData{ + Idx: v.Idx, + RealName: v.RealName, + TelNum: v.TelNum, + InviteCode: v.InviteCode, + InvitePicUrl: v.InvitePicUrl, + InvitedCount: v.InvitedCount, + ArtistUid: v.ArtistUid, + }) + } + service.ResponseList(c, resturnData, + service.OptionPage(res.Page.Page, res.Page.PageSize, res.Page.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} +func GetRealNameAuditList(c *gin.Context) { + var req = artistInfoUser.GetRealNameAuditDataListRequest{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + data, err := service.GrpcArtistInfoUserImpl.GetRealNameAuditDataList(c, &req) + if err != nil { + fmt.Println("GetRealNameAuditList: GrpcArtistInfoUserImpl.GetRealNameAuditDataList Error:" + err.Error()) + service.ErrorWithMark(c, e.Failed, err, "GetRealNameAuditList: GrpcArtistInfoUserImpl.GetRealNameAuditDataList Error:"+err.Error(), err.Error()) + return + } + service.ResponseList(c, data.List, service.OptionPage(data.PageInfo.Page, data.PageInfo.PageSize, data.PageInfo.Total), service.OptionMsg("查询成功")) +} + +func EditRealNameAudit(c *gin.Context) { + var req = artistInfoUser.RealNameAuditData{} + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + data, err := service.GrpcArtistInfoUserImpl.UpdateRealNameAuditData(c, &req) + if err != nil { + fmt.Println("EditRealNameAudit: GrpcArtistInfoUserImpl.UpdateRealNameAuditData Error:" + err.Error()) + service.ErrorWithMark(c, e.Failed, err, "EditRealNameAudit: GrpcArtistInfoUserImpl.UpdateRealNameAuditData Error:"+err.Error(), err.Error()) + return + } + //发送短信通知 + var auditResult string + switch req.AuditStatus { + case 2: + auditResult = "通过" + case 3: + auditResult = "不通过" + case 4: + auditResult = "驳回" + } + if auditResult != "" { + //老版本短信通知 + //err = ArtistInfoPushNotice.RealNameAuditResultNotice(req.UserId, auditResult) + //if err != nil { + // logger.Errorf("画家宝实名短信通知失败:", err.Error()) + //} + appPusher := asPush.NewPusher() + err = appPusher.RealNameAuditResultNotice(req.UserId, auditResult) + if err != nil { + logger.Errorf("画家宝实名短信通知失败:", err.Error()) + } + } + + //更新物理视图 + //go asUser.DynamicUserService.UpdateUserWithUserId(int64(req.UserId)) + service.Success(c, data) +} + +func FakeLogin(c *gin.Context) { + + var jumpToWhere = "setting" + var isDriverAuth = false + var isDriverSupervisorAuth = false + + var req account.LoginRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Ip = c.ClientIP() + + res, err := service.AccountProvider.Login(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + accountInfo := &union.AccountInfo{ + ID: res.AccountInfo.ID, + Account: res.AccountInfo.Account, + NickName: res.AccountInfo.NickName, + Domain: res.AccountInfo.Domain, + TelNum: res.AccountInfo.TelNum, + Status: res.AccountInfo.Status, + Avatar: res.AccountInfo.Avatar, + CreatedAt: res.AccountInfo.CreateAt, + IsNeedChange: res.AccountInfo.IsNeedChange, + EnterDate: res.AccountInfo.EnterDate, + WorkYear: res.AccountInfo.WorkYear, + JumpTo: res.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: res.AccountInfo.JobNum, + BirthDate: res.AccountInfo.BirthDate, + Age: res.AccountInfo.Age, + Sex: res.AccountInfo.Sex, + Title: res.AccountInfo.Title, + IDNum: res.AccountInfo.IDNum, + DriverAuth: isDriverAuth, + DriverSupervisorAuth: isDriverSupervisorAuth, + MailAccount: res.AccountInfo.MailAccount, + Train: res.AccountInfo.Train, + Certificate: res.AccountInfo.Certificate, + TrainVideos: res.AccountInfo.TrainVideos, + } + + code := "xxx" + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, res.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: res.RefreshToken, + AccountInfo: accountInfo, + JumpToWhere: jumpToWhere, + } + + fmt.Println("是否相同:", res.IsSampleAddress, res.AccountInfo.NowLogId) + service.Success(c, resInfo) + + return +} diff --git a/pkg/service/artistInfo/asUser/accountJwt.go b/pkg/service/artistInfo/asUser/accountJwt.go new file mode 100644 index 0000000..6806871 --- /dev/null +++ b/pkg/service/artistInfo/asUser/accountJwt.go @@ -0,0 +1,107 @@ +package asUser + +import ( + "context" + "errors" + "fmt" + "reflect" + + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/gin-gonic/gin" +) + +func ParseTokenFromHttpHeader(c *gin.Context) (accountInfo *account.DecryptJwtResponse, err error, code int) { + accountInfo = &account.DecryptJwtResponse{} + token := GetTokenFromHttpHeader(c) + if token == "" { + err = errors.New("登录状态失效") + code = e.NotLogin + } else { + accountInfo, err = service.AccountProvider.DecryptJwt(context.Background(), &account.DecryptJwtRequest{Token: GetTokenFromHttpHeader(c)}) + if err != nil || accountInfo.IsOffline { + err = errors.New("登录状态失效") + code = e.NotLogin + } + } + return +} + +func GetTokenFromHttpHeader(c *gin.Context) string { + return c.GetHeader(middleware.Authorization) +} + +func GetUserInfoWithToken(c *gin.Context) (userInfo *artistInfoUser.UserInfo, err error, code int) { + userInfo = &artistInfoUser.UserInfo{} + accountInfo, err := service.AccountProvider.DecryptJwt(context.Background(), &account.DecryptJwtRequest{Token: GetTokenFromHttpHeader(c)}) + if err != nil || accountInfo.IsOffline { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + userInfo, err = service.GrpcArtistInfoUserImpl.FindUser(c, &artistInfoUser.FindUserRequest{ + MgmtAccId: int64(accountInfo.ID), + }) + return +} + +// dataKey 为数据id或画作uid +func UpdateOperationTime[T int64 | string](c *gin.Context, odType artistinfoArtshow.OdType, dataKey T) { + jwt, _, _ := ParseTokenFromHttpHeader(c) + var req = &artistinfoArtshow.UpdateOperationTimeRequest{ + OpObject: artistinfoArtshow.OpObject_backend, + OperationAccId: int64(jwt.ID), + OdType: odType, + } + if reflect.TypeOf(dataKey).Kind() == reflect.String { + req.ArtworkUid = reflect.ValueOf(dataKey).String() + } else { + req.DataId = reflect.ValueOf(dataKey).Int() + } + _, err := service.GrpcArtistInfoArtshowImpl.UpdateOperationTime(c, req) + if err != nil { + fmt.Println("更新审批操作时间失败!!", err.Error()) + } +} + +func GetAccInfoWithToken(ctx *gin.Context) (accInfo *account.AccountInfo, err error, code int) { + authorization := ctx.GetHeader(e.Authorization) + if authorization == "" { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + + jwt, err := secret.GetJwtFromStr(authorization) + if err != nil { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + + //0 解密 + info, err := service.AccountProvider.DecryptJwt(ctx, &account.DecryptJwtRequest{ + Token: jwt, + }) + if err != nil { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + //1 获取用户的账号信息 + infoRes, err := service.AccountProvider.Info(ctx, &account.InfoRequest{ + ID: info.ID, + }) + if err != nil { + err = errors.New("登录状态失效") + code = e.NotLogin + return + } + accInfo = infoRes.Info + return +} diff --git a/pkg/service/artistInfo/asUser/accountJwt_test.go b/pkg/service/artistInfo/asUser/accountJwt_test.go new file mode 100644 index 0000000..4b4835c --- /dev/null +++ b/pkg/service/artistInfo/asUser/accountJwt_test.go @@ -0,0 +1,40 @@ +// Package asAccount ----------------------------- +// @file : accountJwt_test.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/5/22 13:36 +// ------------------------------------------- +package asUser + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/gin-gonic/gin" + "testing" +) + +func TestUpdateOperationTime(t *testing.T) { + type te interface { + int64 | string + } + type args[T interface{ int64 | string }] struct { + c *gin.Context + odType artistinfoArtshow.OdType + dataKey T + } + type testCase[T interface{ int64 | string }] struct { + name string + args args[T] + } + var test_int64 = testCase[int64]{ + name: "Test case for int64 type", + args: args[int64]{ + c: &gin.Context{}, + odType: artistinfoArtshow.OdType_video, + dataKey: 123, + }, + } + + t.Run(test_int64.name, func(t *testing.T) { + UpdateOperationTime(test_int64.args.c, test_int64.args.odType, test_int64.args.dataKey) + }) +} diff --git a/pkg/service/artistInfo/asUser/artistInfoScript.go b/pkg/service/artistInfo/asUser/artistInfoScript.go new file mode 100644 index 0000000..a11ac8b --- /dev/null +++ b/pkg/service/artistInfo/asUser/artistInfoScript.go @@ -0,0 +1,146 @@ +// Package asUser ----------------------------- +// @file : artistInfoScript.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/1/16 11:08 +// ------------------------------------------- +package asUser + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "sync" + "time" +) + +func SyncLowArtistHandler(c *gin.Context) { + //全量更新DynamicUserData中的数据 + err := DynamicUserService.SyncAllOfDynamicUserData() + if err != nil { + service.Error(c, e.Failed, err, "同步失败") + return + } + service.Success(c, map[string]any{ + "isUpdateCompleted": DynamicUserService.CompleteState.IsUpdateCompleted(), + "latestUpdateTime": DynamicUserService.CompleteState.LatestUpdateTime(), + "err": fmt.Sprintf("%v", err), + }) +} + +// dynamicUser视图更新状态 +type dynamicUserUpdateState struct { + updateCompleted bool + latestUpdateTime *time.Time + rwLock sync.RWMutex +} + +func (d *dynamicUserUpdateState) SetCompleteState(completed bool) { + d.rwLock.Lock() + d.updateCompleted = completed + d.rwLock.Unlock() +} +func (d *dynamicUserUpdateState) IsUpdateCompleted() bool { + d.rwLock.RLock() + defer d.rwLock.RUnlock() + return d.updateCompleted +} +func (d *dynamicUserUpdateState) LatestUpdateTime() *time.Time { + d.rwLock.RLock() + defer d.rwLock.RUnlock() + return d.latestUpdateTime +} + +var DynamicUserService *dynamicUserService + +func NewDynamicUserService() { + DynamicUserService = &dynamicUserService{artistUidChan: make(chan string, 100), userIdChan: make(chan int64, 100)} + go DynamicUserService.Run() +} + +type dynamicUserService struct { + artistUidChan chan string + userIdChan chan int64 + syncDynamicUserDataLock sync.Mutex + CompleteState dynamicUserUpdateState //物理视图更新状态 +} + +func (d *dynamicUserService) Run() { + for { + select { + case uid := <-d.artistUidChan: + if uid == "" { + break + } + _, err := service.GrpcArtistInfoUserImpl.SyncDynamicUser(context.Background(), &artistInfoUser.SyncDynamicUserRequest{ArtistUid: uid}) + if err != nil { + logger.Errorf("同步画家[artistUid:%s]物理视图失败,系统将切换至user_view视图。err:%v", uid, err.Error()) + d.CompleteState.SetCompleteState(false) + } + case userId := <-d.userIdChan: + _, err := service.GrpcArtistInfoUserImpl.SyncDynamicUser(context.Background(), &artistInfoUser.SyncDynamicUserRequest{UserId: userId}) + if err != nil { + logger.Errorf("同步画家[userId:%s]物理视图失败,系统将切换至user_view视图。err:%v", userId, err.Error()) + d.CompleteState.SetCompleteState(false) + } + default: + time.Sleep(200 * time.Millisecond) + } + } +} +func (d *dynamicUserService) UpdateUserWistArtistUid(artistUidList ...string) { + for _, artistUid := range artistUidList { + d.artistUidChan <- artistUid + } +} +func (d *dynamicUserService) UpdateUserWithUserId(userIds ...int64) { + for _, userId := range userIds { + d.userIdChan <- userId + } +} +func (d *dynamicUserService) SyncAllOfDynamicUserData() error { + if d.syncDynamicUserDataLock.TryLock() { + return errors.New("任务正在执行中,请稍后再试") + } + d.CompleteState.SetCompleteState(false) + defer d.syncDynamicUserDataLock.Unlock() + var ctx = context.Background() + lowList, err := service.GrpcArtistImpl.LowArtistList(ctx, &artist.LowArtistListReq{ + Page: 1, + PageSize: -1, + }) + defer func() { + if err != nil { + d.CompleteState.SetCompleteState(false) + } else { + d.CompleteState.SetCompleteState(true) + } + }() + if err != nil { + return errors.New("获取低优先级画家失败,err:" + err.Error()) + } + var nameList []string + for _, v := range lowList.Data { + nameList = append(nameList, v.RealName) + } + _, err = service.GrpcArtistInfoUserImpl.UpdateLowArtistList(ctx, &artistInfoUser.UpdateLowArtistListRequest{ArtistNameList: nameList}) + if err != nil { + return errors.New("更新低优先级画家失败,err:" + err.Error()) + } + return nil +} + +func (d *dynamicUserService) UpdateDynamicUserData(artistUserList ...string) error { + if d.syncDynamicUserDataLock.TryLock() { + d.CompleteState.SetCompleteState(false) + } + d.syncDynamicUserDataLock.Unlock() + _, err := service.GrpcArtistInfoUserImpl.SyncDynamicUser(context.Background(), &artistInfoUser.SyncDynamicUserRequest{ArtistUidList: artistUserList}) + return err +} diff --git a/pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewDto.go b/pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewDto.go new file mode 100644 index 0000000..2b153d5 --- /dev/null +++ b/pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewDto.go @@ -0,0 +1,16 @@ +package asUser + +import "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + +type GetBackendUserViewListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + IsArtist int64 `json:"isArtist"` + artistInfoUser.BackendUserViewData +} + +type ExportBackendUserViewListRequest struct { + UserIds []int64 `json:"userIds"` + ColumnIds []int64 `json:"columnIds"` + IsArtist int64 `json:"isArtist"` //1已认证 2未认证画家 3实名画家(不管已认证未认证) +} diff --git a/pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewHandler.go b/pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewHandler.go new file mode 100644 index 0000000..0a03c3d --- /dev/null +++ b/pkg/service/artistInfo/asUser/artistInfoUserBackendUserViewHandler.go @@ -0,0 +1,236 @@ +package asUser + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/syncDownload" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/excel" + "github.com/gin-gonic/gin" + "os" + "path" + "path/filepath" + "sync" + "time" +) + +var exportBackendUserViewListLock sync.RWMutex + +// 批量查询BackendUserView +func GetBackendUserViewList(c *gin.Context) { + var req GetBackendUserViewListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq artistInfoUser.GetBackendUserViewListRequest + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcArtistInfoUserImpl.GetBackendUserViewList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetBackendUserViewList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, + service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +func ExportBackendUserViewList(c *gin.Context) { + var req ExportBackendUserViewListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var accId uint64 + claims, err := GetJwtInfo(c) + if err == nil && claims != nil { + accId = claims.ID + } + + resp, err := service.GrpcArtistInfoUserImpl.GetBackendUserViewList(c, &artistInfoUser.GetBackendUserViewListRequest{ + Page: 1, + PageSize: -1, + SelectColumns: req.ColumnIds, + UserIds: req.UserIds, + IsArtist: req.IsArtist, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserViewList: GrpcArtistInfoUserImpl.GetBackendUserViewList", "查询失败") + return + } + columnResp, err := service.GrpcArtistInfoUserImpl.GetExportFieldList(c, &artistInfoUser.GetExportFieldListRequest{ + Page: 1, + PageSize: -1, + Ids: req.ColumnIds, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserViewList: GetExportFieldList", "查询失败") + return + } + filePath, _, err := writeToExcel(accId, resp.List, columnResp.List) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserViewList: writeToExcel", "导出失败") + return + } + defer func() { + if filePath != "" { + service.DelayDeleteFileTask.AddPendingDeleteFile(service.DelayDeleteFile{ + Path: filePath, + RetentionTime: time.Now().Add(2 * time.Minute), + }) + } + }() + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/tmp/%s", httpType, c.Request.Host, filepath.Base(filePath)) + service.Success(c, map[string]interface{}{"ExportUrl": exportUrl}) +} + +func ExportBackendUserStatic(c *gin.Context) { + var req ExportBackendUserViewListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var accId uint64 + claims, err := GetJwtInfo(c) + if err == nil && claims != nil { + accId = claims.ID + } + res, err := service.GrpcArtistInfoUserImpl.GetExportFieldList(c, &artistInfoUser.GetExportFieldListRequest{ + Query: &artistInfoUser.ExportFieldData{ + Origin: "backend_user_view", + }, + Page: 1, + PageSize: -1, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserStatic:GetExportFieldList", "导出失败") + return + } + for _, v := range res.List { + if v.Column == "real_name" || v.Column == "tnum" { + req.ColumnIds = append(req.ColumnIds, v.ID) + } + } + resp, err := service.GrpcArtistInfoUserImpl.GetBackendUserViewList(c, &artistInfoUser.GetBackendUserViewListRequest{ + Page: 1, + PageSize: -1, + SelectColumns: req.ColumnIds, + UserIds: req.UserIds, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserViewList: GrpcArtistInfoUserImpl.GetBackendUserViewList", "查询失败") + return + } + if resp.Total > 0 { + staticRootDir := path.Join("./runtime/tmp", fmt.Sprintf("画家静态资源_%d_%d", accId, time.Now().Unix())) + if err = os.MkdirAll(staticRootDir, os.ModePerm); err != nil { + service.ErrorWithMark(c, e.Failed, err, "文件生成失败,请稍后再试!") + return + } + var wg sync.WaitGroup + var downloadTasks []*syncDownload.DownLoadInfo + for _, v := range resp.List { + //userStaticRoot := filepath.Join(staticRootDir, v.Tnum+"_"+v.RealName) + userStaticRoot := staticRootDir + if err = os.MkdirAll(userStaticRoot, os.ModePerm); err != nil { + service.ErrorWithMark(c, e.Failed, err, "文件生成失败,请稍后再试!") + return + } + if v.CertificateImg != "" { + fileExt := filepath.Ext(v.CertificateImg) + filePath := filepath.Join(userStaticRoot, v.Tnum+"_"+v.RealName+"_美协编号"+fileExt) + downloadTasks = append(downloadTasks, &syncDownload.DownLoadInfo{ + DownloadUrl: v.CertificateImg, + SavePath: filePath, + Wg: &wg, + }) + } + if v.IdcardBack != "" { + fileExt := filepath.Ext(v.IdcardBack) + filePath := filepath.Join(userStaticRoot, v.Tnum+"_"+v.RealName+"_身份证反面"+fileExt) + downloadTasks = append(downloadTasks, &syncDownload.DownLoadInfo{ + DownloadUrl: v.IdcardBack, + SavePath: filePath, + Wg: &wg, + }) + } + if v.IdcardFront != "" { + fileExt := filepath.Ext(v.IdcardFront) + filePath := filepath.Join(userStaticRoot, v.Tnum+"_"+v.RealName+"_身份证正面"+fileExt) + downloadTasks = append(downloadTasks, &syncDownload.DownLoadInfo{ + DownloadUrl: v.IdcardFront, + SavePath: filePath, + Wg: &wg, + }) + } + if v.Photo != "" { + fileExt := filepath.Ext(v.Photo) + filePath := filepath.Join(userStaticRoot, v.Tnum+"_"+v.RealName+"_近照"+fileExt) + downloadTasks = append(downloadTasks, &syncDownload.DownLoadInfo{ + DownloadUrl: v.Photo, + SavePath: filePath, + Wg: &wg, + }) + } + } + wg.Add(len(downloadTasks)) + syncDownload.DownloadService.AddDownLoadTask(downloadTasks...) + wg.Wait() + zipPath := staticRootDir + ".zip" + err = utils.ZipDirectory(staticRootDir, zipPath) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ExportBackendUserStatic:zipDirectory", "文件压缩失败") + return + } + defer func() { + if zipPath != "" || staticRootDir != "" { + service.DelayDeleteFileTask.AddPendingDeleteFile(service.DelayDeleteFile{ + Path: zipPath, + RetentionTime: time.Now().Add(2 * time.Minute), + }, service.DelayDeleteFile{ + Path: staticRootDir, + RetentionTime: time.Now().Add(2 * time.Minute), + }) + } + }() + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/tmp/%s", httpType, c.Request.Host, filepath.Base(zipPath)) + service.Success(c, map[string]interface{}{"ExportUrl": exportUrl}) + } else { + service.Error(c, e.Failed, nil, "查询数据为空,无法下载") + } +} + +func writeToExcel(accId uint64, datas []*artistInfoUser.BackendUserViewData, columns []*artistInfoUser.ExportFieldData) (path string, filename string, err error) { + exportBackendUserViewListLock.Lock() + defer exportBackendUserViewListLock.Unlock() + var ( + sheet1Columns []string + jsonFiledList []string + ) + for _, col := range columns { + sheet1Columns = append(sheet1Columns, col.ColumnDesc) + jsonFiledList = append(jsonFiledList, utils.SnakeToCamel(col.Column)) + } + sheet1Data := excel.NewSheet("Sheet1", datas, sheet1Columns, jsonFiledList) + var fileName = fmt.Sprintf("画家宝画家列表_%d.xlsx", accId) + path, filename, err = excel.WriteToExcel(fileName, "./runtime/tmp", "", sheet1Data) + return +} diff --git a/pkg/service/artistInfo/asUser/artistInfoUserExportFieldDto.go b/pkg/service/artistInfo/asUser/artistInfoUserExportFieldDto.go new file mode 100644 index 0000000..64021dc --- /dev/null +++ b/pkg/service/artistInfo/asUser/artistInfoUserExportFieldDto.go @@ -0,0 +1,14 @@ +package asUser + +import "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + +type GetExportFieldListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + + artistInfoUser.ExportFieldData +} +type SimpleExportFieldInfo struct { + ID int64 `json:"id"` + ColumnDesc string `json:"columnDesc"` +} diff --git a/pkg/service/artistInfo/asUser/artistInfoUserExportFieldHandler.go b/pkg/service/artistInfo/asUser/artistInfoUserExportFieldHandler.go new file mode 100644 index 0000000..73358e3 --- /dev/null +++ b/pkg/service/artistInfo/asUser/artistInfoUserExportFieldHandler.go @@ -0,0 +1,94 @@ +package asUser + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" +) + +var Handler = &ArtistInfoUserHandler{} + +type ArtistInfoUserHandler struct { +} + +// 创建ExportField +func (a *ArtistInfoUserHandler) CreateExportField(c *gin.Context) { + var req artistInfoUser.ExportFieldData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoUserImpl.CreateExportField(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.CreateExportField Err", "创建失败") + return + } + service.Success(c) +} + +// 删除ExportField +func (a *ArtistInfoUserHandler) DeleteExportField(c *gin.Context) { + var req artistInfoUser.DeleteExportFieldRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoUserImpl.DeleteExportField(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteExportField Err", "删除失败") + return + } + service.Success(c) +} + +// 更新ExportField +func (a *ArtistInfoUserHandler) UpdateExportField(c *gin.Context) { + var req artistInfoUser.ExportFieldData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoUserImpl.UpdateExportField(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.UpdateExportField Err", "更新失败") + return + } + service.Success(c) +} + +// 使用id查询ExportField +func (a *ArtistInfoUserHandler) GetExportFieldDetail(c *gin.Context) { + var req artistInfoUser.GetExportFieldByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcArtistInfoUserImpl.GetExportFieldDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.GetExportFieldDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询ExportField +func (a *ArtistInfoUserHandler) GetExportFieldList(c *gin.Context) { + var req GetExportFieldListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq artistInfoUser.GetExportFieldListRequest + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcArtistInfoUserImpl.GetExportFieldList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetExportFieldList Err", "查询失败") + return + } + var returnData []SimpleExportFieldInfo + copier.Copy(&returnData, resp.List) + service.ResponseList(c, returnData, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/asUser/cron_syncDynamicUserData.go b/pkg/service/artistInfo/asUser/cron_syncDynamicUserData.go new file mode 100644 index 0000000..46065e7 --- /dev/null +++ b/pkg/service/artistInfo/asUser/cron_syncDynamicUserData.go @@ -0,0 +1,29 @@ +// Package asUser ----------------------------- +// @file : cron_syncDynamicUserData.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/1/23 13:53 +// ------------------------------------------- +package asUser + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/robfig/cron/v3" +) + +type SyncDynamicUserDataTask struct { +} + +func (d *SyncDynamicUserDataTask) AddTimerTask(c *cron.Cron) error { + go func() { + if err := DynamicUserService.SyncAllOfDynamicUserData(); err != nil { + logger.Error("初始化dynamic_user表数据失败,err:" + err.Error()) + } + }() + _, err := c.AddFunc("*/10 * * * *", func() { + if err := DynamicUserService.SyncAllOfDynamicUserData(); err != nil { + logger.Error("定时任务执行失败,err:" + err.Error()) + } + }) + return err +} diff --git a/pkg/service/artistInfo/asUser/dtoInvite.go b/pkg/service/artistInfo/asUser/dtoInvite.go new file mode 100644 index 0000000..1f694a7 --- /dev/null +++ b/pkg/service/artistInfo/asUser/dtoInvite.go @@ -0,0 +1,19 @@ +// Package asUser ----------------------------- +// @file : dtoInvite.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/5 下午5:31 +// ------------------------------------------- +package asUser + +import "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + +type InviteUserType struct { + *artistInfoUser.InvitedUser + FlowPrice string `json:"flowPrice"` + ArtistIndexEditStatus int `json:"artistIndexEditStatus"` //1 已填写 2 未填写 + ArtistProfileEditStatus int `json:"artistProfileEditStatus"` //1 已填写 2 未填写 + ArtworkSupplementEditStatus int `json:"artworkSupplementEditStatus"` //1 已填写 2 未填写 3 无 + CopyrightCommentEditStatus int `json:"copyrightCommentEditStatus"` //释义补充信息填写状态 1 已填写 2 未填写 3 无 + InArtistBlackList bool `json:"inArtistBlackList"` //是否在画家黑名单中 +} diff --git a/pkg/service/artistInfo/asUser/dtoLogin.go b/pkg/service/artistInfo/asUser/dtoLogin.go new file mode 100644 index 0000000..3dac683 --- /dev/null +++ b/pkg/service/artistInfo/asUser/dtoLogin.go @@ -0,0 +1,16 @@ +package asUser + +type LoginRequest struct { + Domain string `json:"dDomain"` + TelNum string `json:"telNum"` + VerCode string `json:"verCode"` + Password string `json:"password"` + //Ip string `json:"ip"` + InviteCode string `json:"inviteCode"` +} + +type LockUserRequest struct { + Lock bool `json:"lock"` //0解锁 1锁定 + //UserId int64 `json:"userId"` //用户id、账号id + AccId int64 `json:"accId"` //账号id +} diff --git a/pkg/service/artistInfo/asUser/dtoRealname.go b/pkg/service/artistInfo/asUser/dtoRealname.go new file mode 100644 index 0000000..f1798a2 --- /dev/null +++ b/pkg/service/artistInfo/asUser/dtoRealname.go @@ -0,0 +1,15 @@ +package asUser + +type SexType string + +func (s SexType) ConvertInt() int { + switch s { + case "男": + return 1 + case "女": + return 2 + default: //其它 + return 3 + } + +} diff --git a/pkg/service/artistInfo/asUser/dtoUser.go b/pkg/service/artistInfo/asUser/dtoUser.go new file mode 100644 index 0000000..64b0329 --- /dev/null +++ b/pkg/service/artistInfo/asUser/dtoUser.go @@ -0,0 +1,122 @@ +package asUser + +import "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + +type SendMsgRequest struct { + TelNum string `json:"telNum"` + IsNewMobile bool `json:"isNewMobile"` +} + +type UserInfo struct { + TelNum string `form:"telNum" json:"telNum" binding:"required,len=11"` + CertificateNum string `form:"certificateNum" json:"certificateNum" binding:"required"` + CertificateImg string `form:"certificateImg" json:"certificateImg" ` + JoinAssoTime string `from:"joinAssoTime" json:"joinAssoTime"` + RealName string `form:"realName" json:"realName" binding:"required"` + PenName string `form:"penName" json:"penName"` + StageName string `form:"stageName" json:"stageName"` + Sex int `form:"sex" json:"sex"` + IdCard string `form:"idCard" json:"idCard" binding:"required"` + IdCardFront string `form:"idCardFront" json:"idCardFront" binding:"required"` + IdCardBack string `form:"idCardBack" json:"idCardBack" binding:"required"` + Age int `form:"age" json:"age"` + Ruler int `form:"ruler" json:"ruler"` + ConAddress []string `form:"conAddress" json:"conAddress"` + Photo string `form:"photo" json:"photo" binding:"required"` + Video string `form:"video" json:"video"` + FddState int `form:"fddState" json:"fddState"` + CustomerId string `form:"customerId" json:"customerId"` + InvitedCode string `form:"invitedCode" json:"invitedCode"` + InvitedName string `form:"invitedName" json:"invitedName"` + WxAccount string `form:"wxAccount" json:"wxAccount"` + QrCodeImg string `form:"qrCode" json:"qrCodeImg"` + QrCodeImgDownload string `form:"qrCodeDownload" json:"qrCodeImgDownload"` + //HtmlType string `form:"htmlType" json:"htmlType"` + //EnvType string `form:"envType" json:"envType"` + IsRead bool `form:"isRead" json:"isRead"` + MgmtAccId int64 `form:"mgmtAccId" json:"mgmtAccId"` + MgmtArtistUid string `form:"mgmtArtistUid" json:"mgmtArtistUid"` //艺术家uid +} + +// 实名认证成功后,创建用户信息 +type CreateUserInfoRequest struct { + RealName string `json:"realName"` + TelNum string `json:"telNum"` + IdCard string `json:"idCard"` + IdCardFront string `json:"idCardFront"` + IdCardBack string `json:"idCardBack"` + InvitedCode string `json:"invitedCode"` + PenName string `json:"penName"` + StageName string `json:"stageName"` + WxAccount string `json:"wxAccount"` + Sex int `json:"sex"` + CertificateNum string `json:"certificateNum"` + ConAddress []string `json:"conAddress"` + Photo string `json:"photo"` + CertificateImg string `json:"certificateImg"` //中美协会证书url + JoinAssoTime string `json:"joinAssoTime"` //中美协会入会时间 + Htmltype string `json:"htmltype"` + Envtype string `json:"envtype"` +} + +type UpdateMobileRequest struct { + //AccId int64 `json:"accId"` //账号id + Mobile string `json:"mobile"` + VerCode string `json:"verCode"` //验证码@ +} + +type UpdateUserAgreementRequest struct { + AccId int `json:"accId"` + IsRead bool `json:"isRead"` +} + +type InvitedUser struct { + UserId int64 `json:"userId"` + AccId int64 `json:"accId"` + ArtistUid string `json:"artistUid"` + TelNum string `json:"telNum"` + InviteCode string `json:"inviteCode"` + Account string `json:"account"` + Photo string `json:"photo"` + IsRealName int64 `json:"isRealName"` + FddState int64 `json:"fddState"` + RealName string `json:"realName"` + Sex string `json:"sex"` + Age int64 `json:"age"` + CreatedAt string `json:"createdAt"` + PenName string `json:"penName"` + StageName string `json:"stageName"` + IdCard string `json:"idCard"` + InviteTime string `json:"inviteTime"` +} + +type GetInviteStaticListData struct { + Idx int64 `json:"idx"` //序号 + RealName string `json:"realName"` //画家真实姓名 + TelNum string `json:"telNum"` //电话号码 + InviteCode string `json:"inviteCode"` //邀请码 + InvitePicUrl string `json:"invitePicUrl"` //邀请二维码 + InvitedCount int64 `json:"invitedCount"` //邀请人员总数 + ArtistUid string `json:"artistUid"` +} + +// type GetInviterUserListRequest struct { +// InvitedCode string `protobuf:"bytes,1,opt,name=invitedCode,proto3" json:"inviterCode,omitempty"` //受邀请者的邀请码 前端字段传错,后台这里转一下 +// Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` +// PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` +// } +// +// type GetInvitedUserListRequest struct { +// // string telNum =1;//可选 邀请者的电话号码 +// InviterCode string `protobuf:"bytes,2,opt,name=inviterCode,proto3" json:"invitedCode,omitempty"` //邀请人的邀请码 前端字段传错,后台这里转一下 +// Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` +// PageSize int64 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` +// } +type GetInvitedListByBackendSide2Request struct { + artistInfoUser.GetInvitedUserListRequest + ArtistIndexEditStatus int `json:"artistIndexEditStatus"` //1 已填写 2 未填写 + ArtistProfileEditStatus int `json:"artistProfileEditStatus"` //1 已填写 2 未填写 + ArtworkSupplementEditStatus int `json:"artworkSupplementEditStatus"` //1 已填写 2 未填写 3 无 + FddStateSelect int `json:"fddStateSelect"` //1 未认证 2 已认证 + CopyrightCommentEditStatus int `json:"copyrightCommentEditStatus"` //1 已填写 2 未填写 3 无 +} diff --git a/pkg/service/artistInfo/asUser/push.go b/pkg/service/artistInfo/asUser/push.go new file mode 100644 index 0000000..577ab62 --- /dev/null +++ b/pkg/service/artistInfo/asUser/push.go @@ -0,0 +1,119 @@ +// Package asAccount ----------------------------- +// @file : push.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/11 11:21 +// ------------------------------------------- +package asUser + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/push" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" +) + +var ArtistInfoPushNotice = new(pushTemplate) + +// 此功能已弃用,已兼容到pkg/service/artistInfo/asPush中 +type pushTemplate struct { +} + +// 实名信息申请成功 +func (p pushTemplate) RealNameApplySuccess(userId int64) error { + var Title = "实名信息提交成功!" + var Alert = "请耐心等待审批结果" + return p.CommonPush(userId, Title, Alert) +} + +// 实名信息审批结果通知 +func (p pushTemplate) RealNameAuditResultNotice(userId int64, auditResult string) error { + var Title = "实名信息审批结果通知" + var Alert = "您的实名信息审批[" + auditResult + "],请进入画家宝查看详情。" + + return p.CommonPush(userId, Title, Alert) +} + +// 画作补充信息发起通知 +func (p pushTemplate) ArtworkSupplementNotice(userId int64) error { + var Title = "您有待补充的画作数据" + var Alert = "您的多个待补充的画作数据,请及时进入画家宝查看。" + return p.CommonPush(userId, Title, Alert) +} + +// 画作基本信息/补充信息审批通知 +func (p pushTemplate) ArtworkAuditResultNotice(userId int64, artworkName, auditType string, auditResult string, hasMany ...bool) error { + var title = "画作审批结果通知" + var alert = fmt.Sprintf("您的画作[%s]-[%s]审批%s,请进入画家宝查看详情。", artworkName, auditType, auditResult) //您的画作[艾坤]-[基本信息]审批通过,请进入画家宝查看详情。 + if hasMany != nil { + alert = "您的多幅画作审批有新进展,请进入画家宝查看详情。" + } + + return p.CommonPush(userId, title, alert) +} + +// 画展补充信息发起通知 +func (p pushTemplate) ArtistArtshowSupplementBeginNotice(userId int64) error { + return p.CommonPush(userId, "您有待补充的画展数据", "您有多个待补充的画展数据,请及时查看。") +} + +type AuditType int + +const ( + AuditType_Video = iota + 1 + AuditType_ArtistInex + AuditType_ArtistSupplement + AuditType_BrokerSupplement +) + +// 画展审批通知 +func (p pushTemplate) ArtistArtshowSupplementAuditNotice(userId int64, auditType AuditType) error { + var auditTypeStr string + switch auditType { + case AuditType_Video: + auditTypeStr = "画展视频" + case AuditType_ArtistInex: + auditTypeStr = "画家指数" + case AuditType_ArtistSupplement: + auditTypeStr = "画家信息补充" + case AuditType_BrokerSupplement: + auditTypeStr = "经纪人补充" + } + return p.CommonPush(userId, "画展审批进度更新通知", fmt.Sprintf("您的%s审批进度,请及时进入画家宝查看。", auditTypeStr)) +} + +// 画作数字化通知 +// digitState: 1=已分配、2=已完成 +func (p pushTemplate) ArtworkDigitNotice(userId int64, artworkName string, digitState int) error { + var alert string + if digitState == 1 { + alert = fmt.Sprintf("您的画作[%s]已进入数字化流程,进入画家宝可查看画展进度。", artworkName) + } else { + alert = fmt.Sprintf("您的画作[%s]已完成数字化,进入画家宝可查看画展进度。", artworkName) + } + return p.CommonPush(userId, "画展流程进度更新通知", alert) +} + +// 通用的消息推送 +func (p pushTemplate) CommonPush(userId int64, title, alert string, telnumInput ...string) error { + var telNum string + if len(telnumInput) == 0 { + user, err := service.GrpcArtistInfoUserImpl.GetUserDetail(context.Background(), &artistInfoUser.GetUserByIdRequest{Id: userId}) + if err != nil { + return errors.New("发送通知失败:" + err.Error()) + } + telNum = user.TelNum + } else { + telNum = telnumInput[0] + } + pusher := push.DefaultArtistinfoPusher() + var alias []string + alias = append(alias, fmt.Sprintf("user_%d_%s", userId, telNum)) + pusher.Audience.SetAlias(alias) + pusher.Notice.Title = title + pusher.Notice.Alert = alert + err := pusher.PushNotify() + return err +} diff --git a/pkg/service/artistInfo/asUser/scheduler.go b/pkg/service/artistInfo/asUser/scheduler.go new file mode 100644 index 0000000..8bb9f7a --- /dev/null +++ b/pkg/service/artistInfo/asUser/scheduler.go @@ -0,0 +1,126 @@ +// Package asUser ----------------------------- +// @file : scheduler.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/7/5 下午5:42 +// ------------------------------------------- +package asUser + +import ( + "context" + "encoding/json" + "errors" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/robfig/cron/v3" + "go.uber.org/zap" + "sort" + "sync" + "time" +) + +const ( + CacheKeyInviteList = "inviteList" + CacheKeyInviteListCosts = "inviteListMaxCosts" + QueryInvitePageSize = 100 +) + +var cacheInviteLocker = sync.Mutex{} +var CacheInviteList = new(cacheInviteList) + +type cacheInviteList struct { +} + +func (d *cacheInviteList) AddTimerTask(c *cron.Cron) error { + //go d.TaskRun() + var cronTime = "*/5 * * * *" + if config.Env != "prod" { + cronTime = "*/2 * * * *" + } + _, err := c.AddFunc(cronTime, func() { + if err := d.TaskRun(); err != nil { + zap.L().Error("定时任务执行失败,err:" + err.Error()) + } + }) + return err +} +func (d *cacheInviteList) TaskRun() error { + start := time.Now() + var data []InviteUserType + var err error + var page int64 = 1 + var total int64 + data, total, err = d.getInviteList(page) + for page*QueryInvitePageSize < total { + page++ + var tmp []InviteUserType + tmp, _, err = d.getInviteList(page) + if err != nil { + return err + } + data = append(data, tmp...) + } + //存入缓存 + err = d.SetCache(data, time.Now().Sub(start)) + return err +} + +func (d *cacheInviteList) getInviteList(page int64) (data []InviteUserType, total int64, err error) { + res, err := service.GrpcArtistInfoUserImpl.GetInvitedUserList(context.Background(), &artistInfoUser.GetInvitedUserListRequest{ + InviterCode: "g5BDC9xr", //这个参数没用,但是留着 + Page: page, + PageSize: QueryInvitePageSize, + RemoveHiddenObjects: "1", //去除不对经纪人展示的画家 + OmitJoinShow: true, //经纪人管理模块需要忽略已经参加过画展的画家 + }) + if err != nil { + err = errors.New("获取邀请列表失败") + return + } + total = res.Page.Total + data, err = GetInviteListDataHandle(res.Data) + if err != nil { + err = errors.New("邀请列表数据处理数据失败") + return + } + return +} +func (d *cacheInviteList) SetCache(data []InviteUserType, cost time.Duration) (err error) { + cacheInviteLocker.Lock() + defer cacheInviteLocker.Unlock() + sort.Slice(data, func(i, j int) bool { + return data[i].InvitedUser.UserId > data[j].InvitedUser.UserId + }) + bytes, err := json.Marshal(&data) + if err != nil { + return err + } + err = cache.RedisClient.Set(CacheKeyInviteList, string(bytes), 0).Err() + lastCost, _ := cache.RedisClient.Get(CacheKeyInviteList).Int() + + if int64(lastCost) < int64(cost.Seconds()) { + cache.RedisClient.Set(CacheKeyInviteListCosts, int64(cost.Seconds()), 0) + } + return +} +func (d *cacheInviteList) GetCache() (allData []InviteUserType, err error) { + cacheInviteLocker.Lock() + defer cacheInviteLocker.Unlock() + value := cache.RedisClient.Get(CacheKeyInviteList) + if value.Err() != nil { + err = value.Err() + return + } + var dataBytes []byte + err = value.Scan(&dataBytes) + if err != nil { + return + } + err = json.Unmarshal(dataBytes, &allData) + if err != nil { + return + } + return +} diff --git a/pkg/service/artistInfo/asUser/userHandler.go b/pkg/service/artistInfo/asUser/userHandler.go new file mode 100644 index 0000000..6bc0d78 --- /dev/null +++ b/pkg/service/artistInfo/asUser/userHandler.go @@ -0,0 +1,85 @@ +package asUser + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +// 创建User +func (a *ArtistInfoUserHandler) CreateUser(c *gin.Context) { + var req artistInfoUser.UserData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoUserImpl.CreateUser(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.CreateUser Err", "创建失败") + return + } + service.Success(c) +} + +// 删除User +func (a *ArtistInfoUserHandler) DeleteUser(c *gin.Context) { + var req artistInfoUser.DeleteUserRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoUserImpl.DeleteUser(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteUser Err", "删除失败") + return + } + service.Success(c) +} + +// 更新User +func (a *ArtistInfoUserHandler) UpdateUser(c *gin.Context) { + var req artistInfoUser.UserData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoUserImpl.UpdateUser(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.UpdateUser Err", "更新失败") + return + } + //循环引包 + //go asUser.DynamicUserService.UpdateUserWistArtistUid(req.MgmtArtistUid) + service.Success(c) +} + +// 使用id查询User +func (a *ArtistInfoUserHandler) GetUserDetail(c *gin.Context) { + var req artistInfoUser.GetUserByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcArtistInfoUserImpl.GetUserDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.GetUserDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询User +func (a *ArtistInfoUserHandler) GetUserList(c *gin.Context) { + var req artistInfoUser.GetUserListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcArtistInfoUserImpl.GetUserList(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetUserList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/asUser/utils.go b/pkg/service/artistInfo/asUser/utils.go new file mode 100644 index 0000000..b080a59 --- /dev/null +++ b/pkg/service/artistInfo/asUser/utils.go @@ -0,0 +1,34 @@ +// Package asAccount ----------------------------- +// @file : utils.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/18 9:40 +// ------------------------------------------- +package asUser + +import ( + "errors" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/gin-gonic/gin" +) + +func GetJwtInfo(c *gin.Context) (accinfo *account.DecryptJwtResponse, err error) { + authorization := c.GetHeader(e.Authorization) + if authorization == "" { + err = errors.New("未获取到token") + return + } + jwt, err := secret.GetJwtFromStr(authorization) + if err != nil { + return + } + req := account.DecryptJwtRequest{ + Token: jwt, + } + + accinfo, err = service.AccountProvider.DecryptJwt(c, &req) + return +} diff --git a/pkg/service/artistInfo/asUtil/requestDataToProto.go b/pkg/service/artistInfo/asUtil/requestDataToProto.go new file mode 100644 index 0000000..2d21873 --- /dev/null +++ b/pkg/service/artistInfo/asUtil/requestDataToProto.go @@ -0,0 +1,55 @@ +// Package utils ----------------------------- +// @file : requestDataToProto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/28 17:57 +// ------------------------------------------- +package asUtil + +import ( + "reflect" + "strings" +) + +// http请求转proto请求 +func RequestDataConvert(from interface{}, to interface{}) { + var proxyField = "Query" + fromValue := reflect.ValueOf(from) + toValue := reflect.ValueOf(to) + toType := reflect.TypeOf(to) + + // 获取From结构体的字段信息 + fromType := fromValue.Type().Elem() + for i := 0; i < fromType.NumField(); i++ { + // 获取字段名和字段值 + fieldName := fromType.Field(i).Name + fieldValue := fromValue.Elem().FieldByName(fieldName) + if fieldName != proxyField { + _, exists := toType.Elem().FieldByName(fieldName) + if exists { + // 设置To结构体中相应字段的值 + toValue.Elem().FieldByName(fieldName).Set(fieldValue) + } + } + } + queryField, exists := toType.Elem().FieldByName(proxyField) + if exists { + var queryFieldTypeName string + // 指针类型额外处理,拿到真实的数据类型 + if queryField.Type.Kind() == reflect.Ptr { + queryFieldTypeName = queryField.Type.Elem().String() + } else { + queryFieldTypeName = queryField.Type.Kind().String() + } + //处理拿到的结构体类型如 utils.xxxx的类型,去掉utils.这部分 + if strings.Contains(queryFieldTypeName, ".") { + queryFieldTypeName = strings.Split(queryFieldTypeName, ".")[1] + } + fromQueryValue := fromValue.Elem().FieldByName(queryFieldTypeName) + //fmt.Println("fromQueryValue.IsValid()", fromQueryValue.IsValid()) + //fmt.Println("fromQueryValue.CanAddr()", fromQueryValue.CanAddr()) + if fromQueryValue.IsValid() && fromQueryValue.CanAddr() { + toValue.Elem().FieldByName(proxyField).Set(fromQueryValue.Addr()) + } + } +} diff --git a/pkg/service/artistInfo/asUtil/requestDataToProto_test.go b/pkg/service/artistInfo/asUtil/requestDataToProto_test.go new file mode 100644 index 0000000..ab1383d --- /dev/null +++ b/pkg/service/artistInfo/asUtil/requestDataToProto_test.go @@ -0,0 +1,64 @@ +// Package asUtil ----------------------------- +// @file : requestDataProtoRequestProProtoRequest_test.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/28 17:58 +// ------------------------------------------- +package asUtil + +import ( + "testing" +) + +type CommonQuery struct { + Id int + Name string +} +type ProtoRequest struct { + Query *CommonQuery `json:"query"` + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` +} +type DataRequest struct { + CommonQuery + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` +} + +func TestRequestDataConvert(t *testing.T) { + type args struct { + DataRequest interface{} + ProtoRequest interface{} + } + tests := []struct { + name string + args args + }{ + { + name: "测似1", + args: args{ + DataRequest: &DataRequest{ + CommonQuery: CommonQuery{ + Id: 1, + Name: "大佬个", + }, + Page: 1, + PageSize: 100, + }, + ProtoRequest: &ProtoRequest{ + Query: &CommonQuery{ + Id: 1, + Name: "大佬个", + }, + Page: 1, + PageSize: 100, + }, + }, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + RequestDataConvert(tt.args.DataRequest, tt.args.ProtoRequest) + }) + } +} diff --git a/pkg/service/artistInfo/authPayment/authPaymentAuthPaymentDto.go b/pkg/service/artistInfo/authPayment/authPaymentAuthPaymentDto.go new file mode 100644 index 0000000..c806a96 --- /dev/null +++ b/pkg/service/artistInfo/authPayment/authPaymentAuthPaymentDto.go @@ -0,0 +1,176 @@ +package authPayment + +import ( + "errors" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "strconv" +) + +type GetAuthPaymentListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + artShow.AuthPaymentData +} +type GetViewAuthPaymentListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + artShow.ViewAuthPaymentData + Where string `json:"where"` + ArtworkNumBegin *int32 `json:"artworkNumBegin"` + ArtworkNumEnd *int32 `json:"artworkNumEnd"` + PriceBegin *int32 `json:"priceBegin"` + PriceEnd *int32 `json:"priceEnd"` + PayTimeBegin *string `json:"payTimeBegin"` + PayTimeEnd *string `json:"payTimeEnd"` + SendTimeBegin *string `json:"sendTimeBegin"` + SendTimeEnd *string `json:"sendTimeEnd"` + RulerBegin *int32 `json:"rulerBegin"` + RulerEnd *int32 `json:"rulerEnd"` +} + +func (g *GetViewAuthPaymentListRequest) AddWhere(condition string, params ...any) { + if condition == "" { + return + } + if len(params) > 0 { + condition = fmt.Sprintf(condition, params...) + } + if g.Where == "" { + g.Where = condition + } else { + g.Where += " and " + condition + } +} +func (g *GetViewAuthPaymentListRequest) QueryIsEmpty() bool { + return g.ArtworkNumBegin == nil && + g.ArtworkNumEnd == nil && + g.PriceBegin == nil && + g.PriceEnd == nil && + g.PayTimeBegin == nil && + g.PayTimeEnd == nil && + g.SendTimeBegin == nil && + g.SendTimeEnd == nil && + g.RulerBegin == nil && + g.RulerEnd == nil && + g.ShowUid == "" && + g.ShowName == "" && + g.ArtistName == "" && + g.Tnum == "" && + g.ArtistUid == "" && + g.Ruler == 0 && + g.Price == 0 && + g.ExhibitionType == 0 && + g.IsConfirm == 0 && + g.PayStatus == 0 && + g.PayTime == "" && + g.Per == 0 && + //g.HasSend == 0 && + g.ArtworkNum == 0 && + g.FinalPrice == "" && + g.SenderName == "" && + g.SendTime == "" && + g.PaySessionId == "" +} + +type UpdateAuthPaymentHasSendReq struct { + ShowUid string `json:"showUid"` + ExpenseType artShow.ExpenseType `json:"expenseType"` + Remark string `json:"remark"` + FinalPrice string `json:"finalPrice"` + finalPricceF float32 +} + +func (u *UpdateAuthPaymentHasSendReq) Validate() error { + if u.ExpenseType < 1 || u.ExpenseType > 3 { + return errors.New("无效的费用类型") + } + + finalPricceF, err := strconv.ParseFloat(u.FinalPrice, 64) + if err != nil { + return errors.New("最终金额不是有效的数字") + } + u.finalPricceF = float32(finalPricceF) + // 检查是否是整数 + if u.finalPricceF != float32(int(u.finalPricceF)) { + return errors.New("最终金额必须是整数") + } + // 检查范围 + if u.finalPricceF < 1 || u.finalPricceF > 999999 { + return errors.New("最终金额必须在1到999999之间") + } + return nil +} + +type GetViewAuthPaymentListData struct { + List []*artShow.ViewAuthPaymentData `json:"list"` + CurrentEditPer int `json:"currentEditPer"` +} + +type UpdateAuthPaymentPercentReq struct { + CurrentEditPer int32 `json:"currentEditPer"` +} + +type GetAuthPaymentArtShowListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + Where string `json:"where"` + Order string `json:"order"` + artShow.ViewAuthPaymentArtShow + ArtworkNumBegin *int32 `json:"artworkNumBegin"` //画作数起始 + ArtworkNumEnd *int32 `json:"artworkNumEnd"` //画作数结束 + RulerBegin *int32 `json:"rulerBegin"` //平尺数起始 + RulerEnd *int32 `json:"rulerEnd"` //平尺数结束 + PriceBegin *int32 `json:"priceBegin"` //底价起始 + PriceEnd *int32 `json:"priceEnd"` //底价结束 + SendPayCountBegin *int32 `json:"sendPayCountBegin"` //发起支付数起始 + SendPayCountEnd *int32 `json:"sendPayCountEnd"` //发起支付数结束 + SendTimeBegin *string `json:"sendTimeBegin"` //发起时间起始 + SendTimeEnd *string `json:"sendTimeEnd"` //发起时间结束 + PayStatus int32 `json:"payStatus"` //支付状态 1=未支付(包含支付失败) 2=已支付 + HasSend int32 `json:"hasSend"` //对应ViewAuthPaymentArtShow.SendPay 进行优化 +} + +func (g *GetAuthPaymentArtShowListRequest) AddWhere(condition string, params ...any) { + if condition == "" { + return + } + if len(params) > 0 { + condition = fmt.Sprintf(condition, params...) + } + if g.Where == "" { + g.Where = condition + } else { + g.Where += " and " + condition + } +} + +type UpdateAuthPaymentDataReq struct { + ID int64 `json:"id"` + FinalPrice string `json:"finalPrice"` + ExpenseType artShow.ExpenseType `json:"expenseType"` + PayType artShow.PayType `json:"payType"` + Remark string `json:"remark"` + finalPricceF float32 +} + +func (u *UpdateAuthPaymentDataReq) Validate() error { + if u.ExpenseType < 1 || u.ExpenseType > 3 { + return errors.New("无效的费用类型") + } + + finalPricceF, err := strconv.ParseFloat(u.FinalPrice, 64) + if err != nil { + return errors.New("最终金额不是有效的数字") + } + u.finalPricceF = float32(finalPricceF) + // 检查是否是整数 + if u.finalPricceF != float32(int(u.finalPricceF)) { + return errors.New("最终金额必须是整数") + } + // 检查范围 + if u.finalPricceF < 1 || u.finalPricceF > 999999 { + return errors.New("最终金额必须在1到999999之间") + } + return nil +} diff --git a/pkg/service/artistInfo/authPayment/authPaymentAuthPaymentHandler.go b/pkg/service/artistInfo/authPayment/authPaymentAuthPaymentHandler.go new file mode 100644 index 0000000..b9b3306 --- /dev/null +++ b/pkg/service/artistInfo/authPayment/authPaymentAuthPaymentHandler.go @@ -0,0 +1,339 @@ +package authPayment + +import ( + "context" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/middleware" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" + "time" +) + +var Handler = &AuthPaymentHandler{} + +type AuthPaymentHandler struct { +} + +// 创建AuthPayment +func (a *AuthPaymentHandler) CreateAuthPayment(c *gin.Context) { + var req artShow.AuthPaymentData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtShowImpl.CreateAuthPayment(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtShowImpl.CreateAuthPayment Err", "创建失败") + return + } + service.Success(c) +} + +// 删除AuthPayment +func (a *AuthPaymentHandler) DeleteAuthPayment(c *gin.Context) { + c.Set(middleware.OperationTarget, "删除支付记录") + c.Set(middleware.OperationAction, "DELETE") + c.Set(middleware.OperationModule, "画家付款") + var req artShow.DeleteAuthPaymentRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //先更新操作人员 + var ids []int64 + if req.Id > 0 { + ids = append(ids, req.Id) + } + if len(req.Ids) > 0 { + ids = append(ids, req.Ids...) + } + for _, id := range ids { + var updateReq = artShow.AuthPaymentData{ID: id} + jwt, err := asUser.GetJwtInfo(c) + if err == nil && jwt != nil { + updateReq.UpdaterName = jwt.NickName + } + updateReq.UpdaterOptTime = stime.Currentime(stime.Format_Normal_YMDhms) + _, err = service.GrpcArtShowImpl.UpdateAuthPayment(c, &updateReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtShowImpl.UpdateAuthPayment Err", "更新失败") + return + } + } + //再执行删除 + _, err := service.GrpcArtShowImpl.DeleteAuthPayment(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteAuthPayment Err", "删除失败") + return + } + service.Success(c) +} + +// 更新AuthPayment +func (a *AuthPaymentHandler) UpdateAuthPayment(c *gin.Context) { + c.Set(middleware.OperationTarget, "更新支付记录") + c.Set(middleware.OperationAction, "UPDATE") + c.Set(middleware.OperationModule, "画家付款") + var req UpdateAuthPaymentDataReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if err := req.Validate(); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + protoReq := artShow.AuthPaymentData{ + ID: req.ID, + ExpenseType: req.ExpenseType, + PayType: req.PayType, + Remark: req.Remark, + FinalPrice: req.finalPricceF, + } + jwt, err := asUser.GetJwtInfo(c) + if err == nil && jwt != nil { + protoReq.UpdaterName = jwt.NickName + } + protoReq.UpdaterOptTime = stime.Currentime(stime.Format_Normal_YMDhms) + _, err = service.GrpcArtShowImpl.UpdateAuthPayment(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.Success(c) +} + +// 使用id查询AuthPayment +func (a *AuthPaymentHandler) GetAuthPaymentDetail(c *gin.Context) { + var req artShow.GetAuthPaymentByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcArtShowImpl.GetAuthPaymentDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtShowImpl.GetAuthPaymentDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询AuthPayment +func (a *AuthPaymentHandler) GetAuthPaymentList(c *gin.Context) { + var req GetAuthPaymentListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = artShow.GetAuthPaymentListRequest{Query: &artShow.AuthPaymentData{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcArtShowImpl.GetAuthPaymentList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetAuthPaymentList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} + +// 批量查询可发起支付的画展包列表 +func (a *AuthPaymentHandler) GetAuthPaymentArtShowList(c *gin.Context) { + c.Set(middleware.OperationTarget, "查询可发起支付的画展包列表(二级列表)") + c.Set(middleware.OperationAction, "GET") + c.Set(middleware.OperationModule, "画家付款") + var req = new(GetAuthPaymentArtShowListRequest) + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + currentPerValue := int32(GetCurrentPerValue()) + data, page, pageSize, total, err := getViewAuthPaymentArtShowList(req, currentPerValue) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetAuthPaymentArtShowList Err", "查询失败") + return + } + service.ResponseQuickMsg(c, e.Ok, "查询成功", map[string]any{ + "list": data, + "currentEditPer": currentPerValue, + "page": page, "pageSize": pageSize, "total": total}, + ) +} + +// 批量查询发起记录 +func (a *AuthPaymentHandler) GetViewAuthPaymentList(c *gin.Context) { + c.Set(middleware.OperationTarget, "查询已发起的付款记录(二级列表)") + c.Set(middleware.OperationAction, "GET") + c.Set(middleware.OperationModule, "画家付款") + var req GetViewAuthPaymentListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + data, page, pageSize, total, err := getViewAuthPaymentList(&req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewAuthPaymentList Err", "查询失败") + return + } + currentPerValue := GetCurrentPerValue() //获取页面左上角设置的比例值 + service.ResponseQuickMsg(c, e.Ok, "查询成功", map[string]any{ + "list": data, + "currentEditPer": currentPerValue, + "page": page, "pageSize": pageSize, "total": total}, + ) +} +func (a *AuthPaymentHandler) UpdateAuthPaymentPercent(c *gin.Context) { + c.Set(middleware.OperationTarget, "更新比例") + c.Set(middleware.OperationAction, "UPDATE") + c.Set(middleware.OperationModule, "画家付款") + var req UpdateAuthPaymentPercentReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.CurrentEditPer == 0 { + service.Error(c, e.InvalidParams, nil, "数值不可为0") + return + } + + //将传过来的比例设置为当前的默认值 + SetCurrentPerValue(int(req.CurrentEditPer)) + //转为proto请求参数 + protoReq := artShow.UpdateAuthPaymentPercentReq{ + Per: req.CurrentEditPer, + } + _, err := service.GrpcArtShowImpl.UpdateAuthPaymentPercent(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateAuthPaymentPercent Err", "查询失败") + return + } + service.Success(c) +} + +func (a *AuthPaymentHandler) CreateAuthPaymentSend(c *gin.Context) { + c.Set(middleware.OperationTarget, "发起支付") + c.Set(middleware.OperationAction, "CREATE") + c.Set(middleware.OperationModule, "画家付款") + var req UpdateAuthPaymentHasSendReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if err := req.Validate(); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //校验画展包是否可以发起支付 + showData, err := service.GrpcArtShowImpl.GetArtShowData(c, &artShow.GetArtShowRequest{ShowUid: req.ShowUid}) + if err != nil { + service.Error(c, e.Failed, err, "画展包信息查询失败,操作取消") + return + } + // 徐嘉鸿说底价不确认也可以发起 + //if showData.IsConfirm != 2 { + // service.Error(c, e.Failed, nil, "操作失败,最终金额未补全") + // return + //} + + //更新数据为已发起 + var senderName string + jwt, err := asUser.GetJwtInfo(c) + if err == nil && jwt != nil { + senderName = jwt.NickName + } + if showData.Per == 0 { + showData.Per = int32(GetCurrentPerValue()) + //finalPrice := float32(math.Round(float64(showData.Price)*float64(per)) / 100) + } + if req.FinalPrice == "" { + service.Error(c, e.InvalidParams, nil, "finalPrice不能为空") + return + } + _, err = service.GrpcArtShowImpl.CreateAuthPayment(c, &artShow.AuthPaymentData{ + ShowUid: req.ShowUid, + SenderName: senderName, + Per: showData.Per, + SendTime: time.Now().Format(stime.Format_Normal_YMDhms), + FinalPrice: req.finalPricceF, + ExpenseType: req.ExpenseType, + Remark: req.Remark, + }) + //_, err = service.GrpcArtShowImpl.UpdateAuthPayment(c, &artShow.AuthPaymentData{ShowUid: req.ShowUid, HasSend: 2, SendTime: time.Now().Format(stime.Format_Normal_YMDhms), SenderName: senderName}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "CreateAuthPayment Err", err.Error()) + return + } + go func() { + //推送消息 + userRes, errs := service.GrpcArtistInfoUserImpl.GetUserList(context.Background(), &artistInfoUser.GetUserListRequest{Query: &artistInfoUser.UserData{MgmtArtistUid: showData.ArtistUID}}) + if errs != nil { + fmt.Println("待支付app推送发送失败,用户信息查询失败", errs) + return + } + if len(userRes.List) > 0 { + errs = asPush.NewPusher().AuthpaymentWaitToBePaidNotice(userRes.List[0].ID) + if errs != nil { + fmt.Println("待支付app推送发送失败", errs) + + } + } + }() + service.Success(c) +} + +func (a *AuthPaymentHandler) GetAuthPaymentStat(c *gin.Context) { + c.Set(middleware.OperationTarget, "查询支付统计数据") + c.Set(middleware.OperationAction, "GET") + c.Set(middleware.OperationModule, "画家付款") + var req GetViewAuthPaymentListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + req.Page = 1 + req.PageSize = -1 + var ( + data []*artShow.ViewAuthPaymentData + total int64 + err error + ) + data, _, _, total, err = getViewAuthPaymentList(&req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetViewAuthPaymentList Err", "查询失败") + return + } + if total == 0 { + resp := artShow.GetAuthPaymentStatResp{ + PriceTotal: "0", + PriceNotSendTotal: "0", + PriceHasSendTotal: "0", + PricePayNotTotal: "0", + PricePayTotal: "0", + FinalPriceTotal: "0", + FinalPriceNotSendTotal: "0", + FinalPriceHasSendTotal: "0", + FinalPricePayNotTotal: "0", + FinalPricePayTotal: "0", + } + service.Success(c, &resp) + return + } + showUidList := []string{} + if !req.QueryIsEmpty() { + for _, v := range data { + showUidList = append(showUidList, v.ShowUid) + } + } + fmt.Println("debug showUidList:", showUidList) + resp, err := service.GrpcArtShowImpl.GetAuthPaymentStat(c, &artShow.GetAuthPaymentStatReq{ShowUidQuery: showUidList}) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateAuthPaymentPercent Err", "查询失败") + return + } + service.Success(c, resp) +} diff --git a/pkg/service/artistInfo/authPayment/service.go b/pkg/service/artistInfo/authPayment/service.go new file mode 100644 index 0000000..eb94147 --- /dev/null +++ b/pkg/service/artistInfo/authPayment/service.go @@ -0,0 +1,148 @@ +// Package authPayment ----------------------------- +// @file : service.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/11/29 下午4:15 +// ------------------------------------------- +package authPayment + +import ( + "context" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "sync" +) + +func getViewAuthPaymentList(req *GetViewAuthPaymentListRequest) (data []*artShow.ViewAuthPaymentData, page, pageSize, total int64, err error) { + if req.ArtworkNumBegin != nil { + req.AddWhere("artwork_num >= %d", *req.ArtworkNumBegin) + } + if req.ArtworkNumEnd != nil { + req.AddWhere("artwork_num <= %d", *req.ArtworkNumEnd) + } + if req.PriceBegin != nil { + req.AddWhere("price >= %d", *req.PriceBegin) + } + if req.PriceEnd != nil { + req.AddWhere("price <= %d", *req.PriceEnd) + } + if req.RulerBegin != nil { + req.AddWhere("ruler >= %d", *req.RulerBegin) + } + if req.RulerEnd != nil { + req.AddWhere("ruler <= %d", *req.RulerEnd) + } + if req.PayTimeBegin != nil { + req.AddWhere("pay_time >= '%s'", *req.PayTimeBegin) + } + if req.PayTimeEnd != nil { + req.AddWhere("pay_time <= '%s'", *req.PayTimeEnd) + } + if req.SendTimeBegin != nil { + req.AddWhere("send_time >= '%s'", *req.SendTimeBegin) + } + if req.SendTimeEnd != nil { + req.AddWhere("send_time <= '%s'", *req.SendTimeEnd) + } + fmt.Println("req.where:", req.Where) + var protoReq = artShow.GetViewAuthPaymentListRequest{Query: &artShow.ViewAuthPaymentData{}} + asUtil.RequestDataConvert(req, &protoReq) + protoReq.Order = "id desc" + fmt.Println("protoReq.where:", protoReq.Where) + resp, err := service.GrpcArtShowImpl.GetViewAuthPaymentList(context.Background(), &protoReq) + if err != nil { + return + } + data = resp.List + page = resp.Page + pageSize = resp.PageSize + total = resp.Total + if data == nil { + resp.List = []*artShow.ViewAuthPaymentData{} + } + return +} +func getViewAuthPaymentArtShowList(req *GetAuthPaymentArtShowListRequest, currentPer int32) (data []*artShow.ViewAuthPaymentArtShow, page, pageSize, total int64, err error) { + if req.ArtworkNumBegin != nil { + req.AddWhere("artwork_num >= %d", *req.ArtworkNumBegin) + } + if req.ArtworkNumEnd != nil { + req.AddWhere("artwork_num <= %d", *req.ArtworkNumEnd) + } + if req.PriceBegin != nil { + req.AddWhere("price >= %d", *req.PriceBegin) + } + if req.PriceEnd != nil { + req.AddWhere("price <= %d", *req.PriceEnd) + } + if req.RulerBegin != nil { + req.AddWhere("ruler >= %d", *req.RulerBegin) + } + if req.RulerEnd != nil { + req.AddWhere("ruler <= %d", *req.RulerEnd) + } + if req.SendTimeBegin != nil { + req.AddWhere("latest_send_pay_time >= '%s'", *req.SendTimeBegin) + } + if req.SendTimeEnd != nil { + req.AddWhere("latest_send_pay_time <= '%s'", *req.SendTimeEnd) + } + if req.SendPayCountBegin != nil { + req.AddWhere("send_pay_count >= %d", *req.SendPayCountBegin) + } + if req.SendPayCountEnd != nil { + req.AddWhere("send_pay_count <= %d", *req.SendPayCountEnd) + } + if req.HasSend != 0 { + req.AddWhere(fmt.Sprintf("send_pay_count %s", utils.IfGec(req.HasSend == 1, "=0", ">0"))) + req.HasSend = 0 + } + fmt.Println("req.where:", req.Where) + fmt.Println("req.where:", req.Where) + var protoReq = artShow.GetViewPaymentArtShowListRequest{Query: &artShow.ViewAuthPaymentArtShow{}} + asUtil.RequestDataConvert(req, &protoReq) + fmt.Println("protoReq.where:", protoReq.Where) + protoReq.PayStatus = req.PayStatus + protoReq.CurrentPer = currentPer //刚创建的画展包没有比例,每次查询时更新一遍 + if req.Order == "" { + req.Order = "id desc" + } else { + req.Order += ",id desc" + } + resp, err := service.GrpcArtShowImpl.GetViewPaymentArtShowList(context.Background(), &protoReq) + if err != nil { + return + } + data = resp.List + page = resp.Page + pageSize = resp.PageSize + total = resp.Total + if data == nil { + data = []*artShow.ViewAuthPaymentArtShow{} + } + return +} + +var currentPerValueLocker = sync.RWMutex{} + +// SetCurrentPerValue 设置比例值配置,将其设置为默认 +func SetCurrentPerValue(value int) { + currentPerValueLocker.Lock() + defer currentPerValueLocker.Unlock() + cache.RedisClient.Set("authPaymentPer", value, 0) +} + +// GetCurrentPerValue 获取比例值配置,作为页面上的默认比例 +func GetCurrentPerValue() (value int) { + currentPerValueLocker.RLock() + defer currentPerValueLocker.RUnlock() + value, _ = cache.RedisClient.Get("authPaymentPer").Int() + if value == 0 { + value = 10 + } + return +} diff --git a/pkg/service/artistInfo/blackList/balckList.go b/pkg/service/artistInfo/blackList/balckList.go new file mode 100644 index 0000000..a084540 --- /dev/null +++ b/pkg/service/artistInfo/blackList/balckList.go @@ -0,0 +1,114 @@ +// Package blackList ----------------------------- +// @file : balckList.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/7/7 13:45 +// ------------------------------------------- +package blackList + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/idcard" + "github.com/gin-gonic/gin" +) + +var Service = &BlackListService{} + +type BlackListService struct { +} + +func (r *BlackListService) Create(c *gin.Context) { + var req artistInfoUser.AddToBlackListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.ValueType == artistInfoUser.BL_ValueType_Nonnn { + service.Error(c, e.InvalidParams, nil, "数据类型不能为空") + return + } else if req.ValueType == artistInfoUser.BL_ValueType_IdCard { + if !idcard.Validate(req.Value) { + service.Error(c, e.InvalidParams, nil, "身份证号码有误") + return + } + } + if req.Value == "" { + service.Error(c, e.InvalidParams, nil, "值不能为空") + return + } + _, err := service.GrpcArtistInfoUserImpl.AddToBlackList(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.AddToBlackList Err", err.Error()) + return + } + service.Success(c) +} +func (r *BlackListService) Delete(c *gin.Context) { + var req artistInfoUser.DeleteBlackListValuesRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcArtistInfoUserImpl.DeleteBlackListValues(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.DeleteBlackListValues Err", err.Error()) + return + } + service.Success(c) +} +func (r *BlackListService) Update(c *gin.Context) { + var req artistInfoUser.UpdateBlackListValuesRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.Id == 0 { + service.Error(c, e.InvalidParams, nil, "数据id不能为空") + return + } + if req.ValueType == artistInfoUser.BL_ValueType_IdCard { + if !idcard.Validate(req.Value) { + service.Error(c, e.InvalidParams, nil, "身份证号码有误") + return + } + } + _, err := service.GrpcArtistInfoUserImpl.UpdateBlackListValue(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.UpdateBlackListValue Err", err.Error()) + return + } + service.Success(c) + +} +func (r *BlackListService) Search(c *gin.Context) { + var req struct { + Id int64 `json:"id"` + ValueType artistInfoUser.BL_ValueType `json:"valueType"` + Value string `json:"value"` + Remark string `json:"remark"` + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + } + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var micReq = artistInfoUser.GetBlackListValuesRequest{ + Param: &artistInfoUser.AddToBlackListRequest{ + Id: req.Id, + ValueType: req.ValueType, + Value: req.Value, + Remark: req.Remark, + }, + Page: req.Page, + PageSize: req.PageSize, + } + res, err := service.GrpcArtistInfoUserImpl.GetBlackListValues(c, &micReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoUserImpl.UpdateBlackListValue Err", err.Error()) + return + } + service.ResponseList(c, res.Datas, service.OptionPage(req.Page, req.PageSize, res.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/functionTest/stomeTest.go b/pkg/service/artistInfo/functionTest/stomeTest.go new file mode 100644 index 0000000..522735b --- /dev/null +++ b/pkg/service/artistInfo/functionTest/stomeTest.go @@ -0,0 +1,57 @@ +// Package functionTest ----------------------------- +// @file : stomeTest.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/9/19 9:14 +// ------------------------------------------- +package functionTest + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/common/push" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +var Handler = new(handle) + +type handle struct { +} +type AppPushRequest struct { + AudienceAlias []string `json:"audienceAlias"` + Title string `json:"title"` + Alert string `json:"alert"` + AndroidIntent string `json:"androidIntent"` + Extras map[string]any `json:"extras"` +} + +func (handle) AppPush(c *gin.Context) { + var req AppPushRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + p := push.NewPusher("0b88f8b6eb25182558bdb795", "deeae95db7c05371cb1c0ff5", push.NewIosPlatform("com.fonchain.artist"), push.NewAndroidPlatform("uni.UNID335ADB")) + if req.AudienceAlias != nil { + p.Audience.SetAlias(req.AudienceAlias) + } else { + p.Audience.All() + } + p.Notice.Title = req.Title + p.Notice.Alert = req.Alert + //设置跳转页 + if req.AndroidIntent != "" { + p.SetAndroidIntentPage(req.AndroidIntent) + } + ////携带参数 + if req.Extras != nil { + for k, v := range req.Extras { + p.SetExtrasKeyVale(k, v) + } + } + if err := p.PushNotify(); err != nil { + service.ErrorWithMark(c, e.Failed, err, "AppPush:PushNotify", "消息发送失败") + return + } + service.Success(c) +} diff --git a/pkg/service/artistInfo/inCricleArticle/comment.go b/pkg/service/artistInfo/inCricleArticle/comment.go new file mode 100644 index 0000000..2263714 --- /dev/null +++ b/pkg/service/artistInfo/inCricleArticle/comment.go @@ -0,0 +1,101 @@ +// Package inCircleArticle ----------------------------- +// @file : comment.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/16 19:49 +// ------------------------------------------- +package inCircleArticle + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/inCircleArticle" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/utils/ipAddrQuery" + "github.com/gin-gonic/gin" +) + +// 创建Comment +func (a *InCircleArticleHandler) CreateComment(c *gin.Context) { + var req inCircleArticle.CommentData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //获取城市位置 + clientIp := c.ClientIP() + address, errs := ipAddrQuery.NewIpAddrQuery().GetAddress(clientIp) + if errs != nil { + req.Location = "未知" + } + req.Location = address.City + _, err := service.GrpcInCircleArticleImpl.CreateComment(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.CreateComment Err", "创建失败") + return + } + + service.Success(c) +} + +// 删除Comment +func (a *InCircleArticleHandler) DeleteComment(c *gin.Context) { + var req inCircleArticle.DeleteCommentRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.DeleteComment(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteComment Err", "删除失败") + return + } + service.Success(c) +} + +// 更新Comment +func (a *InCircleArticleHandler) UpdateComment(c *gin.Context) { + var req inCircleArticle.CommentData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.UpdateComment(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.UpdateComment Err", "更新失败") + return + } + service.Success(c) +} + +// 使用id查询Comment +func (a *InCircleArticleHandler) GetCommentDetail(c *gin.Context) { + var req inCircleArticle.GetCommentByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcInCircleArticleImpl.GetCommentDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.GetCommentDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询Comment +func (a *InCircleArticleHandler) GetCommentList(c *gin.Context) { + var req GetCommentListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq inCircleArticle.GetCommentListRequest + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcInCircleArticleImpl.GetCommentList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetCommentList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/inCricleArticle/dto.go b/pkg/service/artistInfo/inCricleArticle/dto.go new file mode 100644 index 0000000..3f8c9ba --- /dev/null +++ b/pkg/service/artistInfo/inCricleArticle/dto.go @@ -0,0 +1,36 @@ +// Package inCircleArticle ----------------------------- +// @file : dto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/28 16:05 +// ------------------------------------------- +package inCircleArticle + +import "github.com/fonchain_enterprise/fonchain-main/api/inCircleArticle" + +type GetCommentListRequest struct { + inCircleArticle.CommentData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + RequestInCircleUserId int64 `json:"requestInCircleUserId"` + Name string `json:"name"` +} + +type GetSwiperListRequest struct { + inCircleArticle.SwiperData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` +} + +type GetInCircleArticleListRequest struct { + inCircleArticle.InCircleArticleData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + RequestInCircleUserId int64 `json:"requestInCircleUserId"` +} + +type GetInCircleUserListRequest struct { + inCircleArticle.InCircleUserData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` +} diff --git a/pkg/service/artistInfo/inCricleArticle/inCircleArticleSwiper.go b/pkg/service/artistInfo/inCricleArticle/inCircleArticleSwiper.go new file mode 100644 index 0000000..1ff3831 --- /dev/null +++ b/pkg/service/artistInfo/inCricleArticle/inCircleArticleSwiper.go @@ -0,0 +1,97 @@ +package inCircleArticle + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/inCircleArticle" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/gin-gonic/gin" +) + +// 创建Swiper +func (a *InCircleArticleHandler) CreateSwiper(c *gin.Context) { + var req inCircleArticle.SwiperData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //获取更新者信息 + jwt, err := asUser.GetJwtInfo(c) + if err == nil && jwt != nil { + req.CreatedBy = int64(jwt.ID) + } + _, err = service.GrpcInCircleArticleImpl.CreateSwiper(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.CreateSwiper Err", "创建失败") + return + } + service.Success(c) +} + +// 删除Swiper +func (a *InCircleArticleHandler) DeleteSwiper(c *gin.Context) { + var req inCircleArticle.DeleteSwiperRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.DeleteSwiper(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteSwiper Err", "删除失败") + return + } + service.Success(c) +} + +// 更新Swiper +func (a *InCircleArticleHandler) UpdateSwiper(c *gin.Context) { + var req inCircleArticle.SwiperData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //获取更新者信息 + jwt, err := asUser.GetJwtInfo(c) + if err == nil && jwt != nil { + req.UpdateBy = int64(jwt.ID) + } + _, err = service.GrpcInCircleArticleImpl.UpdateSwiper(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.UpdateSwiper Err", "更新失败") + return + } + service.Success(c) +} + +// 使用id查询Swiper +func (a *InCircleArticleHandler) GetSwiperDetail(c *gin.Context) { + var req inCircleArticle.GetSwiperByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcInCircleArticleImpl.GetSwiperDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.GetSwiperDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询Swiper +func (a *InCircleArticleHandler) GetSwiperList(c *gin.Context) { + var req GetSwiperListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq inCircleArticle.GetSwiperListRequest + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcInCircleArticleImpl.GetSwiperList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetSwiperList Err", "查询失败") + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/inCricleArticle/inCricleArticle.go b/pkg/service/artistInfo/inCricleArticle/inCricleArticle.go new file mode 100644 index 0000000..18556d0 --- /dev/null +++ b/pkg/service/artistInfo/inCricleArticle/inCricleArticle.go @@ -0,0 +1,186 @@ +package inCircleArticle + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/inCircleArticle" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/fonchain_enterprise/utils/ipAddrQuery" + "github.com/gin-gonic/gin" + "time" +) + +var Handler = &InCircleArticleHandler{} + +type InCircleArticleHandler struct { +} + +// 创建InCircleArticle +func (a *InCircleArticleHandler) CreateInCircleArticle(c *gin.Context) { + var req inCircleArticle.InCircleArticleData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //获取城市位置 + clientIp := c.ClientIP() + address, errs := ipAddrQuery.NewIpAddrQuery().GetAddress(clientIp) + if errs != nil { + req.Location = "苏州" + } else { + req.Location = utils.If(address.City == "", "苏州", address.City).(string) + } + + //获取创建者信息 + if req.CreatedBy == 0 { + jwt, err := asUser.GetJwtInfo(c) + if err == nil && jwt != nil { + req.CreatedBy = int64(jwt.ID) + } + } + + //判断推送状态 + if req.PublishStatus == 2 { + now := time.Now() + req.PublishTime = now.Format(stime.Format_Normal_YMDhms) + req.Year = int32(now.Year()) + req.Month = int32(now.Month()) + req.Day = int32(now.Day()) + } + + _, err := service.GrpcInCircleArticleImpl.CreateInCircleArticle(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.CreateInCircleArticle Err", err.Error()) + return + } + service.Success(c) +} + +// 删除InCircleArticle +func (a *InCircleArticleHandler) DeleteInCircleArticle(c *gin.Context) { + var req inCircleArticle.DeleteInCircleArticleRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.DeleteInCircleArticle(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteInCircleArticle Err", err.Error()) + return + } + service.Success(c) +} + +// 更新InCircleArticle +func (a *InCircleArticleHandler) UpdateInCircleArticle(c *gin.Context) { + var req inCircleArticle.InCircleArticleData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //获取更新者信息 + jwt, err := asUser.GetJwtInfo(c) + if err == nil && jwt != nil { + req.UpdateBy = int64(jwt.ID) + } + _, err = service.GrpcInCircleArticleImpl.UpdateInCircleArticle(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.UpdateInCircleArticle Err", "更新失败") + return + } + service.Success(c) +} + +// 使用id查询InCircleArticle +func (a *InCircleArticleHandler) GetInCircleArticleDetail(c *gin.Context) { + var req inCircleArticle.GetInCircleArticleByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcInCircleArticleImpl.GetInCircleArticleDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.GetInCircleArticleDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询InCircleArticle +func (a *InCircleArticleHandler) GetInCircleArticleList(c *gin.Context) { + var req GetInCircleArticleListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq inCircleArticle.GetInCircleArticleListRequest + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcInCircleArticleImpl.GetInCircleArticleList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetInCircleArticleList Err", err.Error()) + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} + +// 批量查询InCircleArticle +func (a *InCircleArticleHandler) SetLike(c *gin.Context) { + var req inCircleArticle.SetLikeRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.SetLike(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "SetLike Err", err.Error()) + return + } + service.Success(c) +} + +// 同步展讯信息 +func (a *InCircleArticleHandler) SyncInCircleArticle(c *gin.Context) { + var req inCircleArticle.SyncInCircleArticleRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var err error + var timeOutMark = true + if req.SyncArticleId == 0 { + //完整同步,增加超时处理 + timeoutCtx, _ := context.WithTimeout(c, time.Second*10) + go func() { + _, err = service.GrpcInCircleArticleImpl.SyncInCircleArticle(context.Background(), &req) + timeOutMark = false + timeoutCtx.Done() + }() + select { + case <-timeoutCtx.Done(): + break + default: + time.Sleep(1 * time.Second) + } + if timeOutMark { + service.Error(c, e.Failed, nil, "数据抓取耗时较长,请稍后再查看结果") + } else if err != nil { + fmt.Println("同步展讯数据失败,", err.Error()) + service.ErrorWithMark(c, e.Failed, err, "SyncInCircleArticle111 Err", err.Error()) + } else { + service.Success(c) + } + return + } else { + _, err := service.GrpcInCircleArticleImpl.SyncInCircleArticle(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "SetLike Err", err.Error()) + return + } + service.Success(c) + } +} diff --git a/pkg/service/artistInfo/inCricleArticle/inCricleUser.go b/pkg/service/artistInfo/inCricleArticle/inCricleUser.go new file mode 100644 index 0000000..c362f5e --- /dev/null +++ b/pkg/service/artistInfo/inCricleArticle/inCricleUser.go @@ -0,0 +1,93 @@ +// Package inCircleArticle ----------------------------- +// @file : inCricleUser.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/8/16 19:49 +// ------------------------------------------- +package inCircleArticle + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/inCircleArticle" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/gin-gonic/gin" +) + +// 创建InCircleUser +func (a *InCircleArticleHandler) CreateInCircleUser(c *gin.Context) { + var req inCircleArticle.InCircleUserData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.CreateInCircleUser(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.CreateInCircleUser Err", err.Error()) + return + } + service.Success(c) +} + +// 删除InCircleUser +func (a *InCircleArticleHandler) DeleteInCircleUser(c *gin.Context) { + var req inCircleArticle.DeleteInCircleUserRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.DeleteInCircleUser(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteInCircleUser Err", err.Error()) + return + } + service.Success(c) +} + +// 更新InCircleUser +func (a *InCircleArticleHandler) UpdateInCircleUser(c *gin.Context) { + var req inCircleArticle.InCircleUserData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcInCircleArticleImpl.UpdateInCircleUser(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.UpdateInCircleUser Err", err.Error()) + return + } + service.Success(c) +} + +// 使用id查询InCircleUser +func (a *InCircleArticleHandler) GetInCircleUserDetail(c *gin.Context) { + var req inCircleArticle.GetInCircleUserByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcInCircleArticleImpl.GetInCircleUserDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcInCircleArticleImpl.GetInCircleUserDetail Err", err.Error()) + return + } + service.Success(c, resp) +} + +// 批量查询InCircleUser +func (a *InCircleArticleHandler) GetInCircleUserList(c *gin.Context) { + var req GetInCircleUserListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + + var protoReq inCircleArticle.GetInCircleUserListRequest + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcInCircleArticleImpl.GetInCircleUserList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetInCircleUserList Err", err.Error()) + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkDto.go b/pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkDto.go new file mode 100644 index 0000000..bad99e6 --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkDto.go @@ -0,0 +1,86 @@ +package mailArtwork + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/mailArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "time" +) + +type GetMailArtworkListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + mailArtwork.MailArtworkData +} +type GetViewMailArtworkDataListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + mailArtwork.ViewMailArtworkData +} +type MailDetail struct { + ID int64 `json:"ID"` + CreatedAt string `json:"createdAt"` + TrackingNo string `json:"trackingNo"` + CourierType int32 `json:"courierType"` + Company string `json:"company"` + LatestStatus string `json:"latestStatus"` + LatestCourierTime string `json:"latestCourierTime"` + Remark string `json:"remark"` + History []MailHistory `json:"history"` +} + +func (m *MailDetail) Convert(info *mailArtwork.CourierInfoData, history []*mailArtwork.CourierHistoryData) { + if info == nil { + return + } + m.ID = info.ID + m.CreatedAt = info.CreatedAt + m.TrackingNo = info.TrackingNo + m.CourierType = info.CourierType + m.Company = info.Company + m.LatestStatus = info.LatestStatus + m.LatestCourierTime = info.LatestCourierTime + m.Remark = info.Remark + m.History = []MailHistory{} + for i := range history { + m.History = append(m.History, MailHistory{ + ID: history[i].ID, + CourierId: history[i].CourierId, + AreaName: history[i].AreaName, + LogisticsStatus: history[i].LogisticsStatus, + Desc: history[i].Desc, + CourierTimeDesc: time.UnixMilli(history[i].CourierTime).Format(stime.Format_Normal_YMDhms), + }) + } +} + +type MailHistory struct { + ID int64 `json:"ID"` + CourierId int64 `json:"courierId"` + AreaName string `json:"areaName"` + LogisticsStatus string `json:"logisticsStatus"` + Desc string `json:"desc"` + CourierTimeDesc string `json:"courierTimeDesc"` +} +type PutInStorageRequest struct { + ArtworkUuid string `json:"artworkUid"` + Detail string `json:"detail"` +} + +type ConfirmMailArtworkRequest struct { + ArtistUid string `json:"artistUid"` + ArtworkUid []string `json:"artworkUid"` +} +type ArtworkCourierGroupRequest struct { + ArtworkUid []string `json:"artworkUid"` +} +type GetCanSendMailArtworkListRequest struct { + mailArtwork.CanSendMailArtworkData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + Order string `json:"order"` + Where string `json:"where"` +} + +type ShortUrlTestRequest struct { + Url string `json:"url"` +} diff --git a/pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkHandler.go b/pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkHandler.go new file mode 100644 index 0000000..9651590 --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/mailArtworkMailArtworkHandler.go @@ -0,0 +1,491 @@ +package mailArtwork + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/mailArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asPush" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/utils/utils" + "github.com/getsentry/sentry-go" + "github.com/gin-gonic/gin" + "golang.org/x/sync/errgroup" + "net/url" + "strings" + "time" +) + +// 创建MailArtwork +func (a *MailArtworkHandler) CreateMailArtwork(c *gin.Context) { + var req mailArtwork.MailArtworkData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcMailArtworkImpl.CreateMailArtwork(c, &req) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.Success(c) +} + +// 发起寄画 +func (a *MailArtworkHandler) ConfirmMailArtwork(c *gin.Context) { + var req mailArtwork.ConfirmMailArtworkRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if len([]rune(req.Remark)) > 200 { + service.Error(c, e.InvalidParams, nil, "备注内容过长,请限制在200字以内!") + return + } + // 如果画家为空,则按照画家吧画作进行分组,依次请求 + var artistRelArtworkUid = make(map[string][]string) + if req.ArtistUid == "" { + artworkRecords, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + Page: 1, + PageSize: int64(len(req.ArtworkUid)), + ArtworkUids: req.ArtworkUid, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "查询失败") + return + } + for _, v := range artworkRecords.Data { + v := v + artistRelArtworkUid[v.ArtistUid] = append(artistRelArtworkUid[v.ArtistUid], v.ArtworkUid) + } + } else { + artistRelArtworkUid[req.ArtistUid] = append(artistRelArtworkUid[req.ArtistUid], req.ArtworkUid...) + } + //用来等待短信全部发送完并获取错误信息 + group, _ := errgroup.WithContext(context.Background()) + for artistUid, artworkUidList := range artistRelArtworkUid { + artistUid := artistUid + artworkUidList := artworkUidList + var protoReq = mailArtwork.ConfirmMailArtworkRequest{ + ArtistUid: artistUid, + ArtworkUid: artworkUidList, + CourierType: req.CourierType, + ReturnReason: req.ReturnReason, + TrackingNo: req.TrackingNo, + Remark: req.Remark, + } + resp, err := service.GrpcMailArtworkImpl.ConfirmMailArtwork(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + var returnArtworkEditAddress string + if req.CourierType == 2 { + group.Go(func() error { + //发短信 + params := url.Values{} + params.Set("groupId", resp.ReturnArtwork[0].GroupId) + returnArtworkEditAddress = config.MailArtwork.EditReturnArtworkUrl + "?" + params.Encode() + fmt.Println("returnArtworkEditAddress:", returnArtworkEditAddress) + returnArtworkEditAddress, err = utils.CreateShortUrl(returnArtworkEditAddress) + if err != nil { + fmt.Println("CreateShortUrl err", err) + sentry.WithScope(func(scope *sentry.Scope) { + scope.SetLevel(sentry.LevelError) + scope.SetExtra("returnArtworkEditAddress", returnArtworkEditAddress) + scope.SetExtra("err", err.Error()) + sentry.CaptureMessage("退画管理短网址生成失败") + }) + return fmt.Errorf("%s:通知短信生成失败(处理进度:20)", a.GetArtistInfo(artistUid)) + } + userRes := &artistInfoUser.GetUserListResp{} + userRes, err = service.GrpcArtistInfoUserImpl.GetUserList(c, &artistInfoUser.GetUserListRequest{ + Query: &artistInfoUser.UserData{MgmtArtistUid: artistUid}, + Page: 1, + PageSize: 1, + }) + if err != nil { + return fmt.Errorf("%s:通知短信生成失败(处理进度:40)", a.GetArtistInfo(artistUid)) + } + if userRes.Total == 0 { + return fmt.Errorf("%s:通知短信生成失败(处理进度:60)", a.GetArtistInfo(artistUid)) + } + endpoint := strings.Replace(returnArtworkEditAddress, "https://dwz.cn/", "", -1) + _, err = service.AccountProvider.SendCustomMsg(c, &account.SendCustomMsgRequest{ + ID: uint64(userRes.List[0].MgmtAccId), + TelNum: userRes.List[0].TelNum, + Url: endpoint, + MId: 203886, + SigNo: 155120, + Domain: config.Domain, + Project: "artistinfo", + }) + if err != nil { + return fmt.Errorf("%s:通知短信发送失败(%s)", a.GetArtistInfo(artistUid), err.Error()) + } + return nil + }) + } + } + if req.CourierType == 2 && req.TrackingNo != "" { + err := group.Wait() + if err != nil { + service.Error(c, e.Failed, err) + return + } + //如果发起退画,需要同步到画作系统 + for _, artworkUid := range req.ArtworkUid { + errs := SyncToOutStorageOfArtworkSystem(artworkUid, req.TrackingNo, req.ReturnReason, c.GetHeader(e.Authorization)) + if errs != nil { + service.Error(c, e.Failed, errs, errs.Error()) + return + } + time.Sleep(200 * time.Millisecond) + } + } + //发起app通知 + go func() { + for artistUid, _ := range artistRelArtworkUid { + fmt.Println("artistUid:", artistUid) + userRes, errs := service.GrpcArtistInfoUserImpl.GetUserList(c, &artistInfoUser.GetUserListRequest{ + Query: &artistInfoUser.UserData{MgmtArtistUid: artistUid}, + Page: 1, PageSize: 1, + }) + if errs != nil { + fmt.Println("发送app通知失败,查询画家用户失败", errs.Error()) + } + if userRes.Total == 0 { + fmt.Println("发送app通知失败,查询画家用户为空") + } + fmt.Println("userRes.List[0].ID", userRes.List[0].ID) + switch req.CourierType { + case 1: + _ = asPush.NewPusher().ArtworkWaitToBeMailedNotice(userRes.List[0].ID) + // 填写快递单号,变成已寄出时再发送通知 + case 2: + if req.TrackingNo != "" { + _ = asPush.NewPusher().ArtworkWaitToBeReceivedNotice(userRes.List[0].ID) + } + } + } + }() + service.Success(c) +} +func (a *MailArtworkHandler) GetArtistInfo(artistUid string) string { + artistProfile, err := service.GrpcArtistImpl.GetArtistProfileList(context.Background(), &artist.GetArtistProfileListRequest{ + Query: &artist.ArtistProfileData{Uid: artistUid}, + Page: 1, + PageSize: 1, + }) + if err != nil { + return "" + } + if artistProfile.Total == 0 { + return "" + } + return fmt.Sprintf("%s[%s]", artistProfile.List[0].Name, artistProfile.List[0].Tnum) + +} + +// 删除MailArtwork +func (a *MailArtworkHandler) DeleteMailArtwork(c *gin.Context) { + var req mailArtwork.DeleteMailArtworkRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcMailArtworkImpl.DeleteMailArtwork(c, &req) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.Success(c) +} + +// 更新MailArtwork +func (a *MailArtworkHandler) UpdateMailArtwork(c *gin.Context) { + var req mailArtwork.MailArtworkData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + _, err := service.GrpcMailArtworkImpl.UpdateMailArtwork(c, &req) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.Success(c) +} + +// 使用id查询MailArtwork +func (a *MailArtworkHandler) GetMailArtworkDetail(c *gin.Context) { + var req mailArtwork.GetMailArtworkByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcMailArtworkImpl.GetMailArtworkDetail(c, &req) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.Success(c, resp) +} + +// 批量查询MailArtwork +func (a *MailArtworkHandler) GetMailArtworkList(c *gin.Context) { + var req GetMailArtworkListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = mailArtwork.GetMailArtworkListRequest{Query: &mailArtwork.MailArtworkData{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcMailArtworkImpl.GetMailArtworkList(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} + +// 批量查询 ViewMailArtworkData 包含画作信息 +func (a *MailArtworkHandler) GetViewMailArtworkDataList(c *gin.Context) { + var req GetViewMailArtworkDataListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.ArtistUid == "" { + service.Error(c, e.InvalidParams, nil, "画家uid不能为空") + return + } + var protoReq = mailArtwork.GetViewMailArtworkListRequest{Query: &mailArtwork.ViewMailArtworkData{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcMailArtworkImpl.GetViewMailArtworkList(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} + +func (a *MailArtworkHandler) CourierEdit(c *gin.Context) { + var req mailArtwork.ArtworkBindCourierRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //绑定快递信息 + resp, err := service.GrpcMailArtworkImpl.ArtworkBindCourier(c, &req) + if err != nil { + service.Error(c, e.Failed, err) + return + } + //将快递信息同步到画作系统的仓储页面 + switch req.CourierType { + case 1: + for _, artworkUid := range req.ArtworkUid { + err = SyncToInStorageOfArtworkSystem(artworkUid, req.TrackingNo, c.GetHeader(e.Authorization)) + if err != nil { + fmt.Println("同步失败", err.Error()) + } + } + case 2: + var thisArtistUid string + for _, artworkUid := range req.ArtworkUid { + returnData, errs := service.GrpcMailArtworkImpl.GetReturnArtworkList(c, &mailArtwork.GetReturnArtworkListRequest{ + Query: &mailArtwork.ReturnArtworkData{ArtworkUid: artworkUid}, + Page: 1, + PageSize: 1, + Order: "id desc", + }) + returnReason := "" + if returnData != nil && len(returnData.List) > 0 { + returnReason = returnData.List[0].ReturnReason + } + if errs == nil { + errs = SyncToOutStorageOfArtworkSystem(artworkUid, req.TrackingNo, returnReason, c.GetHeader(e.Authorization)) + if errs != nil { + fmt.Println("同步失败", errs.Error()) + } + } else { + fmt.Printf("画作:%s查询失败:%s\n", artworkUid, errs.Error()) + } + if returnData != nil && len(returnData.List) > 0 { + thisArtistUid = returnData.List[0].ArtistUid + } + } + if thisArtistUid != "" { + userRes, errs := service.GrpcArtistInfoUserImpl.GetUserList(c, &artistInfoUser.GetUserListRequest{ + Query: &artistInfoUser.UserData{MgmtArtistUid: thisArtistUid}, + }) + if errs == nil { + _ = asPush.NewPusher().ArtworkWaitToBeReceivedNotice(userRes.List[0].ID) + } + } + } + + //格式转换 + var newResp = MailDetail{} + newResp.Convert(resp.Info, resp.History) + service.Success(c, newResp) +} + +func (a *MailArtworkHandler) CourierDetail(c *gin.Context) { + var req mailArtwork.GetCourierInfoByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if req.Id == 0 { + service.Error(c, e.InvalidParams, errors.New("无效参数")) + return + } + resp, err := service.GrpcMailArtworkImpl.GetCourierInfoDetail(c, &req) + if err != nil { + service.Error(c, e.Failed, err) + return + } + //格式转换 + var newResp = MailDetail{} + newResp.Convert(resp.Info, resp.History) + service.Success(c, newResp) +} + +func (a *MailArtworkHandler) GetCanSendMailArtworkList(c *gin.Context) { + var req GetCanSendMailArtworkListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq mailArtwork.GetCanSendMailArtworkListRequest + asUtil.RequestDataConvert(&req, &protoReq) + if protoReq.Query == nil || protoReq.Query.ArtistUid == "" { + service.ResponseList(c, []struct{}{}, service.OptionPage(req.Page, req.PageSize, 0), service.OptionMsg("画家uid不能为空")) + return + } + resp, err := service.GrpcMailArtworkImpl.GetCanSendMailArtworkList(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.ResponseList(c, resp.Data, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} + +func (a *MailArtworkHandler) PutInStorage(c *gin.Context) { + var req []PutInStorageRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoRequests []*artwork.UpdateStorageRequest + for _, v := range req { + var storageRequest = &artwork.UpdateStorageRequest{ + ArtworkUuid: v.ArtworkUuid, + Type: 1, + Detail: v.Detail, + } + if err := storageRequest.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + protoRequests = append(protoRequests, storageRequest) + } + // 存储数据到画作系统 + var ctx = context.Background() + for i := range protoRequests { + var artworkDetailReq = &artwork.ArtworkDetailRequest{ + ArtworkUuid: protoRequests[i].ArtworkUuid, + Type: "1", + } + fmt.Println("service.GrpcArtworkImpl is nil", service.GrpcArtworkImpl == nil) + awDetailInfo, err := service.GrpcArtworkImpl.ArtworkDetail(ctx, artworkDetailReq) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var artistInfoReq artist.ArtistInfoRequest + artistInfoReq.Uid = awDetailInfo.ProfileInfo.ArtistUuid + artistInfo, err := service.GrpcArtistImpl.ArtistInfo(ctx, &artistInfoReq) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + protoRequests[i].ArtistData = &artwork.UpdateStorageRequest_ArtistInfo{} + protoRequests[i].ArtistData.ArtistUuid = artistInfo.ProfileInfo.Uid + protoRequests[i].ArtistData.Seqnum = artistInfo.ProfileInfo.Seqnum + protoRequests[i].ArtistData.Tnum = artistInfo.ProfileInfo.Tnum + protoRequests[i].ArtistData.Num = artistInfo.ProfileInfo.Num + _, err = service.GrpcArtworkImpl.UpdateStorage(ctx, protoRequests[i]) + if err != nil { + service.Error(c, e.Failed, err) + sentry.WithScope(func(scope *sentry.Scope) { + scope.SetLevel(sentry.LevelError) + scope.SetExtra("err", fmt.Sprintf("%v", err)) + //scope.SetFingerprint([]string{"countList"}) + sentry.CaptureMessage("寄画-画作系统入库失败") + }) + return + } + time.Sleep(200 * time.Millisecond) + } + //更新画家宝的入库状态 + { + var updateStorageStatus = mailArtwork.PutInStorageRequest{ArtworkUid: []string{}} + for _, v := range req { + updateStorageStatus.ArtworkUid = append(updateStorageStatus.ArtworkUid, v.ArtworkUuid) + } + _, err := service.GrpcMailArtworkImpl.PutInStorage(c, &updateStorageStatus) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "UpdateStorage Err", err.Error()) + return + } + } + service.Success(c) +} + +func (a *MailArtworkHandler) ArtworkCourierGroup(c *gin.Context) { + var req ArtworkCourierGroupRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoRequest = &mailArtwork.GetViewMailArtworkListRequest{ + Page: 1, + PageSize: -1, + Where: fmt.Sprintf("artwork_uid in (%s)", "'"+strings.Join(req.ArtworkUid, "','")+"'"), + } + res, err := service.GrpcMailArtworkImpl.GetViewMailArtworkList(c, protoRequest) + if err != nil { + service.Error(c, e.Failed, err, "查询失败") + return + } + service.ResponseList(c, res.List, service.OptionPage(res.Page, res.PageSize, res.Total)) +} + +func (a *MailArtworkHandler) ShortUrlTest(c *gin.Context) { + var req ShortUrlTestRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + returnArtworkEditAddress, err := utils.CreateShortUrl(req.Url) + if err != nil { + service.Error(c, e.Failed, err, err.Error()) + return + } + service.Success(c, map[string]string{ + "shortUrl": returnArtworkEditAddress, + }) +} diff --git a/pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkDto.go b/pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkDto.go new file mode 100644 index 0000000..4b069b6 --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkDto.go @@ -0,0 +1,29 @@ +// Package mailArtwork ----------------------------- +// @file : mailArtworkReturnArtworkDto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/10/31 下午4:04 +// ------------------------------------------- +package mailArtwork + +import "github.com/fonchain_enterprise/fonchain-main/api/mailArtwork" + +type GetArtistReturnStatDataListRequest struct { + mailArtwork.ArtistReturnStatData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + Where string `json:"where"` + Order string `json:"order"` +} +type GetCanReturnArtworkListRequest struct { + mailArtwork.CanReturnArtworkData + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + Where string `json:"where"` + Order string `json:"order"` +} +type GetViewReturnArtworkDataListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + mailArtwork.ViewReturnArtworkData +} diff --git a/pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkHandler.go b/pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkHandler.go new file mode 100644 index 0000000..f82bc56 --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/mailArtworkReturnArtworkHandler.go @@ -0,0 +1,85 @@ +package mailArtwork + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/mailArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/gin-gonic/gin" +) + +// 批量查询ArtistReturnStatData +// 和徐嘉鸿沟通:1. 一级列表中筛选条件--确认方式 ,功能用处不大,应此去掉。 +// 2. 一级列表和二级列表中的筛选条件--状态,应该要统一下拉列表中的名称的,并且要联动的,但是徐嘉鸿说不改。 +func (a *MailArtworkHandler) GetArtistReturnStatDataList(c *gin.Context) { + var req GetArtistReturnStatDataListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = mailArtwork.GetArtistReturnStatListRequest{Query: &mailArtwork.ArtistReturnStatData{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcMailArtworkImpl.GetArtistReturnStatList(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} + +// 批量查询 GetCanReturnArtworkList +func (a *MailArtworkHandler) GetCanReturnArtworkList(c *gin.Context) { + var req GetCanReturnArtworkListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + //所有参数都为空则返回空值 + if req.ArtworkUid == "" && + req.ArtistUid == "" && + req.Tfnum == "" && + req.ArtworkName == "" && + req.ArtworkType == 0 && + req.Length == 0 && + req.Width == 0 && + req.Ruler == 0 && + req.HdPic == "" && + req.ArtistPhoto == "" && + req.Sealpic == "" && + req.NationalExhibition == 0 && + req.NationalExhibitionProof == "" && + req.ArtistName == "" { + service.ResponseList(c, []struct{}{}, service.OptionPage(req.Page, req.PageSize, 0), service.OptionMsg("查询成功")) + return + } + var protoReq = mailArtwork.GetCanReturnArtworkListRequest{Query: &mailArtwork.CanReturnArtworkData{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcMailArtworkImpl.GetCanReturnArtworkList(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.ResponseList(c, resp.Data, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} + +// 批量查询 ViewReturnArtworkData +func (a *MailArtworkHandler) GetViewReturnArtworkDataList(c *gin.Context) { + var req GetViewReturnArtworkDataListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = mailArtwork.GetViewReturnArtworkListRequest{Query: &mailArtwork.ViewReturnArtworkData{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcMailArtworkImpl.GetViewReturnArtworkList(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + for i, v := range resp.Data { + if v.AddressConfirm == 1 { + resp.Data[i].Address = "待画家短信确认" + } + } + service.ResponseList(c, resp.Data, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatDto.go b/pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatDto.go new file mode 100644 index 0000000..a4de490 --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatDto.go @@ -0,0 +1,9 @@ +package mailArtwork + +import "github.com/fonchain_enterprise/fonchain-main/api/mailArtwork" + +type GetViewArtistMailStatListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + mailArtwork.ViewArtistMailStatType +} diff --git a/pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatHandler.go b/pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatHandler.go new file mode 100644 index 0000000..fa345d1 --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/mailArtworkViewArtistMailStatHandler.go @@ -0,0 +1,31 @@ +package mailArtwork + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/mailArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/gin-gonic/gin" +) + +var Handler = &MailArtworkHandler{} + +type MailArtworkHandler struct { +} + +// 批量查询ViewArtistMailStat +func (a *MailArtworkHandler) GetViewArtistMailStatList(c *gin.Context) { + var req GetViewArtistMailStatListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = mailArtwork.GetViewArtistMailStatListRequest{Query: &mailArtwork.ViewArtistMailStatType{}} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcMailArtworkImpl.GetViewArtistMailStatList(c, &protoReq) + if err != nil { + service.Error(c, e.Failed, err) + return + } + service.ResponseList(c, resp.List, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} diff --git a/pkg/service/artistInfo/mailArtwork/readme.md b/pkg/service/artistInfo/mailArtwork/readme.md new file mode 100644 index 0000000..7eb0cb1 --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/readme.md @@ -0,0 +1 @@ +# 寄画退画 \ No newline at end of file diff --git a/pkg/service/artistInfo/mailArtwork/syncToArtworkSystem.go b/pkg/service/artistInfo/mailArtwork/syncToArtworkSystem.go new file mode 100644 index 0000000..576942a --- /dev/null +++ b/pkg/service/artistInfo/mailArtwork/syncToArtworkSystem.go @@ -0,0 +1,135 @@ +// Package mailArtwork ----------------------------- +// @file : syncToArtworkSystem.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/12/3 下午3:59 +// ------------------------------------------- +package mailArtwork + +import ( + "context" + "encoding/json" + "errors" + "fmt" + "github.com/dorlolo/simpleRequest" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "time" +) + +// SyncToInStorageOfArtworkSystem 同步入库信息到的画作系统 +func SyncToInStorageOfArtworkSystem(artworkUid string, trackingNo string, authorization string) (err error) { + var respErr error + var detail = map[string]any{ + "insto_soure": "寄画管理", + "insto_time": time.Now().Format(stime.Format_Normal_YMDhms), + "insto_express_no": nil, + "insto_digi_cert": nil, + "insto_receipt": nil, + "insto_detail": trackingNo, + "insto_route": nil, + } + detailJson, _ := json.Marshal(detail) + httpReq := simpleRequest.NewRequest() + httpReq.Headers().ConentType_json().Set(e.Authorization, authorization) + httpMethod, dataId := getHttpMethodOfUpdateStorage(artworkUid, 1) + params := map[string]any{ + "Type": 1, + "Detail": string(detailJson), + "ArtworkUuid": artworkUid, + } + if dataId > 0 { + params["Id"] = dataId + } + fmt.Printf("request Params:%+v", params) + httpReq.Body().Sets(params) + reqUrl := "http://127.0.0.1" + config.HttpPort + "/artwork/storage" + var respBody []byte + respBody, respErr = httpReq.LaunchTo(reqUrl, httpMethod) + fmt.Printf("request resp:%+v\n", string(respBody)) + var resp TransportResponse + if respErr == nil { + _ = json.Unmarshal(respBody, &resp) + } + if respErr != nil || resp.Status != 0 { + return errors.New("入库信息同步失败,请至画作系统手动修改") + } + return +} + +// SyncToOutStorageOfArtworkSystem 同步出库信息到的画作系统 +func SyncToOutStorageOfArtworkSystem(artworkUid string, trackingNo string, returnReason string, authorization string) (err error) { + var respErr error + var detail = map[string]any{ + "outsto_time": time.Now().Format(stime.Format_Normal_YMDhms), + "outsto_receive_time": "", + "outsto_reason": "退还画家", + "outsto_img": nil, + "tracking_no": trackingNo, + "remark": returnReason, + } + detailJson, _ := json.Marshal(detail) + httpReq := simpleRequest.NewRequest() + httpReq.Headers().ConentType_json().Set(e.Authorization, authorization) + httpMethod, dataId := getHttpMethodOfUpdateStorage(artworkUid, 3) + httpMethod = "PUT" //请求方式都为put + fmt.Println("detailJson", string(detailJson)) + params := map[string]any{ + "Type": 3, + "Detail": string(detailJson), + "ArtworkUuid": artworkUid, + } + if dataId > 0 { + params["Id"] = dataId + } + httpReq.Body().Sets(params) + reqUrl := "http://127.0.0.1" + config.HttpPort + "/artwork/storage" + fmt.Println("reqUrl:", reqUrl) + var respBody []byte + respBody, respErr = httpReq.LaunchTo(reqUrl, httpMethod) + fmt.Printf("request resp:%+v\n", string(respBody)) + var resp TransportResponse + if respErr == nil { + _ = json.Unmarshal(respBody, &resp) + } + if respErr != nil || resp.Status != 0 { + return errors.New("出库信息同步失败,请至画作系统手动修改") + } + return +} + +// getHttpMethodOfUpdateStorage 获取同步到画作系统时的请求方式,没有值为post,有值为put +// storageType: 1=入库 3=出库 +func getHttpMethodOfUpdateStorage(artworkUid string, storageType int32) (httpMethod string, id int32) { + resp, err := service.GrpcArtworkImpl.StorageInfo(context.Background(), &artwork.StorageInfoRequest{ + Type: storageType, + ArtworkUuid: artworkUid, + }) + fmt.Printf("getHttpMethodOfUpdateStorage:%+v\n", resp) + httpMethod = "PUT" + if err != nil || resp == nil || len(resp.StorageData) == 0 { + httpMethod = "POST" + } + if len(resp.StorageData) > 0 { + //var mapStorageData StorageDetail + //_ = json.Unmarshal([]byte(Detail), &mapStorageData) + id = resp.StorageData[0].Id + fmt.Println("StorageDetail.id", resp.StorageData[0].Id) + } + fmt.Println("getHttpMethodOfUpdateStorage method is ", httpMethod) + return +} + +type TransportResponse struct { + Status int `json:"status"` + Msg string `json:"msg"` + Err string `json:"err"` +} + +// 其它值不需要,只要一个Id +type StorageDetail struct { + Id int32 `json:"Id"` +} diff --git a/pkg/service/artistInfo/readme.md b/pkg/service/artistInfo/readme.md new file mode 100644 index 0000000..a10a2cd --- /dev/null +++ b/pkg/service/artistInfo/readme.md @@ -0,0 +1,9 @@ +# artistInfo 画家宝模块 +## 目录说明 +- [asAccount](asAccount) :画家宝用户服务 +- [asArtist](asArtist) : 画家宝画家服务 +- [asArtshow](asArtshow) : 画家宝画展相关服务 +- [asArtwork](asArtwork) : 画家宝画作服务 +- [asContract](asContract) : 画家宝合同服务 +- [asStatement](asStatement) : 画家宝对账单服务 +- [blackList](blackList) : 黑名单模块 \ No newline at end of file diff --git a/pkg/service/artistOneQuery.go b/pkg/service/artistOneQuery.go new file mode 100644 index 0000000..ee394d1 --- /dev/null +++ b/pkg/service/artistOneQuery.go @@ -0,0 +1,64 @@ +// Package service ----------------------------- +// @file : artistOneQuery.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/3/9 13:21 +// ------------------------------------------- +package service + +import ( + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "time" +) + +func ArtistOneQueryListOldLogic(c *gin.Context, reqModel model.OneQueryReq) { + var req artist.OneQueryReq + var err error + // 如果没有时间默认当月 + if reqModel.ShowTime == "" { + reqModel.ShowTime = time.Now().Format("2006-01") + } + _ = copier.Copy(&req, reqModel) + var artistResp *artShow.ArtistWithShowTimeResp + if artistResp, err = GrpcArtShowImpl.ArtistWithShowTime(c, &artShow.ArtistWithShowTimeReq{ShowTime: reqModel.ShowTime}); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(artistResp.ArtistUids) > 0 { + req.ShowTimeArtistUuids = artistResp.ArtistUids + } + + if req.Permission == model.PermissionTraining { + passResp, errS := GrpcArtworkQueryImpl.GetPassArtist(c, &artwork_query.GetPassArtistReq{}) + if errS != nil { + ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + req.PassArtistUuids = passResp.ArtistUuids + } + // 如果出库时间不为空 查询满足出库时间的画家 + if req.StockOutTime != "" { + stockResp, _err := GrpcArtworkQueryImpl.StockOutArtist(c, &artwork_query.StockOutArtistReq{StockOutTime: req.StockOutTime}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + req.StockOutArtistUuids = stockResp.ArtistUuids + if len(req.StockOutArtistUuids) == 0 { + req.StockOutArtistUuids = []string{"-1"} + } + } + resp, errs := GrpcArtistImpl.OneQueryOld(c, &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} diff --git a/pkg/service/artist_test.go b/pkg/service/artist_test.go new file mode 100644 index 0000000..439a298 --- /dev/null +++ b/pkg/service/artist_test.go @@ -0,0 +1,427 @@ +package service + +import ( + "bytes" + "dubbo.apache.org/dubbo-go/v3/config" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/gin-gonic/gin" + "github.com/magiconair/properties/assert" + "net/http" + "net/http/httptest" + "testing" +) + +func init() { + var GrpcArtistImpl = new(artist.ArtistClientImpl) + //config.SetConsumerService(GrpcAccountImpl) + config.SetConsumerService(GrpcArtistImpl) + //config.SetConsumerService(GrpcArtworkImpl) + //config.SetConsumerService(GrpcArtworkQueryImpl) + if err := config.Load(); err != nil { + panic(err) + } +} + +func TestCreateProfile(t *testing.T) { + r := gin.Default() + url := "/artist" + body := `{ + "name": "dyb", + }` + req, _ := http.NewRequest(http.MethodPost, url, bytes.NewReader([]byte(body))) + w := httptest.NewRecorder() + r.ServeHTTP(w, req) + assert.Equal(t, http.StatusCreated, w.Code) +} + +func TestListExport(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ListExport(tt.args.c) + }) + } +} + +func TestContractAdd(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ContractAdd(tt.args.c) + }) + } +} + +func TestContractEdit(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ContractEdit(tt.args.c) + }) + } +} + +func TestContractList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ContractList(tt.args.c) + }) + } +} + +func TestCreateProfile1(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + CreateProfile(tt.args.c) + }) + } +} + +func TestDelArtist(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DelArtist(tt.args.c) + }) + } +} + +func TestDetail(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + Detail(tt.args.c) + }) + } +} + +func TestDownloadArtist(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DownloadArtist(tt.args.c) + }) + } +} + +func TestExportArtistField(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ExportArtistField(tt.args.c) + }) + } +} + +func TestHonor(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + Honor(tt.args.c) + }) + } +} + +func TestHonorDel(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + HonorDel(tt.args.c) + }) + } +} + +func TestIdName(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + IdName(tt.args.c) + }) + } +} + +func TestIndexs(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + Indexs(tt.args.c) + }) + } +} + +func TestInvitationAdd(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + InvitationAdd(tt.args.c) + }) + } +} + +func TestInvitationDel(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + InvitationDel(tt.args.c) + }) + } +} + +func TestInvitationInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + InvitationInfo(tt.args.c) + }) + } +} + +func TestInvitationList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + InvitationList(tt.args.c) + }) + } +} + +func TestInvitationUpdate(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + InvitationUpdate(tt.args.c) + }) + } +} + +func TestList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + List(tt.args.c) + }) + } +} + +func TestListExport1(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ListExport(tt.args.c) + }) + } +} + +func TestMedia(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + Media(tt.args.c) + }) + } +} + +func TestSyncArtistInfo(t *testing.T) { + type args struct { + artistUid string + artistName string + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + SyncArtistInfo(tt.args.artistUid, tt.args.artistName) + }) + } +} + +func TestUpdateProfile(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateProfile(tt.args.c) + }) + } +} diff --git a/pkg/service/artwork.go b/pkg/service/artwork.go new file mode 100644 index 0000000..fd2f2be --- /dev/null +++ b/pkg/service/artwork.go @@ -0,0 +1,1965 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/constant" + "dubbo.apache.org/dubbo-go/v3/common/logger" + v3Config "dubbo.apache.org/dubbo-go/v3/config" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + art_show "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/api/note" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + projectConf "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/jinzhu/copier" + "github.com/opentracing/opentracing-go" + "github.com/opentracing/opentracing-go/log" + + uuid "github.com/satori/go.uuid" + "io/ioutil" + "os" + "path" + "path/filepath" + "sort" + "strconv" + "strings" + "sync" + "time" + + dubboV3Config "dubbo.apache.org/dubbo-go/v3/config" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/go-playground/validator/v10" + "go.uber.org/zap" + "google.golang.org/protobuf/types/known/wrapperspb" +) + +func CreateAwProfile(c *gin.Context) { + var profileRequest artwork.CreArtProRequest + if err := c.ShouldBind(&profileRequest); err != nil { + logger.Errorf("CreateAwProfile ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 创建来源1 后台 + profileRequest.CreateSource = 1 + if profileRequest.Mask == 0 { //没有传的话默认是1 + profileRequest.Mask = model.MaskFirstHand + } + var logicArtist logic.ArtistInfo + profileRequest.ArtistName = logicArtist.RecheckArtistName(profileRequest.ArtistName) + if err := profileRequest.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + artistInfo, err := GrpcArtistImpl.ArtistInfo(c, &artist.ArtistInfoRequest{Uid: profileRequest.ArtistUuid}) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var findUserResp *artistInfoUser.UserInfo + if artistInfo.ProfileInfo.Insource == 3 { + // 在此之前需要去画家宝判断是否锁定 + var findUserReq artistInfoUser.FindUserRequest + findUserReq.MgmtArtistUid = profileRequest.ArtistUuid + findUserResp, err = GrpcArtistInfoUserImpl.FindUser(context.Background(), &findUserReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //新业务逻辑:其它画作(赠画、卷轴)无需同步到画家宝 by xjjXu 2023-12-14 + if utils.Contains([]int32{1, 4}, profileRequest.ArtworkType) { + if findUserResp.Id != 0 && !findUserResp.IsLock { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorArtistNotLock), nil) + return + } + } + } + + nativeTrace := opentracing.GlobalTracer() + span := nativeTrace.StartSpan("createArtwork") + defer span.Finish() + ctx := opentracing.ContextWithSpan(context.Background(), span) + resp, err := GrpcArtworkImpl.CreateArtworkProfile(ctx, &profileRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + //在画家宝中添加画作记录,并修改画作insource字段状态为3 by xjj 2023-06-28 + //新业务逻辑:其它画作(赠画、卷轴)无需同步到画家宝 by xjjXu 2023-12-14 + if artistInfo.ProfileInfo.Insource == 3 && findUserResp != nil && findUserResp.Id != 0 && findUserResp.IsLock && utils.Contains([]int32{1, 4}, profileRequest.ArtworkType) { + var artistInfoArtworkReq = artistInfoArtwork.CreateArtworkFromMgmtRequest{ + ArtistUid: profileRequest.ArtistUuid, + ArtworkUid: resp.Data.ArtworkUuid, + Origin: model.CREATE_SOURCE_SYSTEM, + } + span = span.SetTag("CreateArtworkLockRecordFromMgmt", resp.Data.ArtworkUuid) + mgmtCtx := opentracing.ContextWithSpan(context.Background(), span) + _, err = GrpcArtistInfoArtworkImpl.CreateArtworkLockRecordFromMgmt(mgmtCtx, &artistInfoArtworkReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + span = span.SetTag("UpdateInsource", resp.Data.ArtworkUuid) + artworkCtx := opentracing.ContextWithSpan(context.Background(), span) + _, err = GrpcArtworkImpl.UpdateInsource(artworkCtx, &artwork.UpdateInsourceReq{ + ArtworkUid: resp.Data.ArtworkUuid, + InSource: 3, + }) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + } + //新业务逻辑:其它画作(赠画、卷轴)无需同步到画家宝 by xjjXu 2023-12-14 + //if resp.Data.ArtworkUuid != "" && utils.Contains([]int32{1, 4}, profileRequest.ArtworkType) { + // fmt.Println("同步到画家宝") + // // 创建完毕通知画家宝 + // record := &artistInfoArtwork.AddArtworkFlowRecordRequest{ + // ArtistUid: profileRequest.ArtistUuid, + // ArtworkUid: resp.Data.ArtworkUuid, + // TimeStamp: time.Now().Unix(), + // Pic: profileRequest.HdPic, + // FlowState: artistInfoArtwork.FlowState(model.FlowState_FirstUpload), + // Operator: artistInfoArtwork.Operator(model.Operator_Backend), + // } + // logger.Infof("record create", record) + // _, _ = GrpcArtistInfoArtworkImpl.AddArtworkFlowRecord(context.Background(), record) + //} + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.Data, + }) +} + +func UpdateAwProfile(c *gin.Context) { + var profileRequest artwork.CreArtProRequest + if err := c.ShouldBind(&profileRequest); err != nil { + logger.Errorf("CreateAwProfile ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var logicArtist logic.ArtistInfo + profileRequest.ArtistName = logicArtist.RecheckArtistName(profileRequest.ArtistName) + atta := make(map[string]interface{}, 2) + userInfoAny, ok := c.Get("mLoginInfo") + if ok { + loginInfo := userInfoAny.(model.LoginInfo) + loginInfo.Extend = nil + loginInfo.PositionUsers = nil + loginInfoByte, _ := json.Marshal(loginInfo) + atta["userinfo"] = string(loginInfoByte) + } + reqContext := context.WithValue(context.Background(), constant.DubboCtxKey("attachment"), atta) + //查询dci状态 + copyrightInfo, _err := GrpcCopyrightImpl.CopyrightInfo(context.Background(), &digital_copyright.CopyrightInfoReq{ArtworkUuid: profileRequest.ArtworkUuid}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + if copyrightInfo.DigitalRegisterId != "" { + profileRequest.CopyrightStep = 1 + } + if copyrightInfo.Status == "DISREGARD" { + profileRequest.CopyrightStep = 0 + } + //查询数据库的值如果变动不允许修改 + if err := checkArtworkApprovalStatus(&profileRequest, model.CheckArtworkArtshowActionEdit); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + profileRequest.SupplementEdit, _ = ArtworkSupplementEdit(profileRequest.ArtistUuid, profileRequest.ArtworkUuid) + profileRequest.SystemSource = artwork.InSource_InSourceManager + resp, err := GrpcArtworkImpl.UpdateArtworkProfile(reqContext, &profileRequest) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(resp.Data) > 0 { + var artistUids []string = make([]string, 0, len(resp.Data)) + for _, v := range resp.Data { + artistUids = append(artistUids, v.ArtistUuid) + v.ArtistShowCount = fmt.Sprintf("%s(0)", v.ArtistName) + } + artshowResp, errS := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if errS != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(errS)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp.Data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) +} + +// 检查画作的审批状态 +func checkArtworkApprovalStatus(req *artwork.CreArtProRequest, action int32) (err error) { + var oldDetail *artwork.ArtworkDetailResponse = new(artwork.ArtworkDetailResponse) + if action == model.CheckArtworkArtshowActionEdit { + oldDetail, err = GrpcArtworkImpl.ArtworkDetail(context.Background(), &artwork.ArtworkDetailRequest{ + Type: "1", + ArtworkUuid: req.ArtworkUuid, + }) + if err != nil { + return + } + var change bool + zap.L().Info("checkArtworkApprovalStatus", zap.Any("oldDetail", oldDetail)) + change = oldDetail.ProfileInfo.HdPic != req.HdPic || oldDetail.ProfileInfo.ArtworkName != req.ArtworkName || oldDetail.ProfileInfo.ArtistName != req.ArtistName || + oldDetail.ProfileInfo.ArtworkType != req.ArtworkType || oldDetail.ProfileInfo.Length != req.Length || oldDetail.ProfileInfo.Width != req.Width || oldDetail.ProfileInfo.Ruler != req.Ruler + if !change { + return + } + zap.L().Info("checkArtworkApprovalStatus", zap.Any("change", change)) + } + if err = CheckArtworkApproval(req.ArtworkUuid); err != nil { + return + } + return +} + +// 画作审批状态检查 +func CheckArtworkApproval(artworkUuid string) (err error) { + resp, _err := ApprovalProvider.ListApprovalStatusByArtworkUID(context.Background(), &approval.ArtworkStatusReq{ArtworkUID: artworkUuid}) + if _err != nil { + err = _err + return + } + zap.L().Info("checkArtworkApprovalStatus", zap.Any("resp", resp)) + if resp.Status == 0 || resp.ApprovalType == "" { + return + } + if resp.ApprovalType != model.ApprovalTypeExhibition { + err = errors.New(e.ErrorArtworkEditNo) + return + } + if resp.Status != model.ApprovalWorkStatusFail && resp.Status != model.ApprovalWorkStatusRevokeOk { + err = errors.New(e.ErrorArtworkEditNo) + return + } + return +} + +func UpdateMarketInfo(c *gin.Context) { + + var pmInfoRequest artwork.UpdateMInfoRequest + if err := c.ShouldBind(&pmInfoRequest); err != nil { + logger.Errorf("UpdateMarketInfo ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkImpl.UpdateMarketInfo(context.Background(), &pmInfoRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func UpdateExtInfo(c *gin.Context) { + + var extDataRequest artwork.UpdateExtDataRequest + if err := c.ShouldBind(&extDataRequest); err != nil { + logger.Errorf("UpdateExtInfo ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + //查询dci状态 + copyrightInfo, _err := GrpcCopyrightImpl.CopyrightInfo(context.Background(), &digital_copyright.CopyrightInfoReq{ArtworkUuid: extDataRequest.ArtworkUuid}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + if copyrightInfo.DigitalRegisterId != "" { + extDataRequest.CopyrightStep = 1 + } + if copyrightInfo.Status == "DISREGARD" { + extDataRequest.CopyrightStep = 0 + } + resp, err := GrpcArtworkImpl.UpdateExtData(context.Background(), &extDataRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func DigiInfo(c *gin.Context) { + + var digiRequest artwork.UpdateDigiInfoRequest + if err := c.ShouldBind(&digiRequest); err != nil { + logger.Errorf("DigiInfo ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkImpl.UpdateDigiInfo(context.Background(), &digiRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func AwTags(c *gin.Context) { + + var tagsRequest artwork.UpdateTagsRequest + if err := c.ShouldBind(&tagsRequest); err != nil { + logger.Errorf("DigiInfo ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkImpl.UpdateTags(context.Background(), &tagsRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func AuthData(c *gin.Context) { + var authDataRequest artwork.UpdateAuthDataRequest + if err := c.ShouldBind(&authDataRequest); err != nil { + logger.Errorf("AuthData ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkImpl.UpdateAuthData(context.Background(), &authDataRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func VerifyData(c *gin.Context) { + var verifyDataRequest artwork.UpdateVerifyDataReq + if err := c.ShouldBind(&verifyDataRequest); err != nil { + logger.Errorf("verifyData ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkImpl.UpdateVerifyData(context.Background(), &verifyDataRequest) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) +} + +func AuthImg(c *gin.Context) { + var authDataRequest artwork.UpdateAuthImgRequest + if err := c.ShouldBind(&authDataRequest); err != nil { + logger.Errorf("AuthImg ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if authDataRequest.Action == "" { //默认更新首张图片 + authDataRequest.Action = model.AuthImgActionFirst + } + if authDataRequest.Action == model.AuthImgActionMore { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + authDataRequest.AdminId = int32(userInfo.ID) + } + } + if err := authDataRequest.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkImpl.UpdateAuthImg(context.Background(), &authDataRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func Storage(c *gin.Context) { + var storageRequest artwork.UpdateStorageRequest + if err := c.ShouldBind(&storageRequest); err != nil { + logger.Errorf("Storage ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err := storageRequest.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + nativeTrace := opentracing.GlobalTracer() + span := nativeTrace.StartSpan("storageStart") + var detailCtx context.Context + defer span.Finish() + // 如果是入库则查询画家信息 1 入库 + if storageRequest.Type == 1 { + span.LogFields( + log.String("event", "storage"), + log.String("value", storageRequest.ArtworkUuid), + ) + + var artworkDetailReq artwork.ArtworkDetailRequest + artworkDetailReq.ArtworkUuid = storageRequest.ArtworkUuid + artworkDetailReq.Type = "1" + detailCtx = opentracing.ContextWithSpan(context.Background(), span) + awDetailInfo, err := GrpcArtworkImpl.ArtworkDetail(detailCtx, &artworkDetailReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + span.SetTag("storage-detail", "200") + var artistInfoReq artist.ArtistInfoRequest + artistInfoReq.Uid = awDetailInfo.ProfileInfo.ArtistUuid + artistInfo, err := GrpcArtistImpl.ArtistInfo(detailCtx, &artistInfoReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + storageRequest.ArtistData = &artwork.UpdateStorageRequest_ArtistInfo{} + storageRequest.ArtistData.ArtistUuid = artistInfo.ProfileInfo.Uid + storageRequest.ArtistData.Seqnum = artistInfo.ProfileInfo.Seqnum + storageRequest.ArtistData.Tnum = artistInfo.ProfileInfo.Tnum + storageRequest.ArtistData.Num = artistInfo.ProfileInfo.Num + } + span.SetTag("storage-update-storage", storageRequest.ArtworkUuid) + if detailCtx == nil { + detailCtx = opentracing.ContextWithSpan(context.Background(), span) + } + resp, err := GrpcArtworkImpl.UpdateStorage(detailCtx, &storageRequest) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) +} + +func AwDetail(c *gin.Context) { + var detailRequest artwork.ArtworkDetailRequest + if err := c.ShouldBind(&detailRequest); err != nil { + logger.Errorf("AwDetail ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + zap.L().Info("AwDetail", zap.Any("detailRequest1", detailRequest.ArtworkUuid)) + if err := detailRequest.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkImpl.ArtworkDetail(context.Background(), &detailRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + zap.L().Info("AwDetail", zap.Any("detailRequest2", detailRequest.ArtworkUuid)) + ok := dubboV3Config.GetConsumerService("CopyrightClientImpl") != nil + if ok { + if resp.CopyRightInfo == nil { + resp.CopyRightInfo = &artwork.UpdateCopyrightInfoRequest{} + } + copyrightResp, _err := GrpcCopyrightImpl.CopyrightDetail(context.Background(), &digital_copyright.CopyrightDetailReq{ArtworkUuid: detailRequest.ArtworkUuid}) + if _err == nil { + if copyrightResp.BaseInfo.DigitalRegisterId != "" && resp.ProfileInfo != nil { + resp.ProfileInfo.CopyrightStep = 1 + } + //if _err != nil { + // ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + // return + //} + if copyrightResp.BaseInfo != nil && copyrightResp.BaseInfo.RegNumber != "" && resp.CopyRightInfo != nil { + resp.CopyRightInfo.SerialNumber = copyrightResp.BaseInfo.CopyrightId + resp.CopyRightInfo.ApplyTime = copyrightResp.ApplyInfo.ApplyTime + resp.CopyRightInfo.RegisterNumber = copyrightResp.BaseInfo.RegNumber + resp.CopyRightInfo.CertDigi = copyrightResp.BaseInfo.DigitalRegisterCertUrl + resp.CopyRightInfo.CertRegisterTime = copyrightResp.BaseInfo.DigitalRegisterCompletionDate // 数登完成时间 + resp.CopyRightInfo.EntrustLetterUrl = copyrightResp.WorkInfo.OthersWorkAuthFileId + } + } + + } + // 基础信息里面的定价数据 要去画展包那边查询 + if config.Env != "dev" { + zap.L().Info("AwDetail", zap.Any("detailRequest3", detailRequest.ArtworkUuid)) + if strings.Contains(detailRequest.Type, fmt.Sprintf("%d", model.ADTypeProfile)) { + var artworkPriceReq artShow.ArtworkPriceReq + artworkPriceReq.ArtworkUID = detailRequest.ArtworkUuid + artworkPriceRes, err := GrpcArtShowImpl.ArtworkPrice(context.Background(), &artworkPriceReq) + //if err != nil { + // ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + //} + zap.L().Info("AwDetail", zap.Any("detailRequest4", detailRequest.ArtworkUuid)) + if err == nil && artworkPriceRes != nil && artworkPriceRes.Data != nil { + resp.ProfileInfo.PriceMarket = float32(artworkPriceRes.Data.MarketPrice) + resp.ProfileInfo.PriceRuler = float32(artworkPriceRes.Data.RulerPrice) + resp.ProfileInfo.PriceArtwork = float32(artworkPriceRes.Data.ArtworkPrice) + resp.ProfileInfo.PriceCopyright = float32(artworkPriceRes.Data.CopyrightPrice) + } + zap.L().Info("AwDetail", zap.Any("detailRequest5", detailRequest.ArtworkUuid)) + } + } + zap.L().Info("AwDetail", zap.Any("detailRequest6", detailRequest.ArtworkUuid)) + if len(resp.MarketInfo) == 0 { + resp.MarketInfo = []*artwork.UpdateMInfoRequest{} + } + if resp.AuthData != nil && len(resp.AuthData.Data) == 0 { + resp.AuthData.Data = []*artwork.UpdateAuthDataRequest_BitMap{} + } + if len(resp.TagsData) == 0 { + resp.TagsData = []*artwork.ArtworkDetailResponse_TagsInfo{} + } + //if resp.DigiInfo != nil && resp.DigiInfo.DigiArtCopyrightImg != "" { + // resp.DigiInfo.DigiArtCopyrightImg = fmt.Sprintf("%s%s", config.ProjectMapDir, resp.DigiInfo.DigiArtCopyrightImg[1:]) + //} + if strings.Contains(detailRequest.Type, "6") { + if resp.AuthData != nil && len(resp.AuthData.AuthImgData) == 0 { + resp.AuthData.AuthImgData = []*artwork.AuthImgInfo{} + } + } + if resp.ProfileInfo != nil { + resp.ProfileInfo.SupplementEdit, _ = ArtworkSupplementEdit(resp.ProfileInfo.ArtistUuid, resp.ProfileInfo.ArtworkUuid) + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) +} + +func StorageInfo(c *gin.Context) { + var infoRequest artwork.StorageInfoRequest + if err := c.ShouldBind(&infoRequest); err != nil { + logger.Errorf("StorageInfo ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkImpl.StorageInfo(context.Background(), &infoRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.StorageData) == 0 { + resp.StorageData = []*artwork.UpdateStorageRequest{} + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.StorageData, + }) +} + +func MarketInfo(c *gin.Context) { + var infoRequest artwork.MarketInfoRequest + if err := c.ShouldBind(&infoRequest); err != nil { + logger.Errorf("MarketInfo ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkImpl.MarketInfo(context.Background(), &infoRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.MarketInfo) == 0 { + resp.MarketInfo = []*artwork.UpdateMInfoRequest{} + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.MarketInfo, + }) +} + +func AwList(c *gin.Context) { + var detailRequest artwork_query.ArtworkListRequest + var awReq model.AwListReq + if err := c.ShouldBind(&awReq); err != nil { + logger.Errorf("AwDetail ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err := copier.Copy(&detailRequest, awReq); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 留言板不为空查询留言板数据 + if awReq.NoteKeyword != "" { + noteResp, err := GrpcNoteImpl.NoteList(context.Background(), ¬e.NoteListreq{ + Page: 1, + PageSize: 9999, + Keyword: awReq.NoteKeyword, + }) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, v := range noteResp.Data { + detailRequest.ArtworkUuids = append(detailRequest.ArtworkUuids, v.ArtworkUuid) + } + if len(detailRequest.ArtworkUuids) == 0 { + detailRequest.ArtworkUuids = append(detailRequest.ArtworkUuids, awReq.NoteKeyword) + } + } + if awReq.FilterStatus == nil { + detailRequest.FilterStatus = nil + } else { + detailRequest.FilterStatus = &wrapperspb.Int32Value{Value: *awReq.FilterStatus} + } + if awReq.StorageStatus == nil { + detailRequest.StorageStatus = nil + } else { + detailRequest.StorageStatus = &wrapperspb.Int32Value{Value: *awReq.StorageStatus} + } + if awReq.SaleStatus == nil { + detailRequest.SaleStatus = nil + } else { + detailRequest.SaleStatus = &wrapperspb.Int32Value{Value: *awReq.SaleStatus} + } + resp, err := GrpcArtworkQueryImpl.ArtworkList(context.Background(), &detailRequest) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), resp) + return + } + if len(resp.Data) == 0 { + resp.Data = []*artwork_query.ArtworkListResponse_Info{} + } + for _, v := range resp.Data { + if v.BlackListStatus == 2 { + v.ArtistName = fmt.Sprintf("#%s", v.ArtistName) + } + } + if len(resp.Data) > 0 && len(resp.Data) <= 50 && v3Config.GetConsumerService("ArtShowClientImpl") != nil { + var artistUids []string = make([]string, 0, len(resp.Data)) + for k, v := range resp.Data { + artistUids = append(artistUids, v.ArtistUuid) + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(0)", v.ArtistName) + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(c, &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp.Data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) +} + +func AwTagList(c *gin.Context) { + + var tagListRequest artwork_query.TagsListRequest + if err := c.ShouldBind(&tagListRequest); err != nil { + logger.Errorf("AwDetail ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.TagsList(context.Background(), &tagListRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp, + }) +} + +func DelAuthData(c *gin.Context) { + + var delAuthRequest artwork_query.DelAuthDataRequest + if err := c.ShouldBind(&delAuthRequest); err != nil { + logger.Errorf("DelAuthData ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.DelAuthData(context.Background(), &delAuthRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func DelMarketData(c *gin.Context) { + + var delMarketRequest artwork_query.DelMarketDataRequest + if err := c.ShouldBind(&delMarketRequest); err != nil { + logger.Errorf("DelMarketData ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.DelMarketData(context.Background(), &delMarketRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func DelStorageData(c *gin.Context) { + + var delStorageRequest artwork_query.DelStorageDataRequest + if err := c.ShouldBind(&delStorageRequest); err != nil { + logger.Errorf("DelStorageData ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.DelStorageData(context.Background(), &delStorageRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func RandomHash(c *gin.Context) { + var delStorageRequest artwork.RandomHashRequest + resp, err := GrpcArtworkImpl.RandomHash(context.Background(), &delStorageRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.Hash, + }) +} + +func DelAwProfile(c *gin.Context) { + var delAwRequest artwork_query.DelAwRequest + if err := c.ShouldBind(&delAwRequest); err != nil { + logger.Errorf("DelAwProfile ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + var profileRequest artwork.CreArtProRequest + profileRequest.ArtworkUuid = delAwRequest.ArtworkUuid + if err := checkArtworkApprovalStatus(&profileRequest, model.CheckArtworkArtshowActionDel); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkQueryImpl.DelArtwork(context.Background(), &delAwRequest) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + _, _ = GrpcArtShowImpl.SyncArtworkDel(context.Background(), &art_show.SyncArtworkDelReq{ArtworkUid: delAwRequest.ArtworkUuid}) + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + +} + +func CatList(c *gin.Context) { + + var tagListRequest artwork_query.CatListRequest + if err := c.ShouldBind(&tagListRequest); err != nil { + logger.Errorf("CatList ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.CatList(context.Background(), &tagListRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.Data, + }) +} + +// UpdateThirdParty 更新第三方评论 +func UpdateThirdParty(c *gin.Context) { + + var req artwork_query.UpdateThirdPartyRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateThirdParty ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.UpdateThirdParty(context.Background(), &req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) + return +} + +// DelThirdParty 删除第三方评论 +func DelThirdParty(c *gin.Context) { + + var req artwork_query.DelThirdPartyRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelThirdParty ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.DelThirdParty(context.Background(), &req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) + return +} + +func ThirdPartyList(c *gin.Context) { + + var req artwork_query.ThirdPartyListRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ThirdPartyList ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcArtworkQueryImpl.ThirdPartyList(context.Background(), &req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) == 0 { + resp.Data = []string{} + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp.Data, + }) +} + +// GetFileChunkInfo 获取文件分块信息 +func GetFileChunkInfo(c *gin.Context) { + var chunkInfo model.GetChunkInfo + var err error + data := &model.UploadChunkResp{ + FullFileUrl: "", + FileName: "", + ChunkList: []string{}, + } + if err = c.BindJSON(&chunkInfo); err != nil { + errs, _ := err.(validator.ValidationErrors) + msgMap := utils.RemoveTopStruct(errs.Translate(utils.Trans)) + var msg string + for _, v := range msgMap { + msg += v + ";" + } + ResponseQuickMsg(c, e.Failed, msg, data) + return + } + //批量上传去掉版权图 + if chunkInfo.UseType == 5 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ERROR_COPYRIGHT_CHUNK), nil) + return + } + var artworkId int32 + var artworkUuid string + fileSuffix := path.Ext(chunkInfo.FileName) + prefix := strings.TrimSuffix(chunkInfo.FileName, fileSuffix) + artworkInfo, err := checkArtworkTfnum(prefix) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), data) + return + } + artworkId = artworkInfo.ArtworkId + artworkUuid = artworkInfo.ArtworkUuid + /*var uuid uuid4.UUID + if uuid, err = uuid4.NewV4(); err != nil { + err = errors.New(e.GetMsg(e.ERROR_UID)) + return + }*/ + var newFileName string = fmt.Sprintf("%s%s", artworkUuid, path.Ext(chunkInfo.FileName)) + chunkPath := fmt.Sprintf("%v/%v/%v/%v", ArtworkChunkBasePath, chunkInfo.UseType, prefix, chunkInfo.FileMd5) + //newDst := fmt.Sprintf("%v/%v/%v/%s", ArtworkChunkBasePath, chunkInfo.UseType, prefix, chunkInfo.FileName) + fullFileDir := fmt.Sprintf("%s%s/%v/%d", MediaPath, ArtworkFilePath, chunkInfo.UseType, artworkId) + fullFileAPath := fmt.Sprintf("%s/%s", fullFileDir, newFileName) + var fileExists bool + fileExists, err = utils.CheckDirPath(chunkPath, false) + if err != nil { + logger.Error("GetFileChunkInfo checkChunk err", zap.Error(err)) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorFileReadErr), data) + return + } + if !fileExists { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorFileNotExists), data) + return + } + _, err = utils.CheckDirPath(fullFileDir, true) + resp, err := checkChunk(c, model.CheckChunkInfo{ + Total: chunkInfo.Total, + ChunkPath: chunkPath, + NewDst: fullFileAPath, + UseType: chunkInfo.UseType, + FileName: chunkInfo.FileName, + MediaType: "", + }) + if err != nil { + logger.Error("GetFileChunkInfo checkChunk err", zap.Error(err)) + ResponseQuickMsg(c, e.Failed, err.Error(), data) + return + } + var msg string + msg = e.GetMsg(e.SUCCESS) + if resp.FullFileUrl != "" { + // 提交到微服务进行更新 + msg, err = imgMatchUpdate(int32(chunkInfo.UseType), artworkUuid, resp.FullFileUrl, fullFileAPath, prefix) + if err != nil { + ResponseQuickMsg(c, e.Ok, msg, resp) + return + } + } + resp.FileName = chunkInfo.FileName + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), resp) +} + +// UploadChunk 分块上传 +func UploadChunk(c *gin.Context) { + data := &model.UploadChunkResp{ + FullFileUrl: "", + CoverUrl: "", + FileName: "", + ChunkList: []string{}, + } + var uploadInfo = new(model.UploadChunk) + zap.L().Info("UploadChunk 1") + if err := c.Bind(uploadInfo); err != nil { + errs, _ := err.(validator.ValidationErrors) + msgMap := utils.RemoveTopStruct(errs.Translate(utils.Trans)) + var msg string + for _, v := range msgMap { + msg += v + ";" + msg += v + ";" + } + ResponseQuickMsg(c, e.Ok, msg, nil) + return + } + zap.L().Info("UploadChunk 2", zap.Any("uploadInfo", uploadInfo.FileName)) + //批量上传去掉版权图 + if uploadInfo.UseType == 5 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ERROR_COPYRIGHT_CHUNK), nil) + return + } + file, err := c.FormFile("Chunk") + if int32(uploadInfo.UseType) == model.BitmapImg && path.Ext(uploadInfo.FileName) != ".zip" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ERROR_NOT_ZIP), nil) + return + } + if err != nil { + logger.Error("UploadChunk FormFile err", err) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorChunk), data) + return + } + var artworkId int32 + var artworkUuid, fullFileDir, newScreenHotName, tempDir string + /*var uuid uuid4.UUID + if uuid, err = uuid4.NewV4(); err != nil { + err = errors.New(e.GetMsg(e.ERROR_UID)) + return + }*/ + zap.L().Info("UploadChunk 3", zap.Any("uploadInfo", uploadInfo.FileName)) + //检测画作名字 + prefix := strings.TrimSuffix(uploadInfo.FileName, path.Ext(uploadInfo.FileName)) + fmt.Println(path.Ext(uploadInfo.FileName)) + var artworkInfo model.ArtworkInfo + if uploadInfo.UseType != model.UseTypeOther { + artworkInfo, err = checkArtworkTfnum(prefix) + } else { + artworkId = int32(time.Now().Unix()) + artworkUuid = fmt.Sprintf("%d", artworkId) + } + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), data) + return + } + artworkId = artworkInfo.ArtworkId + artworkUuid = artworkInfo.ArtworkUuid + var newFileName string = fmt.Sprintf("%s%s", artworkUuid, path.Ext(uploadInfo.FileName)) + //分块保存位置 + chunkPath := fmt.Sprintf("%v/%v/%v/%v", ArtworkChunkBasePath, uploadInfo.UseType, prefix, uploadInfo.FileMd5) + uploadInfo.Source = strings.Trim(uploadInfo.Source, "/") + if uploadInfo.Type == "" { + uploadInfo.Type = "image" + } + if uploadInfo.UseType == model.UseTypeOther { + if uploadInfo.Mask == "" { + newUuid, _ := uuid.NewV4() + uploadInfo.Mask = newUuid.String() + } + newUuid, _ := uuid.NewV4() + newScreenHotName = newUuid.String() + } + if uploadInfo.Mask != "" { + uploadInfo.Mask = fmt.Sprintf("/%s", uploadInfo.Mask) + } + zap.L().Info("UploadChunk 4", zap.Any("uploadInfo", uploadInfo.FileName)) + //完整文件路径 + if uploadInfo.Source == "" { + fullFileDir = fmt.Sprintf("%s%s%s/%s/%v/%d", MediaPath, ArtworkFilePath, uploadInfo.Mask, uploadInfo.Type, uploadInfo.UseType, artworkId) + } else { + tempDir = fmt.Sprintf("%s%s%s", MediaPath, uploadInfo.Source, uploadInfo.Mask) + fullFileDir = fmt.Sprintf("%s/%s/%v/%d", tempDir, uploadInfo.Type, uploadInfo.UseType, artworkId) + } + fullFileAPath := fmt.Sprintf("%s/%s", fullFileDir, newFileName) + // 创建文件夹路径 + zap.L().Info("UploadChunk 5", zap.Any("uploadInfo", uploadInfo.FileName)) + _, err = utils.CheckDirPath(chunkPath, true) + if err != nil { + zap.L().Error("UploadChunk CheckDirPath err", zap.Error(err)) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Failed, + Data: data, + Msg: e.GetMsg(e.ErrorFileReadErr), + }) + return + } + zap.L().Info("UploadChunk 6", zap.Any("uploadInfo", uploadInfo.FileName)) + a := chunkPath + "/" + uploadInfo.ChunkFileName + err = c.SaveUploadedFile(file, a) + zap.L().Info("UploadChunk 7", zap.Any("uploadInfo", uploadInfo.FileName)) + if err != nil { + zap.L().Error("UploadChunk SaveUploadedFile err", zap.Error(err)) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Failed, + Data: data, + Msg: err.Error(), + }) + return + } + + zap.L().Info("UploadChunk 8", zap.Any("uploadInfo", uploadInfo.FileName)) + _, err = utils.CheckDirPath(fullFileDir, true) + resp, err := checkChunk(c, model.CheckChunkInfo{ + Total: uploadInfo.Total, + ChunkPath: chunkPath, + NewDst: fullFileAPath, + UseType: int32(uploadInfo.UseType), + FileName: uploadInfo.FileName, + MediaType: uploadInfo.Type, + FullFileDir: fullFileDir, + NewScreenHotName: newScreenHotName, + TempDir: tempDir, + }) + zap.L().Info("UploadChunk 9", zap.Any("uploadInfo", uploadInfo.FileName)) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Failed, + Data: data, + Msg: err.Error(), + }) + return + } + var msg string + msg = e.GetMsg(e.SUCCESS) + if resp.FullFileUrl != "" { + msg, err = imgMatchUpdate(int32(uploadInfo.UseType), artworkUuid, resp.FullFileUrl, fullFileAPath, prefix) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), resp) + return + } + } + resp.FileName = uploadInfo.FileName + ResponseQuickMsg(c, e.Ok, msg, resp) +} + +func checkChunk(c *gin.Context, checkChunkInfo model.CheckChunkInfo) (resp *model.UploadChunkResp, err error) { + resp = &model.UploadChunkResp{} + files, err := os.ReadDir(checkChunkInfo.ChunkPath) + if err != nil { + return + } + logger.Errorf("UploadChunk 8.1", checkChunkInfo.FileName) + // 判断当前是否全部分块已经齐全 + if len(files) == checkChunkInfo.Total { + // 进行合并 + if err = MergeChunk(checkChunkInfo.ChunkPath, checkChunkInfo.NewDst, checkChunkInfo.FileName); err != nil { + zap.L().Error("checkChunk MergeChunk err", zap.Error(err)) + return + } + logger.Errorf("UploadChunk 8.4", checkChunkInfo.FileName) + // 如果是视频截取封面 + if checkChunkInfo.UseType == model.UseTypeOther { + logger.Errorf("UploadChunk 8.5", checkChunkInfo.FileName) + if checkChunkInfo.MediaType == model.MediaTypeVideo { + videoCover := fmt.Sprintf("%s/%s", checkChunkInfo.FullFileDir, checkChunkInfo.NewScreenHotName) + _, err = GetSnapshot(checkChunkInfo.NewDst, videoCover, 1) + if err != nil { + return + } + //data["cover_url"] = fmt.Sprintf("%s/%s/%s/%s/%s", config.ServerDM, BaseRoute, source, mask, fmt.Sprintf("%s.%s", filename, PngType)) + coverUrl, errS := PutBos(videoCover+"."+PngType, model.MediaTypeImage, true) + logger.Errorf("UploadChunk 8.6", checkChunkInfo.FileName) + resp.CoverUrl = coverUrl + if errS != nil { + logger.Errorf("Upload GetSnapshot err", zap.Error(errS)) + err = errS + //ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + //ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), data) + //return + } + } + if checkChunkInfo.UseType != model.BitmapImg { //点位图在此不上传 + //合并成功 上传文件 + resp.FullFileUrl, err = PutBos(checkChunkInfo.NewDst, "image", true) + + } else if checkChunkInfo.UseType == model.BitmapImg { + resp.FullFileUrl = checkChunkInfo.NewDst + } + + // 清除临时文件 + if err = os.RemoveAll(checkChunkInfo.ChunkPath); err != nil { + zap.L().Error("checkChunk RemoveAll err", zap.Error(err)) + return + } + if checkChunkInfo.TempDir != "" { + _ = os.RemoveAll(checkChunkInfo.TempDir) + } + logger.Errorf("UploadChunk 8.7", checkChunkInfo.FileName) + //if mediaType == VideoType { + // videoCover := fmt.Sprintf("%s/%s", imgPath, filename) + // _, err = GetSnapshot(dst, videoCover, 1) + // //data["cover_url"] = fmt.Sprintf("%s/%s/%s/%s/%s", config.ServerDM, BaseRoute, source, mask, fmt.Sprintf("%s.%s", filename, PngType)) + // coverUrl, err := PutBos(videoCover+"."+PngType, mediaType, true) + // data["cover_url"] = coverUrl + // if err != nil { + // logger.Errorf("Upload GetSnapshot err", zap.Error(err)) + // ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + // } + // //ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), data) + // //return + //} + } + for _, f := range files { + resp.ChunkList = append(resp.ChunkList, f.Name()) + } + return +} + +// MergeChunk 合并文件块 +func MergeChunk(chunkDst string, newDst string, fileName string) (err error) { + completeFile, err := os.Create(newDst) + if err != nil { + logger.Errorf("MergeChunk err %s", err.Error()) + err = errors.New(e.GetMsg(e.ErrorFileCreate)) + return + } + defer completeFile.Close() + files, err := os.ReadDir(chunkDst) + if err != nil { + logger.Errorf("MergeChunk ReadFile1 err %s", err.Error()) + err = errors.New(e.GetMsg(e.ErrorFileReadErr)) + return + } + + sort.Slice(files, func(i, j int) bool { + fileNumI, _ := strconv.Atoi(files[i].Name()[strings.LastIndex(files[i].Name(), "_")+1:]) + fileNumJ, _ := strconv.Atoi(files[j].Name()[strings.LastIndex(files[j].Name(), "_")+1:]) + return fileNumI < fileNumJ + }) + //var fileSlice []string + //for _, f := range files { + // fileSlice = append(fileSlice, f.Name()) + //} + //sort.Strings(fileSlice[:]) + logger.Errorf("UploadChunk 8.2 %s", fileName) + //var blobName string + for _, file := range files { + //blobName = fmt.Sprintf("%s/%s/%s", chunkDst, "/", f.Name()) + /*var fName = fmt.Sprintf("%s_%v", fileName, k) + blobName = fmt.Sprintf("%s/%s", chunkDst, fName) + fileBuf, errS := os.ReadFile(blobName) + if errS != nil { + logger.Errorf("MergeChunk ReadFile2 err %s", err.Error()) + err = errors.New(e.GetMsg(e.ErrorFileReadErr)) + return + } + _, _ = completeFile.Write(fileBuf)*/ + + fName := filepath.Join(chunkDst, file.Name()) + fileBuf, _err := os.ReadFile(fName) + if _err != nil { + err = errors.New(e.GetMsg(e.ErrorFileReadErr)) + return + } + if len(fileBuf) > 0 { + _, _ = completeFile.Write(fileBuf) + } + } + logger.Errorf("UploadChunk 8.3 %s", fileName) + return +} + +// imgMatchUpdate 根据画作名更新画作 +func imgMatchUpdate(useType int32, artworkUuid string, imgUrl string, fullFileAPath string, artworkName string) (msg string, err error) { + if useType == model.UseTypeOther { + return + } + + var bitNameStr string = ",bitmap,60,200,600,2000," + if useType == model.BitmapImg { // 如果是点位图需要校验数据 + //解压zip + filePath := fmt.Sprintf("%s/%s", model.TmpArtworkDir, artworkName) + _ = os.RemoveAll(filePath) + if err = utils.Unzip(fullFileAPath, filePath); err != nil { + return + } + var imgMap = make(map[string][]string, 5) + _ = os.Remove(fullFileAPath) + err = getDirRecur(filePath, &imgMap, "") + if len(imgMap) == 0 { + err = errors.New(e.GetMsg(e.ERROR_EMPTY_ZIP)) + return + } + var imgOssUrl string + //var ossImgMap = make([]map[string]interface{}, 0, 20) + var wg sync.WaitGroup + wg.Add(1) + var req artwork_query.BatchBitMapRequest + req.ArtworkUuid = artworkUuid + go func() { + defer wg.Done() + for bitName, bitFileSlice := range imgMap { + if !strings.Contains(bitNameStr, fmt.Sprintf(",%s,", bitName)) { + continue + } + if len(bitFileSlice) > 0 { + // 遍历获取文件名 + var fileSlice []string + var fileMap map[string]int = make(map[string]int, len(bitFileSlice)) + for _, v := range bitFileSlice { + fileSlice = append(fileSlice, v) + } + sort.Strings(fileSlice[:]) + + for k, v := range fileSlice { + fileMap[v] = k + 1 + } + for _, v := range bitFileSlice { + imgPath := fmt.Sprintf("%s/%s/%s", filePath, bitName, v) + ossPath := fmt.Sprintf("/artwork/%s/bitmap/%s/%s", artworkUuid, bitName, v) + imgOssUrl, err = PutBosWithName(imgPath, true, ossPath) + //bitIndex := v[0:strings.LastIndex(v, ".")] + bitIndex := fileMap[v] + var temp artwork_query.BatchBitMapRequest_BitInfo + temp.BitIndex = fmt.Sprintf("%v", bitIndex) + temp.BitName = bitName + temp.ImgOssUrl = imgOssUrl + req.BitData = append(req.BitData, &temp) + //ossImgMap = append(ossImgMap, map[string]interface{}{ + // "bitIndex": bitIndex, + // "bitName": bitName, + // "imgOssUrl": imgOssUrl, + //}) + } + } + } + }() + wg.Wait() + _ = os.RemoveAll(filePath) + resp, errS := GrpcArtworkQueryImpl.BatchBitMap(context.Background(), &req) + msg = resp.Msg + if errS != nil { + err = errS + return + } + } else { + req := artwork_query.ImgMatchRequest{ + //ArtworkName: artworkName, + ArtworkUuid: artworkUuid, + ImgUrl: imgUrl, + UseType: useType, + } + resp, errS := GrpcArtworkQueryImpl.ImgMatchByUuid(context.Background(), &req) + msg = resp.Msg + if errS != nil { + err = errS + return + } + } + return +} + +func getDirRecur(filePath string, imgMap *map[string][]string, parentDir string) (err error) { + var fileInfo []os.FileInfo + if fileInfo, err = ioutil.ReadDir(filePath); err != nil { + logger.Errorf("getDirRecur 01", zap.Error(err)) + return + } + for _, file := range fileInfo { + if file.IsDir() { + pathDir := filepath.Join(filePath, file.Name()) + if err = getDirRecur(pathDir, imgMap, file.Name()); err != nil { + logger.Errorf("getDirRecur 02", zap.Error(err)) + return + } + } else { + (*imgMap)[parentDir] = append((*imgMap)[parentDir], file.Name()) + + } + } + return +} + +// checkArtworkName 检查画作名字 +func checkArtworkName(artworkName string) (artworkId int32, artworkUuid string, err error) { + var req artwork_query.CheckArtworkNameRequest + var resp *artwork_query.CheckArtworkNameResponse + req.ArtworkName = artworkName + resp, err = GrpcArtworkQueryImpl.CheckArtworkName(context.Background(), &req) + if err != nil { + return + } + artworkId = resp.ArtworkId + artworkUuid = resp.ArtworkUuid + return +} + +// checkArtworkTfnum 检查画作tfnum +func checkArtworkTfnum(Tfnum string) (info model.ArtworkInfo, err error) { + var req artwork_query.CheckArtworkTfnumRequest + var resp *artwork_query.CheckArtworkTfnumResponse + req.Tfnum = Tfnum + resp, err = GrpcArtworkQueryImpl.CheckArtworkTfnum(context.Background(), &req) + if err != nil { + return + } + info.ArtworkId = resp.ArtworkId + info.ArtworkUuid = resp.ArtworkUuid + return +} + +// GetArtistInfoBYAwUuid 根据画作ID 获取画家信息 +func GetArtistInfoBYAwUuid(artistUuid string) (artistInfo *artist.ArtistInfoResponse, err error) { + artistInfo = &artist.ArtistInfoResponse{} + var artworkDetailReq artwork.ArtworkDetailRequest + artworkDetailReq.ArtworkUuid = artistUuid + artworkDetailReq.Type = "1" + awDetailInfo, err := GrpcArtworkImpl.ArtworkDetail(context.Background(), &artworkDetailReq) + if err != nil { + return + } + var artistInfoReq artist.ArtistInfoRequest + artistInfoReq.Uid = awDetailInfo.ProfileInfo.ArtistUuid + artistInfo, err = GrpcArtistImpl.ArtistInfo(context.Background(), &artistInfoReq) + if err != nil { + return + } + return +} + +func UpdateTransferInfo(c *gin.Context) { + var req artwork.UpdateTransferInfoRequest + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateTransferInfo ShouldBind err %v", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkImpl.UpdateTransferInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func TransferInfoList(c *gin.Context) { + var req artwork.TransferInfoListRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateTransferInfo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkImpl.TransferInfoList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func UpdateAwPriceRun(c *gin.Context) { + var req artwork.UpdateAwPriceRunRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateAwPriceRun ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkImpl.UpdateAwPriceRun(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func UpdateAwComment(c *gin.Context) { + var req artwork.UpdateAwCommentReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateAwComment ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if req.Action == 0 { + req.Action = 1 + } + resp, errs := GrpcArtworkImpl.UpdateAwComment(context.Background(), &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func DownloadTfImage(c *gin.Context) { + var req artwork_third_party.TfImagesReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("TfImagesReq ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(req.Tfnums) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + resp, errs := GrpcArtworkThirdPartyImpl.TfImages(context.Background(), &req) + if resp.Data == nil && len(resp.Data) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + // 将文件下载放入并压缩 + var adminId uint64 + if config.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + } + var downloadImgPathArtwork string = fmt.Sprintf("%s%d", "tfimage", adminId) + var zipName string = "泰丰图录.zip" + var zipFilepath string = "runtime/" + zipName + var tfImgNum int + for _, v := range resp.Data { + if v.ImageUrl == "" { + continue + } + _, err = utils.SaveUrlFileDisk(v.ImageUrl, downloadImgPathArtwork, fmt.Sprintf("%s%s", v.Tfnum, v.ImgageExt)) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + tfImgNum++ + } + if tfImgNum == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + if err = utils.ZipFile(downloadImgPathArtwork, zipFilepath); err != nil { + logger.Errorf("utils.ZipFile err", err) + err = errors.New(e.GetMsg(e.ERROR_ZIP)) + return + } + os.RemoveAll(downloadImgPathArtwork) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, zipName) + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "url": exportUrl, + }) + return +} + +func CountVerifySimilar(c *gin.Context) { + var req artwork_query.CountVerifySimilarReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("CountVerifySimilar ShouldBind err %+v", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var userInfo model.LoginInfo + if projectConf.Env == "dev" { + c.Set("mLoginInfo", model.LoginInfo{ + ID: 1, + NickName: "ddd", + }) + } + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo = mLoginInfoAny.(model.LoginInfo) + } + var mm = make(map[string]interface{}, 2) + mm["userid"] = fmt.Sprintf("%d", userInfo.ID) + mm["nickname"] = userInfo.NickName + reqContext := context.WithValue(context.Background(), constant.DubboCtxKey("attachment"), mm) + resp, errs := GrpcArtworkQueryImpl.CountVerifySimilar(reqContext, &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.CountSimilarIng, resp) + return +} + +func OneQueryList(c *gin.Context) { + var req artwork_query.OneQueryReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("OneQueryList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println(111111) + //查询暂存的画作评价2记录 + if req.CheckStatus == 4 { + req.CheckStatus = 2 + artworkUidList, err := GetArtworkUidListFromOneQueryDataCache() + if err != nil { + Error(c, e.Failed, err, "获取暂存数据失败") + return + } + if len(req.SearchArtworkUuids) > 0 { + req.SearchArtworkUuids = utils.Intersection(artworkUidList, req.SearchArtworkUuids) + } else { + req.SearchArtworkUuids = artworkUidList + } + } + fmt.Println(2222222) + fmt.Printf("oneQueryReq:%+v\n", req) + //新增需求:去除黑名单中画家的画作 2024-09-07 + var blackListRes *artist.BlackListResp + var blackArtistUids []string + blackListRes, err = GrpcArtistImpl.BlackList(context.Background(), &artist.BlackListReq{Page: 1, PageSize: -1, Gender: -1, BlackListStatus: 2}) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if blackListRes.Count > 0 { + for _, v := range blackListRes.Data { + blackArtistUids = append(blackArtistUids, v.ArtistUuid) + } + //req.BlackListArtistUid = blackArtistUids //使用此条件会把黑名单中的画家从列表中剔除 + } + fmt.Printf("blackListRes:%+v\n", blackArtistUids) + resp, errs := GrpcArtworkQueryImpl.OneQuery(context.Background(), &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + fmt.Println(3333333) + resp2, err := UpdateArtworkOneQueryDataUseCache(resp.Data, req.Permission) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println(44444444444444) + if len(resp2) > 0 { + //在黑名单画家名字前面加#号 + for k, v := range resp2 { + if utils.Contains(blackArtistUids, v.ArtistUuid) { + resp2[k].ArtistName = "#" + resp2[k].ArtistName + } + } + var artistUids []string = make([]string, 0, len(resp2)) + for k, v := range resp2 { + artistUids = append(artistUids, v.ArtistUuid) + resp2[k].ArtistShowCount = fmt.Sprintf("%s(0)", v.ArtistName) + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(c, &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp2 { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + resp2[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]any{"Data": resp2, "Page": resp.Page, "PageSize": resp.PageSize, "Count": resp.Count}) + return +} + +func OneQueryExport(c *gin.Context) { + var req artwork_query.OneQueryReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("OneQueryList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, errs := GrpcArtworkQueryImpl.OneQuery(context.Background(), &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + var adminId uint64 + var fileName string + if config.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + } + if len(resp.Data) > 0 { + columns := []string{"画作名称", "画家姓名", "长度", "宽度", "平尺数", "画作简介", "画作评价", "数字化(内部拍摄)"} + var data []interface{} + for _, v := range resp.Data { + var temp []string + temp = append(temp, v.ArtworkName) + temp = append(temp, v.ArtistName) + temp = append(temp, fmt.Sprintf("%d", v.Length)) + temp = append(temp, fmt.Sprintf("%d", v.Width)) + temp = append(temp, fmt.Sprintf("%d", v.Ruler)) + temp = append(temp, v.Abstract) + temp = append(temp, v.Comment) + temp = append(temp, v.DigiArtImg) + data = append(data, &temp) + } + fileName = fmt.Sprintf("画作数据%d.xlsx", adminId) + _, err = utils.ToExcelByType(columns, data, "slice", "./runtime/"+fileName) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + } + } + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, fileName) + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "url": exportUrl, + }) + return +} + +func ArtworkEditFilter(c *gin.Context) { + var req artwork.UpdateAwFilterReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("ArtworkEditFilter ShouldBind err%v", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, errs := GrpcArtworkImpl.UpdateAwFilter(context.Background(), &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func BatchDciList(c *gin.Context) { + var req artwork_query.BatchDciListReq + var err error + if err = c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //查询redis缓存进行遍历 + var cacheAllKey = "batchDciCopyright" + var cacheKeySlice []string + if cacheKeySlice, err = cache.RedisClient.SMembers(cacheAllKey).Result(); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var allArtworkUuids []string + for _, cacheKey := range cacheKeySlice { + var tempArtworkUuids []string + if cache.RedisClient.Exists(cacheKey).Val() == 0 { + cache.RedisClient.SRem(cacheAllKey, cacheKey) + continue + } + if tempArtworkUuids, err = cache.RedisClient.SMembers(cacheKey).Result(); err != nil { + continue + } + allArtworkUuids = append(allArtworkUuids, tempArtworkUuids...) + } + req.NotInArtworkUuids = allArtworkUuids + resp, errs := GrpcArtworkQueryImpl.BatchDciList(context.Background(), &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +// 检测画作的补充信息是否可编辑 +func ArtworkSupplementEdit(artistUuid, artworkUuid string) (edit bool, err error) { + edit = true + /* // 画家被锁定了不可编辑 + var findUserReq artistInfoUser.FindUserRequest + findUserReq.MgmtArtistUid = artistUuid + findUserResp, _err := GrpcArtistInfoUserImpl.FindUser(context.Background(), &findUserReq) + if _err != nil { + err = _err + edit = false + return + } + if findUserResp.IsLock { + edit = false + return + } + // 画作通过画家宝审核不可编辑 + lockDetailResp, _err := GrpcArtistInfoArtworkImpl.GetArtworkLockDetail(context.Background(), + &artistInfoArtwork.GetArtworkLockDetailRequest{ArtworkUid: artworkUuid}) + if _err != nil { + err = _err + edit = false + return + } + if lockDetailResp.BaseAuditStatus == artistInfoArtwork.BaseAuditStatus_BA_Pass { + edit = false + return + }*/ + // 画作被绑定入画展包且画展包已通过画展包审核,则不可编辑 + if err = CheckArtworkApproval(artworkUuid); err != nil { + err = nil + edit = false + return + } + return +} diff --git a/pkg/service/artwork/query.go b/pkg/service/artwork/query.go new file mode 100644 index 0000000..49cb821 --- /dev/null +++ b/pkg/service/artwork/query.go @@ -0,0 +1,82 @@ +package artwork + +import ( + v3Config "dubbo.apache.org/dubbo-go/v3/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/request" + "github.com/liuzl/gocc" + + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +func SecondArtworkList(c *gin.Context) { + var req artwork_query.SecondArtworkListReq + if err := c.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcArtworkQueryImpl.SecondArtworkList(c, &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, v := range resp.Data { + if v.BlackListStatus == 2 { + v.ArtistName = fmt.Sprintf("#%s", v.ArtistName) + } + v.ArtistShowCount = fmt.Sprintf("%s(0)", v.ArtistName) + } + if len(resp.Data) > 0 && len(resp.Data) <= 50 && v3Config.GetConsumerService("ArtShowClientImpl") != nil { + var artistUids []string = make([]string, 0, len(resp.Data)) + for k, v := range resp.Data { + artistUids = append(artistUids, v.ArtistUuid) + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(0)", v.ArtistName) + } + artshowResp, _err := service.GrpcArtShowImpl.ArtistExhibitionCount(c, &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp.Data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +// 繁体转简体 +func TraditionalToSimplified(c *gin.Context) { + var err error + var out string + var req request.SimpleArtworkListReq + if err = c.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + s2t, _err := gocc.New("t2s") + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.Failed), nil) + return + } + out, err = s2t.Convert(req.Words) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.Failed), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), map[string]interface{}{ + "Out": out, + }) + return +} diff --git a/pkg/service/artwork/rate.go b/pkg/service/artwork/rate.go new file mode 100644 index 0000000..9de67ea --- /dev/null +++ b/pkg/service/artwork/rate.go @@ -0,0 +1,108 @@ +package artwork + +import ( + "encoding/json" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +func RateList(c *gin.Context) { + var req artwork.RateListReq + if err := c.ShouldBind(&req); err != nil { + zap.L().Error("RepairList ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + + if len(req.ArtistNum) >= 2 { + artistData, errS := service.GrpcArtistImpl.ArtistIdName(c, &artist.ArtIdNameRequest{Keyword: req.ArtistNum}) + if errS != nil { + service.ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + for _, v := range artistData.Items { + req.ArtistUuids = append(req.ArtistUuids, v.Uuid) + } + } + listResp, _err := service.GrpcArtworkImpl.RateList(c, &req) + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + if len(listResp.Data) == 0 { + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), listResp) + return + } + var artistUuids []string + for _, v := range listResp.Data { + artistUuids = append(artistUuids, v.ArtistUuid) + } + if len(artistUuids) > 0 { + artistResp, err := service.GrpcArtistImpl.ArtistData(c, &artist.ArtistDataRequest{Uids: artistUuids}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, v := range listResp.Data { + for _, vv := range artistResp.Data { + if v.ArtistUuid == vv.ProfileInfo.Uid { + v.ArtistNum = vv.ProfileInfo.Tnum + } + } + } + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), listResp) + return +} + +func UpdateRateStatus(c *gin.Context) { + var ( + req artwork.UpdateRateStatusReq + err error + ) + if err = c.ShouldBind(&req); err != nil { + zap.L().Error("RepairList ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + info := mLoginInfoAny.(model.LoginInfo) + info.Extend = nil + info.PositionUsers = nil + userInfoByte, _ := json.Marshal(info) + req.OperatorUserInfo = string(userInfoByte) + } + + if _, err = service.GrpcArtworkImpl.UpdateRateStatus(c, &req); err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), nil) + return +} + +func ScaleInfo(c *gin.Context) { + var req artwork.ScaleArtworkInfoReq + var err error + if err = c.ShouldBind(&req); err != nil { + zap.L().Error("RepairList ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if err = service.CheckArtworkApproval(req.ArtworkUuid); err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + listResp, _err := service.GrpcArtworkImpl.ScaleArtworkInfo(c, &req) + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), listResp) + return +} diff --git a/pkg/service/artwork/repair.go b/pkg/service/artwork/repair.go new file mode 100644 index 0000000..1599b98 --- /dev/null +++ b/pkg/service/artwork/repair.go @@ -0,0 +1,110 @@ +package artwork + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +func RepairList(c *gin.Context) { + var req artwork_third_party.RepairListReq + if err := c.ShouldBind(&req); err != nil { + zap.L().Error("RepairList ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + listResp, _err := service.GrpcArtworkThirdPartyImpl.RepairList(c, &req) + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + for _, v := range listResp.Data { + if v.BlackListStatus == 2 { + v.ArtistName = fmt.Sprintf("#%s", v.ArtistName) + } + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), listResp) + return +} + +func RepairUpdate(c *gin.Context) { + var req artwork_third_party.RepairUpdateReq + if err := c.ShouldBind(&req); err != nil { + zap.L().Error("RepairUpdate ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + listResp, _err := service.GrpcArtworkThirdPartyImpl.RepairUpdate(c, &req) + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), listResp) + return +} + +func RepairDel(c *gin.Context) { + var req artwork_third_party.RepairDelReq + if err := c.ShouldBind(&req); err != nil { + zap.L().Error("RepairDel ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + listResp, _err := service.GrpcArtworkThirdPartyImpl.RepairDel(c, &req) + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), listResp) + return +} + +func RepairDetail(c *gin.Context) { + var req artwork_third_party.RepairDetailReq + if err := c.ShouldBind(&req); err != nil { + zap.L().Error("RepairDetail ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + listResp, _err := service.GrpcArtworkThirdPartyImpl.RepairDetail(c, &req) + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), listResp) + return +} + +func RepairExport(c *gin.Context) { + var req artwork_third_party.RepairListReq + if err := c.ShouldBind(&req); err != nil { + zap.L().Error("RepairDetail ShouldBind err", zap.Error(err)) + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + req.Page = 1 + req.PageSize = 999 + listResp, _err := service.GrpcArtworkThirdPartyImpl.RepairList(c, &req) + if _err != nil { + service.ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + //组装数据 + if len(listResp.Data) == 0 { + listResp.Data = []*artwork_third_party.RepairListResp_Info{} + } + + exportUrl, err := logic.RegroupArtworkRepairData(c, listResp.Data) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), map[string]string{ + "ExportUrl": exportUrl, + }) + return +} diff --git a/pkg/service/artwork/supplement.go b/pkg/service/artwork/supplement.go new file mode 100644 index 0000000..246c790 --- /dev/null +++ b/pkg/service/artwork/supplement.go @@ -0,0 +1,63 @@ +package artwork + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + uuid "github.com/satori/go.uuid" + "os" + "strings" +) + +func GenerateSupplement(ctx *gin.Context) { + req := &artwork.EditSupplementReq{} + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + req.Supplement = strings.TrimSpace(req.Supplement) + if req.Supplement == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.ErrorNotEmpty, nil) + return + } + var err error + var cdnUrl string + // 生成pdf + var logicPdf = new(logic.GoPdf) + uuidObj, _ := uuid.NewV4() + fileName := fmt.Sprintf("%s_%s.pdf", req.ArtworkUuid, uuidObj.String()) + _, _ = utils.CheckDirPath("./runtime/artwork", true) + pdfPath := fmt.Sprintf("./runtime/artwork/%s", fileName) + if err = logicPdf.TextToPdf(req.Supplement, 14, 50, 50, pdfPath); err != nil { + return + } + file, _err := os.Stat(pdfPath) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + fmt.Println(file.Size()) + if file.Size() >= 1024*1024*10 { + err = errors.New(e.ErrorFileOverSize) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if cdnUrl, err = service.PutBosWithName(pdfPath, true, + "/artwork/supplement/"+fileName); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + req.Supplement = cdnUrl + _, err = service.GrpcArtworkImpl.EditSupplement(ctx, req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), nil) + return +} diff --git a/pkg/service/artwork_query.go b/pkg/service/artwork_query.go new file mode 100644 index 0000000..1a440d4 --- /dev/null +++ b/pkg/service/artwork_query.go @@ -0,0 +1,900 @@ +package service + +import ( + "context" + "encoding/json" + "fmt" + "strings" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + dubboGoV3Config "dubbo.apache.org/dubbo-go/v3/config" + "github.com/fonchain_enterprise/fonchain-main/api/account" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/note" + api "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/api/task" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "google.golang.org/protobuf/types/known/wrapperspb" +) + +// MyAwList 快速工作台 +func MyAwList(c *gin.Context) { + var req artwork_query.MyAwListReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("MyAwList ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取权限信息 + var rulesReq api.RulesRequest + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + rulesReq.AccountID = userInfo.ID + rulesResp, _ := RuleProvider.Rules(c, &rulesReq) + if rulesResp != nil && rulesResp.MyRules != nil { + for _, ruleInfo := range rulesResp.MyRules { + req.RulesUrl = append(req.RulesUrl, ruleInfo.Url) + } + } + req.AdminId = int32(userInfo.ID) + resp, errS := GrpcArtworkQueryImpl.MyAwList(context.Background(), &req) + if errS != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: errS.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) == 0 { + resp.Data = []*artwork_query.MyAwListResp_Info{} + } else { + var artistUids []string = make([]string, 0, len(resp.Data)) + for k, v := range resp.Data { + artistUids = append(artistUids, v.ArtistUuid) + v.ArtistShowCount = fmt.Sprintf("%s(0)", v.ArtistName) + if v.BlackListStatus == 2 { + resp.Data[k].ArtistName = fmt.Sprintf("#%s", v.ArtistName) + } + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp.Data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp, + }) + return +} + +func EditAwStatus(c *gin.Context) { + var infoRequest artwork_query.UpdateAwStockStatusRequest + var err error + if err = c.ShouldBind(&infoRequest); err != nil { + logger.Errorf("EditAwStatus ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.BindError), + Status: e.Failed, + }) + return + } + userInfoAny, _ := c.Get("jwtInfo") + infoByte, _ := json.Marshal(userInfoAny) + userInfo := model.LoginInfo{} + if err = json.Unmarshal(infoByte, &userInfo); err != nil { + logger.Errorf("EditAwStatus Unmarshal err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.JsonUnmarshal), + Status: e.Failed, + }) + return + } + // 判断 + infoRequest.AdminId = int32(userInfo.ID) + resp, err := GrpcArtworkQueryImpl.UpdateAwStockStatus(context.Background(), &infoRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + SubmitTask(c, infoRequest.ActionType, infoRequest.ArtworkIds) + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func AllotArtwork(c *gin.Context) { + var req artwork_query.UpdateAwStockStatusRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + logger.Errorf("AllotArtwork ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfoAny, ok := c.Get("jwtInfo") + userInfo := model.LoginInfo{} + if ok { + infoByte, _ := json.Marshal(userInfoAny) + if err := json.Unmarshal(infoByte, &userInfo); err != nil { + logger.Errorf("EditAwStatus Unmarshal err", err) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.JsonUnmarshal), nil) + return + } + } + req.AdminId = int32(userInfo.ID) + resp, errs := GrpcArtworkQueryImpl.UpdateAwStockStatus(context.Background(), &req) + if errs != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: errs.Error(), + Status: e.Failed, + }) + return + } + + //发送到task任务中去 + SendTask(c, userInfo, req) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) +} + +func SendTask(c *gin.Context, user model.LoginInfo, req artwork_query.UpdateAwStockStatusRequest) { + + var artworks []*task.Artwork + taskReq := &task.TaskRequest{ + Type: "art", + StartAt: req.ReceiveDate, + SubmitterID: user.ID, + SubmitterName: user.NickName, + } + + type ArtworkName struct { + ArtworkName string + ArtworkId uint64 + } + + type ArtworkReq struct { + ArtworkNames []ArtworkName + } + + var artworkRes ArtworkReq + + if err := c.ShouldBindBodyWith(&artworkRes, binding.JSON); err == nil { + for _, t := range artworkRes.ArtworkNames { + + artworks = append(artworks, &task.Artwork{ + ArtworkID: t.ArtworkId, + Name: t.ArtworkName, + }) + + } + taskReq.Artworks = artworks + } + + users := UserByIds(c, req.AllotUids) + taskReq.JoinUsers = users + + fmt.Println("通知task生成数据", taskReq) + + TaskProvider.Create(c, taskReq) + + return +} + +func UserByIds(c *gin.Context, allowUids []int32) []*task.JoinUser { + + var joinUsers []*task.JoinUser + var userIds []uint64 + + for _, t := range allowUids { + userIds = append(userIds, uint64(t)) + } + + IdsReq := account.ListByIDsRequest{ + IDs: userIds, + PageSize: 999999, + Page: 1, + } + + userRes, _ := AccountProvider.ListByIDs(c, &IdsReq) + + for _, t := range userRes.Data { + joinUsers = append(joinUsers, &task.JoinUser{ + UserID: t.ID, + Name: t.NickName, + }) + } + + return joinUsers +} + +func ShelfNoList(c *gin.Context) { + var req artwork_query.ShelfListRequest + resp, err := GrpcArtworkQueryImpl.ShelfList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + if len(resp.Data) == 0 { + resp.Data = []*artwork_query.ShelfListResponse_ShelfInfo{} + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) +} + +func UpdateCopyright(c *gin.Context) { + var req artwork_query.UpdateCopyrightHashRequest + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("AllotArtwork ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //检测路径生成hash + req.CopyrightPath = model.CopyrightDir + "/" + req.CopyrightPath[strings.LastIndex(req.CopyrightPath, "/")+1:] + exists, _ := utils.CheckDirPath(req.CopyrightPath, false) + if !exists { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorFileNotExists), nil) + return + } + req.CopyrightHash, err = utils.GenerateSHA256Hash(req.CopyrightPath) + if err != nil { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.Error), nil) + return + } + resp, err := GrpcArtworkQueryImpl.UpdateCopyrightHash(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) +} + +func ExportArtwork(c *gin.Context) { + var listReq artwork_query.ExportArtworkRequest + /*if c.Request.Method == "POST" { + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("ListExport ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + dataStr, err := json.Marshal(&listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var dataBase64 string = base64.StdEncoding.EncodeToString(dataStr) + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s%s?data=%s", httpType, c.Request.Host, c.Request.RequestURI, dataBase64) + ResponseQuickMsg(c, e.Ok, "", map[string]interface{}{"ExportUrl": exportUrl}) + return + } + if c.Request.Method != "GET" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.Error), nil) + return + } + dataAny, ok := c.GetQuery("data") + if !ok { + return + } + dataStr := fmt.Sprintf("%v", dataAny) + dataJsonStr, err := base64.StdEncoding.DecodeString(dataStr) + if err != nil { + return + } + if err = json.Unmarshal(dataJsonStr, &listReq); err != nil { + return + }*/ + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("ListExport ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkQueryImpl.ExportArtwork(context.Background(), &listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //组装数据 + if len(resp.Data) == 0 { + resp.Data = []*artwork_query.ExportArtworkResponse_Info{} + } + var adminId uint64 + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + var tagInfo map[int32]string + tagInfo, err = GetTagIdList() + columns := strings.Split(resp.ColumnDesc, ",") // excel 字段 + columnStruct := strings.Split(resp.StructName, ",") // struct 字段 + data, _ := logic.RegroupArtworkExcelData(resp.Data, columnStruct, tagInfo) + exportFileName := fmt.Sprintf("画作信息%d.xlsx", adminId) + filePath := fmt.Sprintf("./runtime/%s", exportFileName) + _, _ = utils.ToExcelByType(columns, data, "slice", filePath) + // 下载图片 自适应插入到Excel,线上一直没有开启就先关掉了 + /*err = logic.DealAwListExcelImg(filePath) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + }*/ + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, exportFileName) + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "ExportUrl": exportUrl, + }) + return + //utils.ResponseXls(c, content, model.ArtworkExcelName) +} + +func GetTagIdList() (info map[int32]string, err error) { + resp := &artwork_query.TagIdKvListResponse{} + var req artwork_query.TagIdKvListRequest + req.Pids = "44,4,5,39,40,42" + if resp, err = GrpcArtworkQueryImpl.TagIdKvList(context.Background(), &req); err != nil { + return + } + info = resp.Info + return +} + +// ExportArtworkField 导出字段列表 +func ExportArtworkField(c *gin.Context) { + var req artwork_query.ExportFieldListRequest + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("ExportFieldList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var resp *artwork_query.ExportFieldListResponse + if resp, err = GrpcArtworkQueryImpl.ExportFieldList(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +// UpdateCopyrightInfo 更新版权信息 +func UpdateCopyrightInfo(c *gin.Context) { + var req artwork.UpdateCopyrightInfoRequest + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateCopyrightInfo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var resp *artwork.UpdateCopyrightInfoResponse + if resp, err = GrpcArtworkImpl.UpdateCopyrightInfo(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func DownloadArtwork(c *gin.Context) { + var listReq artwork_query.ExportArtworkRequest + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("ListExport ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkQueryImpl.ExportArtwork(context.Background(), &listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + columnDesc := strings.Split(resp.ColumnDesc, ",") // excel 字段 + columnStruct := strings.Split(resp.StructName, ",") // struct 字段 + var adminId uint64 + if config.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + } + if resp.Data == nil { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + zipPath, err := logic.RegroupArtworkDownloadData(resp.Data, columnStruct, columnDesc, adminId, model.DownloadFile) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if zipPath == "" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/%s", httpType, c.Request.Host, zipPath) + + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "ExportUrl": exportUrl, + }) + return +} + +func DownloadHash(c *gin.Context) { + var listReq artwork_query.ExportArtworkRequest + if err := c.ShouldBind(&listReq); err != nil { + logger.Errorf("DownloadHash err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("DownloadHash1111111111111111111") + listReq.ColumnId = "63" + resp, err := GrpcArtworkQueryImpl.ExportArtwork(context.Background(), &listReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + columnDesc := strings.Split(resp.ColumnDesc, ",") // excel 字段 + columnStruct := strings.Split(resp.StructName, ",") // struct 字段 + var adminId uint64 + if config.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + } + if resp.Data == nil { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + zipPath, _ := logic.RegroupArtworkDownloadData(resp.Data, columnStruct, columnDesc, adminId, model.DownloadHash) + if zipPath == "" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/%s", httpType, c.Request.Host, zipPath) + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "ExportUrl": exportUrl, + }) + return +} + +func SubmitTask(c *gin.Context, status int32, ids []int32) { + + if status != 2 { + return + } + + for _, id := range ids { + req := &task.PassArtWorkRequest{ + ArtworkId: uint64(id), + } + _, _ = TaskProvider.PassArtWork(c, req) + } + + return + +} + +func SyncAwSignDate(c *gin.Context) { + var req artwork.SyncAwSignDataReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("SyncAwData ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var resp *artwork.SyncAwSignDataResp + if resp, err = GrpcArtworkImpl.SyncAwSignData(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func SyncAwStorage(c *gin.Context) { + var req artwork.SyncAwStorageReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("SyncAwData ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if req.StorageType == 0 { + req.StorageType = 1 + } + var resp *artwork.SyncAwStorageResp + if resp, err = GrpcArtworkImpl.SyncAwStorage(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func AuthImgBatch(c *gin.Context) { + var req artwork.AuthImgBatchReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("AuthImgBatch ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var resp *artwork.AuthImgBatchResp + if resp, err = GrpcArtworkImpl.AuthImgBatch(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func UpdateAwInfoWithKey(c *gin.Context) { + var req artwork.UpdateAwInfoWithKeyReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("AuthImgBatch ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var resp *artwork.UpdateAwInfoWithKeyResp + if resp, err = GrpcArtworkImpl.UpdateAwInfoWithKey(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func AddBrand(c *gin.Context) { + var addBrandReq request.AddBrandReq + var req artwork_third_party.UpdateAwStatusReq + var err error + if err = c.ShouldBind(&addBrandReq); err != nil { + logger.Errorf("AddBrand ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if addBrandReq.ArtworkUuid == "" || addBrandReq.ArtShowId == "" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ParamsError), nil) + return + } + + //画作在被点击上架时,需检测画作及画作归属的画家信息是否已被核验,没有则给 + //出相关提示—“画家个人简介未核验!”/“画作评价未核验! + res, err := GrpcArtworkImpl.ArtworkDetail(c, &artwork.ArtworkDetailRequest{ArtworkUuid: addBrandReq.ArtworkUuid, Type: "1,3"}) + if err != nil { + ErrorWithMark(c, e.Failed, err, "GrpcArtworkImpl.ArtworkDetail Err:"+err.Error(), "画作评价未核验!") + return + } + if res.ExtDataInfo.CheckStatus != 3 { + ErrorWithMark(c, e.Failed, nil, "CheckStatus != 3", "画作评价未核验!") + return + } + artistExt, err := GrpcArtistImpl.RecordInfoByArtistUid(c, &artist.RecordInfoByArtistUidReq{ + ArtshowUuid: addBrandReq.ArtShowId, + ArtistUuid: res.ProfileInfo.ArtistUuid, + }) + if err != nil { + zap.L().Error("AddBrand err RecordInfoByArtistUid", zap.Error(err)) + ErrorWithMark(c, e.Failed, err, "GrpcArtistImpl.GetExtData Err:"+err.Error(), "画家个人简介异常!") + return + } + fmt.Printf("artistExt.Data.CheckStatus:%v\n", artistExt.CheckStatus) + if artistExt.Resume2 == "" { + ErrorWithMark(c, e.Failed, nil, "artistExt.Resume2 == '' ", "画家个人简介未核验!") + return + } + + // 在上架的地方判断润格审批 + if dubboGoV3Config.GetConsumerService("ArtShowClientImpl") != nil { + var showReq artShow.ShowStatusReq + showReq.ShowUID = []string{ + addBrandReq.ArtShowId, + } + fmt.Println(111111) + showResp, err := GrpcArtShowImpl.QueryShowStatus(context.Background(), &showReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println(2222222) + if len(showResp.Status) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorGetArtShow), nil) + return + } + fmt.Println(33333333) + for _, v := range showResp.Status { + if v.IsShow != model.ArtShowStatus { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorPriceRunFailed), nil) + return + } + } + fmt.Println(444444444444) + } else { + fmt.Println("!!! dubboGoV3Config.GetConsumerService(\"ArtShowClientImpl\") == nil") + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.Error), nil) + return + } + fmt.Println(555555555555) + req.ArtworkUuid = addBrandReq.ArtworkUuid + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println(66666666666666) + req.Action = model.SaleStatusConfirm + // 查询画展包的画作信息 + zap.L().Info("ArtworkPrice", zap.Any("ArtworkUuid", addBrandReq.ArtworkUuid)) + artworkPriceResp, _err := GrpcArtShowImpl.ArtworkPrice(context.Background(), &artShow.ArtworkPriceReq{ + ArtworkUID: addBrandReq.ArtworkUuid, + }) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + zap.L().Info("ArtworkPrice", zap.Any("artshowPriceResp", artworkPriceResp)) + if artworkPriceResp != nil && artworkPriceResp.Data != nil { + req.CompanyName = artworkPriceResp.Data.TalentAgency + } + var resp *artwork_third_party.UpdateAwStatusResp + if resp, err = GrpcArtworkThirdPartyImpl.UpdateAwStatus(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println(777777777777777) + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func UpdateAwBatch(c *gin.Context) { + var reqModel model.UpdateAwBatchReq + var err error + if err = c.ShouldBind(&reqModel); err != nil { + logger.Errorf("UpdateAwBatch ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var req artwork.UpdateAwBatchReq + if err = copier.Copy(&req, &reqModel); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + } + req.ArtShowStatus = wrapperspb.Int32(*reqModel.ArtShowStatus) + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(req.ArtworkUuids) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ParamsError), nil) + return + } + var resp *artwork.UpdateAwBatchResp + if resp, err = GrpcArtworkImpl.UpdateAwBatch(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func VerifyList(c *gin.Context) { + var req artwork_query.VerifyListReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("VerifyList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var resp *artwork_query.VerifyListResp + if resp, err = GrpcArtworkQueryImpl.VerifyList(context.Background(), &req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var bitRateAll []string = []string{"60", "200", "600", "2000"} + var VerifyListData []model.BitInfo + for i := 1; i <= 20; i++ { + var temp model.BitInfo + v := resp.Data[fmt.Sprintf("%d", i)] + temp.BitMapIndex = int32(i) + if v != nil { + temp.BitmapImg = v.BitmapImg + if len(v.BmImgs) > 0 { + for bitRate, vv := range v.BmImgs { + for _, vvv := range vv.Data { + var tt model.BmImgsInfo + tt.Uuid = vvv.Uuid + tt.RateUrl = vvv.RateUrl + tt.RateSimilar = vvv.RateSimilar //FIXME 先不展示相似度 vvv.RateSimilar + //if config.Env == "prod" { + // tt.RateSimilar = -1 + //} + tt.RateImgTime = vvv.RateImgTime + if temp.BmImgs == nil { + temp.BmImgs = map[string][]*model.BmImgsInfo{} + } + temp.BmImgs[bitRate] = append(temp.BmImgs[bitRate], &tt) + } + } + } + } + if temp.BmImgs == nil { + temp.BmImgs = map[string][]*model.BmImgsInfo{} + for _, rate := range bitRateAll { + temp.BmImgs[rate] = append(temp.BmImgs[rate], &model.BmImgsInfo{ + RateUrl: "", + RateSimilar: -1, + RateImgTime: "", + Uuid: "", + }) + } + } + VerifyListData = append(VerifyListData, temp) + } + ResponseQuickMsg(c, e.Ok, resp.Msg, VerifyListData) + return +} + +func SyncArtworkData(c *gin.Context) { + var req artwork.SyncArtworkDataReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("SyncArtworkData ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, errs := GrpcArtworkImpl.SyncArtworkData(context.Background(), &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func ArtworkFilterList(c *gin.Context) { + var req artwork_query.FilterAwListReq + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("ArtworkFilterList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, errs := GrpcArtworkQueryImpl.FilterAwList(context.Background(), &req) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + if len(resp.Data) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + artistResp, erra := GrpcArtistImpl.ArtistData(context.Background(), &artist.ArtistDataRequest{Uids: []string{req.ArtistUuid}}) + if len(artistResp.Data) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + if erra != nil { + ResponseQuickMsg(c, e.Failed, erra.Error(), nil) + return + } + var data []*model.FilterArtworkList + var temp *model.FilterArtworkList + for _, artworkInfo := range resp.Data { + respNote, errA := GrpcNoteImpl.NoteListByAwId(context.Background(), ¬e.NoteListreq{ + ArtworkUuid: artworkInfo.ArtworkUuid, + }) + if errA != nil { + ResponseQuickMsg(c, e.Failed, errA.Error(), nil) + return + } + if len(respNote.Data) > 0 { + // 判断是否包含退 + if strings.Contains(respNote.Data[0].Content, model.FilterAwKeyword) { + continue + } + } + temp = &model.FilterArtworkList{} + _ = copier.Copy(&temp, artworkInfo) + temp.Gender = artistResp.Data[0].ProfileInfo.Gender + temp.Age = artistResp.Data[0].ProfileInfo.Age + temp.Agent = artistResp.Data[0].ProfileInfo.Agent + temp.ArtistName = artistResp.Data[0].ProfileInfo.Name + data = append(data, temp) + } + ResponseQuickMsg(c, e.Ok, resp.Msg, data) + return +} diff --git a/pkg/service/artwork_query_test.go b/pkg/service/artwork_query_test.go new file mode 100644 index 0000000..8c7e124 --- /dev/null +++ b/pkg/service/artwork_query_test.go @@ -0,0 +1,218 @@ +package service + +import ( + "github.com/gin-gonic/gin" + "reflect" + "testing" +) + +func TestAllotArtwork(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AllotArtwork(tt.args.c) + }) + } +} + +func TestDownloadArtwork(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DownloadArtwork(tt.args.c) + }) + } +} + +func TestDownloadHash(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DownloadHash(tt.args.c) + }) + } +} + +func TestEditAwStatus(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + EditAwStatus(tt.args.c) + }) + } +} + +func TestExportArtwork(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ExportArtwork(tt.args.c) + }) + } +} + +func TestExportArtworkField(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ExportArtworkField(tt.args.c) + }) + } +} + +func TestGetTagIdList(t *testing.T) { + tests := []struct { + name string + wantInfo map[int32]string + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotInfo, err := GetTagIdList() + if (err != nil) != tt.wantErr { + t.Errorf("GetTagIdList() error = %v, wantErr %v", err, tt.wantErr) + return + } + if !reflect.DeepEqual(gotInfo, tt.wantInfo) { + t.Errorf("GetTagIdList() gotInfo = %v, want %v", gotInfo, tt.wantInfo) + } + }) + } +} + +func TestMyAwList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + MyAwList(tt.args.c) + }) + } +} + +func TestShelfNoList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ShelfNoList(tt.args.c) + }) + } +} + +func TestSubmitTask(t *testing.T) { + type args struct { + c *gin.Context + status int32 + ids []int32 + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + SubmitTask(tt.args.c, tt.args.status, tt.args.ids) + }) + } +} + +func TestUpdateCopyright(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateCopyright(tt.args.c) + }) + } +} + +func TestUpdateCopyrightInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateCopyrightInfo(tt.args.c) + }) + } +} diff --git a/pkg/service/artwork_shop.go b/pkg/service/artwork_shop.go new file mode 100644 index 0000000..921fd81 --- /dev/null +++ b/pkg/service/artwork_shop.go @@ -0,0 +1,152 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_shop" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/model_artwork_shop" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "google.golang.org/protobuf/types/known/wrapperspb" +) + +func AwShopList(c *gin.Context) { + var detailRequest artwork_query.ArtworkListRequest + var awReq model.AwListReq + if err := c.ShouldBind(&awReq); err != nil { + logger.Errorf("AwShopList ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err := copier.Copy(&detailRequest, awReq); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if awReq.StorageStatus == nil { + detailRequest.StorageStatus = nil + } else { + detailRequest.StorageStatus = &wrapperspb.Int32Value{Value: *awReq.StorageStatus} + } + if awReq.SaleStatus == nil { + detailRequest.SaleStatus = nil + } else { + detailRequest.SaleStatus = &wrapperspb.Int32Value{Value: *awReq.SaleStatus} + } + resp, err := GrpcArtworkQueryImpl.ArtworkList(context.Background(), &detailRequest) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) == 0 { + resp.Data = []*artwork_query.ArtworkListResponse_Info{} + } + var data []*model_artwork_shop.ArtworkOrderInfo + var tfnumData = make([]string, 0, len(resp.Data)) + for _, v := range resp.Data { + if v.Tfnum != "" { + tfnumData = append(tfnumData, v.Tfnum) + } + if v.BlackListStatus == 2 { + v.ArtistName = fmt.Sprintf("#%s", v.ArtistName) + } + } + var orderReq artwork_shop.OrderListReq + orderReq.Tfnums = tfnumData + shopResp, errS := GrpcArtworkShopImpl.OrderList(context.Background(), &orderReq) + if errS != nil { + ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + var tfnumShopData map[string][]*model_artwork_shop.OrderInfo = map[string][]*model_artwork_shop.OrderInfo{} + // 遍历组装 + if len(shopResp.Data) > 0 { + for _, v := range shopResp.Data { + if tfnumShopData[v.Tfnum] == nil { + tfnumShopData[v.Tfnum] = []*model_artwork_shop.OrderInfo{} + } + var temp model_artwork_shop.OrderInfo + err := copier.Copy(&temp, v) + if err != nil { + return + } + tfnumShopData[v.Tfnum] = append(tfnumShopData[v.Tfnum], &temp) + } + } + var artistUuids []string + for _, v := range resp.Data { + var temp model_artwork_shop.ArtworkOrderInfo + _ = copier.Copy(&temp, v) + var orderData []*model_artwork_shop.OrderInfo + orderData = tfnumShopData[v.Tfnum] + //查询画作订单 + if len(orderData) > 0 { + for _, vv := range orderData { + var orderTmp model_artwork_shop.OrderInfo + if vv.ConsignerCardId != "" && len(vv.ConsignerCardId) >= 8 { + vv.ConsignerCardId = vv.ConsignerCardId[len(vv.ConsignerCardId)-8:] + } + if vv.BuyerCardId != "" && len(vv.BuyerCardId) >= 8 { + vv.BuyerCardId = vv.BuyerCardId[len(vv.BuyerCardId)-8:] + } + _ = copier.Copy(&orderTmp, vv) + temp.OrderData = append(temp.OrderData, &orderTmp) + } + } + temp.ArtistUuid = v.ArtistUuid + temp.ArtistShowCount = fmt.Sprintf("%s(0)", v.ArtistName) + artistUuids = append(artistUuids, v.ArtistUuid) + data = append(data, &temp) + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUuids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + var respData model_artwork_shop.AwListShop + respData.Data = data + respData.Count = resp.Count + ResponseQuickMsg(c, e.Ok, resp.Msg, respData) + return +} + +func SyncOrder(c *gin.Context) { + var req artwork_shop.SyncHistoryReq + //if err := c.ShouldBind(&req); err != nil { + // ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + //} + //if err := req.Validate(); err != nil { + // err = common.SubstrError(err) + // ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + //} + resp, err := GrpcArtworkShopImpl.SyncHistory(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} diff --git a/pkg/service/artwork_test.go b/pkg/service/artwork_test.go new file mode 100644 index 0000000..e428ddf --- /dev/null +++ b/pkg/service/artwork_test.go @@ -0,0 +1,678 @@ +package service + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/gin-gonic/gin" + "reflect" + "testing" +) + +func TestAuthData(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AuthData(tt.args.c) + }) + } +} + +func TestAuthImg(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AuthImg(tt.args.c) + }) + } +} + +func TestAwDetail(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AwDetail(tt.args.c) + }) + } +} + +func TestAwList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AwList(tt.args.c) + }) + } +} + +func TestAwTagList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AwTagList(tt.args.c) + }) + } +} + +func TestAwTags(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AwTags(tt.args.c) + }) + } +} + +func TestCatList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + CatList(tt.args.c) + }) + } +} + +func TestCreateAwProfile(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + CreateAwProfile(tt.args.c) + }) + } +} + +func TestDelAuthData(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DelAuthData(tt.args.c) + }) + } +} + +func TestDelAwProfile(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DelAwProfile(tt.args.c) + }) + } +} + +func TestDelMarketData(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DelMarketData(tt.args.c) + }) + } +} + +func TestDelStorageData(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DelStorageData(tt.args.c) + }) + } +} + +func TestDelThirdParty(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DelThirdParty(tt.args.c) + }) + } +} + +func TestDigiInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DigiInfo(tt.args.c) + }) + } +} + +func TestGetArtistInfoBYAwUuid(t *testing.T) { + type args struct { + artistUuid string + } + tests := []struct { + name string + args args + wantArtistInfo *artist.ArtistInfoResponse + wantErr bool + }{ + { + args: args{artistUuid: "2f1e6f9c-bb09-42d8-9b1e-59ec5a7ec251"}, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotArtistInfo, err := GetArtistInfoBYAwUuid(tt.args.artistUuid) + if (err != nil) != tt.wantErr { + t.Errorf("GetArtistInfoBYAwUuid() error = %v, wantErr %v", err, tt.wantErr) + return + } + if !reflect.DeepEqual(gotArtistInfo, tt.wantArtistInfo) { + t.Errorf("GetArtistInfoBYAwUuid() gotArtistInfo = %v, want %v", gotArtistInfo, tt.wantArtistInfo) + } + }) + } +} + +func TestGetFileChunkInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + GetFileChunkInfo(tt.args.c) + }) + } +} + +func TestMarketInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + MarketInfo(tt.args.c) + }) + } +} + +func TestMergeChunk(t *testing.T) { + type args struct { + chunkDst string + newDst string + fileName string + } + tests := []struct { + name string + args args + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if err := MergeChunk(tt.args.chunkDst, tt.args.newDst, tt.args.fileName); (err != nil) != tt.wantErr { + t.Errorf("MergeChunk() error = %v, wantErr %v", err, tt.wantErr) + } + }) + } +} + +func TestRandomHash(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + RandomHash(tt.args.c) + }) + } +} + +func TestStorage(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + Storage(tt.args.c) + }) + } +} + +func TestStorageInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + StorageInfo(tt.args.c) + }) + } +} + +func TestThirdPartyList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ThirdPartyList(tt.args.c) + }) + } +} + +func TestTransferInfoList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + TransferInfoList(tt.args.c) + }) + } +} + +func TestUpdateAwPriceRun(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateAwPriceRun(tt.args.c) + }) + } +} + +func TestUpdateAwProfile(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateAwProfile(tt.args.c) + }) + } +} + +func TestUpdateExtInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateExtInfo(tt.args.c) + }) + } +} + +func TestUpdateMarketInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateMarketInfo(tt.args.c) + }) + } +} + +func TestUpdateThirdParty(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateThirdParty(tt.args.c) + }) + } +} + +func TestUpdateTransferInfo(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateTransferInfo(tt.args.c) + }) + } +} + +func TestUploadChunk(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UploadChunk(tt.args.c) + }) + } +} + +func Test_checkArtworkName(t *testing.T) { + type args struct { + artworkName string + } + tests := []struct { + name string + args args + wantArtworkId int32 + wantArtworkUuid string + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotArtworkId, gotArtworkUuid, err := checkArtworkName(tt.args.artworkName) + if (err != nil) != tt.wantErr { + t.Errorf("checkArtworkName() error = %v, wantErr %v", err, tt.wantErr) + return + } + if gotArtworkId != tt.wantArtworkId { + t.Errorf("checkArtworkName() gotArtworkId = %v, want %v", gotArtworkId, tt.wantArtworkId) + } + if gotArtworkUuid != tt.wantArtworkUuid { + t.Errorf("checkArtworkName() gotArtworkUuid = %v, want %v", gotArtworkUuid, tt.wantArtworkUuid) + } + }) + } +} + +func Test_checkArtworkTfnum(t *testing.T) { + type args struct { + Tfnum string + } + tests := []struct { + name string + args args + wantArtworkId int32 + wantArtworkUuid string + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotArtworkId, gotArtworkUuid, err := checkArtworkTfnum(tt.args.Tfnum) + if (err != nil) != tt.wantErr { + t.Errorf("checkArtworkTfnum() error = %v, wantErr %v", err, tt.wantErr) + return + } + if gotArtworkId != tt.wantArtworkId { + t.Errorf("checkArtworkTfnum() gotArtworkId = %v, want %v", gotArtworkId, tt.wantArtworkId) + } + if gotArtworkUuid != tt.wantArtworkUuid { + t.Errorf("checkArtworkTfnum() gotArtworkUuid = %v, want %v", gotArtworkUuid, tt.wantArtworkUuid) + } + }) + } +} + +func Test_checkChunk(t *testing.T) { + type args struct { + c *gin.Context + total int + chunkPath string + newDst string + useType int32 + fileName string + } + tests := []struct { + name string + args args + wantResp *model.UploadChunkResp + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + //gotResp, err := checkChunk(tt.args.c, tt.args.total, tt.args.chunkPath, tt.args.newDst, tt.args.useType, tt.args.fileName) + //if (err != nil) != tt.wantErr { + // t.Errorf("checkChunk() error = %v, wantErr %v", err, tt.wantErr) + // return + //} + //if !reflect.DeepEqual(gotResp, tt.wantResp) { + // t.Errorf("checkChunk() gotResp = %v, want %v", gotResp, tt.wantResp) + //} + }) + } +} + +func Test_getDirRecur(t *testing.T) { + type args struct { + filePath string + imgMap *map[string][]string + parentDir string + } + tests := []struct { + name string + args args + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if err := getDirRecur(tt.args.filePath, tt.args.imgMap, tt.args.parentDir); (err != nil) != tt.wantErr { + t.Errorf("getDirRecur() error = %v, wantErr %v", err, tt.wantErr) + } + }) + } +} + +func Test_imgMatchUpdate(t *testing.T) { + type args struct { + useType int32 + artworkUuid string + imgUrl string + fullFileAPath string + artworkName string + } + tests := []struct { + name string + args args + wantMsg string + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotMsg, err := imgMatchUpdate(tt.args.useType, tt.args.artworkUuid, tt.args.imgUrl, tt.args.fullFileAPath, tt.args.artworkName) + if (err != nil) != tt.wantErr { + t.Errorf("imgMatchUpdate() error = %v, wantErr %v", err, tt.wantErr) + return + } + if gotMsg != tt.wantMsg { + t.Errorf("imgMatchUpdate() gotMsg = %v, want %v", gotMsg, tt.wantMsg) + } + }) + } +} diff --git a/pkg/service/artwork_third_party.go b/pkg/service/artwork_third_party.go new file mode 100644 index 0000000..0db4e45 --- /dev/null +++ b/pkg/service/artwork_third_party.go @@ -0,0 +1,164 @@ +package service + +import ( + "context" + "crypto/hmac" + "crypto/sha256" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/base64" + "encoding/hex" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "time" +) + +func NfcList(c *gin.Context) { + var req artwork_third_party.NfcListReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("NfcList ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkThirdPartyImpl.NfcList(context.Background(), &req) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + Data: resp, + }) +} + +func LoadData(c *gin.Context) { + var req artwork_third_party.LoadDataReq + /*if err := c.ShouldBind(&req); err != nil { + logger.Errorf("LoadSetting ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + }*/ + resp, err := GrpcArtworkThirdPartyImpl.LoadData(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) +} + +// https://www.oceanbase.com/docs/common-ocp-1000000000348383 +func AddCollector(c *gin.Context) { + var req artwork.CollectorReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AddCollector err ShouldBind", err) + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + var host string = "erptest.fontree.cn:9020" + // 我自己的签名 + xSdkDate := c.Request.Header.Get("x-sdk-date") + authorization := c.Request.Header.Get("Authorization") + //host := strings.Replace(config.ApiHost, "https://", "", 1) + if config.Env == "prod" { + host = "erpapi.fontree.cn" + } + //fmt.Println(host) + newAuth := akSkSign(&req, xSdkDate, host) + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if newAuth != authorization { + fmt.Println("newAuth--", newAuth) + ResponseQuickMsg(c, e.Failed, "签名不一致", nil) + return + } + + //contentType := c.Request.Header.Get("Content-Type") + //host := c.Request.Header.Get("Host") + + //ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), dd) + _, err := GrpcArtworkImpl.Collector(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), nil) +} + +// ak sk 签名规则 + +func akSkSign(req *artwork.CollectorReq, date, host string) string { + // 以下表示有三个消息头参与签名:Content-Type、Host、X-Sdk-Date + //Host := "erptest.fontree.cn:9020" + + //test + ak := config.ErpAk + sk := config.ErpSk + + collector := req.Collector + tfnum := req.Tfnum + api := "/artwork/add-collector" + //date := time.Now().Format("2006-01-02 15:04:05") + //content := map[string]string{ + // "Collector": "1234", + // "Tfnum": "T51523012", + //} + + ContentMd5 := utils.Md5Str("Collector=" + collector + "&Tfnum=" + tfnum) + ContentType := "application/json" + //message = Http Method + "\n" + Content-md5 + "\n" + Content-Type + "\n" + Date+ "\n" + Host+ uri + signInfo := "POST" + "\n" + ContentMd5 + "\n" + ContentType + "\n" + date + "\n" + host + "\n" + api + + fmt.Println("signInfo--", signInfo) + sha256Str := HmacSha256Hex(sk, signInfo) + fmt.Println("sha256Str--", sha256Str) + sign := base64.StdEncoding.EncodeToString([]byte(sha256Str)) + authorization := "OCP-ACCESS-KEY-HMACSHA1 " + ak + ":" + sign + header := map[string]string{ + "Content-Type": "application/json", + "Authorization": authorization, + "x-sdk-date": date, + "Host": host, + } + fmt.Printf("%+v", header) + fmt.Println("authorization", authorization) + fmt.Println("x-sdk-date", date) + fmt.Println("Host", host) + return authorization +} + +func FormatISO8601Date(timestamp_second int64) string { + tm := time.Unix(timestamp_second, 0).UTC() + return tm.Format("2006-01-02T15:04:05Z") +} + +func HmacSha256Hex(key, str_to_sign string) string { + hasher := hmac.New(sha256.New, []byte(key)) + hasher.Write([]byte(str_to_sign)) + return hex.EncodeToString(hasher.Sum(nil)) +} diff --git a/pkg/service/auth/artartwork/artartwork.go b/pkg/service/auth/artartwork/artartwork.go new file mode 100644 index 0000000..87d70cf --- /dev/null +++ b/pkg/service/auth/artartwork/artartwork.go @@ -0,0 +1,271 @@ +package artartwork + +import ( + "fmt" + + "github.com/fonchain_enterprise/fonchain-main/api/artartwork" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/entity" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func ArtArtworkList(c *gin.Context) { + var req entity.ArtArtworkListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + var artReq artartwork.GetMgmtArtworkListRequest + artReq.ArtistId = req.ArtistId + artReq.ArtistName = req.ArtistName + artReq.Name = req.Name + artReq.ArtistName = req.ArtistName + artReq.IsImport = req.IsImport + artReq.State = req.State + artReq.Page = req.Page + artReq.PageSize = req.PageSize + res, err := service.ArtArtworkImpl.GetMgmtArtworkList(c, &artReq) + if err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} + +func ApproveArtwork(c *gin.Context) { + var req entity.ApprovertworkRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + + } + var artReq artartwork.ApproveArtworkRequest + artReq.ArtworkId = req.ArtworkId + artReq.IsApprove = req.IsApprove + artReq.Remark = req.Remark + artReq.Remark2 = req.Remark2 + res, err := service.ArtArtworkImpl.ApproveArtwork(c, &artReq) + if err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + service.Success(c, res) +} +func ArtistList(c *gin.Context) { + var req entity.ArtistListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + var artReq artist.ArtistListRequest + artReq.Keyword = req.Keyword + artReq.Page = req.Page + artReq.PageSize = req.PageSize + artistRes, err := service.GrpcArtistImpl.ArtistList(c, &artReq) + if err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + var res entity.ArtistListResponse + res.Count = uint64(artistRes.Count) + for _, v := range artistRes.Data { + var tmp entity.ArtistListResponseData + + var artistReq artist.DetailRequest + artistReq.Uid = v.Uid + artistTmp, err := service.GrpcArtistImpl.ArtistDetail(c, &artistReq) + if err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + tmp.ID = v.Uid + // tmp.Account = v.Account + // tmp.PassRulerCount = v.PassRulerCount + // tmp.MnemonicWords = v.MnemonicWords + tmp.TelNum = v.Phone + // tmp.PassArtworkCount = v.PassArtworkCount + tmp.Name = v.Name + tmp.PenName = v.PenName + tmp.Certificate = artistTmp.ProfileInfo.CaaCertNum + tmp.CertificateImg = artistTmp.MediaInfo.CaaImg + // tmp.Key = v.Key + tmp.Sex = uint64(v.Gender) + tmp.Age = uint64(v.Age) + // tmp.Introduct = artistTmp.MediaI + // tmp.CreateTime = artistTmp.MediaInfo. + tmp.JoinAssoTime = artistTmp.ProfileInfo.CaaJoinTime + tmp.StageName = v.StageName + // tmp.UpdateTime = v.UpdateTime + tmp.ConAddress = v.Address + tmp.Photo = artistTmp.MediaInfo.RecentPhotoOne + tmp.Video = artistTmp.MediaInfo.RecentPhotoTwo + // tmp.InvitedName = v.InvitedName + // tmp.Enable = v.Enable + tmp.IdCard = v.CardId + // tmp.IsImport = v.IsImport + // tmp.IsLock = v.IsLock + tmp.IdCardFront = artistTmp.MediaInfo.CardFace + tmp.IdCardBack = artistTmp.MediaInfo.CardNational + tmp.BankName = v.BankName + tmp.BankAccount = v.BankNum + // tmp.MinTime = v.MinTime + // tmp.LockTime = v.LockTime + // tmp.ArtworkCount = v.ArtworkCount + // tmp.RulerCount = v.RulerCount + res.Data = append(res.Data, tmp) + } + service.Success(c, res) +} +func ArtistArtworkList(c *gin.Context) { + var req entity.ArtistListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + var artReq artist.ArtistListRequest + artReq.Keyword = req.Keyword + artReq.Page = req.Page + artReq.PageSize = req.PageSize + artistRes, err := service.GrpcArtistImpl.ArtistList(c, &artReq) + if err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + var res entity.ArtistListResponse + res.Count = uint64(artistRes.Count) + for _, v := range artistRes.Data { + var tmp entity.ArtistListResponseData + + var artistReq artist.DetailRequest + artistReq.Uid = v.Uid + artistTmp, err := service.GrpcArtistImpl.ArtistDetail(c, &artistReq) + if err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + tmp.ID = v.Uid + // tmp.Account = v.Account + // tmp.PassRulerCount = v.PassRulerCount + // tmp.MnemonicWords = v.MnemonicWords + tmp.TelNum = v.Phone + // tmp.PassArtworkCount = v.PassArtworkCount + tmp.Name = v.Name + tmp.PenName = v.PenName + tmp.Certificate = artistTmp.ProfileInfo.CaaCertNum + tmp.CertificateImg = artistTmp.MediaInfo.CaaImg + // tmp.Key = v.Key + tmp.Sex = uint64(v.Gender) + tmp.Age = uint64(v.Age) + // tmp.Introduct = artistTmp.MediaI + // tmp.CreateTime = artistTmp.MediaInfo. + tmp.JoinAssoTime = artistTmp.ProfileInfo.CaaJoinTime + tmp.StageName = v.StageName + // tmp.UpdateTime = v.UpdateTime + tmp.ConAddress = v.Address + tmp.Photo = artistTmp.MediaInfo.RecentPhotoOne + tmp.Video = artistTmp.MediaInfo.RecentPhotoTwo + // tmp.InvitedName = v.InvitedName + // tmp.Enable = v.Enable + tmp.IdCard = v.CardId + // tmp.IsImport = v.IsImport + // tmp.IsLock = v.IsLock + tmp.IdCardFront = artistTmp.MediaInfo.CardFace + tmp.IdCardBack = artistTmp.MediaInfo.CardNational + tmp.BankName = v.BankName + tmp.BankAccount = v.BankNum + // tmp.MinTime = v.MinTime + // tmp.LockTime = v.LockTime + // tmp.ArtworkCount = v.ArtworkCount + // tmp.RulerCount = v.RulerCount + res.Data = append(res.Data, tmp) + } + service.Success(c, res) +} + +func ArtistArtworkSupplyList(c *gin.Context) { + +} + +func ArtArtworkInfo(c *gin.Context) { + var res string + service.Success(c, res) +} +func ArtMgmtArtistInfo(c *gin.Context) { + var res string + service.Success(c, res) +} +func ImportArtistInfoList(c *gin.Context) { + var res string + service.Success(c, res) +} +func ArtMgmtArtistLock(c *gin.Context) { + var res string + service.Success(c, res) +} +func ContractList(c *gin.Context) { + var res string + service.Success(c, res) +} +func CreateContract(c *gin.Context) { + var res string + service.Success(c, res) +} +func InvitedList(c *gin.Context) { + var res string + service.Success(c, res) +} +func AgentInvitedList(c *gin.Context) { + var res string + service.Success(c, res) +} +func AgentInvitedListByPhone(c *gin.Context) { + var res string + service.Success(c, res) +} +func AgentList(c *gin.Context) { + var res string + service.Success(c, res) +} +func RemarkList(c *gin.Context) { + + var res = entity.RemarkText + + service.Success(c, res) +} +func ImportArtworkList(c *gin.Context) { + var res string + service.Success(c, res) +} +func ImportArtworkByBatchId(c *gin.Context) { + var res string + service.Success(c, res) +} +func ImportArtworkNewBatch(c *gin.Context) { + var res string + service.Success(c, res) +} +func ImportArtworkInfoList(c *gin.Context) { + var res string + service.Success(c, res) +} +func AddArtworkStateByBatch(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetPic(c *gin.Context) { + var res string + service.Success(c, res) +} diff --git a/pkg/service/auth/artworktx/artworktx.go b/pkg/service/auth/artworktx/artworktx.go new file mode 100644 index 0000000..0836520 --- /dev/null +++ b/pkg/service/auth/artworktx/artworktx.go @@ -0,0 +1,63 @@ +package artworktx + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func UploadExcelTwo(c *gin.Context) { + var res string + service.Success(c, res) +} +func UploadExcelOne(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetTxArtistList(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetBatchIdList(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetTxArtworkDetailList(c *gin.Context) { + var res string + service.Success(c, res) +} +func CreateTxContract(c *gin.Context) { + var res string + service.Success(c, res) +} +func UpdateBatchType(c *gin.Context) { + var res string + service.Success(c, res) +} +func UploadExcelTwoCopy(c *gin.Context) { + var res string + service.Success(c, res) +} +func UploadExcelOneCopy(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetTxArtistListCopy(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetBatchIdListCopy(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetTxArtworkDetailListCopy(c *gin.Context) { + var res string + service.Success(c, res) +} +func CreateTxContractCopy(c *gin.Context) { + var res string + service.Success(c, res) +} +func UpdateBatchTypeCopy(c *gin.Context) { + var res string + service.Success(c, res) +} diff --git a/pkg/service/auth/auth.go b/pkg/service/auth/auth.go new file mode 100644 index 0000000..08f658a --- /dev/null +++ b/pkg/service/auth/auth.go @@ -0,0 +1,40 @@ +package auth + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func HasAuth(c *gin.Context, ID uint64, url string) bool { + isLeader := false + + req := position.DoIHavaAuthRequest{ + UserId: ID, + Url: url, + } + + res, err := service.PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + isLeader = true + } + + return isLeader +} + +func HasAuthBoth(c *gin.Context, IDs []uint32, url string) (pass bool, pathPass bool, err error) { + + req := position.DoHavaAuthBatchRequest{ + UserIds: IDs, + Url: url, + } + + res, err := service.PositionProvider.DoHavaAuthBatch(c, &req) //是否同时拥有相同权限 + + if err != nil { + return false, false, err + } + + return res.Hava, res.AllNotHave, err +} diff --git a/pkg/service/auth/department/department.go b/pkg/service/auth/department/department.go new file mode 100644 index 0000000..50c8416 --- /dev/null +++ b/pkg/service/auth/department/department.go @@ -0,0 +1,476 @@ +package department + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/jinzhu/copier" + + api "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/dto" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/query" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Create(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + + req.Rules = serializer.GetRulesFormTree(req.DepartmentTreeRule) + res, err := service.DepartmentProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GetDepartmentUsersMap(c *gin.Context, userIds []uint64) (map[uint64]string, error) { + req := api.InfoByUserIdsRequest{ + UserIDs: userIds, + } + + res, err := service.DepartmentProvider.InfoByUserIds(c, &req) + if err != nil { + return nil, err + } + + return res.DepartmentByUserId, err +} + +func Remove(c *gin.Context) { + var req api.RemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.Remove(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Details(c *gin.Context) { + var req api.DetailsRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.Details(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Detail(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func RemoveUser(c *gin.Context) { + var req api.RemoveUserRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.RemoveUser(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Update(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + req.Rules = serializer.GetRulesFormTree(req.DepartmentTreeRule) + + res, err := service.DepartmentProvider.Update(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func All(c *gin.Context) { + var req api.BaseAllRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.BaseAll(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ListAll(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + //userInfo := login.GetUserInfoFromC(c) + //req.LeaderID = userInfo.ID + + res, err := service.DepartmentProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func List(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.LeaderID = userInfo.ID + + res, err := service.DepartmentProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func BaseList(c *gin.Context) { + var qq vo.BaseTreeQ + var nodes []*dto.Node + departments := make(map[uint64]struct{}) + if err := c.ShouldBindBodyWith(&qq, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + req := api.BaseAllRequest{} + + res, err := service.DepartmentProvider.BaseList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if qq.IsDepartment == 1 { + userInfo := login.GetUserInfoFromC(c) + for _, tt := range userInfo.PositionUsers { + if tt.DepartmentCode != "admin" { + departments[tt.DepartmentId] = struct{}{} + } else { + departments = make(map[uint64]struct{}) + break + } + } + } + + if res.Data == nil || len(res.Data) == 0 { + service.Success(c, nodes) + } + + i := 999999999 + + uidMap := make(map[uint64]struct{}) + + for _, tt := range res.Data { + + if len(departments) > 0 { + if _, ok := departments[tt.ID]; ok == false { + continue + } + } + + temp := &dto.Node{ + ID: uint64(i), + Name: tt.Name, + Children: make([]*dto.Node, 0), + } + i++ + + for _, ttt := range tt.AllPositions { + tempPosition := &dto.Node{ + ID: uint64(i), + Name: ttt.Name, + Children: make([]*dto.Node, 0), + } + i++ + + for _, tttt := range ttt.Users { + tempUser := &dto.Node{ + ID: tttt.UserID, + Name: tttt.UserName, + Children: make([]*dto.Node, 0), + } + + if _, ok := uidMap[tttt.UserID]; ok == false { //如果不存在 + tempPosition.Children = append(tempPosition.Children, tempUser) + uidMap[tttt.UserID] = struct{}{} + } + + } + + temp.Children = append(temp.Children, tempPosition) + } + + nodes = append(nodes, temp) + } + + service.Success(c, nodes) +} + +func BaseDepartmentList(c *gin.Context) { + var req api.BaseAllRequest + var nodes []*dto.Node + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.BaseList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if res.Data == nil || len(res.Data) == 0 { + service.Success(c, nodes) + } + + i := 999999999 + + for _, tt := range res.Data { + temp := &dto.Node{ + ID: uint64(i), + Name: tt.Name, + Children: make([]*dto.Node, 0), + } + i++ + + for _, ttt := range tt.AllPositions { + i++ + + for _, tttt := range ttt.Users { + tempUser := &dto.Node{ + ID: tttt.UserID, + Name: tttt.UserName, + Children: make([]*dto.Node, 0), + } + + temp.Children = append(temp.Children, tempUser) + } + + //temp.Children = append(temp.Children, tempPosition) + } + + nodes = append(nodes, temp) + } + + service.Success(c, nodes) +} + +func SupperUsers(c *gin.Context) { + + var userRes = &account.ListResponse{Count: 0} + var req = query.UserQuery{} + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + + dUsersreq := api.UsersRequest{ + ID: userInfo.PositionUsers[0].DepartmentId, + } + + res, err := service.DepartmentProvider.Users(c, &dUsersreq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if res.Count == 0 { + service.Success(c, nil) + return + } + + var userIds []uint64 + + for _, tt := range res.Users { + userIds = append(userIds, tt.UserID) + } + + IdsReq := account.ListByIDsRequest{ + //IDs: userIds, + NickName: req.NickName, + } + if userInfo.PositionUsers[0].DepartmentCode != "admin" { + IdsReq.IDs = userIds + } + + userRes, userErr := service.AccountProvider.ListByIDs(c, &IdsReq) + + if userErr != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, userRes) +} + +func Users(c *gin.Context) { + var req = api.UsersRequest{} + + userInfo := login.GetUserInfoFromC(c) + + infoReq := api.InfoByUserIdRequest{ + UserID: userInfo.ID, + Domain: config.Domain, + } + + infoByUserIdResponse, err1 := service.DepartmentProvider.InfoByUserId(c, &infoReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + req.ID = infoByUserIdResponse.DepartmentID + + res, err := service.DepartmentProvider.Users(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + departmentUsers := new(query.DepartmentUsers) + copier.CopyWithOption(&departmentUsers.Users, res.Users, copier.Option{DeepCopy: true}) + departmentUsers.Count = res.Count + + serializer.BuildUserTel(service.AccountProvider, c, departmentUsers) + + service.Success(c, departmentUsers) +} +func CreateDepartmentHead(c *gin.Context) { + var req api.CreateDepartmentHeadRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + + list, err := service.DepartmentProvider.FindDepartmentHead(c, &api.FindDepartmentHeadRequest{ + StoreId: req.StoreId, + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + if len(list.List) > 0 { + service.Error(c, e.Error, errors.New("站点已存在")) + return + } + res, err := service.DepartmentProvider.CreateDepartmentHead(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func UpdateDepartmentHead(c *gin.Context) { + var req api.CreateDepartmentHeadRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + + list, err := service.DepartmentProvider.FindDepartmentHead(c, &api.FindDepartmentHeadRequest{ + StoreId: req.StoreId, + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + if len(list.List) == 0 { + service.Error(c, e.Error, errors.New("站点不存在")) + return + } + res, err := service.DepartmentProvider.UpdateDepartmentHead(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func FindDepartmentHeadList(c *gin.Context) { + var req api.FindDepartmentHeadRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + res, err := service.DepartmentProvider.FindDepartmentHead(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} diff --git a/pkg/service/auth/department/department_v2.go b/pkg/service/auth/department/department_v2.go new file mode 100644 index 0000000..2a8c560 --- /dev/null +++ b/pkg/service/auth/department/department_v2.go @@ -0,0 +1,372 @@ +package department + +import ( + "errors" + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic/auth" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + v2 "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/v2" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/v2/department" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/jinzhu/copier" + "strconv" + "strings" +) + +func CreateV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + fmt.Println(err) + service.Error(c, e.Error, err) + return + } + + req.DepartmentCode = "normal" + res, err := service.DepartmentProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := api.DetailRequest{ + ID: int64(res.ID), + } + + fmt.Println(res.ID) + detailRes, err := service.DepartmentProvider.Detail(c, &detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Println(detailRes.LevelPath) + newObj := new(department.DetailResponse) + + err = copier.Copy(&newObj, detailRes) + if err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println(newObj.LevelPath) + + newObj.LevelPathList, err = formatData(newObj.LevelPath) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) + return +} + +func DetailV2(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newObj := new(department.DetailResponse) + + err = copier.Copy(&newObj, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) +} + +func UpdateV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.Update(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DirectBoss(c *gin.Context) { + var req api.MyDirectLeadersRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if req.DepartmentId == 0 || req.UserId == 0 { + service.Error(c, e.Error, errors.New("请选择部门")) + return + } + + res, err := service.DepartmentProvider.MyDirectLeaders(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} +func LevelBoss(c *gin.Context) { + var req api.MyBossesReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if req.DepartmentId == 0 || req.UserId == 0 { + service.Error(c, e.Error, errors.New("请选择部门")) + return + } + + /* + userInfo, err := login.GetUserInfoFromCV2(c) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.UserId = uint32(userInfo.ID) + */ + + res, err := service.DepartmentProvider.MyBosses(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ListByAuth(c *gin.Context) { + var req api.DepartmentBossesByAuthReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + res, err := service.DepartmentProvider.DepartmentBossesByAuth(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UnBind(c *gin.Context) { + var req api.CoBindRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + res, err := service.DepartmentProvider.UnBindPositions(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +// Bind 组织架构树 +func Bind(c *gin.Context) { + var req api.CoBindRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + res, err := service.DepartmentProvider.BindPositions(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +// FilterTree 根据个人权限的组织架构树 +func FilterTree(c *gin.Context) { + + userInfo, err := login.GetUserInfoFromCV2(c) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + //查看本人所在的部门 + res, err := auth.GetMyFilterCompanyAuthTree(uint32(userInfo.ID), c.Request.URL.Path) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// MyTree 根据个人权限的组织架构树 +func MyTree(c *gin.Context) { + + userInfo, err := login.GetUserInfoFromCV2(c) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + //查看本人所在的部门 + res, err := auth.GetMyCompanyAuthTree(uint32(userInfo.ID)) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// AllTreeWithPosition 组织架构树 +func AllTreeWithPosition(c *gin.Context) { + res, err := auth.GetAllCompanyAuthTreeWithPosition() + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +// AllTree 组织架构树 +func AllTree(c *gin.Context) { + res, err := auth.GetAllCompanyAuthTree() + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func BaseListV2(c *gin.Context) { + var req api.BaseListV2Request + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.BaseListV2(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func DetailsV2(c *gin.Context) { + var req api.DetailsRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.DepartmentProvider.Details(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newObj := new(department.DetailsResponse) + + err = copier.Copy(&newObj, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) + return +} + +func PositionList(c *gin.Context) { + var req position.ListRequest + fmt.Println("1-1-1----") + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("1----") + res, err := service.PositionProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newObj := new(v2.ListResponse) + + err = copier.Copy(&newObj, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) +} + +func formatData(input string) ([]uint32, error) { + if input == "" { + return nil, nil + } + fmt.Println("1--------", input) + // 移除字符串前后的下划线 + trimmedInput := strings.Trim(input, "_") + + // 使用下划线分割字符串 + stringParts := strings.Split(trimmedInput, "_") + + fmt.Println("1-------", stringParts) + + // 创建一个int类型的slice,用于存放转换后的数字 + var intParts []uint32 + + // 遍历字符串数组,并将每个字符串转换为int类型 + for _, part := range stringParts { + intValue, err := strconv.Atoi(part) + if err != nil { + // 如果转换出错,则返回错误 + return nil, err + } + // 将转换后的int值添加到结果数组中 + intParts = append(intParts, uint32(intValue)) + } + + return intParts, nil +} diff --git a/pkg/service/auth/position/position.go b/pkg/service/auth/position/position.go new file mode 100644 index 0000000..8924b1b --- /dev/null +++ b/pkg/service/auth/position/position.go @@ -0,0 +1,93 @@ +package position + +import ( + api "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Create(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + req.Rules = serializer.GetPositionRulesFormTree(req.PositionTreeRule) + + res, err := service.PositionProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Remove(c *gin.Context) { + var req api.RemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.PositionProvider.Remove(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Detail(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.PositionProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Update(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + req.Rules = serializer.GetPositionRulesFormTree(req.PositionTreeRule) + res, err := service.PositionProvider.Update(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func List(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.PositionProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/auth/position/position_v2.go b/pkg/service/auth/position/position_v2.go new file mode 100644 index 0000000..0492560 --- /dev/null +++ b/pkg/service/auth/position/position_v2.go @@ -0,0 +1,475 @@ +package position + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/api/department" + api "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/recruit" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/query" + v2 "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/v2" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/go-redis/redis" + "github.com/google/uuid" + "github.com/jinzhu/copier" +) + +func CreateV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo, err := login.GetUserInfoFromCV2(c) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.DepartmentID != 0 { + + departmentRes, err := service.DepartmentProvider.Detail(c, &department.DetailRequest{ID: int64(req.DepartmentID)}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.DepartmentName = departmentRes.Name + } + + req.Rules = serializer.GetPositionRulesFormTreeV2(req.PositionTreeRule) + req.OperatorName = userInfo.NickName + + res, err := service.PositionProvider.Create(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.ID = res.ID + req.PositionTreeRule = nil + req.Rules = nil + + newRecord := &api.LogRequest{ + OperateType: "add", + Info: "新增“" + req.Name + "”岗位", + OperatorName: userInfo.NickName, + OperatorTel: userInfo.TelNum, + OperatorId: uint32(userInfo.ID), + PositionId: uint32(req.ID), + } + + _, _ = service.PositionProvider.CreatePositionLog(c, newRecord) + + service.Success(c, &req) + + return +} + +func UpdateV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + oldRes, oldErr := service.PositionProvider.DetailV2(c, &api.DetailRequest{ID: req.ID}) + + logger.Error("---------1请求更新 postion detail_v2 :", oldRes, oldRes) + + if oldErr != nil { + service.Error(c, e.Error, oldErr) + return + } + + req.Rules = serializer.GetPositionRulesFormTreeV2(req.PositionTreeRule) + + logger.Error("---------2请求更新 postion detail_v2 :", req.Rules) + userInfo, err := login.GetUserInfoFromCV2(c) + + logger.Error("---------3请求更新 postion detail_v2 :", userInfo, err) + if err != nil { + service.Error(c, e.Error, err) + return + } + req.OperatorName = userInfo.NickName + + res, err := service.PositionProvider.Update(c, &req) + + logger.Error("---------4请求更新 postion detail_v2 :", res, err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newRecord := &api.LogRequest{ + OperateType: "edit", + Info: "修改“" + req.Name + "“岗位", + OperatorName: userInfo.NickName, + OperatorTel: userInfo.TelNum, + OperatorId: uint32(userInfo.ID), + PositionId: uint32(req.ID), + } + + if oldRes.Name != req.Name { + newRecord.Info = "原“" + oldRes.Name + "“改为“" + req.Name + "“" + } + + s1, err := service.PositionProvider.CreatePositionLog(c, newRecord) + + logger.Error("---------5请求更新 postion detail_v2 :", s1, err) + + service.Success(c, res) + return +} + +//CreateModel 新增模版 +func CreateModel(c *gin.Context) { + uuidString := uuid.NewString() + var req query.CreateModelQuery + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.PositionProvider.DetailV2(c, &api.DetailRequest{ID: uint64(req.Id)}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newObj := new(v2.CreateRequest) + + err = copier.Copy(&newObj, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.Name != "" { + newObj.Name = req.Name + } + newObj.Uuid = uuidString + b, err := json.Marshal(newObj) + if err != nil { + service.Error(c, e.Error, err) + return + } + + keyString := cache.GetPositionModelStringKey(uuidString) + cache.RedisClient.Set(keyString, string(b), 0) + cache.RedisClient.ZAdd(cache.GetPositionModelZsetKey(), redis.Z{ + Score: cache.GetZSetMaxScore(cache.GetPositionModelZsetKey()), + Member: keyString, + }) + + service.Success(c, "") + return +} + +//DetailModel 删除模版 +func DetailModel(c *gin.Context) { + var req query.CommonUUid + var temp *v2.CreateRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + listString, err := cache.RedisClient.Get(cache.GetPositionModelStringKey(req.Uuid)).Result() + if err != nil { + service.Error(c, e.Error, err) + return + } + + err = json.Unmarshal([]byte(listString), &temp) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, temp) + return +} + +// LogList 删除模版 +func LogList(c *gin.Context) { + var req api.LogListRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.PositionProvider.PositionLogList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func BatchBindAuth(c *gin.Context) { + var req api.BatchAddRulesRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo, err := login.GetUserInfoFromCV2(c) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.OperatorName = userInfo.NickName + + res, err := service.PositionProvider.BatchAddPositionRules(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + + return +} + +//ListModel 删除模版 +func ListModel(c *gin.Context) { + var req query.CommonUUid + var res []v2.ModelInfo + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + // 获取有序集合中的元素,按分数降序排列 + keyList, err := cache.RedisClient.ZRevRange(cache.GetPositionModelZsetKey(), 0, -1).Result() + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(keyList) <= 0 { + service.Success(c, nil) + return + } + + listString, err := cache.RedisClient.MGet(keyList...).Result() + + // 将[]interface{}转换为[]string + for _, v := range listString { + // 类型断言:将interface{}断言为string + strVal, ok := v.(string) + if !ok { + continue + } + + var temp v2.CreateRequest + + if err := json.Unmarshal([]byte(strVal), &temp); err == nil { + res = append(res, v2.ModelInfo{Uuid: temp.Uuid, Name: temp.Name}) + } + + } + + service.Success(c, res) + return +} + +//DeleteModel 删除模版 +func DeleteModel(c *gin.Context) { + var req query.CommonUUid + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + keyString := cache.GetPositionModelStringKey(req.Uuid) + cache.RedisClient.ZRem(cache.GetPositionModelZsetKey(), keyString) + cache.RedisClient.Del(keyString) + + service.Success(c, nil) + return +} + +func DetailV2(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo, err := login.GetUserInfoFromCV2(c) + if err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.PositionProvider.DetailV2(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newObj := new(v2.CreateRequest) + + err = copier.Copy(&newObj, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newRecord := &api.LogRequest{ + OperateType: "detail", + Info: "查看“" + res.Name + "“岗位", + OperatorName: userInfo.NickName, + OperatorTel: userInfo.TelNum, + OperatorId: uint32(userInfo.ID), + PositionId: uint32(req.ID), + } + + _, _ = service.PositionProvider.CreatePositionLog(c, newRecord) + + service.Success(c, newObj) +} + +func BatchRemove(c *gin.Context) { + var req api.BatchRemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfo, err := login.GetUserInfoFromCV2(c) + if err != nil { + service.Error(c, e.Error, err) + return + } + + res1, err1 := service.PositionProvider.DetailV2(c, &api.DetailRequest{ID: uint64(req.IDs[0])}) + if err1 != nil { + service.Error(c, e.Error, err) + return + } + + //删除校验 + for _, v := range req.IDs { + //查申请 + findRes, err := service.ApprovalProvider.FindByPosition(c, &approval.DepartmentAndPosition{PositionUID: fmt.Sprintf("%d", v)}) + if err1 != nil { + service.Error(c, e.Error, err) + return + } + + if findRes.IsExist == true { + service.Error(c, e.Error, errors.New("正在审批流程中,岗位不可删除;")) + return + } + + //查申请 + positionRes, err := service.GrpcRecruitClientImpl.PositionQuery(c, &recruit.PositionReq{PageSize: 10, CurPage: 1, Status: 4, PositionId: int64(v)}) + if err1 != nil { + service.Error(c, e.Error, err) + return + } + + if positionRes.Count >= 1 { + service.Error(c, e.Error, errors.New("人未招满且未终止,岗位不可删除!")) + return + } + + //查申请 + positionRes, err = service.GrpcRecruitClientImpl.PositionQuery(c, &recruit.PositionReq{PageSize: 10, CurPage: 1, Status: 2, PositionId: int64(v)}) + if err1 != nil { + service.Error(c, e.Error, err) + return + } + + if positionRes.Count >= 1 { + service.Error(c, e.Error, errors.New("人未招满且未终止(审批通过),岗位不可删除!")) + return + } + + } + + res, err := service.PositionProvider.BatchRemove(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + for _, v := range req.IDs { + + _, err = service.ApprovalProvider.DeleteByPosition(c, &approval.DepartmentAndPosition{PositionUID: fmt.Sprintf("%d", v)}) + if err1 != nil { + service.Error(c, e.Error, err) + return + } + + } + + newRecord := &api.LogRequest{ + OperateType: "del", + Info: "删除“" + res1.Name + "“岗位", + OperatorName: userInfo.NickName, + OperatorTel: userInfo.TelNum, + OperatorId: uint32(userInfo.ID), + PositionId: req.IDs[0], + } + + _, _ = service.PositionProvider.CreatePositionLog(c, newRecord) + + service.Success(c, res) + + return +} + +func ListV2(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if req.UpdateEndAt != "" { + req.UpdateEndAt += " 23:59:59" + } + + res, err := service.PositionProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newObj := new(v2.ListResponse) + + err = copier.Copy(&newObj, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) +} + +func RecordLog() { + +} diff --git a/pkg/service/auth/rule/rule.go b/pkg/service/auth/rule/rule.go new file mode 100644 index 0000000..c07bcd6 --- /dev/null +++ b/pkg/service/auth/rule/rule.go @@ -0,0 +1,236 @@ +package rule + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "time" +) + +func Create(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.RuleProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Remove(c *gin.Context) { + var req api.RemoveRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.RuleProvider.Remove(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Detail(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.RuleProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Update(c *gin.Context) { + var req api.UpdateRequest + fmt.Println("1---") + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("2---") + + res, err := service.RuleProvider.Update(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func List(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.RuleProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func TreeList(c *gin.Context) { + req := api.ListRequest{ + Page: 1, + PageSize: 99999, + Type: e.RULE_TYPE_MENU, + } + + res, err := service.RuleProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + var list []*api.DetailResponse + + for _, t := range res.Data { + if t.Pid != 0 { + continue + } + + temp := t + + for _, tt := range res.Data { + if temp.ID == tt.Pid { + temp.Son = append(temp.Son, tt) + } + } + + list = append(list, temp) + } + + res.Count = uint64(len(list)) + res.Data = list + + service.Success(c, res) + return +} + +func TopList(c *gin.Context) { + req := api.ListRequest{ + Page: 1, + PageSize: 99999, + Type: e.RULE_TYPE_MENU, + IsNotJumpTop: true, + } + + res, err := service.RuleProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func InterfaceAuth(c *gin.Context) { + var reqIngo vo.InterfaceReq + if err := c.ShouldBindBodyWith(&reqIngo, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + + req := api.RuleByUrlRequest{ + AccountID: userInfo.ID, + Domain: userInfo.Domain, + Url: reqIngo.Url, + Method: reqIngo.Method, + } + fmt.Println("1------", req) + + ruleInfo, ruleErr := service.RuleProvider.RuleByUrl(c, &req) + + if ruleErr != nil { + service.Error(c, e.Error, ruleErr) + return + } + + //接口存在 true 并且 isPass == false 不通过 + if ruleInfo.Exist == true && !ruleInfo.IsPass { + service.Error(c, e.Error, errors.New("没有权限")) + return + } + + service.Success(c, ruleInfo) + return + +} + +func Rules(c *gin.Context) { + + startTime := time.Now() + var req api.RulesRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + req.AccountID = userInfo.ID + + res, err := service.RuleProvider.Rules(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + var list []*api.DetailResponse + for _, t := range res.MyMenuAuths { + if t.Pid != 0 { + continue + } + + temp := t + + for _, tt := range res.MyMenuAuths { + if temp.ID == tt.Pid { + temp.Son = append(temp.Son, tt) + } + } + + list = append(list, temp) + } + + res.MyMenuAuths = list + + service.Success(c, res) + + logger.Error("rules 发送完毕时间:", time.Now().Sub(startTime)) + + return +} diff --git a/pkg/service/auth/rule/rule_v2.go b/pkg/service/auth/rule/rule_v2.go new file mode 100644 index 0000000..b0028f1 --- /dev/null +++ b/pkg/service/auth/rule/rule_v2.go @@ -0,0 +1,88 @@ +package rule + +import ( + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/v2/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/jinzhu/copier" +) + +func CreateV2(c *gin.Context) { + var req api.CreateRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.RuleProvider.Create(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ListV2(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.RuleProvider.MenuList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func DetailV2(c *gin.Context) { + var req api.DetailRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.RuleProvider.Detail(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newObj := new(rule.DetailResponse) + + err = copier.Copy(&newObj, res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) +} + +func UpdateV2(c *gin.Context) { + var req api.UpdateRequest + fmt.Println("1---") + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println("2---") + + res, err := service.RuleProvider.Update(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/auth/rule_log/rule_log.go b/pkg/service/auth/rule_log/rule_log.go new file mode 100644 index 0000000..30e1794 --- /dev/null +++ b/pkg/service/auth/rule_log/rule_log.go @@ -0,0 +1,24 @@ +package rule_log + +import ( + api "github.com/fonchain_enterprise/fonchain-main/api/rule_log" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func List(c *gin.Context) { + var req api.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + res, err := service.RuleLogProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/auth/sso/gitea.go b/pkg/service/auth/sso/gitea.go new file mode 100644 index 0000000..908d931 --- /dev/null +++ b/pkg/service/auth/sso/gitea.go @@ -0,0 +1,388 @@ +package sso + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "fmt" + "github.com/dgrijalva/jwt-go" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/google/uuid" + "io/ioutil" + "net/http" + "reflect" + "strings" + "time" +) + +var ( + issuer = "https://erp.fontree.cn" + authorizationEndpoint = "https://common.szjixun.cn/sso/auth" + tokenEndpoint = "https://common.szjixun.cn/sso/token" + userinfoEndpoint = "https://common.szjixun.cn/sso/userinfo" + jwksUri = "https://common.szjixun.cn/sso/.well-known/jwks.json" +) + +type ApplicationInfo struct { + ClientId string `json:"clientId"` + ClientSecret string `json:"clientSecret"` +} + +type UserInfo struct { + Sub string `json:"sub"` + Name string `json:"name"` + GivenName string `json:"given_name"` + FamilyName string `json:"family_name"` + PreferredUsername string `json:"preferred_username"` + Email string `json:"email"` + EmailVerified bool `json:"email_verified"` + Picture string `json:"picture"` + // ...其他字段... +} + +func LoadEnv() { + issuer = config.ApiHost + authorizationEndpoint = issuer + "/sso/auth" + tokenEndpoint = issuer + "/sso/token" + userinfoEndpoint = issuer + "/sso/userinfo" + jwksUri = issuer + "/sso/.well-known/jwks.json" + +} + +func Configuration(c *gin.Context) { + c.JSON(http.StatusOK, gin.H{ + "issuer": issuer, + "authorization_endpoint": authorizationEndpoint, + "token_endpoint": tokenEndpoint, + "userinfo_endpoint": userinfoEndpoint, + "jwks_uri": jwksUri, + // 你可以添加其他必要的OIDC配置项 + }) + return +} + +//Auth erp授权 如果没有登陆则跳转登陆的页面 +func Auth(c *gin.Context) { + // 验证用户登录,并重定向到回调地址,带上授权码code + // 这里需要开发者实现用户认证逻辑,并生成授权码 + //authCode := "your_generated_auth_code" + //db[authCode] = "asdkfljoqeruowerql" + //获取cookie 解析 + token, err := c.Cookie("token") + + //次数应该有一个查找,但是我暂时不需要 + domainClientId := c.Query("client_id") + clientKey := cache.GetSsoClientId(domainClientId) + + domainClientSecret := cache.RedisClient.Get(clientKey).Val() + if domainClientSecret == "" { + c.JSON(http.StatusBadRequest, gin.H{"error": "client_id not exist"}) + return + } + + fmt.Println("授权页面", token, err) + if err != nil { + c.Redirect(http.StatusFound, "/sso/login?"+c.Request.URL.RawQuery) + return + } + + key := cache.GetSsoAuthHtml() + exists := cache.RedisClient.Exists(key).Val() + + if exists != 1 { + b, err := ioutil.ReadFile("./data/static/auth.html") + + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + fmt.Println(reflect.TypeOf(b)) + + cache.RedisClient.Set(key, string(b), 300*time.Second) + } + + htmlContent := cache.RedisClient.Get(key).Val() + + c.Writer.WriteHeader(http.StatusOK) + c.Writer.Write([]byte(htmlContent)) + + return +} + +//AuthSuccess 授权通过 +func AuthSuccess(c *gin.Context) { + // 验证用户登录,并重定向到回调地址,带上授权码code + // 这里需要开发者实现用户认证逻辑,并生成授权码 + //authCode := "your_generated_auth_code" + //db[authCode] = "asdkfljoqeruowerql" + //获取cookie 解析 + token, err := c.Cookie("token") + domainClientId := c.Query("client_id") + clientKey := cache.GetSsoClientId(domainClientId) + + domainClientSecret := cache.RedisClient.Get(clientKey).Val() + if domainClientSecret == "" { + c.JSON(http.StatusBadRequest, gin.H{"error": "client_id not exist"}) + return + } + + if err != nil { + //跳转到登陆 + c.Redirect(http.StatusFound, "/sso/login?"+c.Request.URL.RawQuery) + return + } + + authCode, b := genJwt(token) + + if b != true { + c.Redirect(http.StatusFound, "/sso/login?"+c.Request.URL.RawQuery) + return + } + + applicationInfo := ApplicationInfo{ + ClientId: domainClientId, + ClientSecret: domainClientSecret, + } + + appByte, err := json.Marshal(applicationInfo) + if err != nil { + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + return + } + + cache.RedisClient.Set(cache.GetSSOCodeApplication(authCode), string(appByte), 1200*time.Second) + + c.Redirect(http.StatusFound, c.Query("redirect_uri")+"?code="+authCode+"&state="+c.Query("state")) +} + +func Token(c *gin.Context) { + + fmt.Println("令牌断电") + var appInfo *ApplicationInfo + code := c.PostForm("code") + fmt.Println("code-------", code) + + fmt.Println("Body:", c.PostForm("code")) + fmt.Println("Body:", c.PostForm("grant_type")) + fmt.Println("Body:", c.PostForm("redirect_uri")) + + if code == "" { + c.JSON(http.StatusBadRequest, gin.H{"error": "code is nil"}) + return + } + + fmt.Println("应用信息信息", code, cache.GetSSOCodeApplication(code)) + appStr := cache.RedisClient.Get(cache.GetSSOCodeApplication(code)).Val() + + err := json.Unmarshal([]byte(appStr), &appInfo) + fmt.Println("应用信息信息", appStr) + fmt.Println("应用信息信息", appInfo) + if err != nil { + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + return + } + + id, err := cache.RedisClient.Get(cache.GetSSOCode(code)).Int64() + + fmt.Println(id, err) + if err != nil { + //c.String(500, "redis没有查找到code error: %s", err.Error()) + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + return + } + + // 打印Body内容 + req := &account.InfoRequest{ + ID: uint64(id), + } + + info, err := service.AccountProvider.Info(c, req) + + if err != nil { + //c.String(500, "redis没有查找到code error: %s", err.Error()) + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + return + } + + token := jwt.NewWithClaims(jwt.SigningMethodHS256, jwt.MapClaims{ + "iss": issuer, // 你的管理系统 URL + "sub": getAccountNumber(info.Info.Domain, info.Info.ID), + "aud": appInfo.ClientId, // Gitea OAuth 应用的 client_id + "exp": time.Now().Add(time.Hour * 72).Unix(), + "iat": time.Now().Unix(), + }) + + tokenString, err := token.SignedString([]byte(appInfo.ClientSecret)) // 使用你的密钥对其进行签名 + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": "Could not generate token"}) + return + } + + b, err := json.Marshal(info.Info) + + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + + accessToken := uuid.New().String() + cache.RedisClient.Set(cache.GetSsoAccessToken(accessToken), string(b), 6*time.Hour) + + c.JSON(http.StatusOK, gin.H{ + "access_token": accessToken, + "token_type": "bearer", + "expires_in": 7200, // 建议加上令牌过期时间 + "id_token": tokenString, // ID令牌通常包含用户信息的JWT + }) + return +} + +func SsoUserInfo(c *gin.Context) { + var userInfo account.AccountInfo + givenName := "" + familyName := "" + + fmt.Println("用户信息") + // 校验访问令牌,并返回用户信息 + // 这里需要验证访问令牌是否有效 + accessToken := c.GetHeader("Authorization") + accessToken = strings.Replace(accessToken, "Bearer ", "", 1) + + fmt.Println(accessToken) + key := cache.GetSsoAccessToken(accessToken) + fmt.Println(key) + + b := cache.RedisClient.Get(key).Val() + fmt.Println("信息是", b) + if b == "" { + c.JSON(http.StatusBadRequest, gin.H{"error": "invalid_token"}) + return + } + err := json.Unmarshal([]byte(b), &userInfo) + + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + if userInfo.NickName != "" { + runes := []rune(userInfo.NickName) + familyName = string(runes[0]) + givenName = string(runes[1:]) + } + + info := UserInfo{ + Sub: getAccountNumber(userInfo.Domain, userInfo.ID), + Name: userInfo.NickName, + GivenName: familyName, + FamilyName: givenName, + PreferredUsername: userInfo.EnglishName, + Email: userInfo.MailAccount, + EmailVerified: true, + Picture: userInfo.Avatar, + } + + /* + userInfo := UserInfo{ + Sub: "248289761001", + Name: "Jane Doe", + GivenName: "Jane", + FamilyName: "Doe", + PreferredUsername: "j.doe", + Email: "janedoe@example.com", + EmailVerified: true, + Picture: "http://example.com/janedoe/me.jpg", + } + */ + c.JSON(http.StatusOK, info) + return +} + +func LoginHtml(c *gin.Context) { + + exists := cache.RedisClient.Exists(cache.GetSSoLoginHtml()).Val() + if exists != 1 { + b, err := ioutil.ReadFile("./data/static/sso.html") + + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + cache.RedisClient.Set(cache.GetSSoLoginHtml(), string(b), 300*time.Second) + } + + htmlContent := cache.RedisClient.Get(cache.GetSSoLoginHtml()).Val() + + c.Writer.WriteHeader(http.StatusOK) + c.Writer.Write([]byte(htmlContent)) + + return +} + +func Login(c *gin.Context) { + + var req account.LoginRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Ip = c.ClientIP() + + res, err := service.AccountProvider.Login(c, &req) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + token, err := secret.CombineSecret(res.Token, "zz", res.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + c.SetCookie("token", token, 43200, "/", "", false, true) + + //c.Redirect(http.StatusFound, c.Query("redirect_uri")+"?code="+c.Query("code")+"&state="+c.Query("state")) + service.Success(c, "") + + return +} + +func genJwt(token string) (string, bool) { + + //解析token + jwtToken, err := secret.GetJwtFromStr(token) + if err != nil { + return "'", false + } + + req := account.DecryptJwtRequest{ + Token: jwtToken, + } + + info, err := service.AccountProvider.DecryptJwt(context.Background(), &req) // 处理 + + if err != nil { + logger.Warn("sso 解密微服务提示错误", err) + return "", false + } + + //info.ID = + //生成 uuid 插入redis + code := uuid.New().String() + cache.RedisClient.Set(cache.GetSSOCode(code), info.ID, 600*time.Second) + + return code, true +} + +func getAccountNumber(domain string, id uint64) string { + return fmt.Sprintf("%s_%010d", domain, id) +} diff --git a/pkg/service/auth/sso/gitea_test.go b/pkg/service/auth/sso/gitea_test.go new file mode 100644 index 0000000..00d452f --- /dev/null +++ b/pkg/service/auth/sso/gitea_test.go @@ -0,0 +1,16 @@ +package sso + +import ( + "fmt" + "testing" +) + +func Test_getAccountNumber(t *testing.T) { + type args struct { + domain string + id uint64 + } + + fmt.Println(fmt.Sprintf("%s_%10d", "domain", 1)) + +} diff --git a/pkg/service/auth/sso/wechat.go b/pkg/service/auth/sso/wechat.go new file mode 100644 index 0000000..b5d5ca6 --- /dev/null +++ b/pkg/service/auth/sso/wechat.go @@ -0,0 +1,159 @@ +package sso + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "io/ioutil" + "net/http" + "net/url" + "time" +) + +var ghid = "gh_d838598b1a23" + +func WechatNowPhone(c *gin.Context) { + wxInfo, err := getOpenIdFromCookie(c) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, wxInfo) + + return +} + +func WechatBind(c *gin.Context) { + var req account.LoginRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + wxBoxInfo, err := getOpenIdFromCookie(c) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Ip = c.ClientIP() + + info, err := service.AccountProvider.Login(c, &req) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + //获取openid + wxUpdate := &account.WxUserUpdateRequest{ + WxID: wxBoxInfo.WxUserId, + UserID: uint32(info.AccountInfo.ID), + } + + updateRes, err := service.AccountProvider.WxUserUpdate(c, wxUpdate) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + service.Success(c, updateRes) + + return +} + +func WechatLoginHtml(c *gin.Context) { + //是否有 + scode, _ := c.Cookie("scode") + code := c.Query("code") + + if scode == "" && code == "" { //重定向到 + c.Redirect(http.StatusFound, "https://appointteam.szjixun.cn/api/appointment/auth/wx?notifyUrl="+url.QueryEscape(config.ApiHost+c.Request.URL.Path)) + return + } + + if code != "" { + + openIdReq := &account.WxGetOpenIdByCodeRequest{Code: code, GhId: ghid} + + fmt.Println(openIdReq) + openIdRes, err := service.AccountProvider.WxGetOpenIdByCode(c, openIdReq) + fmt.Println(openIdRes, err) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + //创建 gitea + wxCreate := &account.WxUserOrCreateRequest{ + OpenID: openIdRes.OpenId, + GhID: ghid, + } + + _, err = service.AccountProvider.WxUserCreate(c, wxCreate) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + scode, err = secret.CommonCombineSecret(openIdRes.OpenId) + + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + c.SetCookie("scode", scode, 43200, "/", "", false, true) + + c.Redirect(http.StatusFound, c.Request.URL.Path) //重定向到无code位置 + return + } + + //如果不存在同时 code和statue不存在,则跳转 + key := cache.GetSsoHtml("wechat") + exists := cache.RedisClient.Exists(key).Val() + if exists != 1 { + b, err := ioutil.ReadFile("./data/static/bind.html") + + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + cache.RedisClient.Set(key, string(b), 300*time.Second) + } + + htmlContent := cache.RedisClient.Get(key).Val() + + c.Writer.WriteHeader(http.StatusOK) + c.Writer.Write([]byte(htmlContent)) + + return +} + +func getOpenIdFromCookie(c *gin.Context) (*account.WxBoxUserInfo, error) { + scode, err := c.Cookie("scode") + + if err != nil { + return nil, err + } + + openId, err := secret.CommonDec(scode) + if err != nil { + return nil, err + } + + wxUserInfo := &account.WxBoxUserInfoRequest{Openid: openId, GhId: ghid} + return service.AccountProvider.WxBoxUserInfoByOpenId(c, wxUserInfo) + +} diff --git a/pkg/service/auth/supplyinfo/supplyinfo.go b/pkg/service/auth/supplyinfo/supplyinfo.go new file mode 100644 index 0000000..5f2dd5a --- /dev/null +++ b/pkg/service/auth/supplyinfo/supplyinfo.go @@ -0,0 +1,61 @@ +package supplyinfo + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func CreateSupplyInfo(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetSupplyInfoList(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetSupplyInfo(c *gin.Context) { + var res string + service.Success(c, res) +} +func ApplyArtwork(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetExam(c *gin.Context) { + var res string + service.Success(c, res) + +} +func GetExamList(c *gin.Context) { + var res string + service.Success(c, res) + +} +func ApplyExhVideo(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetVideoList(c *gin.Context) { + var res string + service.Success(c, res) +} +func ApplyExhExam(c *gin.Context) { + var res string + service.Success(c, res) +} +func ApplyArtistInfo(c *gin.Context) { + var res string + service.Success(c, res) +} +func GetArtistInfoList(c *gin.Context) { + var res string + service.Success(c, res) +} +func ImportArtistSupplyList(c *gin.Context) { + var res string + service.Success(c, res) +} +func ImportArtworkSupplyList(c *gin.Context) { + var res string + service.Success(c, res) +} diff --git a/pkg/service/backend/artshowVideo.go b/pkg/service/backend/artshowVideo.go new file mode 100644 index 0000000..4d0f5b5 --- /dev/null +++ b/pkg/service/backend/artshowVideo.go @@ -0,0 +1,16 @@ +// Package backend ----------------------------- +// @file : artshowVideo.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/2 9:07 +// ------------------------------------------- +package backend + +import "github.com/gin-gonic/gin" + +type Artshow struct{} + +func (a Artshow) GetArtshowList(c *gin.Context) { + //var req = + +} diff --git a/pkg/service/backend/artworkSupplement.go b/pkg/service/backend/artworkSupplement.go new file mode 100644 index 0000000..341dac5 --- /dev/null +++ b/pkg/service/backend/artworkSupplement.go @@ -0,0 +1,95 @@ +// Package backend ----------------------------- +// @file : artworkSupplement.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/1 15:59 +// ------------------------------------------- +package backend + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + gubrak "github.com/novalagung/gubrak/v2" +) + +// GetArtistListUnfinishedArtworkBase 获取未完成画作补充审批的艺术家列表 +func GetArtistListUnfinishedArtworkBase(c *gin.Context) { + var request = GetArtistListRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + datas, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + QueryType: artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfBase, + }) + if err != nil { + service.Error(c, e.Failed, err, err.Error()) + } + var artistUids = []string{} + for _, v := range datas.Data { + artistUids = append(artistUids, v.ArtistUid) + } + artistUids = gubrak.From(artistUids).Uniq().Result().([]string) + userListResponse, err := service.GrpcArtistInfoUserImpl.FindUsersUserView(c, &artistInfoUser.FindUsersRequest{ + MgmtArtistUids: artistUids, + IsArtist: 1, + Page: request.Page, + PageSize: request.PageSize, + ArtistRealName: request.ArtistName, + Keyword: request.Keyword, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistListUnfinishedArtworkBase: GrpcArtistInfoUserImpl.FindUsers Error", "查询失败") + } + var returnData []artistInfoUser.UserView + err = copier.Copy(&returnData, &userListResponse.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistProfileList: copier.Copy Error", "数据转换失败") + } + service.ResponseList(c, returnData, service.OptionPage(userListResponse.Page.Page, userListResponse.Page.PageSize, userListResponse.Page.Total)) +} + +// GetArtistListOfUnfinishedArtworkSupplement 获取未完成画作补充数据审批的艺术家列表 +func GetArtistListOfUnfinishedArtworkSupplement(c *gin.Context) { + var request = GetArtistListRequest{} + if err := c.ShouldBindJSON(&request); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + + datas, err := service.GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{ + QueryType: artistInfoArtwork.ArtworkQueryMode_NowAuditFlowOfSupplementing, + }) + if err != nil { + service.Error(c, e.Failed, err, err.Error()) + } + var artistUids = []string{} + for _, v := range datas.Data { + artistUids = append(artistUids, v.ArtistUid) + } + artistUids = gubrak.From(artistUids).Uniq().Result().([]string) + userListResponse, err := service.GrpcArtistInfoUserImpl.FindUsersUserView(c, &artistInfoUser.FindUsersRequest{ + MgmtArtistUids: artistUids, + IsArtist: 1, + Page: request.Page, + PageSize: request.PageSize, + ArtistRealName: request.ArtistName, + }) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistProfileList: GrpcArtistInfoUserImpl.FindUsers Error", "查询失败") + } + var returnData []artistInfoUser.UserView + err = copier.Copy(&returnData, &userListResponse.Data) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetArtistProfileList: copier.Copy Error", "数据转换失败") + } + service.ResponseList(c, returnData, + service.OptionPage(userListResponse.Page.Page, userListResponse.Page.PageSize, userListResponse.Page.Total), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} diff --git a/pkg/service/backend/backend.go b/pkg/service/backend/backend.go new file mode 100644 index 0000000..2cc4cbb --- /dev/null +++ b/pkg/service/backend/backend.go @@ -0,0 +1,26 @@ +package backend + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "golang.org/x/net/context" +) + +func ExportFieldList(c *gin.Context) { + var req artistInfoArtwork.ExportFieldListReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ExportFieldList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcArtistInfoArtworkImpl.ExportFieldList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp.Data) + return +} diff --git a/pkg/service/backend/dto.go b/pkg/service/backend/dto.go new file mode 100644 index 0000000..45b4408 --- /dev/null +++ b/pkg/service/backend/dto.go @@ -0,0 +1,15 @@ +// Package backend ----------------------------- +// @file : dto.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/1 22:52 +// ------------------------------------------- +package backend + + +type GetArtistListRequest struct { + Page int32 `json:"page"` + PageSize int32 `json:"pageSize"` + ArtistName string `json:"artistName"` + Keyword string `json:"keyword"` +} diff --git a/pkg/service/backend/menuStruct.go b/pkg/service/backend/menuStruct.go new file mode 100644 index 0000000..02e5677 --- /dev/null +++ b/pkg/service/backend/menuStruct.go @@ -0,0 +1,19584 @@ +// Package backend ----------------------------- +// @file : menuStruct.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/1 14:46 +// ------------------------------------------- +package backend + +import ( + "encoding/json" + "github.com/gin-gonic/gin" +) + +func MenusGet(c *gin.Context) { + var tempRouters = []byte(` +{ + "AllMenus": [ + { + "ID": 51, + "Type": "menu", + "Pid": 0, + "Title": "首页", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/431a56ff-0fcb-4cb8-89f5-63a04e74246f.png", + "Url": "/home", + "Method": "*", + "Weigh": 100, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 52, + "Type": "menu", + "Pid": 0, + "Title": "画家管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/cce3d3f9-196c-456c-b338-bc406c4e27db.png", + "Url": "/asArtist", + "Method": "*", + "Weigh": 99, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 53, + "Type": "menu", + "Pid": 0, + "Title": "画作系统", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/aac72df9-c936-4e55-ab9a-e6ecdbdc6f11.png", + "Url": "/asArtwork", + "Method": "*", + "Weigh": 98, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 54, + "Type": "menu", + "Pid": 0, + "Title": "审批申请", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/09291748-6cd8-4de9-acf2-8d902247a8c7.png", + "Url": "/approval", + "Method": "*", + "Weigh": 97, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 55, + "Type": "menu", + "Pid": 0, + "Title": "操作日志", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/88fdbe39-1a87-4f4d-829b-77f9d191d4f2.png", + "Url": "/operation", + "Method": "*", + "Weigh": 96, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 57, + "Type": "menu", + "Pid": 0, + "Title": "画展包", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/65015403-f999-4772-a328-c4afd5ae5f7d.png", + "Url": "/artExhibition", + "Method": "*", + "Weigh": 95, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 238, + "Type": "menu", + "Pid": 0, + "Title": "艺树商城", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/488d18f2-33bc-40ec-a666-3215b5282599.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 234, + "Type": "menu", + "Pid": 0, + "Title": "画家宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/ff0f7156-a651-4aaa-a943-f7a20eed57c0.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 239, + "Type": "menu", + "Pid": 0, + "Title": "销售宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/6d021b7f-9836-4886-a888-1246aa9025ab.png", + "Url": "", + "Method": "*", + "Weigh": 79, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 199, + "Type": "menu", + "Pid": 234, + "Title": "画家宝画家", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/f4917016-5cb9-4f15-b4ab-0217f52a7fc8.png", + "Url": "/paintersideartist", + "Method": "*", + "Weigh": 44, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 200, + "Type": "menu", + "Pid": 234, + "Title": "基本画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/a3d31c16-53f1-4811-a763-bb271c933cd4.png", + "Url": "/paintersideartwork", + "Method": "*", + "Weigh": 43, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 220, + "Type": "menu", + "Pid": 234, + "Title": "画作补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/887b5aa7-9aff-4abb-867a-b37ca70a3d6d.png", + "Url": "/paintersideextraartwork", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 215, + "Type": "menu", + "Pid": 234, + "Title": "视频资料", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/cd8f81e0-5416-4625-a15b-37ede65dbc75.png", + "Url": "/paintersideextravideo", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 219, + "Type": "menu", + "Pid": 234, + "Title": "画家补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/dd4a3142-3b56-40a7-af2b-dd477a26df46.png", + "Url": "/paintersideextraartist", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 216, + "Type": "menu", + "Pid": 234, + "Title": "画家指数", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/85707c50-33f7-4bbe-9058-9999802213a7.png", + "Url": "/paintersideextraissue", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 201, + "Type": "menu", + "Pid": 234, + "Title": "画家宝合同", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/86571797-1202-40aa-a95a-829cb27e351f.png", + "Url": "/paintersidecontract", + "Method": "*", + "Weigh": 40, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 214, + "Type": "menu", + "Pid": 234, + "Title": "合同画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2885febd-2848-4193-8771-275d2d479d02.png", + "Url": "/paintersideconartwork", + "Method": "*", + "Weigh": 39, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 221, + "Type": "menu", + "Pid": 234, + "Title": "版权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2ad64f9f-42a1-43b4-974a-45097ca90a75.png", + "Url": "/paintersidereceiptcopy", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 209, + "Type": "menu", + "Pid": 234, + "Title": "物权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/3df69ba3-edc1-49f1-be28-ff59ef9fa249.png", + "Url": "/paintersidereceipt", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 217, + "Type": "menu", + "Pid": 234, + "Title": "邀请关系", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/291c8026-8759-4ee5-93e7-3728e03f4d0c.png", + "Url": "/inviteindex", + "Method": "*", + "Weigh": 37, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 218, + "Type": "menu", + "Pid": 234, + "Title": "邀请人", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/c2ec0b16-f5cd-4833-948a-45a87fcd3ac5.png", + "Url": "/inviteperindex", + "Method": "*", + "Weigh": 36, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 194, + "Type": "menu", + "Pid": 238, + "Title": "销售情况", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/88b00b46-accd-4964-a35c-cafc3889c107.png", + "Url": "sale", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 190, + "Type": "menu", + "Pid": 238, + "Title": "品牌方加入", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/406a2f85-d559-441b-afaa-291ba507bb98.png", + "Url": "/brandentry", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 191, + "Type": "menu", + "Pid": 238, + "Title": "系列发布", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/e00b9263-c6e5-49fe-9c8f-de6ab7b62e07.png", + "Url": "/seriesrelease", + "Method": "*", + "Weigh": 23, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 180, + "Type": "menu", + "Pid": 239, + "Title": "出纳管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f76bf9b5-34da-4908-9c23-f4aa8f5893e3.png", + "Url": "/safecashiers", + "Method": "*", + "Weigh": 20, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 181, + "Type": "menu", + "Pid": 239, + "Title": "内控管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f9f58cd7-3774-486e-bd3d-6f3543ef5288.png", + "Url": "/safecontrol", + "Method": "*", + "Weigh": 19, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 182, + "Type": "menu", + "Pid": 239, + "Title": "财务管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/ee74351f-777d-4ed3-b417-b965e0c3f7be.png", + "Url": "/safefinance", + "Method": "*", + "Weigh": 17, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 143, + "Type": "menu", + "Pid": 239, + "Title": "销售宝列表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/935425de-375f-4867-ac96-1a2b5b251a62.png", + "Url": "/salebot", + "Method": "*", + "Weigh": 15, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 169, + "Type": "menu", + "Pid": 0, + "Title": "区块链抽奖", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/792d0540-7a8b-4de1-8c67-420bb6fb809e.png", + "Url": "/certmsg", + "Method": "*", + "Weigh": 10, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 248, + "Type": "menu", + "Pid": 0, + "Title": "会场签到", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/9a4833d1-d780-4c5d-88ab-3a94fb491352.png", + "Url": "/checkindex", + "Method": "*", + "Weigh": 9, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 249, + "Type": "menu", + "Pid": 0, + "Title": "画展包审核表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/d5f28ebb-5792-4e14-974c-66199c93f0e0.png", + "Url": "/artexhapprove", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 56, + "Type": "menu", + "Pid": 0, + "Title": "权限设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/1c7ffc96-e42f-4429-b42d-0b873c0f238d.png", + "Url": "/permission", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 67, + "Type": "menu", + "Pid": 0, + "Title": "设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/91bdf052-5bd0-46a6-b6d8-15197a8ddc46.png", + "Url": "/setting", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + } + ], + "AllRules": [ + { + "ID": 51, + "Type": "menu", + "Pid": 0, + "Title": "首页", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/431a56ff-0fcb-4cb8-89f5-63a04e74246f.png", + "Url": "/home", + "Method": "*", + "Weigh": 100, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 52, + "Type": "menu", + "Pid": 0, + "Title": "画家管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/cce3d3f9-196c-456c-b338-bc406c4e27db.png", + "Url": "/asArtist", + "Method": "*", + "Weigh": 99, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 53, + "Type": "menu", + "Pid": 0, + "Title": "画作系统", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/aac72df9-c936-4e55-ab9a-e6ecdbdc6f11.png", + "Url": "/asArtwork", + "Method": "*", + "Weigh": 98, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 54, + "Type": "menu", + "Pid": 0, + "Title": "审批申请", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/09291748-6cd8-4de9-acf2-8d902247a8c7.png", + "Url": "/approval", + "Method": "*", + "Weigh": 97, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 55, + "Type": "menu", + "Pid": 0, + "Title": "操作日志", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/88fdbe39-1a87-4f4d-829b-77f9d191d4f2.png", + "Url": "/operation", + "Method": "*", + "Weigh": 96, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 57, + "Type": "menu", + "Pid": 0, + "Title": "画展包", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/65015403-f999-4772-a328-c4afd5ae5f7d.png", + "Url": "/artExhibition", + "Method": "*", + "Weigh": 95, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 238, + "Type": "menu", + "Pid": 0, + "Title": "艺树商城", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/488d18f2-33bc-40ec-a666-3215b5282599.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 234, + "Type": "menu", + "Pid": 0, + "Title": "画家宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/ff0f7156-a651-4aaa-a943-f7a20eed57c0.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 239, + "Type": "menu", + "Pid": 0, + "Title": "销售宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/6d021b7f-9836-4886-a888-1246aa9025ab.png", + "Url": "", + "Method": "*", + "Weigh": 79, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 199, + "Type": "menu", + "Pid": 234, + "Title": "画家宝画家", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/f4917016-5cb9-4f15-b4ab-0217f52a7fc8.png", + "Url": "/paintersideartist", + "Method": "*", + "Weigh": 44, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 200, + "Type": "menu", + "Pid": 234, + "Title": "基本画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/a3d31c16-53f1-4811-a763-bb271c933cd4.png", + "Url": "/paintersideartwork", + "Method": "*", + "Weigh": 43, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 220, + "Type": "menu", + "Pid": 234, + "Title": "画作补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/887b5aa7-9aff-4abb-867a-b37ca70a3d6d.png", + "Url": "/paintersideextraartwork", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 215, + "Type": "menu", + "Pid": 234, + "Title": "视频资料", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/cd8f81e0-5416-4625-a15b-37ede65dbc75.png", + "Url": "/paintersideextravideo", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 219, + "Type": "menu", + "Pid": 234, + "Title": "画家补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/dd4a3142-3b56-40a7-af2b-dd477a26df46.png", + "Url": "/paintersideextraartist", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 216, + "Type": "menu", + "Pid": 234, + "Title": "画家指数", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/85707c50-33f7-4bbe-9058-9999802213a7.png", + "Url": "/paintersideextraissue", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 201, + "Type": "menu", + "Pid": 234, + "Title": "画家宝合同", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/86571797-1202-40aa-a95a-829cb27e351f.png", + "Url": "/paintersidecontract", + "Method": "*", + "Weigh": 40, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 214, + "Type": "menu", + "Pid": 234, + "Title": "合同画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2885febd-2848-4193-8771-275d2d479d02.png", + "Url": "/paintersideconartwork", + "Method": "*", + "Weigh": 39, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 221, + "Type": "menu", + "Pid": 234, + "Title": "版权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2ad64f9f-42a1-43b4-974a-45097ca90a75.png", + "Url": "/paintersidereceiptcopy", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 209, + "Type": "menu", + "Pid": 234, + "Title": "物权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/3df69ba3-edc1-49f1-be28-ff59ef9fa249.png", + "Url": "/paintersidereceipt", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 217, + "Type": "menu", + "Pid": 234, + "Title": "邀请关系", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/291c8026-8759-4ee5-93e7-3728e03f4d0c.png", + "Url": "/inviteindex", + "Method": "*", + "Weigh": 37, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 218, + "Type": "menu", + "Pid": 234, + "Title": "邀请人", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/c2ec0b16-f5cd-4833-948a-45a87fcd3ac5.png", + "Url": "/inviteperindex", + "Method": "*", + "Weigh": 36, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 194, + "Type": "menu", + "Pid": 238, + "Title": "销售情况", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/88b00b46-accd-4964-a35c-cafc3889c107.png", + "Url": "sale", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 190, + "Type": "menu", + "Pid": 238, + "Title": "品牌方加入", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/406a2f85-d559-441b-afaa-291ba507bb98.png", + "Url": "/brandentry", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 191, + "Type": "menu", + "Pid": 238, + "Title": "系列发布", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/e00b9263-c6e5-49fe-9c8f-de6ab7b62e07.png", + "Url": "/seriesrelease", + "Method": "*", + "Weigh": 23, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 180, + "Type": "menu", + "Pid": 239, + "Title": "出纳管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f76bf9b5-34da-4908-9c23-f4aa8f5893e3.png", + "Url": "/safecashiers", + "Method": "*", + "Weigh": 20, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 181, + "Type": "menu", + "Pid": 239, + "Title": "内控管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f9f58cd7-3774-486e-bd3d-6f3543ef5288.png", + "Url": "/safecontrol", + "Method": "*", + "Weigh": 19, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 182, + "Type": "menu", + "Pid": 239, + "Title": "财务管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/ee74351f-777d-4ed3-b417-b965e0c3f7be.png", + "Url": "/safefinance", + "Method": "*", + "Weigh": 17, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 143, + "Type": "menu", + "Pid": 239, + "Title": "销售宝列表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/935425de-375f-4867-ac96-1a2b5b251a62.png", + "Url": "/salebot", + "Method": "*", + "Weigh": 15, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 169, + "Type": "menu", + "Pid": 0, + "Title": "区块链抽奖", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/792d0540-7a8b-4de1-8c67-420bb6fb809e.png", + "Url": "/certmsg", + "Method": "*", + "Weigh": 10, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 248, + "Type": "menu", + "Pid": 0, + "Title": "会场签到", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/9a4833d1-d780-4c5d-88ab-3a94fb491352.png", + "Url": "/checkindex", + "Method": "*", + "Weigh": 9, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 249, + "Type": "menu", + "Pid": 0, + "Title": "画展包审核表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/d5f28ebb-5792-4e14-974c-66199c93f0e0.png", + "Url": "/artexhapprove", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 56, + "Type": "menu", + "Pid": 0, + "Title": "权限设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/1c7ffc96-e42f-4429-b42d-0b873c0f238d.png", + "Url": "/permission", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 252, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 完成", + "Icon": "", + "Url": "r_artexhapprove_index_btn_finish", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 251, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 确认", + "Icon": "", + "Url": "r_artexhapprove_index_btn_confirm", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 250, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 导出", + "Icon": "", + "Url": "r_artexhapprove_index_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 247, + "Type": "button", + "Pid": 53, + "Title": "下载证书权限", + "Icon": "", + "Url": "quick-work-download", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 246, + "Type": "button", + "Pid": 53, + "Title": "澄信链上链权限", + "Icon": "", + "Url": "chengxin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 245, + "Type": "button", + "Pid": 53, + "Title": "超级链上链权限", + "Icon": "", + "Url": "chaoji", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 244, + "Type": "button", + "Pid": 53, + "Title": "梧桐链上链权限", + "Icon": "", + "Url": "wutong", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 243, + "Type": "button", + "Pid": 51, + "Title": "画展包审批权限", + "Icon": "", + "Url": "exhibition_show_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 242, + "Type": "button", + "Pid": 51, + "Title": "画展包内部权限", + "Icon": "", + "Url": "exhibition_inside_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 241, + "Type": "button", + "Pid": 57, + "Title": "画展包底价权限", + "Icon": "", + "Url": "art_package_price", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 240, + "Type": "button", + "Pid": 181, + "Title": "内控 下载导入模板", + "Icon": "", + "Url": "safecontrol_btn_down_exportexcel", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 228, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_verifyedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 227, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_verifydelete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 226, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 验证", + "Icon": "", + "Url": "r_artwork_view_verify_page", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 225, + "Type": "button", + "Pid": 51, + "Title": "首页下方查看权限", + "Icon": "", + "Url": "home_bottom", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 224, + "Type": "button", + "Pid": 51, + "Title": "首页上方查看权限", + "Icon": "", + "Url": "home_top", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 223, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 画作名称字端", + "Icon": "", + "Url": "r_artwork_view_field_ArtworkName", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 222, + "Type": "button", + "Pid": 56, + "Title": "部门主管权限", + "Icon": "", + "Url": "department_boss_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 213, + "Type": "interface", + "Pid": 51, + "Title": "首页待办事项已阅api", + "Icon": "", + "Url": "workbench/schedule-read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "[\"*\"]" + ], + "Name": "首页待办事项已阅api", + "ID": 17 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 212, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 已阅读", + "Icon": "", + "Url": "r_home_todo_api_read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 211, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 编辑", + "Icon": "", + "Url": "r_home_todo_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 210, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 创建", + "Icon": "", + "Url": "r_home_todo_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 208, + "Type": "button", + "Pid": 191, + "Title": "藏品 删除", + "Icon": "", + "Url": "r_shopitem_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 207, + "Type": "button", + "Pid": 191, + "Title": "藏品 编辑", + "Icon": "", + "Url": "r_shopitem_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 206, + "Type": "button", + "Pid": 191, + "Title": "藏品 创建", + "Icon": "", + "Url": "r_shopitem_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 205, + "Type": "button", + "Pid": 191, + "Title": "系列发布 删除", + "Icon": "", + "Url": "r_series_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 204, + "Type": "button", + "Pid": 191, + "Title": "系列发布 编辑", + "Icon": "", + "Url": "r_series_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 203, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 删除", + "Icon": "", + "Url": "r_brand_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 202, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 编辑", + "Icon": "", + "Url": "r_brand_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 197, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 创建", + "Icon": "", + "Url": "r_brand_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 195, + "Type": "button", + "Pid": 191, + "Title": "系列发布 创建", + "Icon": "", + "Url": "r_series_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 193, + "Type": "button", + "Pid": 181, + "Title": "内控 导入", + "Icon": "", + "Url": "safecontrol_btn_exportin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 189, + "Type": "button", + "Pid": 182, + "Title": "财务确认", + "Icon": "", + "Url": "safefinance_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 188, + "Type": "button", + "Pid": 181, + "Title": "内控确认", + "Icon": "", + "Url": "safecontrol_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 187, + "Type": "button", + "Pid": 57, + "Title": "画展包润格编辑权限", + "Icon": "", + "Url": "art_package_reward", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 186, + "Type": "button", + "Pid": 182, + "Title": "财务导出", + "Icon": "", + "Url": "safefinance_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 185, + "Type": "button", + "Pid": 182, + "Title": "财务批量编辑", + "Icon": "", + "Url": "safefinance_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 184, + "Type": "button", + "Pid": 181, + "Title": "内控批量编辑", + "Icon": "", + "Url": "safecontrol_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 183, + "Type": "button", + "Pid": 180, + "Title": "出纳确认", + "Icon": "", + "Url": "safecashiers_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 179, + "Type": "button", + "Pid": 52, + "Title": "画家详情_画展资料", + "Icon": "", + "Url": "artist_artExhibition", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 178, + "Type": "button", + "Pid": 52, + "Title": "画家_导出图片等资源", + "Icon": "", + "Url": "artist_downloadExport", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 177, + "Type": "button", + "Pid": 67, + "Title": "司机权限", + "Icon": "", + "Url": "ge_diver_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 176, + "Type": "button", + "Pid": 169, + "Title": "区块链抽奖 创建", + "Icon": "", + "Url": "r_salebot_index_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 175, + "Type": "interface", + "Pid": 55, + "Title": "测试1", + "Icon": "", + "Url": "/test/test", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "id" + ], + "Name": "测试1", + "ID": 15 + }, + { + "DataField": [ + "id" + ], + "Name": "测试2", + "ID": 16 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 141, + "Type": "button", + "Pid": 54, + "Title": "审批列表阅读查看详情", + "Icon": "", + "Url": "approval_table_read_detail_btn", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 67, + "Type": "menu", + "Pid": 0, + "Title": "设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/91bdf052-5bd0-46a6-b6d8-15197a8ddc46.png", + "Url": "/setting", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 174, + "Type": "button", + "Pid": 169, + "Title": "区块链 下载证书", + "Icon": "", + "Url": "r_salebot_index_btn_cert_down", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 173, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-员工", + "Icon": "", + "Url": "seller_mobile_staff_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 172, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-总监", + "Icon": "", + "Url": "seller_mobile_boss_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 171, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 标签", + "Icon": "", + "Url": "r_artwork_view_copy_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 170, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_copyrightedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 168, + "Type": "button", + "Pid": 53, + "Title": "画作 导出画作数据", + "Icon": "", + "Url": "r_artwork_export_artwork", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 166, + "Type": "button", + "Pid": 143, + "Title": "销售宝 导出站点数据", + "Icon": "", + "Url": "r_salebot_btn_site_export", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 165, + "Type": "button", + "Pid": 143, + "Title": "销售宝 查看报表", + "Icon": "", + "Url": "r_salebot_index_btn_site", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 164, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 留言板", + "Icon": "", + "Url": "r_artwork_view_message", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 163, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 日志", + "Icon": "", + "Url": "r_artwork_view_log", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 162, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 仓储信息", + "Icon": "", + "Url": "r_artwork_view_ware_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 161, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 鉴证信息", + "Icon": "", + "Url": "r_artwork_view_auth_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 160, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 标签信息", + "Icon": "", + "Url": "r_artwork_view_tag_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 159, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 数字化信息", + "Icon": "", + "Url": "r_artwork_view_digit_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 158, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 市场信息", + "Icon": "", + "Url": "r_artwork_view_market_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 157, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 补充信息", + "Icon": "", + "Url": "r_artwork_view_extra_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 156, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 基本信息", + "Icon": "", + "Url": "r_artwork_view_basic_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 155, + "Type": "button", + "Pid": 57, + "Title": "画展包查看", + "Icon": "", + "Url": "artExhibition_see", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 154, + "Type": "button", + "Pid": 57, + "Title": "画展包生成", + "Icon": "", + "Url": "artExhibition_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 153, + "Type": "button", + "Pid": 57, + "Title": "画展包分配权限", + "Icon": "", + "Url": "artExhibition_give", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 152, + "Type": "button", + "Pid": 52, + "Title": "查看画家邀请函", + "Icon": "", + "Url": "artist_InviteList_check", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 151, + "Type": "button", + "Pid": 52, + "Title": "复制画家邀请函", + "Icon": "", + "Url": "artist_InviteList_copy", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 150, + "Type": "button", + "Pid": 52, + "Title": "删除画家邀请函", + "Icon": "", + "Url": "artist_InviteList_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 149, + "Type": "button", + "Pid": 52, + "Title": "修改画家邀请函", + "Icon": "", + "Url": "artist_InviteList_update", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 148, + "Type": "button", + "Pid": 52, + "Title": "添加画家邀请函", + "Icon": "", + "Url": "artist_InviteList_add", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 147, + "Type": "button", + "Pid": 52, + "Title": "导出画家基本信息", + "Icon": "", + "Url": "artist_downloadExcel", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 146, + "Type": "button", + "Pid": 51, + "Title": "仓库货架权限", + "Icon": "", + "Url": "storeBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 145, + "Type": "button", + "Pid": 51, + "Title": "主管工作台权限", + "Icon": "", + "Url": "masterBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 144, + "Type": "button", + "Pid": 51, + "Title": "快速工作台权限", + "Icon": "", + "Url": "fastBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 142, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 发起公告", + "Icon": "", + "Url": "r_artwork_view_btn_createnote", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 140, + "Type": "button", + "Pid": 54, + "Title": "审批列表删除按钮权限", + "Icon": "", + "Url": "approval_table_del_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 139, + "Type": "button", + "Pid": 54, + "Title": "审批列表详情按钮权限", + "Icon": "", + "Url": "approval_table_detail_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 138, + "Type": "button", + "Pid": 54, + "Title": "删除类目", + "Icon": "", + "Url": "del_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 137, + "Type": "button", + "Pid": 54, + "Title": "编辑类目", + "Icon": "", + "Url": "edit_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 136, + "Type": "button", + "Pid": 54, + "Title": "添加新的类目按钮", + "Icon": "", + "Url": "add_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 135, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 134, + "Type": "button", + "Pid": 54, + "Title": "审批提交按钮权限", + "Icon": "", + "Url": "approval_submit_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 133, + "Type": "button", + "Pid": 54, + "Title": "画作分配按钮权限", + "Icon": "", + "Url": "artwork_distribute_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 132, + "Type": "button", + "Pid": 54, + "Title": "审批类型按钮权限", + "Icon": "", + "Url": "approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 131, + "Type": "button", + "Pid": 54, + "Title": "设置审批人按钮权限", + "Icon": "", + "Url": "approval_set_per_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 130, + "Type": "button", + "Pid": 54, + "Title": "审批按钮", + "Icon": "", + "Url": "approval_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 129, + "Type": "button", + "Pid": 54, + "Title": "未通过审批跳转按钮", + "Icon": "", + "Url": "not_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 128, + "Type": "button", + "Pid": 54, + "Title": "审批完成跳转按钮", + "Icon": "", + "Url": "complted_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 127, + "Type": "button", + "Pid": 54, + "Title": "正在审批跳转按钮", + "Icon": "", + "Url": "is_approvaling_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 126, + "Type": "button", + "Pid": 54, + "Title": "已提交审批跳转按钮", + "Icon": "", + "Url": "has_approvaled_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 125, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 删除", + "Icon": "", + "Url": "r_artwork_view_btn_waredelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 124, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_wareedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 123, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 创建", + "Icon": "", + "Url": "r_artwork_view_btn_warecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 122, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_authdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 121, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_authedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 119, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 删除", + "Icon": "", + "Url": "r_artwork_view_btn_tagdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 118, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_tagedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 117, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 创建", + "Icon": "", + "Url": "r_artwork_view_btn_tagcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 116, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 删除", + "Icon": "", + "Url": "r_artwork_view_btn_digetdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 115, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_digetedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 114, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 创建", + "Icon": "", + "Url": "r_artwork_view_btn_digetcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 113, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 删除", + "Icon": "", + "Url": "r_artwork_view_btn_marketdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 112, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_marketedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 111, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 创建", + "Icon": "", + "Url": "r_artwork_view_btn_marketcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 110, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_extradelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 109, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_extraedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 108, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_extracreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 107, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_basedelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 106, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_baseedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 105, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_basecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 104, + "Type": "button", + "Pid": 53, + "Title": "画作列表 批量上传", + "Icon": "", + "Url": "r_artwork_index_btn_batchupload", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 103, + "Type": "button", + "Pid": 53, + "Title": "画作列表 创建", + "Icon": "", + "Url": "r_artwork_index_btn_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 102, + "Type": "interface", + "Pid": 54, + "Title": "审批信息", + "Icon": "", + "Url": "/approval/information", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "*" + ], + "Name": "所有", + "ID": 13 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 100, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 99, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 98, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 97, + "Type": "button", + "Pid": 52, + "Title": "创建画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 96, + "Type": "button", + "Pid": 52, + "Title": "创建画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 95, + "Type": "button", + "Pid": 52, + "Title": "创建画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 94, + "Type": "button", + "Pid": 52, + "Title": "创建画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 92, + "Type": "button", + "Pid": 67, + "Title": "设置v2", + "Icon": "", + "Url": "设置v2", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 90, + "Type": "interface", + "Pid": 55, + "Title": "操作日志表格时间段列", + "Icon": "", + "Url": "/log/loglist", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "DepartmentName", + "Domain", + "LogGrade", + "LogId", + "Method", + "Name", + "PositionName", + "Url" + ], + "Name": "没有时间", + "ID": 10 + }, + { + "DataField": [ + "*" + ], + "Name": "全部", + "ID": 11 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 87, + "Type": "button", + "Pid": 52, + "Title": "画家详情-合同数据", + "Icon": "", + "Url": "artist_contractInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 86, + "Type": "button", + "Pid": 52, + "Title": "画家详情-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 85, + "Type": "button", + "Pid": 52, + "Title": "画家详情-图像资料", + "Icon": "", + "Url": "artist_photoInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 82, + "Type": "button", + "Pid": 52, + "Title": "画家详情-基础资料", + "Icon": "", + "Url": "artist_basicInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 80, + "Type": "button", + "Pid": 52, + "Title": "删除画家", + "Icon": "", + "Url": "artist_list_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 79, + "Type": "button", + "Pid": 51, + "Title": "工作台权限", + "Icon": "", + "Url": "workBentch", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 76, + "Type": "button", + "Pid": 52, + "Title": "画家详情", + "Icon": "", + "Url": "artist_list_detail", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 75, + "Type": "button", + "Pid": 52, + "Title": "画家列表搜索", + "Icon": "", + "Url": "artist_list_search", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 73, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格数据详情", + "Icon": "", + "Url": "r_artwork_index_btn_view", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 72, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格单行删除", + "Icon": "", + "Url": "r_artwork_index_btn_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 71, + "Type": "button", + "Pid": 56, + "Title": "新增员工", + "Icon": "", + "Url": "addUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 70, + "Type": "button", + "Pid": 56, + "Title": "新增岗位", + "Icon": "", + "Url": "addPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 69, + "Type": "button", + "Pid": 56, + "Title": "创建部门", + "Icon": "", + "Url": "createDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 66, + "Type": "interface", + "Pid": 52, + "Title": "画家列表", + "Icon": "", + "Url": "/asArtist/list", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName", + "BankNum", + "Seqnum", + "Num", + "Address", + "Student", + "StyleFaction" + ], + "Name": "管理层", + "ID": 7 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName" + ], + "Name": "员工层", + "ID": 8 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 65, + "Type": "interface", + "Pid": 13, + "Title": "部门删除2221222", + "Icon": "image", + "Url": "/department/Remove121", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "click-share-button", + "RuleData": [ + { + "DataField": [ + "id", + "name" + ], + "Name": "管理权限", + "ID": 5 + }, + { + "DataField": [ + "id" + ], + "Name": "权限", + "ID": 6 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 64, + "Type": "interface", + "Pid": 52, + "Title": "测试列表", + "Icon": "", + "Url": "/asArtist/list222", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email" + ], + "Name": "仓库查看字段", + "ID": 3 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email", + "Num" + ], + "Name": "数字化查看字段", + "ID": 4 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 62, + "Type": "button", + "Pid": 56, + "Title": "查看日志", + "Icon": "", + "Url": "checkLog", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 61, + "Type": "button", + "Pid": 56, + "Title": "编辑员工", + "Icon": "", + "Url": "editUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 60, + "Type": "button", + "Pid": 56, + "Title": "编辑岗位", + "Icon": "", + "Url": "editPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 59, + "Type": "button", + "Pid": 56, + "Title": "编辑部门", + "Icon": "", + "Url": "editDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 58, + "Type": "button", + "Pid": 56, + "Title": "编辑权限", + "Icon": "", + "Url": "editRule", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "AllInterfaceRules": [ + { + "ID": 213, + "Type": "interface", + "Pid": 51, + "Title": "首页待办事项已阅api", + "Icon": "", + "Url": "workbench/schedule-read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "[\"*\"]" + ], + "Name": "首页待办事项已阅api", + "ID": 17 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 175, + "Type": "interface", + "Pid": 55, + "Title": "测试1", + "Icon": "", + "Url": "/test/test", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "id" + ], + "Name": "测试1", + "ID": 15 + }, + { + "DataField": [ + "id" + ], + "Name": "测试2", + "ID": 16 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 102, + "Type": "interface", + "Pid": 54, + "Title": "审批信息", + "Icon": "", + "Url": "/approval/information", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "*" + ], + "Name": "所有", + "ID": 13 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 90, + "Type": "interface", + "Pid": 55, + "Title": "操作日志表格时间段列", + "Icon": "", + "Url": "/log/loglist", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "DepartmentName", + "Domain", + "LogGrade", + "LogId", + "Method", + "Name", + "PositionName", + "Url" + ], + "Name": "没有时间", + "ID": 10 + }, + { + "DataField": [ + "*" + ], + "Name": "全部", + "ID": 11 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 66, + "Type": "interface", + "Pid": 52, + "Title": "画家列表", + "Icon": "", + "Url": "/asArtist/list", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName", + "BankNum", + "Seqnum", + "Num", + "Address", + "Student", + "StyleFaction" + ], + "Name": "管理层", + "ID": 7 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName" + ], + "Name": "员工层", + "ID": 8 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 65, + "Type": "interface", + "Pid": 13, + "Title": "部门删除2221222", + "Icon": "image", + "Url": "/department/Remove121", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "click-share-button", + "RuleData": [ + { + "DataField": [ + "id", + "name" + ], + "Name": "管理权限", + "ID": 5 + }, + { + "DataField": [ + "id" + ], + "Name": "权限", + "ID": 6 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 64, + "Type": "interface", + "Pid": 52, + "Title": "测试列表", + "Icon": "", + "Url": "/asArtist/list222", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email" + ], + "Name": "仓库查看字段", + "ID": 3 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email", + "Num" + ], + "Name": "数字化查看字段", + "ID": 4 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "MyMenuAuths": [ + { + "ID": 51, + "Type": "menu", + "Pid": 0, + "Title": "首页", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/431a56ff-0fcb-4cb8-89f5-63a04e74246f.png", + "Url": "/home", + "Method": "*", + "Weigh": 100, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 52, + "Type": "menu", + "Pid": 0, + "Title": "画家管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/cce3d3f9-196c-456c-b338-bc406c4e27db.png", + "Url": "/asArtist", + "Method": "*", + "Weigh": 99, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 53, + "Type": "menu", + "Pid": 0, + "Title": "画作系统", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/aac72df9-c936-4e55-ab9a-e6ecdbdc6f11.png", + "Url": "/asArtwork", + "Method": "*", + "Weigh": 98, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 54, + "Type": "menu", + "Pid": 0, + "Title": "审批申请", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/09291748-6cd8-4de9-acf2-8d902247a8c7.png", + "Url": "/approval", + "Method": "*", + "Weigh": 97, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 55, + "Type": "menu", + "Pid": 0, + "Title": "操作日志", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/88fdbe39-1a87-4f4d-829b-77f9d191d4f2.png", + "Url": "/operation", + "Method": "*", + "Weigh": 96, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 57, + "Type": "menu", + "Pid": 0, + "Title": "画展包", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/65015403-f999-4772-a328-c4afd5ae5f7d.png", + "Url": "/artExhibition", + "Method": "*", + "Weigh": 95, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 238, + "Type": "menu", + "Pid": 0, + "Title": "艺树商城", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/488d18f2-33bc-40ec-a666-3215b5282599.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 194, + "Type": "menu", + "Pid": 238, + "Title": "销售情况", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/88b00b46-accd-4964-a35c-cafc3889c107.png", + "Url": "sale", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 190, + "Type": "menu", + "Pid": 238, + "Title": "品牌方加入", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/406a2f85-d559-441b-afaa-291ba507bb98.png", + "Url": "/brandentry", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 191, + "Type": "menu", + "Pid": 238, + "Title": "系列发布", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/e00b9263-c6e5-49fe-9c8f-de6ab7b62e07.png", + "Url": "/seriesrelease", + "Method": "*", + "Weigh": 23, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 234, + "Type": "menu", + "Pid": 0, + "Title": "画家宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/ff0f7156-a651-4aaa-a943-f7a20eed57c0.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 199, + "Type": "menu", + "Pid": 234, + "Title": "画家宝画家", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/f4917016-5cb9-4f15-b4ab-0217f52a7fc8.png", + "Url": "/paintersideartist", + "Method": "*", + "Weigh": 44, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 200, + "Type": "menu", + "Pid": 234, + "Title": "基本画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/a3d31c16-53f1-4811-a763-bb271c933cd4.png", + "Url": "/paintersideartwork", + "Method": "*", + "Weigh": 43, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 220, + "Type": "menu", + "Pid": 234, + "Title": "画作补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/887b5aa7-9aff-4abb-867a-b37ca70a3d6d.png", + "Url": "/paintersideextraartwork", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 215, + "Type": "menu", + "Pid": 234, + "Title": "视频资料", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/cd8f81e0-5416-4625-a15b-37ede65dbc75.png", + "Url": "/paintersideextravideo", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 219, + "Type": "menu", + "Pid": 234, + "Title": "画家补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/dd4a3142-3b56-40a7-af2b-dd477a26df46.png", + "Url": "/paintersideextraartist", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 216, + "Type": "menu", + "Pid": 234, + "Title": "画家指数", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/85707c50-33f7-4bbe-9058-9999802213a7.png", + "Url": "/paintersideextraissue", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 201, + "Type": "menu", + "Pid": 234, + "Title": "画家宝合同", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/86571797-1202-40aa-a95a-829cb27e351f.png", + "Url": "/paintersidecontract", + "Method": "*", + "Weigh": 40, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 214, + "Type": "menu", + "Pid": 234, + "Title": "合同画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2885febd-2848-4193-8771-275d2d479d02.png", + "Url": "/paintersideconartwork", + "Method": "*", + "Weigh": 39, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 221, + "Type": "menu", + "Pid": 234, + "Title": "版权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2ad64f9f-42a1-43b4-974a-45097ca90a75.png", + "Url": "/paintersidereceiptcopy", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 209, + "Type": "menu", + "Pid": 234, + "Title": "物权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/3df69ba3-edc1-49f1-be28-ff59ef9fa249.png", + "Url": "/paintersidereceipt", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 217, + "Type": "menu", + "Pid": 234, + "Title": "邀请关系", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/291c8026-8759-4ee5-93e7-3728e03f4d0c.png", + "Url": "/inviteindex", + "Method": "*", + "Weigh": 37, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 218, + "Type": "menu", + "Pid": 234, + "Title": "邀请人", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/c2ec0b16-f5cd-4833-948a-45a87fcd3ac5.png", + "Url": "/inviteperindex", + "Method": "*", + "Weigh": 36, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 239, + "Type": "menu", + "Pid": 0, + "Title": "销售宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/6d021b7f-9836-4886-a888-1246aa9025ab.png", + "Url": "", + "Method": "*", + "Weigh": 79, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 180, + "Type": "menu", + "Pid": 239, + "Title": "出纳管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f76bf9b5-34da-4908-9c23-f4aa8f5893e3.png", + "Url": "/safecashiers", + "Method": "*", + "Weigh": 20, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 181, + "Type": "menu", + "Pid": 239, + "Title": "内控管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f9f58cd7-3774-486e-bd3d-6f3543ef5288.png", + "Url": "/safecontrol", + "Method": "*", + "Weigh": 19, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 182, + "Type": "menu", + "Pid": 239, + "Title": "财务管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/ee74351f-777d-4ed3-b417-b965e0c3f7be.png", + "Url": "/safefinance", + "Method": "*", + "Weigh": 17, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 143, + "Type": "menu", + "Pid": 239, + "Title": "销售宝列表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/935425de-375f-4867-ac96-1a2b5b251a62.png", + "Url": "/salebot", + "Method": "*", + "Weigh": 15, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 169, + "Type": "menu", + "Pid": 0, + "Title": "区块链抽奖", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/792d0540-7a8b-4de1-8c67-420bb6fb809e.png", + "Url": "/certmsg", + "Method": "*", + "Weigh": 10, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 248, + "Type": "menu", + "Pid": 0, + "Title": "会场签到", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/9a4833d1-d780-4c5d-88ab-3a94fb491352.png", + "Url": "/checkindex", + "Method": "*", + "Weigh": 9, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 249, + "Type": "menu", + "Pid": 0, + "Title": "画展包审核表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/d5f28ebb-5792-4e14-974c-66199c93f0e0.png", + "Url": "/artexhapprove", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 56, + "Type": "menu", + "Pid": 0, + "Title": "权限设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/1c7ffc96-e42f-4429-b42d-0b873c0f238d.png", + "Url": "/permission", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 67, + "Type": "menu", + "Pid": 0, + "Title": "设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/91bdf052-5bd0-46a6-b6d8-15197a8ddc46.png", + "Url": "/setting", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + } + ], + "MyRules": [ + { + "ID": 51, + "Type": "menu", + "Pid": 0, + "Title": "首页", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/431a56ff-0fcb-4cb8-89f5-63a04e74246f.png", + "Url": "/home", + "Method": "*", + "Weigh": 100, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 52, + "Type": "menu", + "Pid": 0, + "Title": "画家管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/cce3d3f9-196c-456c-b338-bc406c4e27db.png", + "Url": "/asArtist", + "Method": "*", + "Weigh": 99, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 53, + "Type": "menu", + "Pid": 0, + "Title": "画作系统", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/aac72df9-c936-4e55-ab9a-e6ecdbdc6f11.png", + "Url": "/asArtwork", + "Method": "*", + "Weigh": 98, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 54, + "Type": "menu", + "Pid": 0, + "Title": "审批申请", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/09291748-6cd8-4de9-acf2-8d902247a8c7.png", + "Url": "/approval", + "Method": "*", + "Weigh": 97, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 55, + "Type": "menu", + "Pid": 0, + "Title": "操作日志", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/88fdbe39-1a87-4f4d-829b-77f9d191d4f2.png", + "Url": "/operation", + "Method": "*", + "Weigh": 96, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 56, + "Type": "menu", + "Pid": 0, + "Title": "权限设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/1c7ffc96-e42f-4429-b42d-0b873c0f238d.png", + "Url": "/permission", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 57, + "Type": "menu", + "Pid": 0, + "Title": "画展包", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/65015403-f999-4772-a328-c4afd5ae5f7d.png", + "Url": "/artExhibition", + "Method": "*", + "Weigh": 95, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 58, + "Type": "button", + "Pid": 56, + "Title": "编辑权限", + "Icon": "", + "Url": "editRule", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 59, + "Type": "button", + "Pid": 56, + "Title": "编辑部门", + "Icon": "", + "Url": "editDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 60, + "Type": "button", + "Pid": 56, + "Title": "编辑岗位", + "Icon": "", + "Url": "editPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 61, + "Type": "button", + "Pid": 56, + "Title": "编辑员工", + "Icon": "", + "Url": "editUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 62, + "Type": "button", + "Pid": 56, + "Title": "查看日志", + "Icon": "", + "Url": "checkLog", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 64, + "Type": "interface", + "Pid": 52, + "Title": "测试列表", + "Icon": "", + "Url": "/asArtist/list222", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 65, + "Type": "interface", + "Pid": 13, + "Title": "部门删除2221222", + "Icon": "image", + "Url": "/department/Remove121", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "click-share-button", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 66, + "Type": "interface", + "Pid": 52, + "Title": "画家列表", + "Icon": "", + "Url": "/asArtist/list", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 67, + "Type": "menu", + "Pid": 0, + "Title": "设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/91bdf052-5bd0-46a6-b6d8-15197a8ddc46.png", + "Url": "/setting", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 69, + "Type": "button", + "Pid": 56, + "Title": "创建部门", + "Icon": "", + "Url": "createDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 70, + "Type": "button", + "Pid": 56, + "Title": "新增岗位", + "Icon": "", + "Url": "addPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 71, + "Type": "button", + "Pid": 56, + "Title": "新增员工", + "Icon": "", + "Url": "addUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 72, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格单行删除", + "Icon": "", + "Url": "r_artwork_index_btn_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 73, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格数据详情", + "Icon": "", + "Url": "r_artwork_index_btn_view", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 75, + "Type": "button", + "Pid": 52, + "Title": "画家列表搜索", + "Icon": "", + "Url": "artist_list_search", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 76, + "Type": "button", + "Pid": 52, + "Title": "画家详情", + "Icon": "", + "Url": "artist_list_detail", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 79, + "Type": "button", + "Pid": 51, + "Title": "工作台权限", + "Icon": "", + "Url": "workBentch", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 80, + "Type": "button", + "Pid": 52, + "Title": "删除画家", + "Icon": "", + "Url": "artist_list_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 82, + "Type": "button", + "Pid": 52, + "Title": "画家详情-基础资料", + "Icon": "", + "Url": "artist_basicInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 85, + "Type": "button", + "Pid": 52, + "Title": "画家详情-图像资料", + "Icon": "", + "Url": "artist_photoInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 86, + "Type": "button", + "Pid": 52, + "Title": "画家详情-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 87, + "Type": "button", + "Pid": 52, + "Title": "画家详情-合同数据", + "Icon": "", + "Url": "artist_contractInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 90, + "Type": "interface", + "Pid": 55, + "Title": "操作日志表格时间段列", + "Icon": "", + "Url": "/log/loglist", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 92, + "Type": "button", + "Pid": 67, + "Title": "设置v2", + "Icon": "", + "Url": "设置v2", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 94, + "Type": "button", + "Pid": 52, + "Title": "创建画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 95, + "Type": "button", + "Pid": 52, + "Title": "创建画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 96, + "Type": "button", + "Pid": 52, + "Title": "创建画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 97, + "Type": "button", + "Pid": 52, + "Title": "创建画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 98, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 99, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 100, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 102, + "Type": "interface", + "Pid": 54, + "Title": "审批信息", + "Icon": "", + "Url": "/approval/information", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 103, + "Type": "button", + "Pid": 53, + "Title": "画作列表 创建", + "Icon": "", + "Url": "r_artwork_index_btn_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 104, + "Type": "button", + "Pid": 53, + "Title": "画作列表 批量上传", + "Icon": "", + "Url": "r_artwork_index_btn_batchupload", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 105, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_basecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 106, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_baseedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 107, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_basedelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 108, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_extracreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 109, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_extraedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 110, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_extradelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 111, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 创建", + "Icon": "", + "Url": "r_artwork_view_btn_marketcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 112, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_marketedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 113, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 删除", + "Icon": "", + "Url": "r_artwork_view_btn_marketdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 114, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 创建", + "Icon": "", + "Url": "r_artwork_view_btn_digetcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 115, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_digetedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 116, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 删除", + "Icon": "", + "Url": "r_artwork_view_btn_digetdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 117, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 创建", + "Icon": "", + "Url": "r_artwork_view_btn_tagcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 118, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_tagedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 119, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 删除", + "Icon": "", + "Url": "r_artwork_view_btn_tagdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 121, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_authedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 122, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_authdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 123, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 创建", + "Icon": "", + "Url": "r_artwork_view_btn_warecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 124, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_wareedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 125, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 删除", + "Icon": "", + "Url": "r_artwork_view_btn_waredelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 126, + "Type": "button", + "Pid": 54, + "Title": "已提交审批跳转按钮", + "Icon": "", + "Url": "has_approvaled_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 127, + "Type": "button", + "Pid": 54, + "Title": "正在审批跳转按钮", + "Icon": "", + "Url": "is_approvaling_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 128, + "Type": "button", + "Pid": 54, + "Title": "审批完成跳转按钮", + "Icon": "", + "Url": "complted_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 129, + "Type": "button", + "Pid": 54, + "Title": "未通过审批跳转按钮", + "Icon": "", + "Url": "not_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 130, + "Type": "button", + "Pid": 54, + "Title": "审批按钮", + "Icon": "", + "Url": "approval_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 131, + "Type": "button", + "Pid": 54, + "Title": "设置审批人按钮权限", + "Icon": "", + "Url": "approval_set_per_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 132, + "Type": "button", + "Pid": 54, + "Title": "审批类型按钮权限", + "Icon": "", + "Url": "approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 133, + "Type": "button", + "Pid": 54, + "Title": "画作分配按钮权限", + "Icon": "", + "Url": "artwork_distribute_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 134, + "Type": "button", + "Pid": 54, + "Title": "审批提交按钮权限", + "Icon": "", + "Url": "approval_submit_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 135, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 136, + "Type": "button", + "Pid": 54, + "Title": "添加新的类目按钮", + "Icon": "", + "Url": "add_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 137, + "Type": "button", + "Pid": 54, + "Title": "编辑类目", + "Icon": "", + "Url": "edit_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 138, + "Type": "button", + "Pid": 54, + "Title": "删除类目", + "Icon": "", + "Url": "del_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 139, + "Type": "button", + "Pid": 54, + "Title": "审批列表详情按钮权限", + "Icon": "", + "Url": "approval_table_detail_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 140, + "Type": "button", + "Pid": 54, + "Title": "审批列表删除按钮权限", + "Icon": "", + "Url": "approval_table_del_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 141, + "Type": "button", + "Pid": 54, + "Title": "审批列表阅读查看详情", + "Icon": "", + "Url": "approval_table_read_detail_btn", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 142, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 发起公告", + "Icon": "", + "Url": "r_artwork_view_btn_createnote", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 143, + "Type": "menu", + "Pid": 239, + "Title": "销售宝列表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/935425de-375f-4867-ac96-1a2b5b251a62.png", + "Url": "/salebot", + "Method": "*", + "Weigh": 15, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 144, + "Type": "button", + "Pid": 51, + "Title": "快速工作台权限", + "Icon": "", + "Url": "fastBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 145, + "Type": "button", + "Pid": 51, + "Title": "主管工作台权限", + "Icon": "", + "Url": "masterBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 146, + "Type": "button", + "Pid": 51, + "Title": "仓库货架权限", + "Icon": "", + "Url": "storeBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 147, + "Type": "button", + "Pid": 52, + "Title": "导出画家基本信息", + "Icon": "", + "Url": "artist_downloadExcel", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 148, + "Type": "button", + "Pid": 52, + "Title": "添加画家邀请函", + "Icon": "", + "Url": "artist_InviteList_add", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 149, + "Type": "button", + "Pid": 52, + "Title": "修改画家邀请函", + "Icon": "", + "Url": "artist_InviteList_update", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 150, + "Type": "button", + "Pid": 52, + "Title": "删除画家邀请函", + "Icon": "", + "Url": "artist_InviteList_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 151, + "Type": "button", + "Pid": 52, + "Title": "复制画家邀请函", + "Icon": "", + "Url": "artist_InviteList_copy", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 152, + "Type": "button", + "Pid": 52, + "Title": "查看画家邀请函", + "Icon": "", + "Url": "artist_InviteList_check", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 153, + "Type": "button", + "Pid": 57, + "Title": "画展包分配权限", + "Icon": "", + "Url": "artExhibition_give", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 154, + "Type": "button", + "Pid": 57, + "Title": "画展包生成", + "Icon": "", + "Url": "artExhibition_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 155, + "Type": "button", + "Pid": 57, + "Title": "画展包查看", + "Icon": "", + "Url": "artExhibition_see", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 156, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 基本信息", + "Icon": "", + "Url": "r_artwork_view_basic_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 157, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 补充信息", + "Icon": "", + "Url": "r_artwork_view_extra_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 158, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 市场信息", + "Icon": "", + "Url": "r_artwork_view_market_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 159, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 数字化信息", + "Icon": "", + "Url": "r_artwork_view_digit_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 160, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 标签信息", + "Icon": "", + "Url": "r_artwork_view_tag_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 161, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 鉴证信息", + "Icon": "", + "Url": "r_artwork_view_auth_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 162, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 仓储信息", + "Icon": "", + "Url": "r_artwork_view_ware_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 163, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 日志", + "Icon": "", + "Url": "r_artwork_view_log", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 164, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 留言板", + "Icon": "", + "Url": "r_artwork_view_message", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 165, + "Type": "button", + "Pid": 143, + "Title": "销售宝 查看报表", + "Icon": "", + "Url": "r_salebot_index_btn_site", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 166, + "Type": "button", + "Pid": 143, + "Title": "销售宝 导出站点数据", + "Icon": "", + "Url": "r_salebot_btn_site_export", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 168, + "Type": "button", + "Pid": 53, + "Title": "画作 导出画作数据", + "Icon": "", + "Url": "r_artwork_export_artwork", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 169, + "Type": "menu", + "Pid": 0, + "Title": "区块链抽奖", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/792d0540-7a8b-4de1-8c67-420bb6fb809e.png", + "Url": "/certmsg", + "Method": "*", + "Weigh": 10, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 170, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_copyrightedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 171, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 标签", + "Icon": "", + "Url": "r_artwork_view_copy_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 172, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-总监", + "Icon": "", + "Url": "seller_mobile_boss_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 173, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-员工", + "Icon": "", + "Url": "seller_mobile_staff_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 174, + "Type": "button", + "Pid": 169, + "Title": "区块链 下载证书", + "Icon": "", + "Url": "r_salebot_index_btn_cert_down", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 175, + "Type": "interface", + "Pid": 55, + "Title": "测试1", + "Icon": "", + "Url": "/test/test", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 176, + "Type": "button", + "Pid": 169, + "Title": "区块链抽奖 创建", + "Icon": "", + "Url": "r_salebot_index_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 177, + "Type": "button", + "Pid": 67, + "Title": "司机权限", + "Icon": "", + "Url": "ge_diver_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 178, + "Type": "button", + "Pid": 52, + "Title": "画家_导出图片等资源", + "Icon": "", + "Url": "artist_downloadExport", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 179, + "Type": "button", + "Pid": 52, + "Title": "画家详情_画展资料", + "Icon": "", + "Url": "artist_artExhibition", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 180, + "Type": "menu", + "Pid": 239, + "Title": "出纳管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f76bf9b5-34da-4908-9c23-f4aa8f5893e3.png", + "Url": "/safecashiers", + "Method": "*", + "Weigh": 20, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 181, + "Type": "menu", + "Pid": 239, + "Title": "内控管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f9f58cd7-3774-486e-bd3d-6f3543ef5288.png", + "Url": "/safecontrol", + "Method": "*", + "Weigh": 19, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 182, + "Type": "menu", + "Pid": 239, + "Title": "财务管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/ee74351f-777d-4ed3-b417-b965e0c3f7be.png", + "Url": "/safefinance", + "Method": "*", + "Weigh": 17, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 183, + "Type": "button", + "Pid": 180, + "Title": "出纳确认", + "Icon": "", + "Url": "safecashiers_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 184, + "Type": "button", + "Pid": 181, + "Title": "内控批量编辑", + "Icon": "", + "Url": "safecontrol_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 185, + "Type": "button", + "Pid": 182, + "Title": "财务批量编辑", + "Icon": "", + "Url": "safefinance_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 186, + "Type": "button", + "Pid": 182, + "Title": "财务导出", + "Icon": "", + "Url": "safefinance_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 187, + "Type": "button", + "Pid": 57, + "Title": "画展包润格编辑权限", + "Icon": "", + "Url": "art_package_reward", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 188, + "Type": "button", + "Pid": 181, + "Title": "内控确认", + "Icon": "", + "Url": "safecontrol_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 189, + "Type": "button", + "Pid": 182, + "Title": "财务确认", + "Icon": "", + "Url": "safefinance_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 190, + "Type": "menu", + "Pid": 238, + "Title": "品牌方加入", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/406a2f85-d559-441b-afaa-291ba507bb98.png", + "Url": "/brandentry", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 191, + "Type": "menu", + "Pid": 238, + "Title": "系列发布", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/e00b9263-c6e5-49fe-9c8f-de6ab7b62e07.png", + "Url": "/seriesrelease", + "Method": "*", + "Weigh": 23, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 193, + "Type": "button", + "Pid": 181, + "Title": "内控 导入", + "Icon": "", + "Url": "safecontrol_btn_exportin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 194, + "Type": "menu", + "Pid": 238, + "Title": "销售情况", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/88b00b46-accd-4964-a35c-cafc3889c107.png", + "Url": "sale", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 195, + "Type": "button", + "Pid": 191, + "Title": "系列发布 创建", + "Icon": "", + "Url": "r_series_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 197, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 创建", + "Icon": "", + "Url": "r_brand_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 199, + "Type": "menu", + "Pid": 234, + "Title": "画家宝画家", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/f4917016-5cb9-4f15-b4ab-0217f52a7fc8.png", + "Url": "/paintersideartist", + "Method": "*", + "Weigh": 44, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 200, + "Type": "menu", + "Pid": 234, + "Title": "基本画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/a3d31c16-53f1-4811-a763-bb271c933cd4.png", + "Url": "/paintersideartwork", + "Method": "*", + "Weigh": 43, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 201, + "Type": "menu", + "Pid": 234, + "Title": "画家宝合同", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/86571797-1202-40aa-a95a-829cb27e351f.png", + "Url": "/paintersidecontract", + "Method": "*", + "Weigh": 40, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 202, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 编辑", + "Icon": "", + "Url": "r_brand_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 203, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 删除", + "Icon": "", + "Url": "r_brand_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 204, + "Type": "button", + "Pid": 191, + "Title": "系列发布 编辑", + "Icon": "", + "Url": "r_series_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 205, + "Type": "button", + "Pid": 191, + "Title": "系列发布 删除", + "Icon": "", + "Url": "r_series_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 206, + "Type": "button", + "Pid": 191, + "Title": "藏品 创建", + "Icon": "", + "Url": "r_shopitem_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 207, + "Type": "button", + "Pid": 191, + "Title": "藏品 编辑", + "Icon": "", + "Url": "r_shopitem_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 208, + "Type": "button", + "Pid": 191, + "Title": "藏品 删除", + "Icon": "", + "Url": "r_shopitem_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 209, + "Type": "menu", + "Pid": 234, + "Title": "物权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/3df69ba3-edc1-49f1-be28-ff59ef9fa249.png", + "Url": "/paintersidereceipt", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 210, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 创建", + "Icon": "", + "Url": "r_home_todo_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 211, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 编辑", + "Icon": "", + "Url": "r_home_todo_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 212, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 已阅读", + "Icon": "", + "Url": "r_home_todo_api_read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 213, + "Type": "interface", + "Pid": 51, + "Title": "首页待办事项已阅api", + "Icon": "", + "Url": "workbench/schedule-read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 214, + "Type": "menu", + "Pid": 234, + "Title": "合同画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2885febd-2848-4193-8771-275d2d479d02.png", + "Url": "/paintersideconartwork", + "Method": "*", + "Weigh": 39, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 215, + "Type": "menu", + "Pid": 234, + "Title": "视频资料", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/cd8f81e0-5416-4625-a15b-37ede65dbc75.png", + "Url": "/paintersideextravideo", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 216, + "Type": "menu", + "Pid": 234, + "Title": "画家指数", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/85707c50-33f7-4bbe-9058-9999802213a7.png", + "Url": "/paintersideextraissue", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 217, + "Type": "menu", + "Pid": 234, + "Title": "邀请关系", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/291c8026-8759-4ee5-93e7-3728e03f4d0c.png", + "Url": "/inviteindex", + "Method": "*", + "Weigh": 37, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 218, + "Type": "menu", + "Pid": 234, + "Title": "邀请人", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/c2ec0b16-f5cd-4833-948a-45a87fcd3ac5.png", + "Url": "/inviteperindex", + "Method": "*", + "Weigh": 36, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 219, + "Type": "menu", + "Pid": 234, + "Title": "画家补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/dd4a3142-3b56-40a7-af2b-dd477a26df46.png", + "Url": "/paintersideextraartist", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 220, + "Type": "menu", + "Pid": 234, + "Title": "画作补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/887b5aa7-9aff-4abb-867a-b37ca70a3d6d.png", + "Url": "/paintersideextraartwork", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 221, + "Type": "menu", + "Pid": 234, + "Title": "版权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2ad64f9f-42a1-43b4-974a-45097ca90a75.png", + "Url": "/paintersidereceiptcopy", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 222, + "Type": "button", + "Pid": 56, + "Title": "部门主管权限", + "Icon": "", + "Url": "department_boss_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 223, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 画作名称字端", + "Icon": "", + "Url": "r_artwork_view_field_ArtworkName", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 224, + "Type": "button", + "Pid": 51, + "Title": "首页上方查看权限", + "Icon": "", + "Url": "home_top", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 225, + "Type": "button", + "Pid": 51, + "Title": "首页下方查看权限", + "Icon": "", + "Url": "home_bottom", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 226, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 验证", + "Icon": "", + "Url": "r_artwork_view_verify_page", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 227, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_verifydelete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 228, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_verifyedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 234, + "Type": "menu", + "Pid": 0, + "Title": "画家宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/ff0f7156-a651-4aaa-a943-f7a20eed57c0.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 238, + "Type": "menu", + "Pid": 0, + "Title": "艺树商城", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/488d18f2-33bc-40ec-a666-3215b5282599.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 239, + "Type": "menu", + "Pid": 0, + "Title": "销售宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/6d021b7f-9836-4886-a888-1246aa9025ab.png", + "Url": "", + "Method": "*", + "Weigh": 79, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 240, + "Type": "button", + "Pid": 181, + "Title": "内控 下载导入模板", + "Icon": "", + "Url": "safecontrol_btn_down_exportexcel", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 241, + "Type": "button", + "Pid": 57, + "Title": "画展包底价权限", + "Icon": "", + "Url": "art_package_price", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 242, + "Type": "button", + "Pid": 51, + "Title": "画展包内部权限", + "Icon": "", + "Url": "exhibition_inside_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 243, + "Type": "button", + "Pid": 51, + "Title": "画展包审批权限", + "Icon": "", + "Url": "exhibition_show_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 244, + "Type": "button", + "Pid": 53, + "Title": "梧桐链上链权限", + "Icon": "", + "Url": "wutong", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 245, + "Type": "button", + "Pid": 53, + "Title": "超级链上链权限", + "Icon": "", + "Url": "chaoji", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 246, + "Type": "button", + "Pid": 53, + "Title": "澄信链上链权限", + "Icon": "", + "Url": "chengxin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 247, + "Type": "button", + "Pid": 53, + "Title": "下载证书权限", + "Icon": "", + "Url": "quick-work-download", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 248, + "Type": "menu", + "Pid": 0, + "Title": "会场签到", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/9a4833d1-d780-4c5d-88ab-3a94fb491352.png", + "Url": "/checkindex", + "Method": "*", + "Weigh": 9, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 249, + "Type": "menu", + "Pid": 0, + "Title": "画展包审核表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/d5f28ebb-5792-4e14-974c-66199c93f0e0.png", + "Url": "/artexhapprove", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 250, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 导出", + "Icon": "", + "Url": "r_artexhapprove_index_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 251, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 确认", + "Icon": "", + "Url": "r_artexhapprove_index_btn_confirm", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 252, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 完成", + "Icon": "", + "Url": "r_artexhapprove_index_btn_finish", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "MyButtonAuths": [ + { + "ID": 252, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 完成", + "Icon": "", + "Url": "r_artexhapprove_index_btn_finish", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 251, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 确认", + "Icon": "", + "Url": "r_artexhapprove_index_btn_confirm", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 250, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 导出", + "Icon": "", + "Url": "r_artexhapprove_index_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 247, + "Type": "button", + "Pid": 53, + "Title": "下载证书权限", + "Icon": "", + "Url": "quick-work-download", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 246, + "Type": "button", + "Pid": 53, + "Title": "澄信链上链权限", + "Icon": "", + "Url": "chengxin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 245, + "Type": "button", + "Pid": 53, + "Title": "超级链上链权限", + "Icon": "", + "Url": "chaoji", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 244, + "Type": "button", + "Pid": 53, + "Title": "梧桐链上链权限", + "Icon": "", + "Url": "wutong", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 243, + "Type": "button", + "Pid": 51, + "Title": "画展包审批权限", + "Icon": "", + "Url": "exhibition_show_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 242, + "Type": "button", + "Pid": 51, + "Title": "画展包内部权限", + "Icon": "", + "Url": "exhibition_inside_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 241, + "Type": "button", + "Pid": 57, + "Title": "画展包底价权限", + "Icon": "", + "Url": "art_package_price", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 240, + "Type": "button", + "Pid": 181, + "Title": "内控 下载导入模板", + "Icon": "", + "Url": "safecontrol_btn_down_exportexcel", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 228, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_verifyedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 227, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_verifydelete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 226, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 验证", + "Icon": "", + "Url": "r_artwork_view_verify_page", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 225, + "Type": "button", + "Pid": 51, + "Title": "首页下方查看权限", + "Icon": "", + "Url": "home_bottom", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 224, + "Type": "button", + "Pid": 51, + "Title": "首页上方查看权限", + "Icon": "", + "Url": "home_top", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 223, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 画作名称字端", + "Icon": "", + "Url": "r_artwork_view_field_ArtworkName", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 222, + "Type": "button", + "Pid": 56, + "Title": "部门主管权限", + "Icon": "", + "Url": "department_boss_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 212, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 已阅读", + "Icon": "", + "Url": "r_home_todo_api_read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 211, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 编辑", + "Icon": "", + "Url": "r_home_todo_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 210, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 创建", + "Icon": "", + "Url": "r_home_todo_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 208, + "Type": "button", + "Pid": 191, + "Title": "藏品 删除", + "Icon": "", + "Url": "r_shopitem_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 207, + "Type": "button", + "Pid": 191, + "Title": "藏品 编辑", + "Icon": "", + "Url": "r_shopitem_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 206, + "Type": "button", + "Pid": 191, + "Title": "藏品 创建", + "Icon": "", + "Url": "r_shopitem_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 205, + "Type": "button", + "Pid": 191, + "Title": "系列发布 删除", + "Icon": "", + "Url": "r_series_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 204, + "Type": "button", + "Pid": 191, + "Title": "系列发布 编辑", + "Icon": "", + "Url": "r_series_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 203, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 删除", + "Icon": "", + "Url": "r_brand_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 202, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 编辑", + "Icon": "", + "Url": "r_brand_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 197, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 创建", + "Icon": "", + "Url": "r_brand_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 195, + "Type": "button", + "Pid": 191, + "Title": "系列发布 创建", + "Icon": "", + "Url": "r_series_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 193, + "Type": "button", + "Pid": 181, + "Title": "内控 导入", + "Icon": "", + "Url": "safecontrol_btn_exportin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 189, + "Type": "button", + "Pid": 182, + "Title": "财务确认", + "Icon": "", + "Url": "safefinance_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 188, + "Type": "button", + "Pid": 181, + "Title": "内控确认", + "Icon": "", + "Url": "safecontrol_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 187, + "Type": "button", + "Pid": 57, + "Title": "画展包润格编辑权限", + "Icon": "", + "Url": "art_package_reward", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 186, + "Type": "button", + "Pid": 182, + "Title": "财务导出", + "Icon": "", + "Url": "safefinance_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 185, + "Type": "button", + "Pid": 182, + "Title": "财务批量编辑", + "Icon": "", + "Url": "safefinance_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 184, + "Type": "button", + "Pid": 181, + "Title": "内控批量编辑", + "Icon": "", + "Url": "safecontrol_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 183, + "Type": "button", + "Pid": 180, + "Title": "出纳确认", + "Icon": "", + "Url": "safecashiers_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 179, + "Type": "button", + "Pid": 52, + "Title": "画家详情_画展资料", + "Icon": "", + "Url": "artist_artExhibition", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 178, + "Type": "button", + "Pid": 52, + "Title": "画家_导出图片等资源", + "Icon": "", + "Url": "artist_downloadExport", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 177, + "Type": "button", + "Pid": 67, + "Title": "司机权限", + "Icon": "", + "Url": "ge_diver_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 176, + "Type": "button", + "Pid": 169, + "Title": "区块链抽奖 创建", + "Icon": "", + "Url": "r_salebot_index_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 141, + "Type": "button", + "Pid": 54, + "Title": "审批列表阅读查看详情", + "Icon": "", + "Url": "approval_table_read_detail_btn", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 174, + "Type": "button", + "Pid": 169, + "Title": "区块链 下载证书", + "Icon": "", + "Url": "r_salebot_index_btn_cert_down", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 173, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-员工", + "Icon": "", + "Url": "seller_mobile_staff_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 172, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-总监", + "Icon": "", + "Url": "seller_mobile_boss_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 171, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 标签", + "Icon": "", + "Url": "r_artwork_view_copy_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 170, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_copyrightedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 168, + "Type": "button", + "Pid": 53, + "Title": "画作 导出画作数据", + "Icon": "", + "Url": "r_artwork_export_artwork", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 166, + "Type": "button", + "Pid": 143, + "Title": "销售宝 导出站点数据", + "Icon": "", + "Url": "r_salebot_btn_site_export", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 165, + "Type": "button", + "Pid": 143, + "Title": "销售宝 查看报表", + "Icon": "", + "Url": "r_salebot_index_btn_site", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 164, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 留言板", + "Icon": "", + "Url": "r_artwork_view_message", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 163, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 日志", + "Icon": "", + "Url": "r_artwork_view_log", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 162, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 仓储信息", + "Icon": "", + "Url": "r_artwork_view_ware_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 161, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 鉴证信息", + "Icon": "", + "Url": "r_artwork_view_auth_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 160, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 标签信息", + "Icon": "", + "Url": "r_artwork_view_tag_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 159, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 数字化信息", + "Icon": "", + "Url": "r_artwork_view_digit_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 158, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 市场信息", + "Icon": "", + "Url": "r_artwork_view_market_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 157, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 补充信息", + "Icon": "", + "Url": "r_artwork_view_extra_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 156, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 基本信息", + "Icon": "", + "Url": "r_artwork_view_basic_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 155, + "Type": "button", + "Pid": 57, + "Title": "画展包查看", + "Icon": "", + "Url": "artExhibition_see", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 154, + "Type": "button", + "Pid": 57, + "Title": "画展包生成", + "Icon": "", + "Url": "artExhibition_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 153, + "Type": "button", + "Pid": 57, + "Title": "画展包分配权限", + "Icon": "", + "Url": "artExhibition_give", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 152, + "Type": "button", + "Pid": 52, + "Title": "查看画家邀请函", + "Icon": "", + "Url": "artist_InviteList_check", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 151, + "Type": "button", + "Pid": 52, + "Title": "复制画家邀请函", + "Icon": "", + "Url": "artist_InviteList_copy", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 150, + "Type": "button", + "Pid": 52, + "Title": "删除画家邀请函", + "Icon": "", + "Url": "artist_InviteList_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 149, + "Type": "button", + "Pid": 52, + "Title": "修改画家邀请函", + "Icon": "", + "Url": "artist_InviteList_update", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 148, + "Type": "button", + "Pid": 52, + "Title": "添加画家邀请函", + "Icon": "", + "Url": "artist_InviteList_add", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 147, + "Type": "button", + "Pid": 52, + "Title": "导出画家基本信息", + "Icon": "", + "Url": "artist_downloadExcel", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 146, + "Type": "button", + "Pid": 51, + "Title": "仓库货架权限", + "Icon": "", + "Url": "storeBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 145, + "Type": "button", + "Pid": 51, + "Title": "主管工作台权限", + "Icon": "", + "Url": "masterBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 144, + "Type": "button", + "Pid": 51, + "Title": "快速工作台权限", + "Icon": "", + "Url": "fastBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 142, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 发起公告", + "Icon": "", + "Url": "r_artwork_view_btn_createnote", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 140, + "Type": "button", + "Pid": 54, + "Title": "审批列表删除按钮权限", + "Icon": "", + "Url": "approval_table_del_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 139, + "Type": "button", + "Pid": 54, + "Title": "审批列表详情按钮权限", + "Icon": "", + "Url": "approval_table_detail_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 138, + "Type": "button", + "Pid": 54, + "Title": "删除类目", + "Icon": "", + "Url": "del_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 137, + "Type": "button", + "Pid": 54, + "Title": "编辑类目", + "Icon": "", + "Url": "edit_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 136, + "Type": "button", + "Pid": 54, + "Title": "添加新的类目按钮", + "Icon": "", + "Url": "add_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 135, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 134, + "Type": "button", + "Pid": 54, + "Title": "审批提交按钮权限", + "Icon": "", + "Url": "approval_submit_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 133, + "Type": "button", + "Pid": 54, + "Title": "画作分配按钮权限", + "Icon": "", + "Url": "artwork_distribute_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 132, + "Type": "button", + "Pid": 54, + "Title": "审批类型按钮权限", + "Icon": "", + "Url": "approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 131, + "Type": "button", + "Pid": 54, + "Title": "设置审批人按钮权限", + "Icon": "", + "Url": "approval_set_per_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 130, + "Type": "button", + "Pid": 54, + "Title": "审批按钮", + "Icon": "", + "Url": "approval_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 129, + "Type": "button", + "Pid": 54, + "Title": "未通过审批跳转按钮", + "Icon": "", + "Url": "not_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 128, + "Type": "button", + "Pid": 54, + "Title": "审批完成跳转按钮", + "Icon": "", + "Url": "complted_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 127, + "Type": "button", + "Pid": 54, + "Title": "正在审批跳转按钮", + "Icon": "", + "Url": "is_approvaling_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 126, + "Type": "button", + "Pid": 54, + "Title": "已提交审批跳转按钮", + "Icon": "", + "Url": "has_approvaled_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 125, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 删除", + "Icon": "", + "Url": "r_artwork_view_btn_waredelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 124, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_wareedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 123, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 创建", + "Icon": "", + "Url": "r_artwork_view_btn_warecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 122, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_authdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 121, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_authedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 119, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 删除", + "Icon": "", + "Url": "r_artwork_view_btn_tagdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 118, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_tagedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 117, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 创建", + "Icon": "", + "Url": "r_artwork_view_btn_tagcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 116, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 删除", + "Icon": "", + "Url": "r_artwork_view_btn_digetdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 115, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_digetedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 114, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 创建", + "Icon": "", + "Url": "r_artwork_view_btn_digetcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 113, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 删除", + "Icon": "", + "Url": "r_artwork_view_btn_marketdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 112, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_marketedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 111, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 创建", + "Icon": "", + "Url": "r_artwork_view_btn_marketcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 110, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_extradelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 109, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_extraedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 108, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_extracreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 107, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_basedelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 106, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_baseedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 105, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_basecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 104, + "Type": "button", + "Pid": 53, + "Title": "画作列表 批量上传", + "Icon": "", + "Url": "r_artwork_index_btn_batchupload", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 103, + "Type": "button", + "Pid": 53, + "Title": "画作列表 创建", + "Icon": "", + "Url": "r_artwork_index_btn_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 100, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 99, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 98, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 97, + "Type": "button", + "Pid": 52, + "Title": "创建画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 96, + "Type": "button", + "Pid": 52, + "Title": "创建画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 95, + "Type": "button", + "Pid": 52, + "Title": "创建画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 94, + "Type": "button", + "Pid": 52, + "Title": "创建画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 92, + "Type": "button", + "Pid": 67, + "Title": "设置v2", + "Icon": "", + "Url": "设置v2", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 87, + "Type": "button", + "Pid": 52, + "Title": "画家详情-合同数据", + "Icon": "", + "Url": "artist_contractInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 86, + "Type": "button", + "Pid": 52, + "Title": "画家详情-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 85, + "Type": "button", + "Pid": 52, + "Title": "画家详情-图像资料", + "Icon": "", + "Url": "artist_photoInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 82, + "Type": "button", + "Pid": 52, + "Title": "画家详情-基础资料", + "Icon": "", + "Url": "artist_basicInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 80, + "Type": "button", + "Pid": 52, + "Title": "删除画家", + "Icon": "", + "Url": "artist_list_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 79, + "Type": "button", + "Pid": 51, + "Title": "工作台权限", + "Icon": "", + "Url": "workBentch", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 76, + "Type": "button", + "Pid": 52, + "Title": "画家详情", + "Icon": "", + "Url": "artist_list_detail", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 75, + "Type": "button", + "Pid": 52, + "Title": "画家列表搜索", + "Icon": "", + "Url": "artist_list_search", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 73, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格数据详情", + "Icon": "", + "Url": "r_artwork_index_btn_view", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 72, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格单行删除", + "Icon": "", + "Url": "r_artwork_index_btn_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 71, + "Type": "button", + "Pid": 56, + "Title": "新增员工", + "Icon": "", + "Url": "addUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 70, + "Type": "button", + "Pid": 56, + "Title": "新增岗位", + "Icon": "", + "Url": "addPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 69, + "Type": "button", + "Pid": 56, + "Title": "创建部门", + "Icon": "", + "Url": "createDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 62, + "Type": "button", + "Pid": 56, + "Title": "查看日志", + "Icon": "", + "Url": "checkLog", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 61, + "Type": "button", + "Pid": 56, + "Title": "编辑员工", + "Icon": "", + "Url": "editUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 60, + "Type": "button", + "Pid": 56, + "Title": "编辑岗位", + "Icon": "", + "Url": "editPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 59, + "Type": "button", + "Pid": 56, + "Title": "编辑部门", + "Icon": "", + "Url": "editDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 58, + "Type": "button", + "Pid": 56, + "Title": "编辑权限", + "Icon": "", + "Url": "editRule", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "MyInterFaceAuths": [ + { + "ID": 213, + "Type": "interface", + "Pid": 51, + "Title": "首页待办事项已阅api", + "Icon": "", + "Url": "workbench/schedule-read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "[\"*\"]" + ], + "Name": "首页待办事项已阅api", + "ID": 17 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 175, + "Type": "interface", + "Pid": 55, + "Title": "测试1", + "Icon": "", + "Url": "/test/test", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "id" + ], + "Name": "测试1", + "ID": 15 + }, + { + "DataField": [ + "id" + ], + "Name": "测试2", + "ID": 16 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 102, + "Type": "interface", + "Pid": 54, + "Title": "审批信息", + "Icon": "", + "Url": "/approval/information", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "*" + ], + "Name": "所有", + "ID": 13 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 90, + "Type": "interface", + "Pid": 55, + "Title": "操作日志表格时间段列", + "Icon": "", + "Url": "/log/loglist", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "DepartmentName", + "Domain", + "LogGrade", + "LogId", + "Method", + "Name", + "PositionName", + "Url" + ], + "Name": "没有时间", + "ID": 10 + }, + { + "DataField": [ + "*" + ], + "Name": "全部", + "ID": 11 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 66, + "Type": "interface", + "Pid": 52, + "Title": "画家列表", + "Icon": "", + "Url": "/asArtist/list", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName", + "BankNum", + "Seqnum", + "Num", + "Address", + "Student", + "StyleFaction" + ], + "Name": "管理层", + "ID": 7 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName" + ], + "Name": "员工层", + "ID": 8 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 65, + "Type": "interface", + "Pid": 13, + "Title": "部门删除2221222", + "Icon": "image", + "Url": "/department/Remove121", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "click-share-button", + "RuleData": [ + { + "DataField": [ + "id", + "name" + ], + "Name": "管理权限", + "ID": 5 + }, + { + "DataField": [ + "id" + ], + "Name": "权限", + "ID": 6 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 64, + "Type": "interface", + "Pid": 52, + "Title": "测试列表", + "Icon": "", + "Url": "/asArtist/list222", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email" + ], + "Name": "仓库查看字段", + "ID": 3 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email", + "Num" + ], + "Name": "数字化查看字段", + "ID": 4 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "PositionUsers": [ + { + "PositionID": 1, + "PositionName": "运维", + "DepartmentId": 2, + "DepartmentCode": "admin", + "DepartmentName": "系统管理", + "UserId": 40, + "UserName": "超级管理" + } + ], + "DepartmentLeaders": null, + "AllTreeRule": [ + { + "ID": 51, + "Type": "menu", + "Pid": 0, + "Title": "首页", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/431a56ff-0fcb-4cb8-89f5-63a04e74246f.png", + "Url": "/home", + "Method": "*", + "Weigh": 100, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 243, + "Type": "button", + "Pid": 51, + "Title": "画展包审批权限", + "Icon": "", + "Url": "exhibition_show_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 242, + "Type": "button", + "Pid": 51, + "Title": "画展包内部权限", + "Icon": "", + "Url": "exhibition_inside_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 225, + "Type": "button", + "Pid": 51, + "Title": "首页下方查看权限", + "Icon": "", + "Url": "home_bottom", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 224, + "Type": "button", + "Pid": 51, + "Title": "首页上方查看权限", + "Icon": "", + "Url": "home_top", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 213, + "Type": "interface", + "Pid": 51, + "Title": "首页待办事项已阅api", + "Icon": "", + "Url": "workbench/schedule-read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "[\"*\"]" + ], + "Name": "首页待办事项已阅api", + "ID": 17 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 212, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 已阅读", + "Icon": "", + "Url": "r_home_todo_api_read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 211, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 编辑", + "Icon": "", + "Url": "r_home_todo_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 210, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 创建", + "Icon": "", + "Url": "r_home_todo_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 146, + "Type": "button", + "Pid": 51, + "Title": "仓库货架权限", + "Icon": "", + "Url": "storeBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 145, + "Type": "button", + "Pid": 51, + "Title": "主管工作台权限", + "Icon": "", + "Url": "masterBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 144, + "Type": "button", + "Pid": 51, + "Title": "快速工作台权限", + "Icon": "", + "Url": "fastBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 79, + "Type": "button", + "Pid": 51, + "Title": "工作台权限", + "Icon": "", + "Url": "workBentch", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 52, + "Type": "menu", + "Pid": 0, + "Title": "画家管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/cce3d3f9-196c-456c-b338-bc406c4e27db.png", + "Url": "/asArtist", + "Method": "*", + "Weigh": 99, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 179, + "Type": "button", + "Pid": 52, + "Title": "画家详情_画展资料", + "Icon": "", + "Url": "artist_artExhibition", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 178, + "Type": "button", + "Pid": 52, + "Title": "画家_导出图片等资源", + "Icon": "", + "Url": "artist_downloadExport", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 152, + "Type": "button", + "Pid": 52, + "Title": "查看画家邀请函", + "Icon": "", + "Url": "artist_InviteList_check", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 151, + "Type": "button", + "Pid": 52, + "Title": "复制画家邀请函", + "Icon": "", + "Url": "artist_InviteList_copy", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 150, + "Type": "button", + "Pid": 52, + "Title": "删除画家邀请函", + "Icon": "", + "Url": "artist_InviteList_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 149, + "Type": "button", + "Pid": 52, + "Title": "修改画家邀请函", + "Icon": "", + "Url": "artist_InviteList_update", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 148, + "Type": "button", + "Pid": 52, + "Title": "添加画家邀请函", + "Icon": "", + "Url": "artist_InviteList_add", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 147, + "Type": "button", + "Pid": 52, + "Title": "导出画家基本信息", + "Icon": "", + "Url": "artist_downloadExcel", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 135, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 100, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 99, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 98, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 97, + "Type": "button", + "Pid": 52, + "Title": "创建画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 96, + "Type": "button", + "Pid": 52, + "Title": "创建画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 95, + "Type": "button", + "Pid": 52, + "Title": "创建画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 94, + "Type": "button", + "Pid": 52, + "Title": "创建画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 87, + "Type": "button", + "Pid": 52, + "Title": "画家详情-合同数据", + "Icon": "", + "Url": "artist_contractInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 86, + "Type": "button", + "Pid": 52, + "Title": "画家详情-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 85, + "Type": "button", + "Pid": 52, + "Title": "画家详情-图像资料", + "Icon": "", + "Url": "artist_photoInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 82, + "Type": "button", + "Pid": 52, + "Title": "画家详情-基础资料", + "Icon": "", + "Url": "artist_basicInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 80, + "Type": "button", + "Pid": 52, + "Title": "删除画家", + "Icon": "", + "Url": "artist_list_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 76, + "Type": "button", + "Pid": 52, + "Title": "画家详情", + "Icon": "", + "Url": "artist_list_detail", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 75, + "Type": "button", + "Pid": 52, + "Title": "画家列表搜索", + "Icon": "", + "Url": "artist_list_search", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 66, + "Type": "interface", + "Pid": 52, + "Title": "画家列表", + "Icon": "", + "Url": "/asArtist/list", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName", + "BankNum", + "Seqnum", + "Num", + "Address", + "Student", + "StyleFaction" + ], + "Name": "管理层", + "ID": 7 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName" + ], + "Name": "员工层", + "ID": 8 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 64, + "Type": "interface", + "Pid": 52, + "Title": "测试列表", + "Icon": "", + "Url": "/asArtist/list222", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email" + ], + "Name": "仓库查看字段", + "ID": 3 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email", + "Num" + ], + "Name": "数字化查看字段", + "ID": 4 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 53, + "Type": "menu", + "Pid": 0, + "Title": "画作系统", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/aac72df9-c936-4e55-ab9a-e6ecdbdc6f11.png", + "Url": "/asArtwork", + "Method": "*", + "Weigh": 98, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 247, + "Type": "button", + "Pid": 53, + "Title": "下载证书权限", + "Icon": "", + "Url": "quick-work-download", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 246, + "Type": "button", + "Pid": 53, + "Title": "澄信链上链权限", + "Icon": "", + "Url": "chengxin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 245, + "Type": "button", + "Pid": 53, + "Title": "超级链上链权限", + "Icon": "", + "Url": "chaoji", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 244, + "Type": "button", + "Pid": 53, + "Title": "梧桐链上链权限", + "Icon": "", + "Url": "wutong", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 228, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_verifyedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 227, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_verifydelete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 226, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 验证", + "Icon": "", + "Url": "r_artwork_view_verify_page", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 223, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 画作名称字端", + "Icon": "", + "Url": "r_artwork_view_field_ArtworkName", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 171, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 标签", + "Icon": "", + "Url": "r_artwork_view_copy_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 170, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_copyrightedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 168, + "Type": "button", + "Pid": 53, + "Title": "画作 导出画作数据", + "Icon": "", + "Url": "r_artwork_export_artwork", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 164, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 留言板", + "Icon": "", + "Url": "r_artwork_view_message", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 163, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 日志", + "Icon": "", + "Url": "r_artwork_view_log", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 162, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 仓储信息", + "Icon": "", + "Url": "r_artwork_view_ware_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 161, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 鉴证信息", + "Icon": "", + "Url": "r_artwork_view_auth_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 160, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 标签信息", + "Icon": "", + "Url": "r_artwork_view_tag_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 159, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 数字化信息", + "Icon": "", + "Url": "r_artwork_view_digit_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 158, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 市场信息", + "Icon": "", + "Url": "r_artwork_view_market_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 157, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 补充信息", + "Icon": "", + "Url": "r_artwork_view_extra_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 156, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 基本信息", + "Icon": "", + "Url": "r_artwork_view_basic_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 142, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 发起公告", + "Icon": "", + "Url": "r_artwork_view_btn_createnote", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 125, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 删除", + "Icon": "", + "Url": "r_artwork_view_btn_waredelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 124, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_wareedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 123, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 创建", + "Icon": "", + "Url": "r_artwork_view_btn_warecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 122, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_authdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 121, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_authedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 119, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 删除", + "Icon": "", + "Url": "r_artwork_view_btn_tagdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 118, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_tagedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 117, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 创建", + "Icon": "", + "Url": "r_artwork_view_btn_tagcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 116, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 删除", + "Icon": "", + "Url": "r_artwork_view_btn_digetdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 115, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_digetedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 114, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 创建", + "Icon": "", + "Url": "r_artwork_view_btn_digetcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 113, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 删除", + "Icon": "", + "Url": "r_artwork_view_btn_marketdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 112, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_marketedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 111, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 创建", + "Icon": "", + "Url": "r_artwork_view_btn_marketcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 110, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_extradelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 109, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_extraedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 108, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_extracreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 107, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_basedelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 106, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_baseedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 105, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_basecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 104, + "Type": "button", + "Pid": 53, + "Title": "画作列表 批量上传", + "Icon": "", + "Url": "r_artwork_index_btn_batchupload", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 103, + "Type": "button", + "Pid": 53, + "Title": "画作列表 创建", + "Icon": "", + "Url": "r_artwork_index_btn_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 73, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格数据详情", + "Icon": "", + "Url": "r_artwork_index_btn_view", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 72, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格单行删除", + "Icon": "", + "Url": "r_artwork_index_btn_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 54, + "Type": "menu", + "Pid": 0, + "Title": "审批申请", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/09291748-6cd8-4de9-acf2-8d902247a8c7.png", + "Url": "/approval", + "Method": "*", + "Weigh": 97, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 141, + "Type": "button", + "Pid": 54, + "Title": "审批列表阅读查看详情", + "Icon": "", + "Url": "approval_table_read_detail_btn", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 140, + "Type": "button", + "Pid": 54, + "Title": "审批列表删除按钮权限", + "Icon": "", + "Url": "approval_table_del_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 139, + "Type": "button", + "Pid": 54, + "Title": "审批列表详情按钮权限", + "Icon": "", + "Url": "approval_table_detail_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 138, + "Type": "button", + "Pid": 54, + "Title": "删除类目", + "Icon": "", + "Url": "del_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 137, + "Type": "button", + "Pid": 54, + "Title": "编辑类目", + "Icon": "", + "Url": "edit_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 136, + "Type": "button", + "Pid": 54, + "Title": "添加新的类目按钮", + "Icon": "", + "Url": "add_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 134, + "Type": "button", + "Pid": 54, + "Title": "审批提交按钮权限", + "Icon": "", + "Url": "approval_submit_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 133, + "Type": "button", + "Pid": 54, + "Title": "画作分配按钮权限", + "Icon": "", + "Url": "artwork_distribute_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 132, + "Type": "button", + "Pid": 54, + "Title": "审批类型按钮权限", + "Icon": "", + "Url": "approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 131, + "Type": "button", + "Pid": 54, + "Title": "设置审批人按钮权限", + "Icon": "", + "Url": "approval_set_per_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 130, + "Type": "button", + "Pid": 54, + "Title": "审批按钮", + "Icon": "", + "Url": "approval_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 129, + "Type": "button", + "Pid": 54, + "Title": "未通过审批跳转按钮", + "Icon": "", + "Url": "not_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 128, + "Type": "button", + "Pid": 54, + "Title": "审批完成跳转按钮", + "Icon": "", + "Url": "complted_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 127, + "Type": "button", + "Pid": 54, + "Title": "正在审批跳转按钮", + "Icon": "", + "Url": "is_approvaling_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 126, + "Type": "button", + "Pid": 54, + "Title": "已提交审批跳转按钮", + "Icon": "", + "Url": "has_approvaled_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 102, + "Type": "interface", + "Pid": 54, + "Title": "审批信息", + "Icon": "", + "Url": "/approval/information", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "*" + ], + "Name": "所有", + "ID": 13 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 55, + "Type": "menu", + "Pid": 0, + "Title": "操作日志", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/88fdbe39-1a87-4f4d-829b-77f9d191d4f2.png", + "Url": "/operation", + "Method": "*", + "Weigh": 96, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 175, + "Type": "interface", + "Pid": 55, + "Title": "测试1", + "Icon": "", + "Url": "/test/test", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "id" + ], + "Name": "测试1", + "ID": 15 + }, + { + "DataField": [ + "id" + ], + "Name": "测试2", + "ID": 16 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 90, + "Type": "interface", + "Pid": 55, + "Title": "操作日志表格时间段列", + "Icon": "", + "Url": "/log/loglist", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "DepartmentName", + "Domain", + "LogGrade", + "LogId", + "Method", + "Name", + "PositionName", + "Url" + ], + "Name": "没有时间", + "ID": 10 + }, + { + "DataField": [ + "*" + ], + "Name": "全部", + "ID": 11 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 57, + "Type": "menu", + "Pid": 0, + "Title": "画展包", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/65015403-f999-4772-a328-c4afd5ae5f7d.png", + "Url": "/artExhibition", + "Method": "*", + "Weigh": 95, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 241, + "Type": "button", + "Pid": 57, + "Title": "画展包底价权限", + "Icon": "", + "Url": "art_package_price", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 187, + "Type": "button", + "Pid": 57, + "Title": "画展包润格编辑权限", + "Icon": "", + "Url": "art_package_reward", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 155, + "Type": "button", + "Pid": 57, + "Title": "画展包查看", + "Icon": "", + "Url": "artExhibition_see", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 154, + "Type": "button", + "Pid": 57, + "Title": "画展包生成", + "Icon": "", + "Url": "artExhibition_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 153, + "Type": "button", + "Pid": 57, + "Title": "画展包分配权限", + "Icon": "", + "Url": "artExhibition_give", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 238, + "Type": "menu", + "Pid": 0, + "Title": "艺树商城", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/488d18f2-33bc-40ec-a666-3215b5282599.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 194, + "Type": "menu", + "Pid": 238, + "Title": "销售情况", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/88b00b46-accd-4964-a35c-cafc3889c107.png", + "Url": "sale", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 190, + "Type": "menu", + "Pid": 238, + "Title": "品牌方加入", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/406a2f85-d559-441b-afaa-291ba507bb98.png", + "Url": "/brandentry", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 203, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 删除", + "Icon": "", + "Url": "r_brand_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 202, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 编辑", + "Icon": "", + "Url": "r_brand_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 197, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 创建", + "Icon": "", + "Url": "r_brand_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 191, + "Type": "menu", + "Pid": 238, + "Title": "系列发布", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/e00b9263-c6e5-49fe-9c8f-de6ab7b62e07.png", + "Url": "/seriesrelease", + "Method": "*", + "Weigh": 23, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 208, + "Type": "button", + "Pid": 191, + "Title": "藏品 删除", + "Icon": "", + "Url": "r_shopitem_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 207, + "Type": "button", + "Pid": 191, + "Title": "藏品 编辑", + "Icon": "", + "Url": "r_shopitem_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 206, + "Type": "button", + "Pid": 191, + "Title": "藏品 创建", + "Icon": "", + "Url": "r_shopitem_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 205, + "Type": "button", + "Pid": 191, + "Title": "系列发布 删除", + "Icon": "", + "Url": "r_series_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 204, + "Type": "button", + "Pid": 191, + "Title": "系列发布 编辑", + "Icon": "", + "Url": "r_series_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 195, + "Type": "button", + "Pid": 191, + "Title": "系列发布 创建", + "Icon": "", + "Url": "r_series_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 234, + "Type": "menu", + "Pid": 0, + "Title": "画家宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/ff0f7156-a651-4aaa-a943-f7a20eed57c0.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 199, + "Type": "menu", + "Pid": 234, + "Title": "画家宝画家", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/f4917016-5cb9-4f15-b4ab-0217f52a7fc8.png", + "Url": "/paintersideartist", + "Method": "*", + "Weigh": 44, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 200, + "Type": "menu", + "Pid": 234, + "Title": "基本画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/a3d31c16-53f1-4811-a763-bb271c933cd4.png", + "Url": "/paintersideartwork", + "Method": "*", + "Weigh": 43, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 220, + "Type": "menu", + "Pid": 234, + "Title": "画作补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/887b5aa7-9aff-4abb-867a-b37ca70a3d6d.png", + "Url": "/paintersideextraartwork", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 215, + "Type": "menu", + "Pid": 234, + "Title": "视频资料", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/cd8f81e0-5416-4625-a15b-37ede65dbc75.png", + "Url": "/paintersideextravideo", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 219, + "Type": "menu", + "Pid": 234, + "Title": "画家补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/dd4a3142-3b56-40a7-af2b-dd477a26df46.png", + "Url": "/paintersideextraartist", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 216, + "Type": "menu", + "Pid": 234, + "Title": "画家指数", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/85707c50-33f7-4bbe-9058-9999802213a7.png", + "Url": "/paintersideextraissue", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 201, + "Type": "menu", + "Pid": 234, + "Title": "画家宝合同", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/86571797-1202-40aa-a95a-829cb27e351f.png", + "Url": "/paintersidecontract", + "Method": "*", + "Weigh": 40, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 214, + "Type": "menu", + "Pid": 234, + "Title": "合同画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2885febd-2848-4193-8771-275d2d479d02.png", + "Url": "/paintersideconartwork", + "Method": "*", + "Weigh": 39, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 221, + "Type": "menu", + "Pid": 234, + "Title": "版权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2ad64f9f-42a1-43b4-974a-45097ca90a75.png", + "Url": "/paintersidereceiptcopy", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 209, + "Type": "menu", + "Pid": 234, + "Title": "物权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/3df69ba3-edc1-49f1-be28-ff59ef9fa249.png", + "Url": "/paintersidereceipt", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 217, + "Type": "menu", + "Pid": 234, + "Title": "邀请关系", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/291c8026-8759-4ee5-93e7-3728e03f4d0c.png", + "Url": "/inviteindex", + "Method": "*", + "Weigh": 37, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 218, + "Type": "menu", + "Pid": 234, + "Title": "邀请人", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/c2ec0b16-f5cd-4833-948a-45a87fcd3ac5.png", + "Url": "/inviteperindex", + "Method": "*", + "Weigh": 36, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 239, + "Type": "menu", + "Pid": 0, + "Title": "销售宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/6d021b7f-9836-4886-a888-1246aa9025ab.png", + "Url": "", + "Method": "*", + "Weigh": 79, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 180, + "Type": "menu", + "Pid": 239, + "Title": "出纳管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f76bf9b5-34da-4908-9c23-f4aa8f5893e3.png", + "Url": "/safecashiers", + "Method": "*", + "Weigh": 20, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 183, + "Type": "button", + "Pid": 180, + "Title": "出纳确认", + "Icon": "", + "Url": "safecashiers_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 181, + "Type": "menu", + "Pid": 239, + "Title": "内控管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f9f58cd7-3774-486e-bd3d-6f3543ef5288.png", + "Url": "/safecontrol", + "Method": "*", + "Weigh": 19, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 240, + "Type": "button", + "Pid": 181, + "Title": "内控 下载导入模板", + "Icon": "", + "Url": "safecontrol_btn_down_exportexcel", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 193, + "Type": "button", + "Pid": 181, + "Title": "内控 导入", + "Icon": "", + "Url": "safecontrol_btn_exportin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 188, + "Type": "button", + "Pid": 181, + "Title": "内控确认", + "Icon": "", + "Url": "safecontrol_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 184, + "Type": "button", + "Pid": 181, + "Title": "内控批量编辑", + "Icon": "", + "Url": "safecontrol_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 182, + "Type": "menu", + "Pid": 239, + "Title": "财务管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/ee74351f-777d-4ed3-b417-b965e0c3f7be.png", + "Url": "/safefinance", + "Method": "*", + "Weigh": 17, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 189, + "Type": "button", + "Pid": 182, + "Title": "财务确认", + "Icon": "", + "Url": "safefinance_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 186, + "Type": "button", + "Pid": 182, + "Title": "财务导出", + "Icon": "", + "Url": "safefinance_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 185, + "Type": "button", + "Pid": 182, + "Title": "财务批量编辑", + "Icon": "", + "Url": "safefinance_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 143, + "Type": "menu", + "Pid": 239, + "Title": "销售宝列表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/935425de-375f-4867-ac96-1a2b5b251a62.png", + "Url": "/salebot", + "Method": "*", + "Weigh": 15, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 173, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-员工", + "Icon": "", + "Url": "seller_mobile_staff_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 172, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-总监", + "Icon": "", + "Url": "seller_mobile_boss_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 166, + "Type": "button", + "Pid": 143, + "Title": "销售宝 导出站点数据", + "Icon": "", + "Url": "r_salebot_btn_site_export", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 165, + "Type": "button", + "Pid": 143, + "Title": "销售宝 查看报表", + "Icon": "", + "Url": "r_salebot_index_btn_site", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 169, + "Type": "menu", + "Pid": 0, + "Title": "区块链抽奖", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/792d0540-7a8b-4de1-8c67-420bb6fb809e.png", + "Url": "/certmsg", + "Method": "*", + "Weigh": 10, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 176, + "Type": "button", + "Pid": 169, + "Title": "区块链抽奖 创建", + "Icon": "", + "Url": "r_salebot_index_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 174, + "Type": "button", + "Pid": 169, + "Title": "区块链 下载证书", + "Icon": "", + "Url": "r_salebot_index_btn_cert_down", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 248, + "Type": "menu", + "Pid": 0, + "Title": "会场签到", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/9a4833d1-d780-4c5d-88ab-3a94fb491352.png", + "Url": "/checkindex", + "Method": "*", + "Weigh": 9, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 249, + "Type": "menu", + "Pid": 0, + "Title": "画展包审核表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/d5f28ebb-5792-4e14-974c-66199c93f0e0.png", + "Url": "/artexhapprove", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 252, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 完成", + "Icon": "", + "Url": "r_artexhapprove_index_btn_finish", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 251, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 确认", + "Icon": "", + "Url": "r_artexhapprove_index_btn_confirm", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 250, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 导出", + "Icon": "", + "Url": "r_artexhapprove_index_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 56, + "Type": "menu", + "Pid": 0, + "Title": "权限设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/1c7ffc96-e42f-4429-b42d-0b873c0f238d.png", + "Url": "/permission", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 222, + "Type": "button", + "Pid": 56, + "Title": "部门主管权限", + "Icon": "", + "Url": "department_boss_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 71, + "Type": "button", + "Pid": 56, + "Title": "新增员工", + "Icon": "", + "Url": "addUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 70, + "Type": "button", + "Pid": 56, + "Title": "新增岗位", + "Icon": "", + "Url": "addPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 69, + "Type": "button", + "Pid": 56, + "Title": "创建部门", + "Icon": "", + "Url": "createDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 62, + "Type": "button", + "Pid": 56, + "Title": "查看日志", + "Icon": "", + "Url": "checkLog", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 61, + "Type": "button", + "Pid": 56, + "Title": "编辑员工", + "Icon": "", + "Url": "editUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 60, + "Type": "button", + "Pid": 56, + "Title": "编辑岗位", + "Icon": "", + "Url": "editPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 59, + "Type": "button", + "Pid": 56, + "Title": "编辑部门", + "Icon": "", + "Url": "editDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 58, + "Type": "button", + "Pid": 56, + "Title": "编辑权限", + "Icon": "", + "Url": "editRule", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 67, + "Type": "menu", + "Pid": 0, + "Title": "设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/91bdf052-5bd0-46a6-b6d8-15197a8ddc46.png", + "Url": "/setting", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 177, + "Type": "button", + "Pid": 67, + "Title": "司机权限", + "Icon": "", + "Url": "ge_diver_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 92, + "Type": "button", + "Pid": 67, + "Title": "设置v2", + "Icon": "", + "Url": "设置v2", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + } + ], + "MyTreeRule": [ + { + "ID": 51, + "Type": "menu", + "Pid": 0, + "Title": "首页", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/431a56ff-0fcb-4cb8-89f5-63a04e74246f.png", + "Url": "/home", + "Method": "*", + "Weigh": 100, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 79, + "Type": "button", + "Pid": 51, + "Title": "工作台权限", + "Icon": "", + "Url": "workBentch", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 144, + "Type": "button", + "Pid": 51, + "Title": "快速工作台权限", + "Icon": "", + "Url": "fastBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 145, + "Type": "button", + "Pid": 51, + "Title": "主管工作台权限", + "Icon": "", + "Url": "masterBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 146, + "Type": "button", + "Pid": 51, + "Title": "仓库货架权限", + "Icon": "", + "Url": "storeBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 210, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 创建", + "Icon": "", + "Url": "r_home_todo_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 211, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 编辑", + "Icon": "", + "Url": "r_home_todo_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 212, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 已阅读", + "Icon": "", + "Url": "r_home_todo_api_read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 213, + "Type": "interface", + "Pid": 51, + "Title": "首页待办事项已阅api", + "Icon": "", + "Url": "workbench/schedule-read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 224, + "Type": "button", + "Pid": 51, + "Title": "首页上方查看权限", + "Icon": "", + "Url": "home_top", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 225, + "Type": "button", + "Pid": 51, + "Title": "首页下方查看权限", + "Icon": "", + "Url": "home_bottom", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 242, + "Type": "button", + "Pid": 51, + "Title": "画展包内部权限", + "Icon": "", + "Url": "exhibition_inside_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 243, + "Type": "button", + "Pid": 51, + "Title": "画展包审批权限", + "Icon": "", + "Url": "exhibition_show_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 52, + "Type": "menu", + "Pid": 0, + "Title": "画家管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/cce3d3f9-196c-456c-b338-bc406c4e27db.png", + "Url": "/asArtist", + "Method": "*", + "Weigh": 99, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 64, + "Type": "interface", + "Pid": 52, + "Title": "测试列表", + "Icon": "", + "Url": "/asArtist/list222", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 66, + "Type": "interface", + "Pid": 52, + "Title": "画家列表", + "Icon": "", + "Url": "/asArtist/list", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 75, + "Type": "button", + "Pid": 52, + "Title": "画家列表搜索", + "Icon": "", + "Url": "artist_list_search", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 76, + "Type": "button", + "Pid": 52, + "Title": "画家详情", + "Icon": "", + "Url": "artist_list_detail", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 80, + "Type": "button", + "Pid": 52, + "Title": "删除画家", + "Icon": "", + "Url": "artist_list_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 82, + "Type": "button", + "Pid": 52, + "Title": "画家详情-基础资料", + "Icon": "", + "Url": "artist_basicInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 85, + "Type": "button", + "Pid": 52, + "Title": "画家详情-图像资料", + "Icon": "", + "Url": "artist_photoInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 86, + "Type": "button", + "Pid": 52, + "Title": "画家详情-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 87, + "Type": "button", + "Pid": 52, + "Title": "画家详情-合同数据", + "Icon": "", + "Url": "artist_contractInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 94, + "Type": "button", + "Pid": 52, + "Title": "创建画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 95, + "Type": "button", + "Pid": 52, + "Title": "创建画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 96, + "Type": "button", + "Pid": 52, + "Title": "创建画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 97, + "Type": "button", + "Pid": 52, + "Title": "创建画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 98, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 99, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 100, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 135, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 147, + "Type": "button", + "Pid": 52, + "Title": "导出画家基本信息", + "Icon": "", + "Url": "artist_downloadExcel", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 148, + "Type": "button", + "Pid": 52, + "Title": "添加画家邀请函", + "Icon": "", + "Url": "artist_InviteList_add", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 149, + "Type": "button", + "Pid": 52, + "Title": "修改画家邀请函", + "Icon": "", + "Url": "artist_InviteList_update", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 150, + "Type": "button", + "Pid": 52, + "Title": "删除画家邀请函", + "Icon": "", + "Url": "artist_InviteList_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 151, + "Type": "button", + "Pid": 52, + "Title": "复制画家邀请函", + "Icon": "", + "Url": "artist_InviteList_copy", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 152, + "Type": "button", + "Pid": 52, + "Title": "查看画家邀请函", + "Icon": "", + "Url": "artist_InviteList_check", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 178, + "Type": "button", + "Pid": 52, + "Title": "画家_导出图片等资源", + "Icon": "", + "Url": "artist_downloadExport", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 179, + "Type": "button", + "Pid": 52, + "Title": "画家详情_画展资料", + "Icon": "", + "Url": "artist_artExhibition", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 53, + "Type": "menu", + "Pid": 0, + "Title": "画作系统", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/aac72df9-c936-4e55-ab9a-e6ecdbdc6f11.png", + "Url": "/asArtwork", + "Method": "*", + "Weigh": 98, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 72, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格单行删除", + "Icon": "", + "Url": "r_artwork_index_btn_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 73, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格数据详情", + "Icon": "", + "Url": "r_artwork_index_btn_view", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 103, + "Type": "button", + "Pid": 53, + "Title": "画作列表 创建", + "Icon": "", + "Url": "r_artwork_index_btn_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 104, + "Type": "button", + "Pid": 53, + "Title": "画作列表 批量上传", + "Icon": "", + "Url": "r_artwork_index_btn_batchupload", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 105, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_basecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 106, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_baseedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 107, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_basedelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 108, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_extracreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 109, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_extraedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 110, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_extradelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 111, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 创建", + "Icon": "", + "Url": "r_artwork_view_btn_marketcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 112, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_marketedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 113, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 删除", + "Icon": "", + "Url": "r_artwork_view_btn_marketdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 114, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 创建", + "Icon": "", + "Url": "r_artwork_view_btn_digetcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 115, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_digetedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 116, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 删除", + "Icon": "", + "Url": "r_artwork_view_btn_digetdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 117, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 创建", + "Icon": "", + "Url": "r_artwork_view_btn_tagcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 118, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_tagedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 119, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 删除", + "Icon": "", + "Url": "r_artwork_view_btn_tagdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 121, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_authedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 122, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_authdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 123, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 创建", + "Icon": "", + "Url": "r_artwork_view_btn_warecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 124, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_wareedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 125, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 删除", + "Icon": "", + "Url": "r_artwork_view_btn_waredelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 142, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 发起公告", + "Icon": "", + "Url": "r_artwork_view_btn_createnote", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 156, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 基本信息", + "Icon": "", + "Url": "r_artwork_view_basic_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 157, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 补充信息", + "Icon": "", + "Url": "r_artwork_view_extra_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 158, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 市场信息", + "Icon": "", + "Url": "r_artwork_view_market_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 159, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 数字化信息", + "Icon": "", + "Url": "r_artwork_view_digit_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 160, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 标签信息", + "Icon": "", + "Url": "r_artwork_view_tag_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 161, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 鉴证信息", + "Icon": "", + "Url": "r_artwork_view_auth_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 162, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 仓储信息", + "Icon": "", + "Url": "r_artwork_view_ware_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 163, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 日志", + "Icon": "", + "Url": "r_artwork_view_log", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 164, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 留言板", + "Icon": "", + "Url": "r_artwork_view_message", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 168, + "Type": "button", + "Pid": 53, + "Title": "画作 导出画作数据", + "Icon": "", + "Url": "r_artwork_export_artwork", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 170, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_copyrightedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 171, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 标签", + "Icon": "", + "Url": "r_artwork_view_copy_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 223, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 画作名称字端", + "Icon": "", + "Url": "r_artwork_view_field_ArtworkName", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 226, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 验证", + "Icon": "", + "Url": "r_artwork_view_verify_page", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 227, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_verifydelete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 228, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_verifyedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 244, + "Type": "button", + "Pid": 53, + "Title": "梧桐链上链权限", + "Icon": "", + "Url": "wutong", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 245, + "Type": "button", + "Pid": 53, + "Title": "超级链上链权限", + "Icon": "", + "Url": "chaoji", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 246, + "Type": "button", + "Pid": 53, + "Title": "澄信链上链权限", + "Icon": "", + "Url": "chengxin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 247, + "Type": "button", + "Pid": 53, + "Title": "下载证书权限", + "Icon": "", + "Url": "quick-work-download", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 54, + "Type": "menu", + "Pid": 0, + "Title": "审批申请", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/09291748-6cd8-4de9-acf2-8d902247a8c7.png", + "Url": "/approval", + "Method": "*", + "Weigh": 97, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 102, + "Type": "interface", + "Pid": 54, + "Title": "审批信息", + "Icon": "", + "Url": "/approval/information", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 126, + "Type": "button", + "Pid": 54, + "Title": "已提交审批跳转按钮", + "Icon": "", + "Url": "has_approvaled_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 127, + "Type": "button", + "Pid": 54, + "Title": "正在审批跳转按钮", + "Icon": "", + "Url": "is_approvaling_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 128, + "Type": "button", + "Pid": 54, + "Title": "审批完成跳转按钮", + "Icon": "", + "Url": "complted_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 129, + "Type": "button", + "Pid": 54, + "Title": "未通过审批跳转按钮", + "Icon": "", + "Url": "not_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 130, + "Type": "button", + "Pid": 54, + "Title": "审批按钮", + "Icon": "", + "Url": "approval_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 131, + "Type": "button", + "Pid": 54, + "Title": "设置审批人按钮权限", + "Icon": "", + "Url": "approval_set_per_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 132, + "Type": "button", + "Pid": 54, + "Title": "审批类型按钮权限", + "Icon": "", + "Url": "approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 133, + "Type": "button", + "Pid": 54, + "Title": "画作分配按钮权限", + "Icon": "", + "Url": "artwork_distribute_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 134, + "Type": "button", + "Pid": 54, + "Title": "审批提交按钮权限", + "Icon": "", + "Url": "approval_submit_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 136, + "Type": "button", + "Pid": 54, + "Title": "添加新的类目按钮", + "Icon": "", + "Url": "add_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 137, + "Type": "button", + "Pid": 54, + "Title": "编辑类目", + "Icon": "", + "Url": "edit_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 138, + "Type": "button", + "Pid": 54, + "Title": "删除类目", + "Icon": "", + "Url": "del_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 139, + "Type": "button", + "Pid": 54, + "Title": "审批列表详情按钮权限", + "Icon": "", + "Url": "approval_table_detail_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 140, + "Type": "button", + "Pid": 54, + "Title": "审批列表删除按钮权限", + "Icon": "", + "Url": "approval_table_del_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 141, + "Type": "button", + "Pid": 54, + "Title": "审批列表阅读查看详情", + "Icon": "", + "Url": "approval_table_read_detail_btn", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 55, + "Type": "menu", + "Pid": 0, + "Title": "操作日志", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/88fdbe39-1a87-4f4d-829b-77f9d191d4f2.png", + "Url": "/operation", + "Method": "*", + "Weigh": 96, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 90, + "Type": "interface", + "Pid": 55, + "Title": "操作日志表格时间段列", + "Icon": "", + "Url": "/log/loglist", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 175, + "Type": "interface", + "Pid": 55, + "Title": "测试1", + "Icon": "", + "Url": "/test/test", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 56, + "Type": "menu", + "Pid": 0, + "Title": "权限设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/1c7ffc96-e42f-4429-b42d-0b873c0f238d.png", + "Url": "/permission", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 58, + "Type": "button", + "Pid": 56, + "Title": "编辑权限", + "Icon": "", + "Url": "editRule", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 59, + "Type": "button", + "Pid": 56, + "Title": "编辑部门", + "Icon": "", + "Url": "editDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 60, + "Type": "button", + "Pid": 56, + "Title": "编辑岗位", + "Icon": "", + "Url": "editPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 61, + "Type": "button", + "Pid": 56, + "Title": "编辑员工", + "Icon": "", + "Url": "editUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 62, + "Type": "button", + "Pid": 56, + "Title": "查看日志", + "Icon": "", + "Url": "checkLog", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 69, + "Type": "button", + "Pid": 56, + "Title": "创建部门", + "Icon": "", + "Url": "createDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 70, + "Type": "button", + "Pid": 56, + "Title": "新增岗位", + "Icon": "", + "Url": "addPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 71, + "Type": "button", + "Pid": 56, + "Title": "新增员工", + "Icon": "", + "Url": "addUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 222, + "Type": "button", + "Pid": 56, + "Title": "部门主管权限", + "Icon": "", + "Url": "department_boss_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 57, + "Type": "menu", + "Pid": 0, + "Title": "画展包", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/65015403-f999-4772-a328-c4afd5ae5f7d.png", + "Url": "/artExhibition", + "Method": "*", + "Weigh": 95, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 153, + "Type": "button", + "Pid": 57, + "Title": "画展包分配权限", + "Icon": "", + "Url": "artExhibition_give", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 154, + "Type": "button", + "Pid": 57, + "Title": "画展包生成", + "Icon": "", + "Url": "artExhibition_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 155, + "Type": "button", + "Pid": 57, + "Title": "画展包查看", + "Icon": "", + "Url": "artExhibition_see", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 187, + "Type": "button", + "Pid": 57, + "Title": "画展包润格编辑权限", + "Icon": "", + "Url": "art_package_reward", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 241, + "Type": "button", + "Pid": 57, + "Title": "画展包底价权限", + "Icon": "", + "Url": "art_package_price", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 67, + "Type": "menu", + "Pid": 0, + "Title": "设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/91bdf052-5bd0-46a6-b6d8-15197a8ddc46.png", + "Url": "/setting", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 92, + "Type": "button", + "Pid": 67, + "Title": "设置v2", + "Icon": "", + "Url": "设置v2", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 177, + "Type": "button", + "Pid": 67, + "Title": "司机权限", + "Icon": "", + "Url": "ge_diver_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 169, + "Type": "menu", + "Pid": 0, + "Title": "区块链抽奖", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/792d0540-7a8b-4de1-8c67-420bb6fb809e.png", + "Url": "/certmsg", + "Method": "*", + "Weigh": 10, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 174, + "Type": "button", + "Pid": 169, + "Title": "区块链 下载证书", + "Icon": "", + "Url": "r_salebot_index_btn_cert_down", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 176, + "Type": "button", + "Pid": 169, + "Title": "区块链抽奖 创建", + "Icon": "", + "Url": "r_salebot_index_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 234, + "Type": "menu", + "Pid": 0, + "Title": "画家宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/ff0f7156-a651-4aaa-a943-f7a20eed57c0.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 199, + "Type": "menu", + "Pid": 234, + "Title": "画家宝画家", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/f4917016-5cb9-4f15-b4ab-0217f52a7fc8.png", + "Url": "/paintersideartist", + "Method": "*", + "Weigh": 44, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 200, + "Type": "menu", + "Pid": 234, + "Title": "基本画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/a3d31c16-53f1-4811-a763-bb271c933cd4.png", + "Url": "/paintersideartwork", + "Method": "*", + "Weigh": 43, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 201, + "Type": "menu", + "Pid": 234, + "Title": "画家宝合同", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/86571797-1202-40aa-a95a-829cb27e351f.png", + "Url": "/paintersidecontract", + "Method": "*", + "Weigh": 40, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 209, + "Type": "menu", + "Pid": 234, + "Title": "物权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/3df69ba3-edc1-49f1-be28-ff59ef9fa249.png", + "Url": "/paintersidereceipt", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 214, + "Type": "menu", + "Pid": 234, + "Title": "合同画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2885febd-2848-4193-8771-275d2d479d02.png", + "Url": "/paintersideconartwork", + "Method": "*", + "Weigh": 39, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 215, + "Type": "menu", + "Pid": 234, + "Title": "视频资料", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/cd8f81e0-5416-4625-a15b-37ede65dbc75.png", + "Url": "/paintersideextravideo", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 216, + "Type": "menu", + "Pid": 234, + "Title": "画家指数", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/85707c50-33f7-4bbe-9058-9999802213a7.png", + "Url": "/paintersideextraissue", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 217, + "Type": "menu", + "Pid": 234, + "Title": "邀请关系", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/291c8026-8759-4ee5-93e7-3728e03f4d0c.png", + "Url": "/inviteindex", + "Method": "*", + "Weigh": 37, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 218, + "Type": "menu", + "Pid": 234, + "Title": "邀请人", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/c2ec0b16-f5cd-4833-948a-45a87fcd3ac5.png", + "Url": "/inviteperindex", + "Method": "*", + "Weigh": 36, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 219, + "Type": "menu", + "Pid": 234, + "Title": "画家补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/dd4a3142-3b56-40a7-af2b-dd477a26df46.png", + "Url": "/paintersideextraartist", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 220, + "Type": "menu", + "Pid": 234, + "Title": "画作补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/887b5aa7-9aff-4abb-867a-b37ca70a3d6d.png", + "Url": "/paintersideextraartwork", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 221, + "Type": "menu", + "Pid": 234, + "Title": "版权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2ad64f9f-42a1-43b4-974a-45097ca90a75.png", + "Url": "/paintersidereceiptcopy", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 238, + "Type": "menu", + "Pid": 0, + "Title": "艺树商城", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/488d18f2-33bc-40ec-a666-3215b5282599.png", + "Url": "", + "Method": "*", + "Weigh": 86, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 190, + "Type": "menu", + "Pid": 238, + "Title": "品牌方加入", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/406a2f85-d559-441b-afaa-291ba507bb98.png", + "Url": "/brandentry", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 197, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 创建", + "Icon": "", + "Url": "r_brand_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 202, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 编辑", + "Icon": "", + "Url": "r_brand_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 203, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 删除", + "Icon": "", + "Url": "r_brand_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 191, + "Type": "menu", + "Pid": 238, + "Title": "系列发布", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/e00b9263-c6e5-49fe-9c8f-de6ab7b62e07.png", + "Url": "/seriesrelease", + "Method": "*", + "Weigh": 23, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 195, + "Type": "button", + "Pid": 191, + "Title": "系列发布 创建", + "Icon": "", + "Url": "r_series_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 204, + "Type": "button", + "Pid": 191, + "Title": "系列发布 编辑", + "Icon": "", + "Url": "r_series_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 205, + "Type": "button", + "Pid": 191, + "Title": "系列发布 删除", + "Icon": "", + "Url": "r_series_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 206, + "Type": "button", + "Pid": 191, + "Title": "藏品 创建", + "Icon": "", + "Url": "r_shopitem_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 207, + "Type": "button", + "Pid": 191, + "Title": "藏品 编辑", + "Icon": "", + "Url": "r_shopitem_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 208, + "Type": "button", + "Pid": 191, + "Title": "藏品 删除", + "Icon": "", + "Url": "r_shopitem_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 194, + "Type": "menu", + "Pid": 238, + "Title": "销售情况", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/88b00b46-accd-4964-a35c-cafc3889c107.png", + "Url": "sale", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 239, + "Type": "menu", + "Pid": 0, + "Title": "销售宝", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/6d021b7f-9836-4886-a888-1246aa9025ab.png", + "Url": "", + "Method": "*", + "Weigh": 79, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 143, + "Type": "menu", + "Pid": 239, + "Title": "销售宝列表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/935425de-375f-4867-ac96-1a2b5b251a62.png", + "Url": "/salebot", + "Method": "*", + "Weigh": 15, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 165, + "Type": "button", + "Pid": 143, + "Title": "销售宝 查看报表", + "Icon": "", + "Url": "r_salebot_index_btn_site", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 166, + "Type": "button", + "Pid": 143, + "Title": "销售宝 导出站点数据", + "Icon": "", + "Url": "r_salebot_btn_site_export", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 172, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-总监", + "Icon": "", + "Url": "seller_mobile_boss_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 173, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-员工", + "Icon": "", + "Url": "seller_mobile_staff_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 180, + "Type": "menu", + "Pid": 239, + "Title": "出纳管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f76bf9b5-34da-4908-9c23-f4aa8f5893e3.png", + "Url": "/safecashiers", + "Method": "*", + "Weigh": 20, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 183, + "Type": "button", + "Pid": 180, + "Title": "出纳确认", + "Icon": "", + "Url": "safecashiers_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 181, + "Type": "menu", + "Pid": 239, + "Title": "内控管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f9f58cd7-3774-486e-bd3d-6f3543ef5288.png", + "Url": "/safecontrol", + "Method": "*", + "Weigh": 19, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 184, + "Type": "button", + "Pid": 181, + "Title": "内控批量编辑", + "Icon": "", + "Url": "safecontrol_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 188, + "Type": "button", + "Pid": 181, + "Title": "内控确认", + "Icon": "", + "Url": "safecontrol_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 193, + "Type": "button", + "Pid": 181, + "Title": "内控 导入", + "Icon": "", + "Url": "safecontrol_btn_exportin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 240, + "Type": "button", + "Pid": 181, + "Title": "内控 下载导入模板", + "Icon": "", + "Url": "safecontrol_btn_down_exportexcel", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 182, + "Type": "menu", + "Pid": 239, + "Title": "财务管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/ee74351f-777d-4ed3-b417-b965e0c3f7be.png", + "Url": "/safefinance", + "Method": "*", + "Weigh": 17, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 185, + "Type": "button", + "Pid": 182, + "Title": "财务批量编辑", + "Icon": "", + "Url": "safefinance_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 186, + "Type": "button", + "Pid": 182, + "Title": "财务导出", + "Icon": "", + "Url": "safefinance_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 189, + "Type": "button", + "Pid": 182, + "Title": "财务确认", + "Icon": "", + "Url": "safefinance_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + } + ], + "CanJump": 2, + "MenuType": "1" + }, + { + "ID": 248, + "Type": "menu", + "Pid": 0, + "Title": "会场签到", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/9a4833d1-d780-4c5d-88ab-3a94fb491352.png", + "Url": "/checkindex", + "Method": "*", + "Weigh": 9, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 249, + "Type": "menu", + "Pid": 0, + "Title": "画展包审核表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/d5f28ebb-5792-4e14-974c-66199c93f0e0.png", + "Url": "/artexhapprove", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 250, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 导出", + "Icon": "", + "Url": "r_artexhapprove_index_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 251, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 确认", + "Icon": "", + "Url": "r_artexhapprove_index_btn_confirm", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 252, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 完成", + "Icon": "", + "Url": "r_artexhapprove_index_btn_finish", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + } + ], + "MySecondRule": [ + { + "ID": 51, + "Type": "menu", + "Pid": 0, + "Title": "首页", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/431a56ff-0fcb-4cb8-89f5-63a04e74246f.png", + "Url": "/home", + "Method": "*", + "Weigh": 100, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 243, + "Type": "button", + "Pid": 51, + "Title": "画展包审批权限", + "Icon": "", + "Url": "exhibition_show_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 242, + "Type": "button", + "Pid": 51, + "Title": "画展包内部权限", + "Icon": "", + "Url": "exhibition_inside_key", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 225, + "Type": "button", + "Pid": 51, + "Title": "首页下方查看权限", + "Icon": "", + "Url": "home_bottom", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 224, + "Type": "button", + "Pid": 51, + "Title": "首页上方查看权限", + "Icon": "", + "Url": "home_top", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 213, + "Type": "interface", + "Pid": 51, + "Title": "首页待办事项已阅api", + "Icon": "", + "Url": "workbench/schedule-read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "[\"*\"]" + ], + "Name": "首页待办事项已阅api", + "ID": 17 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 212, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 已阅读", + "Icon": "", + "Url": "r_home_todo_api_read", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 211, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 编辑", + "Icon": "", + "Url": "r_home_todo_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 210, + "Type": "button", + "Pid": 51, + "Title": "首页待办事项 创建", + "Icon": "", + "Url": "r_home_todo_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 146, + "Type": "button", + "Pid": 51, + "Title": "仓库货架权限", + "Icon": "", + "Url": "storeBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 145, + "Type": "button", + "Pid": 51, + "Title": "主管工作台权限", + "Icon": "", + "Url": "masterBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 144, + "Type": "button", + "Pid": 51, + "Title": "快速工作台权限", + "Icon": "", + "Url": "fastBench", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 79, + "Type": "button", + "Pid": 51, + "Title": "工作台权限", + "Icon": "", + "Url": "workBentch", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 52, + "Type": "menu", + "Pid": 0, + "Title": "画家管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/cce3d3f9-196c-456c-b338-bc406c4e27db.png", + "Url": "/asArtist", + "Method": "*", + "Weigh": 99, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 179, + "Type": "button", + "Pid": 52, + "Title": "画家详情_画展资料", + "Icon": "", + "Url": "artist_artExhibition", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 178, + "Type": "button", + "Pid": 52, + "Title": "画家_导出图片等资源", + "Icon": "", + "Url": "artist_downloadExport", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 152, + "Type": "button", + "Pid": 52, + "Title": "查看画家邀请函", + "Icon": "", + "Url": "artist_InviteList_check", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 151, + "Type": "button", + "Pid": 52, + "Title": "复制画家邀请函", + "Icon": "", + "Url": "artist_InviteList_copy", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 150, + "Type": "button", + "Pid": 52, + "Title": "删除画家邀请函", + "Icon": "", + "Url": "artist_InviteList_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 149, + "Type": "button", + "Pid": 52, + "Title": "修改画家邀请函", + "Icon": "", + "Url": "artist_InviteList_update", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 148, + "Type": "button", + "Pid": 52, + "Title": "添加画家邀请函", + "Icon": "", + "Url": "artist_InviteList_add", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 147, + "Type": "button", + "Pid": 52, + "Title": "导出画家基本信息", + "Icon": "", + "Url": "artist_downloadExcel", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 135, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 100, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 99, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 98, + "Type": "button", + "Pid": 52, + "Title": "编辑画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_edit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 97, + "Type": "button", + "Pid": 52, + "Title": "创建画家-合同数据", + "Icon": "", + "Url": "artist_contractInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 96, + "Type": "button", + "Pid": 52, + "Title": "创建画家-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 95, + "Type": "button", + "Pid": 52, + "Title": "创建画家-图像资料", + "Icon": "", + "Url": "artist_photoInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 94, + "Type": "button", + "Pid": 52, + "Title": "创建画家-基础资料", + "Icon": "", + "Url": "artist_basicInfo_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 87, + "Type": "button", + "Pid": 52, + "Title": "画家详情-合同数据", + "Icon": "", + "Url": "artist_contractInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 86, + "Type": "button", + "Pid": 52, + "Title": "画家详情-个人荣誉", + "Icon": "", + "Url": "artist_honorInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 85, + "Type": "button", + "Pid": 52, + "Title": "画家详情-图像资料", + "Icon": "", + "Url": "artist_photoInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 82, + "Type": "button", + "Pid": 52, + "Title": "画家详情-基础资料", + "Icon": "", + "Url": "artist_basicInfo", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 80, + "Type": "button", + "Pid": 52, + "Title": "删除画家", + "Icon": "", + "Url": "artist_list_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 76, + "Type": "button", + "Pid": 52, + "Title": "画家详情", + "Icon": "", + "Url": "artist_list_detail", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 75, + "Type": "button", + "Pid": 52, + "Title": "画家列表搜索", + "Icon": "", + "Url": "artist_list_search", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 66, + "Type": "interface", + "Pid": 52, + "Title": "画家列表", + "Icon": "", + "Url": "/asArtist/list", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName", + "BankNum", + "Seqnum", + "Num", + "Address", + "Student", + "StyleFaction" + ], + "Name": "管理层", + "ID": 7 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Gender", + "Age", + "NativePlace", + "Phone", + "Email", + "CardId", + "BankName" + ], + "Name": "员工层", + "ID": 8 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 64, + "Type": "interface", + "Pid": 52, + "Title": "测试列表", + "Icon": "", + "Url": "/asArtist/list222", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email" + ], + "Name": "仓库查看字段", + "ID": 3 + }, + { + "DataField": [ + "Uid", + "Name", + "PenName", + "Age", + "NativePlace", + "Phone", + "Email", + "Num" + ], + "Name": "数字化查看字段", + "ID": 4 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 53, + "Type": "menu", + "Pid": 0, + "Title": "画作系统", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/aac72df9-c936-4e55-ab9a-e6ecdbdc6f11.png", + "Url": "/asArtwork", + "Method": "*", + "Weigh": 98, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 247, + "Type": "button", + "Pid": 53, + "Title": "下载证书权限", + "Icon": "", + "Url": "quick-work-download", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 246, + "Type": "button", + "Pid": 53, + "Title": "澄信链上链权限", + "Icon": "", + "Url": "chengxin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 245, + "Type": "button", + "Pid": 53, + "Title": "超级链上链权限", + "Icon": "", + "Url": "chaoji", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 244, + "Type": "button", + "Pid": 53, + "Title": "梧桐链上链权限", + "Icon": "", + "Url": "wutong", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 228, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_verifyedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 227, + "Type": "button", + "Pid": 53, + "Title": "画作 验证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_verifydelete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 226, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 验证", + "Icon": "", + "Url": "r_artwork_view_verify_page", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 223, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 画作名称字端", + "Icon": "", + "Url": "r_artwork_view_field_ArtworkName", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 171, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 标签", + "Icon": "", + "Url": "r_artwork_view_copy_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 170, + "Type": "button", + "Pid": 53, + "Title": "画作 版权 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_copyrightedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 168, + "Type": "button", + "Pid": 53, + "Title": "画作 导出画作数据", + "Icon": "", + "Url": "r_artwork_export_artwork", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 164, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 留言板", + "Icon": "", + "Url": "r_artwork_view_message", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 163, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 日志", + "Icon": "", + "Url": "r_artwork_view_log", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 162, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 仓储信息", + "Icon": "", + "Url": "r_artwork_view_ware_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 161, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 鉴证信息", + "Icon": "", + "Url": "r_artwork_view_auth_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 160, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 标签信息", + "Icon": "", + "Url": "r_artwork_view_tag_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 159, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 数字化信息", + "Icon": "", + "Url": "r_artwork_view_digit_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 158, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 市场信息", + "Icon": "", + "Url": "r_artwork_view_market_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 157, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 补充信息", + "Icon": "", + "Url": "r_artwork_view_extra_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 156, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 基本信息", + "Icon": "", + "Url": "r_artwork_view_basic_page", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 142, + "Type": "button", + "Pid": 53, + "Title": "画作 详情 发起公告", + "Icon": "", + "Url": "r_artwork_view_btn_createnote", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 125, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 删除", + "Icon": "", + "Url": "r_artwork_view_btn_waredelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 124, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_wareedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 123, + "Type": "button", + "Pid": 53, + "Title": "画作 仓储 创建", + "Icon": "", + "Url": "r_artwork_view_btn_warecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 122, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 删除", + "Icon": "", + "Url": "r_artwork_view_btn_authdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 121, + "Type": "button", + "Pid": 53, + "Title": "画作 鉴证 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_authedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 119, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 删除", + "Icon": "", + "Url": "r_artwork_view_btn_tagdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 118, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_tagedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 117, + "Type": "button", + "Pid": 53, + "Title": "画作 标签 创建", + "Icon": "", + "Url": "r_artwork_view_btn_tagcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 116, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 删除", + "Icon": "", + "Url": "r_artwork_view_btn_digetdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 115, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_digetedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 114, + "Type": "button", + "Pid": 53, + "Title": "画作 数字化 创建", + "Icon": "", + "Url": "r_artwork_view_btn_digetcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 113, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 删除", + "Icon": "", + "Url": "r_artwork_view_btn_marketdelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 112, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_marketedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 111, + "Type": "button", + "Pid": 53, + "Title": "画作 市场 创建", + "Icon": "", + "Url": "r_artwork_view_btn_marketcreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 110, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_extradelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 109, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_extraedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 108, + "Type": "button", + "Pid": 53, + "Title": "画作 补充信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_extracreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 107, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 删除", + "Icon": "", + "Url": "r_artwork_view_btn_basedelete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 106, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 编辑", + "Icon": "", + "Url": "r_artwork_view_btn_baseedit", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 105, + "Type": "button", + "Pid": 53, + "Title": "画作 基础信息 创建", + "Icon": "", + "Url": "r_artwork_view_btn_basecreate", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 104, + "Type": "button", + "Pid": 53, + "Title": "画作列表 批量上传", + "Icon": "", + "Url": "r_artwork_index_btn_batchupload", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 103, + "Type": "button", + "Pid": 53, + "Title": "画作列表 创建", + "Icon": "", + "Url": "r_artwork_index_btn_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 73, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格数据详情", + "Icon": "", + "Url": "r_artwork_index_btn_view", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 72, + "Type": "button", + "Pid": 53, + "Title": "画作列表 表格单行删除", + "Icon": "", + "Url": "r_artwork_index_btn_delete", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 54, + "Type": "menu", + "Pid": 0, + "Title": "审批申请", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/09291748-6cd8-4de9-acf2-8d902247a8c7.png", + "Url": "/approval", + "Method": "*", + "Weigh": 97, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 141, + "Type": "button", + "Pid": 54, + "Title": "审批列表阅读查看详情", + "Icon": "", + "Url": "approval_table_read_detail_btn", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 140, + "Type": "button", + "Pid": 54, + "Title": "审批列表删除按钮权限", + "Icon": "", + "Url": "approval_table_del_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 139, + "Type": "button", + "Pid": 54, + "Title": "审批列表详情按钮权限", + "Icon": "", + "Url": "approval_table_detail_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 138, + "Type": "button", + "Pid": 54, + "Title": "删除类目", + "Icon": "", + "Url": "del_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 137, + "Type": "button", + "Pid": 54, + "Title": "编辑类目", + "Icon": "", + "Url": "edit_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 136, + "Type": "button", + "Pid": 54, + "Title": "添加新的类目按钮", + "Icon": "", + "Url": "add_approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 134, + "Type": "button", + "Pid": 54, + "Title": "审批提交按钮权限", + "Icon": "", + "Url": "approval_submit_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 133, + "Type": "button", + "Pid": 54, + "Title": "画作分配按钮权限", + "Icon": "", + "Url": "artwork_distribute_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 132, + "Type": "button", + "Pid": 54, + "Title": "审批类型按钮权限", + "Icon": "", + "Url": "approval_type_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 131, + "Type": "button", + "Pid": 54, + "Title": "设置审批人按钮权限", + "Icon": "", + "Url": "approval_set_per_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 130, + "Type": "button", + "Pid": 54, + "Title": "审批按钮", + "Icon": "", + "Url": "approval_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 129, + "Type": "button", + "Pid": 54, + "Title": "未通过审批跳转按钮", + "Icon": "", + "Url": "not_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 128, + "Type": "button", + "Pid": 54, + "Title": "审批完成跳转按钮", + "Icon": "", + "Url": "complted_approvale_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 127, + "Type": "button", + "Pid": 54, + "Title": "正在审批跳转按钮", + "Icon": "", + "Url": "is_approvaling_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 126, + "Type": "button", + "Pid": 54, + "Title": "已提交审批跳转按钮", + "Icon": "", + "Url": "has_approvaled_jump_btn", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 102, + "Type": "interface", + "Pid": 54, + "Title": "审批信息", + "Icon": "", + "Url": "/approval/information", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "*" + ], + "Name": "所有", + "ID": 13 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 55, + "Type": "menu", + "Pid": 0, + "Title": "操作日志", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/88fdbe39-1a87-4f4d-829b-77f9d191d4f2.png", + "Url": "/operation", + "Method": "*", + "Weigh": 96, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 175, + "Type": "interface", + "Pid": 55, + "Title": "测试1", + "Icon": "", + "Url": "/test/test", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "id" + ], + "Name": "测试1", + "ID": 15 + }, + { + "DataField": [ + "id" + ], + "Name": "测试2", + "ID": 16 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 90, + "Type": "interface", + "Pid": 55, + "Title": "操作日志表格时间段列", + "Icon": "", + "Url": "/log/loglist", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": [ + { + "DataField": [ + "DepartmentName", + "Domain", + "LogGrade", + "LogId", + "Method", + "Name", + "PositionName", + "Url" + ], + "Name": "没有时间", + "ID": 10 + }, + { + "DataField": [ + "*" + ], + "Name": "全部", + "ID": 11 + } + ], + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 57, + "Type": "menu", + "Pid": 0, + "Title": "画展包", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/65015403-f999-4772-a328-c4afd5ae5f7d.png", + "Url": "/artExhibition", + "Method": "*", + "Weigh": 95, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 241, + "Type": "button", + "Pid": 57, + "Title": "画展包底价权限", + "Icon": "", + "Url": "art_package_price", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 187, + "Type": "button", + "Pid": 57, + "Title": "画展包润格编辑权限", + "Icon": "", + "Url": "art_package_reward", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 155, + "Type": "button", + "Pid": 57, + "Title": "画展包查看", + "Icon": "", + "Url": "artExhibition_see", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 154, + "Type": "button", + "Pid": 57, + "Title": "画展包生成", + "Icon": "", + "Url": "artExhibition_create", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 153, + "Type": "button", + "Pid": 57, + "Title": "画展包分配权限", + "Icon": "", + "Url": "artExhibition_give", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 199, + "Type": "menu", + "Pid": 234, + "Title": "画家宝画家", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/f4917016-5cb9-4f15-b4ab-0217f52a7fc8.png", + "Url": "/paintersideartist", + "Method": "*", + "Weigh": 44, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 200, + "Type": "menu", + "Pid": 234, + "Title": "基本画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/a3d31c16-53f1-4811-a763-bb271c933cd4.png", + "Url": "/paintersideartwork", + "Method": "*", + "Weigh": 43, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 220, + "Type": "menu", + "Pid": 234, + "Title": "画作补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/887b5aa7-9aff-4abb-867a-b37ca70a3d6d.png", + "Url": "/paintersideextraartwork", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 215, + "Type": "menu", + "Pid": 234, + "Title": "视频资料", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/cd8f81e0-5416-4625-a15b-37ede65dbc75.png", + "Url": "/paintersideextravideo", + "Method": "*", + "Weigh": 42, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 219, + "Type": "menu", + "Pid": 234, + "Title": "画家补充", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/dd4a3142-3b56-40a7-af2b-dd477a26df46.png", + "Url": "/paintersideextraartist", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 216, + "Type": "menu", + "Pid": 234, + "Title": "画家指数", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/85707c50-33f7-4bbe-9058-9999802213a7.png", + "Url": "/paintersideextraissue", + "Method": "*", + "Weigh": 41, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 201, + "Type": "menu", + "Pid": 234, + "Title": "画家宝合同", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/86571797-1202-40aa-a95a-829cb27e351f.png", + "Url": "/paintersidecontract", + "Method": "*", + "Weigh": 40, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 214, + "Type": "menu", + "Pid": 234, + "Title": "合同画作", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2885febd-2848-4193-8771-275d2d479d02.png", + "Url": "/paintersideconartwork", + "Method": "*", + "Weigh": 39, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 221, + "Type": "menu", + "Pid": 234, + "Title": "版权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/2ad64f9f-42a1-43b4-974a-45097ca90a75.png", + "Url": "/paintersidereceiptcopy", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 209, + "Type": "menu", + "Pid": 234, + "Title": "物权对账", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/3df69ba3-edc1-49f1-be28-ff59ef9fa249.png", + "Url": "/paintersidereceipt", + "Method": "*", + "Weigh": 38, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 217, + "Type": "menu", + "Pid": 234, + "Title": "邀请关系", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/291c8026-8759-4ee5-93e7-3728e03f4d0c.png", + "Url": "/inviteindex", + "Method": "*", + "Weigh": 37, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 218, + "Type": "menu", + "Pid": 234, + "Title": "邀请人", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/c2ec0b16-f5cd-4833-948a-45a87fcd3ac5.png", + "Url": "/inviteperindex", + "Method": "*", + "Weigh": 36, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 194, + "Type": "menu", + "Pid": 238, + "Title": "销售情况", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/88b00b46-accd-4964-a35c-cafc3889c107.png", + "Url": "sale", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 190, + "Type": "menu", + "Pid": 238, + "Title": "品牌方加入", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/406a2f85-d559-441b-afaa-291ba507bb98.png", + "Url": "/brandentry", + "Method": "*", + "Weigh": 24, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 203, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 删除", + "Icon": "", + "Url": "r_brand_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 202, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 编辑", + "Icon": "", + "Url": "r_brand_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 197, + "Type": "button", + "Pid": 190, + "Title": "品牌方加入 创建", + "Icon": "", + "Url": "r_brand_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 191, + "Type": "menu", + "Pid": 238, + "Title": "系列发布", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/e00b9263-c6e5-49fe-9c8f-de6ab7b62e07.png", + "Url": "/seriesrelease", + "Method": "*", + "Weigh": 23, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 208, + "Type": "button", + "Pid": 191, + "Title": "藏品 删除", + "Icon": "", + "Url": "r_shopitem_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 207, + "Type": "button", + "Pid": 191, + "Title": "藏品 编辑", + "Icon": "", + "Url": "r_shopitem_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 206, + "Type": "button", + "Pid": 191, + "Title": "藏品 创建", + "Icon": "", + "Url": "r_shopitem_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 205, + "Type": "button", + "Pid": 191, + "Title": "系列发布 删除", + "Icon": "", + "Url": "r_series_btn_delete", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 204, + "Type": "button", + "Pid": 191, + "Title": "系列发布 编辑", + "Icon": "", + "Url": "r_series_btn_edit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 195, + "Type": "button", + "Pid": 191, + "Title": "系列发布 创建", + "Icon": "", + "Url": "r_series_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 180, + "Type": "menu", + "Pid": 239, + "Title": "出纳管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f76bf9b5-34da-4908-9c23-f4aa8f5893e3.png", + "Url": "/safecashiers", + "Method": "*", + "Weigh": 20, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 183, + "Type": "button", + "Pid": 180, + "Title": "出纳确认", + "Icon": "", + "Url": "safecashiers_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 181, + "Type": "menu", + "Pid": 239, + "Title": "内控管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/f9f58cd7-3774-486e-bd3d-6f3543ef5288.png", + "Url": "/safecontrol", + "Method": "*", + "Weigh": 19, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 240, + "Type": "button", + "Pid": 181, + "Title": "内控 下载导入模板", + "Icon": "", + "Url": "safecontrol_btn_down_exportexcel", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 193, + "Type": "button", + "Pid": 181, + "Title": "内控 导入", + "Icon": "", + "Url": "safecontrol_btn_exportin", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 188, + "Type": "button", + "Pid": 181, + "Title": "内控确认", + "Icon": "", + "Url": "safecontrol_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 184, + "Type": "button", + "Pid": 181, + "Title": "内控批量编辑", + "Icon": "", + "Url": "safecontrol_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 182, + "Type": "menu", + "Pid": 239, + "Title": "财务管理", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/ee74351f-777d-4ed3-b417-b965e0c3f7be.png", + "Url": "/safefinance", + "Method": "*", + "Weigh": 17, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 189, + "Type": "button", + "Pid": 182, + "Title": "财务确认", + "Icon": "", + "Url": "safefinance_btn_sure", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 186, + "Type": "button", + "Pid": 182, + "Title": "财务导出", + "Icon": "", + "Url": "safefinance_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 185, + "Type": "button", + "Pid": 182, + "Title": "财务批量编辑", + "Icon": "", + "Url": "safefinance_btn_batchedit", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 143, + "Type": "menu", + "Pid": 239, + "Title": "销售宝列表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/935425de-375f-4867-ac96-1a2b5b251a62.png", + "Url": "/salebot", + "Method": "*", + "Weigh": 15, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 173, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-员工", + "Icon": "", + "Url": "seller_mobile_staff_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 172, + "Type": "button", + "Pid": 143, + "Title": "销售宝移动端权限-总监", + "Icon": "", + "Url": "seller_mobile_boss_auth", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 166, + "Type": "button", + "Pid": 143, + "Title": "销售宝 导出站点数据", + "Icon": "", + "Url": "r_salebot_btn_site_export", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 165, + "Type": "button", + "Pid": 143, + "Title": "销售宝 查看报表", + "Icon": "", + "Url": "r_salebot_index_btn_site", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "2" + }, + { + "ID": 169, + "Type": "menu", + "Pid": 0, + "Title": "区块链抽奖", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/792d0540-7a8b-4de1-8c67-420bb6fb809e.png", + "Url": "/certmsg", + "Method": "*", + "Weigh": 10, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 176, + "Type": "button", + "Pid": 169, + "Title": "区块链抽奖 创建", + "Icon": "", + "Url": "r_salebot_index_btn_create", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 174, + "Type": "button", + "Pid": 169, + "Title": "区块链 下载证书", + "Icon": "", + "Url": "r_salebot_index_btn_cert_down", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 248, + "Type": "menu", + "Pid": 0, + "Title": "会场签到", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/9a4833d1-d780-4c5d-88ab-3a94fb491352.png", + "Url": "/checkindex", + "Method": "*", + "Weigh": 9, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 249, + "Type": "menu", + "Pid": 0, + "Title": "画展包审核表", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/image/undefined/undefined/d5f28ebb-5792-4e14-974c-66199c93f0e0.png", + "Url": "/artexhapprove", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 252, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 完成", + "Icon": "", + "Url": "r_artexhapprove_index_btn_finish", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 251, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 确认", + "Icon": "", + "Url": "r_artexhapprove_index_btn_confirm", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 250, + "Type": "button", + "Pid": 249, + "Title": "画展包审核 导出", + "Icon": "", + "Url": "r_artexhapprove_index_btn_export", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 56, + "Type": "menu", + "Pid": 0, + "Title": "权限设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/1c7ffc96-e42f-4429-b42d-0b873c0f238d.png", + "Url": "/permission", + "Method": "*", + "Weigh": 8, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 222, + "Type": "button", + "Pid": 56, + "Title": "部门主管权限", + "Icon": "", + "Url": "department_boss_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 71, + "Type": "button", + "Pid": 56, + "Title": "新增员工", + "Icon": "", + "Url": "addUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 70, + "Type": "button", + "Pid": 56, + "Title": "新增岗位", + "Icon": "", + "Url": "addPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 69, + "Type": "button", + "Pid": 56, + "Title": "创建部门", + "Icon": "", + "Url": "createDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 62, + "Type": "button", + "Pid": 56, + "Title": "查看日志", + "Icon": "", + "Url": "checkLog", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 61, + "Type": "button", + "Pid": 56, + "Title": "编辑员工", + "Icon": "", + "Url": "editUser", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 60, + "Type": "button", + "Pid": 56, + "Title": "编辑岗位", + "Icon": "", + "Url": "editPosition", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 59, + "Type": "button", + "Pid": 56, + "Title": "编辑部门", + "Icon": "", + "Url": "editDepart", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 58, + "Type": "button", + "Pid": 56, + "Title": "编辑权限", + "Icon": "", + "Url": "editRule", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + }, + { + "ID": 67, + "Type": "menu", + "Pid": 0, + "Title": "设置", + "Icon": "https://dci-file.bj.bcebos.com/fonchain-main/test/runtime/image/undefined/undefined/91bdf052-5bd0-46a6-b6d8-15197a8ddc46.png", + "Url": "/setting", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": [ + { + "ID": 177, + "Type": "button", + "Pid": 67, + "Title": "司机权限", + "Icon": "", + "Url": "ge_diver_auth", + "Method": "*", + "Weigh": 1, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + }, + { + "ID": 92, + "Type": "button", + "Pid": 67, + "Title": "设置v2", + "Icon": "", + "Url": "设置v2", + "Method": "*", + "Weigh": 0, + "Status": "", + "Remark": "", + "Extend": "", + "RuleData": null, + "Son": null, + "CanJump": 1, + "MenuType": "" + } + ], + "CanJump": 1, + "MenuType": "1" + } + ] +} +`) + + var returnDatas = MenuDatas{} + json.Unmarshal(tempRouters, &returnDatas) + c.JSON(200, returnDatas) +} + +type MenuDatas struct { + AllMenus []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"AllMenus"` + AllRules []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData []struct { + DataField []string `json:"DataField"` + Name string `json:"Name"` + ID int `json:"ID"` + } `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"AllRules"` + AllInterfaceRules []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData []struct { + DataField []string `json:"DataField"` + Name string `json:"Name"` + ID int `json:"ID"` + } `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"AllInterfaceRules"` + MyMenuAuths []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"MyMenuAuths"` + MyRules []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"MyRules"` + MyButtonAuths []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"MyButtonAuths"` + MyInterFaceAuths []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData []struct { + DataField []string `json:"DataField"` + Name string `json:"Name"` + ID int `json:"ID"` + } `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"MyInterFaceAuths"` + PositionUsers []struct { + PositionID int `json:"PositionID"` + PositionName string `json:"PositionName"` + DepartmentId int `json:"DepartmentId"` + DepartmentCode string `json:"DepartmentCode"` + DepartmentName string `json:"DepartmentName"` + UserId int `json:"UserId"` + UserName string `json:"UserName"` + } `json:"PositionUsers"` + DepartmentLeaders interface{} `json:"DepartmentLeaders"` + AllTreeRule []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData []struct { + DataField []string `json:"DataField"` + Name string `json:"Name"` + ID int `json:"ID"` + } `json:"RuleData"` + Son []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"AllTreeRule"` + MyTreeRule []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"MyTreeRule"` + MySecondRule []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData interface{} `json:"RuleData"` + Son []struct { + ID int `json:"ID"` + Type string `json:"Type"` + Pid int `json:"Pid"` + Title string `json:"Title"` + Icon string `json:"Icon"` + Url string `json:"Url"` + Method string `json:"Method"` + Weigh int `json:"Weigh"` + Status string `json:"Status"` + Remark string `json:"Remark"` + Extend string `json:"Extend"` + RuleData []struct { + DataField []string `json:"DataField"` + Name string `json:"Name"` + ID int `json:"ID"` + } `json:"RuleData"` + Son interface{} `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"Son"` + CanJump int `json:"CanJump"` + MenuType string `json:"MenuType"` + } `json:"MySecondRule"` +} diff --git a/pkg/service/backend/readme.md b/pkg/service/backend/readme.md new file mode 100644 index 0000000..95e457b --- /dev/null +++ b/pkg/service/backend/readme.md @@ -0,0 +1,3 @@ +# backend 后台接口模块 +## 说明 +此目录下包含所有后台的接口,其它同级目录均为手机端(用户端)模块 \ No newline at end of file diff --git a/pkg/service/base.go b/pkg/service/base.go new file mode 100644 index 0000000..5ec7f94 --- /dev/null +++ b/pkg/service/base.go @@ -0,0 +1,239 @@ +package service + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval/model" + "net/http" + "reflect" + + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" +) + +// Success Success(c,someMap) +func Success(c *gin.Context, datas ...interface{}) { + var data any + if datas != nil { + data = datas[0] + } + dataFieldStr, _ := c.Get("dataField") + key := []string{"*"} + + if dataFieldStr != "" && dataFieldStr != nil { + dataField := dataFieldStr.([]string) + key = dataField + + if len(dataField) == 1 && dataField[0] == "*" { //不做处理 + + } else if len(dataField) >= 1 { + isList := isList(reflect.TypeOf(data).Elem()) + + // 是列表返回 + if isList == false { + ChangeFromReflect(data, dataField) + } else { + ChangeRawFromReflect(data, dataField) + } + } + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: data, + // Keys: dataField, + Keys: key, + }) + c.Abort() +} + +// SuccessByDataAuth SuccessByDataAuth(c,someMap) +func SuccessByDataAuth(c *gin.Context, data interface{}) { + + dataField, _ := c.Get("dataField") + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: data, + Keys: dataField.([]string), + }) + + c.Abort() +} + +// Error 统一错误返回 +func Error(c *gin.Context, code int, err error, msg ...string) { + + fmt.Println("err:", err) + status := e.Failed + if code == e.NotLogin { + status = e.NotLogin + } + + if code == e.NotLoginSqueeze { + status = e.NotLoginSqueeze + } + + var msgStr string + if msg != nil { + msgStr = msg[0] + } else if err != nil { + msgStr = err.Error() + } + + // 国际化 + if e.VerifyMsgKey(msgStr) { + msgStr = logic.ConvertOaMsg(c, msgStr) + } else { + lang := c.Request.Header.Get("Accept-Language") + msgStr = model.GetLanguageType(lang, msgStr) + } + + c.JSON(e.Success, serializer.Response{ + Status: status, + Msg: msgStr, + Data: nil, + }) + + c.Abort() +} + +// NotLoginRes 未登录的返回 +func NotLoginRes(c *gin.Context, msg string) { + + c.JSON(e.Success, serializer.Response{ + Code: 401, + Status: 1, + Msg: msg, + Data: nil, + }) + + c.Abort() +} + +func ResponseMsg(c *gin.Context, httpCode int, Resp serializer.Response) { + if httpCode == 0 { + httpCode = http.StatusOK + } + + // 国际化 + if e.VerifyMsgKey(Resp.Msg) { + Resp.Msg = logic.ConvertOaMsg(c, Resp.Msg) + } + + c.JSON(httpCode, serializer.Response{ + Status: Resp.Status, + Code: Resp.Code, + Msg: Resp.Msg, + Error: Resp.Error, + Data: Resp.Data, + }) +} + +func ResponseQuickMsg(c *gin.Context, Status uint8, Msg string, Data interface{}) { + //var c gin.Context + c.JSON(http.StatusOK, serializer.Response{ + Status: int(Status), + Msg: Msg, + Data: Data, + }) +} + +func isList(m reflect.Type) bool { + dataExist := false + + for i := 0; i < m.NumField(); i++ { + + fieldType := m.Field(i) + + if fieldType.Name == "Data" { + getValue := reflect.ValueOf(fieldType) + + if getValue.Kind() != reflect.Slice { + dataExist = true + } + + break + } + } + + return dataExist +} + +func IsContainString(items []string, item string) bool { + for _, eachItem := range items { + if eachItem == item { + return true + } + } + return false +} + +func ChangeFromReflect(data interface{}, dataField []string) { + m := reflect.TypeOf(data).Elem() + for i := 0; i < m.NumField(); i++ { + fieldType := m.Field(i) + if IsContainString(dataField, fieldType.Name) == false { + field := reflect.ValueOf(data).Elem().FieldByName(fieldType.Name) + + switch m.Field(i).Type.Name() { + case "int": + if field.CanSet() { + field.SetInt(0) + } + case "uint": + if field.CanSet() { + field.SetUint(0) + } + case "uint64": + if field.CanSet() { + field.SetUint(0) + } + case "string": + if field.CanSet() { + field.SetString("") + } + default: + if reflect.ValueOf(data).Elem().FieldByName(fieldType.Name).CanAddr() { + if reflect.ValueOf(data).Elem().FieldByName(fieldType.Name).Kind() == reflect.Slice { + field := reflect.ValueOf(data).Elem().FieldByName(fieldType.Name) + + if field.CanSet() { + field.Set(reflect.MakeSlice(field.Type(), 0, 0)) + } + } + + if reflect.ValueOf(data).Elem().FieldByName(fieldType.Name).Kind() == reflect.Struct { + } + + if reflect.ValueOf(data).Elem().FieldByName(fieldType.Name).Kind() == reflect.Ptr { + field := reflect.ValueOf(data).Elem().FieldByName(fieldType.Name) + if !reflect.ValueOf(data).Elem().FieldByName(fieldType.Name).IsNil() { + fieldType := reflect.ValueOf(data).Elem().FieldByName(fieldType.Name).Elem().Type() + + if field.CanSet() { + field.Set(reflect.New(fieldType)) + } + } + + } + } + + } + } + } + +} + +func ChangeRawFromReflect(data interface{}, dataField []string) { + + sliceContent := reflect.ValueOf(data).Elem().FieldByName("Data") + for i := 0; i < sliceContent.Len(); i++ { + sliceContent.Index(i) + ChangeFromReflect(sliceContent.Index(i).Interface(), dataField) + } + +} diff --git a/pkg/service/base2.go b/pkg/service/base2.go new file mode 100644 index 0000000..0bfe2b4 --- /dev/null +++ b/pkg/service/base2.go @@ -0,0 +1,213 @@ +// Package pkg ----------------------------- +// @file : base2.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/6 17:00 +// ------------------------------------------- +package service + +import ( + "context" + "encoding/json" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "reflect" + "strings" + + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" +) + +type ListData struct { + Data any `json:"Data"` +} + +func ErrorWithMark(c *gin.Context, code int, err error, mark string, msg ...string) { + fmt.Println("!!!!!ERROR:", mark) + errMsg := "" + if err != nil { + errMsg = err.Error() + } + c.JSON(e.Success, serializer.Response{ + Status: e.Failed, + Code: code, + Err: errMsg, + Msg: utils.If(msg != nil, strings.Join(msg, ";"), "").(string), + Mark: mark, + Data: struct{}{}, + }) + c.Abort() +} + +// 返回单条数据 +func ResponseData(c *gin.Context, data interface{}, opts ...ResponseOption) { + var response = serializer.Response{ + Status: e.Ok, + Code: e.Ok, + Data: data, + Msg: "ok", + Keys: []string{"*"}, + } + if opts != nil { + for _, opt := range opts { + opt(&response) + } + } + if response.Data == nil { + response.Data = struct{}{} + } + c.JSON(response.Status, response) +} + +type ResponseOption func(*serializer.Response) + +// 返回列表 +func ResponseList(c *gin.Context, list any, opts ...ResponseOption) { + var response = serializer.Response{ + Status: e.Ok, + Code: e.Ok, + Data: ListData{Data: list}, + Msg: "ok", + Keys: []string{"*"}, + } + if opts != nil { + for _, opt := range opts { + opt(&response) + } + } + c.JSON(response.Status, response) +} + +func OptionMark(mark string) ResponseOption { + fmt.Println("!!!!!ERROR:", mark) + return func(response *serializer.Response) { + response.Mark = mark + } +} +func OptionMsg(msg string) ResponseOption { + return func(response *serializer.Response) { + response.Msg = msg + } +} + +func OptionPage[T1 int | int32 | int64 | uint64, T2 int32 | int64 | int](page, pageSize T1, total T2) ResponseOption { + return func(response *serializer.Response) { + //优化返回值,使其不为空 + //t := reflect.TypeOf(response.Data) + if response.Data == nil { //|| ((t.Kind() == reflect.Slice || t.Kind() == reflect.Array) && reflect.ValueOf(response.Data).Len() == 0) + response.Data = ListData{Data: []struct{}{}} + } else if list, ok := response.Data.(ListData); ok { + //t := reflect.TypeOf(ListData) + //fmt.Println(t.Kind() == reflect.Slice) + //fmt.Println(t.Kind() == reflect.Array) + //fmt.Println(reflect.ValueOf(ListData.Data).Len()) + if list.Data == nil || reflect.ValueOf(list.Data).Len() == 0 { + response.Data = ListData{Data: []struct{}{}} + } + } + response.Page = &serializer.PageInfo{ + Page: int32(page), + PageSize: int32(pageSize), + Total: int32(total), + } + //按前端需求,将total放在response.Data里面 + bytesData, _ := json.Marshal(response.Data) + var mapData map[string]any + _ = json.Unmarshal(bytesData, &mapData) + mapData["Total"] = total + response.Data = mapData + } +} + +// 在列表数据的每项中添加字段--画展数量统计 +func OptionAddField_ArtshowCount(artistUidJsonField string) ResponseOption { + return func(response *serializer.Response) { + var tmplist = []map[string]any{} + var listData ListData + var mapData map[string]any + var ok bool + if response.Data == nil { + fmt.Println("OptionAddField_ArtshowCount: response.Data is nil") + return + } else if listData, ok = response.Data.(ListData); ok { + if listData.Data == nil || reflect.ValueOf(listData.Data).Len() == 0 { + fmt.Println("OptionAddField_ArtshowCount: response.Data length is 0") + return + } + bytesData, _ := json.Marshal(listData.Data) + _ = json.Unmarshal(bytesData, &tmplist) + } else if mapData, ok = response.Data.(map[string]any); ok { + listInter, ok := mapData["Data"] + if ok && listInter != nil { + if listMap, ok := listInter.([]any); ok { + //list解析到tmplist中 + bytesData, _ := json.Marshal(listMap) + _ = json.Unmarshal(bytesData, &tmplist) + } + } + } + FillArtshowCount(tmplist, artistUidJsonField) + if listData.Data != nil { + listData.Data = tmplist + response.Data = listData + } else { + mapData["Data"] = tmplist + response.Data = mapData + } + fmt.Printf("OptionAddField_ArtshowCount:%+v\n", response.Data) + } +} +func FillArtshowCount(tmpData []map[string]any, artistUidJsonField string) { + var artistUids []string + for _, v := range tmpData { + artistUids = append(artistUids, v[artistUidJsonField].(string)) + } + var artistNameFields = []string{"artistName", "realName", "ArtistName", "RealName"} + countList, err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUids}) + if err != nil { + fmt.Println("FillArtshowCount:GrpcArtShowImpl.ArtistExhibitionCount Error", err) + for i := range tmpData { + var artistName any + var ok bool + for _, filed := range artistNameFields { + if artistName, ok = tmpData[i][filed]; ok { + break + } + } + tmpData[i]["artistShowCount"] = fmt.Sprintf("%s(0)", artistName) + } + return + } + + for i, tmp := range tmpData { + var found = false + for _, v := range countList.ArtistShowCount { + if tmp[artistUidJsonField] == v.ArtistUid { + found = true + var artistName any + var ok bool + for _, filed := range artistNameFields { + if artistName, ok = tmpData[i][filed]; ok { + break + } + } + tmpData[i]["artistShowCount"] = fmt.Sprintf("%s(%d)", artistName, v.ShowCount) + fmt.Printf("FillArtshowCount:artistShowCount:%s\n", tmpData[i]["artistShowCount"]) + break + } + } + if !found { + var artistName any + var ok bool + for _, filed := range artistNameFields { + if artistName, ok = tmpData[i][filed]; ok { + break + } + } + tmpData[i]["artistShowCount"] = fmt.Sprintf("%s(0)", artistName) + fmt.Printf("FillArtshowCount:artistName:%s notfound!!!!!!!\n", artistName) + } + } +} diff --git a/pkg/service/blockchain/blockchain.go b/pkg/service/blockchain/blockchain.go new file mode 100644 index 0000000..38eb84e --- /dev/null +++ b/pkg/service/blockchain/blockchain.go @@ -0,0 +1,301 @@ +package blockchain + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/e_card" + "github.com/fonchain_enterprise/fonchain-main/api/equity" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/response" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +// BlockUserList 用户列表 +func BlockUserList(ctx *gin.Context) { + req := &request.BlockUserListReq{} + resp := &response.BlockUserListResp{} + var err error + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + status := "" + if req.Status == 1 { + status = "notactive" + } else if req.Status == 2 { + status = "left" + } + userReq := &account.ListRequest{ + Domain: "blockchain", + PageSize: req.PageSize, + Page: req.Page, + Key: req.Name, + TelNum: req.TelNum, + Status: status, + StartEnterDate: req.StartDate, + EndEnterDate: req.EndDate, + } + res, err := service.AccountProvider.List(ctx, userReq) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + + // 一次性分配 UserId 切片的空间 + UserId := make([]int32, 0, len(res.Data)) + for _, v := range res.Data { + UserId = append(UserId, int32(v.ID)) + } + // 获取余额 + rep, err := service.EquityProvider.GetResourcesByUserIds(ctx, &equity.GetResourcesByUserIdsRequest{ + UserIDs: UserId, + }) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resourcesByUserID := make(map[uint64]*equity.ResourcesByUserID) + for _, resource := range rep.ResourcesByUserID { + resourcesByUserID[uint64(resource.UserID)] = resource + } + + // 处理结果 + for _, v := range res.Data { + resource, ok := resourcesByUserID[v.ID] + if !ok { + // 如果获取不到余额,将余额赋值为0 + resource = &equity.ResourcesByUserID{ + UserID: int32(v.ID), + Money: 0, + Resource: 0, + } + } + resStatus := 0 + switch v.Status { + case "notactive": + resStatus = 1 + case "left": + resStatus = 2 + } + resp.List = append(resp.List, &response.BlockUserList{ + Id: v.ID, + Name: v.NickName, + TelNum: v.TelNum, + Status: resStatus, + RegisterDate: v.EnterDate, + IdCard: v.IDNum, + BlockAddr: v.BlockAddr, + CardBalance: uint64(resource.Money), + EquityBalance: uint64(resource.Resource), + }) + } + service.ResponseQuickMsg(ctx, e.Success, "success", resp) + return +} +func BlockUserSetting(ctx *gin.Context) { + req := &request.BlockUserSettingReq{} + var err error + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if len(req.Ids) > 10 || req.Status != 1 && req.Status != 2 { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + status := "" + switch req.Status { + case 1: + status = "notactive" + case 2: + status = "left" + } + for _, i := range req.Ids { + _, err = service.AccountProvider.Update(ctx, &account.UpdateRequest{ + ID: i, + Domain: "blockchian", + Status: status, + }) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + } + service.ResponseQuickMsg(ctx, e.Success, "success", nil) + return + +} + +func AddChain(c *gin.Context) { + var addChainRequest e_card.AddChainRequest + if err := c.ShouldBind(&addChainRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.ECardProvider.AddChain(context.Background(), &addChainRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func ECardUserManage(c *gin.Context) { + var eCardUserManageRequest e_card.ECardUserManageRequest + if err := c.ShouldBind(&eCardUserManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.ECardProvider.ECardUserManage(context.Background(), &eCardUserManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func ChainRecord(c *gin.Context) { + var chainRecordRequest e_card.ChainRecordRequest + if err := c.ShouldBind(&chainRecordRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.ECardProvider.ChainRecord(context.Background(), &chainRecordRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func SaveInfo(c *gin.Context) { + res, err := service.AccountProvider.List(context.Background(), &account.ListRequest{Domain: "fontree", PageSize: 99999, Page: 1, Status: "notactive"}) + if err != nil { + fmt.Println("获取用户信息失败", err) + return + } + + for _, data := range res.Data { + // 获取岗位信息 + uReq := rule.RulesRequest{ + Domain: "fontree", + AccountID: data.ID, + } + posResp, err := service.RuleProvider.UserInfo(context.Background(), &uReq) + if err != nil { + fmt.Println("获取用户信息失败", err) + service.Error(c, e.Error, err) + return + } + + var department []string + var post []string + + for _, position := range posResp.PositionUsers { + department = append(department, position.DepartmentName) + post = append(post, position.PositionName) + } + + addChainRequest := &e_card.AddChainRequest{ + Name: data.NickName, + Phone: data.TelNum, + Company: "泰丰国际", + Department: department, + Post: post, + DateOnBoard: data.EnterDate, + UserID: int32(data.ID), + Addr: data.Account, + ChangedPlace: "新建电子名片", + } + _, err = service.ECardProvider.AddChain(context.Background(), addChainRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + return +} + +func UserExist(c *gin.Context) { + var userByTelRequest account.UserByTelRequest + if err := c.ShouldBind(&userByTelRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + rep, err := service.AccountProvider.UserByTel(c, &userByTelRequest) + if err != nil { + return + } + + service.Success(c, rep) +} + +func Send(c *gin.Context) { + var req account.SendMsgRequest + + if err := c.ShouldBind(&req); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AccountProvider.SendMsg(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Login(c *gin.Context) { + var loginRequest account.LoginRequest + if err := c.ShouldBind(&loginRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.AccountProvider.Login(c, &loginRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) +} + +func Check(c *gin.Context) { + var checkMsgRequest account.CheckMsgRequest + if err := c.ShouldBind(&checkMsgRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.AccountProvider.CheckMsg(c, &checkMsgRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) +} diff --git a/pkg/service/chain.go b/pkg/service/chain.go new file mode 100644 index 0000000..97a46e4 --- /dev/null +++ b/pkg/service/chain.go @@ -0,0 +1,74 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_chain" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/gin-gonic/gin" +) + +func CoChain(c *gin.Context) { + var req artwork_chain.CoChainRequest + var err error + if err = c.ShouldBind(&req); err != nil { + logger.Errorf("CoChain ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkChainImpl.CoChain(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func CreateCert(c *gin.Context) { + var req artwork_chain.CreateCertRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CreateCert ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkChainImpl.CreateCert(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func AuthImgCoChain(c *gin.Context) { + var req artwork_chain.AuthImgCoChainReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CreateCert ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtworkChainImpl.AuthImgCoChain(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return +} diff --git a/pkg/service/chain_test.go b/pkg/service/chain_test.go new file mode 100644 index 0000000..b42b5ca --- /dev/null +++ b/pkg/service/chain_test.go @@ -0,0 +1,40 @@ +package service + +import ( + "github.com/gin-gonic/gin" + "testing" +) + +func TestCoChain(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + CoChain(tt.args.c) + }) + } +} + +func TestCreateCert(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + CreateCert(tt.args.c) + }) + } +} diff --git a/pkg/service/chainbrowser/chainbrowser.go b/pkg/service/chainbrowser/chainbrowser.go new file mode 100644 index 0000000..47979bb --- /dev/null +++ b/pkg/service/chainbrowser/chainbrowser.go @@ -0,0 +1,1710 @@ +package chainbrowser + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/chain" + "github.com/fonchain_enterprise/fonchain-main/api/chainbrowser" + "github.com/fonchain_enterprise/fonchain-main/api/equity" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/untils/fileutils" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + logic_browser "github.com/fonchain_enterprise/fonchain-main/pkg/logic/chainbrowser" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/utils/pay" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "google.golang.org/protobuf/types/known/emptypb" + "io/ioutil" + "strconv" + "strings" + "time" +) + +// HomeData 首页数据 +func HomeData(ctx *gin.Context) { + //var req chainbrowser.WtBlockDetailReq + //if err := ctx.ShouldBind(&req); err != nil { + // logger.Errorf("BlockHashDetail err req %+v", err) + // service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + // return + //} + resp, err := service.GrpcChainBrowserImpl.HomeData(context.Background(), &emptypb.Empty{}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + chainListResp, _ := service.GrpcArtworkQueryImpl.ChainList(context.Background(), &artwork_query.ChainListReq{ + ChainType: "baidu", + Page: 1, + PageSize: 1, + }) + for k, v := range resp.ChainInfo { + if v.ChainType == "baidu" { + resp.ChainInfo[k].TransactionNum = chainListResp.Count + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func HashDetail(ctx *gin.Context) { + var req model.HashDetailReq + var ( + err error + cxDetailResp *chainbrowser.ChengXinDetailResp + chainInfoResp *artwork_query.ChainInfoByHashResp + //baiduXuperResp *chainbrowser.BaiduXuperDetailResp + wtTransactionResp *chainbrowser.WtTransactionDetailResp + ) + if err = ctx.ShouldBindJSON(&req); err != nil { + msg := utils.ValidatorErrorMsg(err) + service.ResponseQuickMsg(ctx, e.Failed, msg, nil) + return + } + var hashDetailResp model.HashDetailResp + hashDetailResp.Status = model.ChainStatusOk + switch req.ChainType { + case model.ChainTypeWt: + wtTransactionResp, err = service.GrpcChainBrowserImpl.WtTransactionDetail(context.Background(), &chainbrowser.WtTransactionDetailReq{TransactionHash: req.Hash}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + //hashDetailResp.TransactionHash = wtTransactionResp.TxsHash + //hashDetailResp.FileHash = wtTransactionResp.BlockHash + //hashDetailResp.Height = wtTransactionResp.Height + //hashDetailResp.CreateTime = wtTransactionResp.Timestamp + if !strings.Contains(wtTransactionResp.Data, "交易站点") { + chainInfoResp, err = service.GrpcArtworkQueryImpl.ChainInfoByHash(context.Background(), &artwork_query.ChainInfoByHashReq{WtTransactionHash: []string{req.Hash}}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if chainInfoResp != nil { + wtTransactionResp.Data = chainInfoResp.Data[0].Basicinfoofartwork + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), wtTransactionResp) + return + case model.ChainTypeCx: + cxDetailResp, err = service.GrpcChainBrowserImpl.ChengXinDetail(context.Background(), &chainbrowser.ChengXinDetailReq{CxTransactionHash: req.Hash}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + _ = copier.Copy(&hashDetailResp, cxDetailResp) + case model.ChainTypeBaidu: + chainInfoResp, err = service.GrpcArtworkQueryImpl.ChainInfoByHash(context.Background(), &artwork_query.ChainInfoByHashReq{BaiduTransactionHash: []string{req.Hash}}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if chainInfoResp.Data[0].RequestId1 == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + //baiduXuperResp, err = service.GrpcChainBrowserImpl.BaiduXuperDetail(context.Background(), &chainbrowser.BaiduXuperDetailReq{RequestId: chainInfoResp.Data}) + //if err != nil { + // service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + // return + //} + //_ = copier.Copy(&hashDetailResp, baiduXuperResp) + //hashDetailResp.ChainData = chainInfoResp.Basicinfoofartwork + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), hashDetailResp) + return +} + +func BlockHashDetail(ctx *gin.Context) { + var req chainbrowser.BlockDetailReq + if err := ctx.ShouldBind(&req); err != nil { + logger.Errorf("BlockDetailReq err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcChainBrowserImpl.BlockDetail(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if req.ChainType == "wt" { + if resp.TxList != nil { + var logicBrowserArtwork = new(logic_browser.Artwork) + var hashList []string + for _, val := range resp.TxList { + hashList = append(hashList, val.Hash) + } + hashInfoReq := artwork_query.ChainInfoByHashReq{WtTransactionHash: hashList} + chainInfoResp, _err := service.GrpcArtworkQueryImpl.ChainInfoByHash(context.Background(), &hashInfoReq) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + for key, val := range resp.TxList { + for _, v := range chainInfoResp.Data { + if val.Hash == v.WtTransactionHash { + windupTime := logicBrowserArtwork.CheckSpecialChain(v.Tfnum) + if windupTime != "" { + resp.TxList[key].CreateDate = windupTime + } + resp.TxList[key].Tfnum = v.Tfnum + } + } + } + } + } + + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func BlockList(ctx *gin.Context) { + var req chainbrowser.BlockListReq + if err := ctx.ShouldBind(&req); err != nil { + logger.Errorf("BlockList err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcChainBrowserImpl.BlockList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func TxList(ctx *gin.Context) { + var ( + req *chainbrowser.TransactionListReq + resp *chainbrowser.TransactionListResp + chainListResp *artwork_query.ChainListResp + err error + ) + resp = &chainbrowser.TransactionListResp{} + if err = ctx.ShouldBind(&req); err != nil { + logger.Errorf("TxList err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + switch req.ChainType { + case "wt", "cx": + resp, err = service.GrpcChainBrowserImpl.TransactionList(context.Background(), req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + case "baidu": + chainListResp, err = service.GrpcArtworkQueryImpl.ChainList(context.Background(), &artwork_query.ChainListReq{ + ChainType: "baidu", + Page: req.Page, + PageSize: req.PageSize, + Tfnum: strings.Replace(req.BusinessId, "Art_", "", 1), + }) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if chainListResp != nil && chainListResp.Data != nil { + resp.Count = chainListResp.Count + for _, v := range chainListResp.Data { + var temp chainbrowser.TransactionListResp_Info + temp.Hash = v.Hash + temp.CreateDate = v.CreateDate + resp.Data = append(resp.Data, &temp) + } + } + } + if req.ChainType == "wt" { + if resp.Data != nil { + var logicBrowserArtwork = new(logic_browser.Artwork) + var hashList []string + for _, val := range resp.Data { + hashList = append(hashList, val.Hash) + } + hashInfoReq := artwork_query.ChainInfoByHashReq{WtTransactionHash: hashList} + chainInfoResp, _err := service.GrpcArtworkQueryImpl.ChainInfoByHash(context.Background(), &hashInfoReq) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + + for key, val := range resp.Data { + for _, v := range chainInfoResp.Data { + if val.Hash == v.WtTransactionHash { + windupTime := logicBrowserArtwork.CheckSpecialChain(v.Tfnum) + if windupTime != "" { + resp.Data[key].CreateDate = windupTime + } + resp.Data[key].Tfnum = v.Tfnum + } + } + } + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func TxHashDetail(ctx *gin.Context) { + var ( + req chainbrowser.TxHashDetailReq + chainInfoResp *artwork_query.ChainInfoByHashResp + ) + if err := ctx.ShouldBind(&req); err != nil { + logger.Errorf("TxHashDetail err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcChainBrowserImpl.TxHashDetail(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + hashInfoReq := &artwork_query.ChainInfoByHashReq{} + switch req.ChainType { + case "wt": + hashInfoReq.WtTransactionHash = append(hashInfoReq.WtTransactionHash, req.Hash) + case "cx": + hashInfoReq.Changtransactionhash = append(hashInfoReq.WtTransactionHash, req.Hash) + case "baidu": + hashInfoReq.BaiduTransactionHash = append(hashInfoReq.WtTransactionHash, req.Hash) + } + if chainInfoResp, err = service.GrpcArtworkQueryImpl.ChainInfoByHash(context.Background(), hashInfoReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if chainInfoResp.Data != nil { + chainInfoRespInfo := chainInfoResp.Data[0] + switch req.ChainType { + case "baidu": + resp.TxsHash = chainInfoRespInfo.Transactionhash + resp.Height = chainInfoRespInfo.BaiduHeight + resp.CreatedDate = chainInfoRespInfo.Winduptime + } + resp.CertUrl = chainInfoRespInfo.Certtmpicossaddr + resp.FileUrl = chainInfoRespInfo.AuthImg + if resp.ExtData == "" { + resp.ExtData = chainInfoRespInfo.Basicinfoofartwork + } + resp.BusinessId = "Art_" + chainInfoRespInfo.Tfnum + var logicBrowserArtwork = new(logic_browser.Artwork) + if req.ChainType == "wt" { + windupTime := logicBrowserArtwork.CheckSpecialChain(chainInfoRespInfo.Tfnum) + if windupTime != "" { + resp.CreatedDate = windupTime + } + } + } + + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func FileHashList(ctx *gin.Context) { + var req chainbrowser.FileHashListReq + if err := ctx.ShouldBind(&req); err != nil { + logger.Errorf("FileHashList err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcChainBrowserImpl.FileHashList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func FileAddChain(ctx *gin.Context) { + var ( + req *chainbrowser.FileAddChainReq + fileAddChainResp *chainbrowser.FileAddChainResp + err error + fileId string + requestId string + fileByte []byte + ) + if err = ctx.ShouldBind(&req); err != nil { + logger.Errorf("FileAddChain err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + fileByte, err = fileutils.ReadUrlFile(req.FileUrl) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + req.FileHash = fileutils.SHA256V(fileByte) + if err = req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if fileAddChainResp, err = service.GrpcChainBrowserImpl.FileAddChain(context.Background(), req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + fileId = fileAddChainResp.ID + if config.AppMode == "prod" || true { + baiduChainReq := chain.BaiduReq{ + FileHash: req.FileHash, + FileName: req.FileName, + } + fmt.Println(&baiduChainReq) + baiduResp, _err := service.ChainProvider.CoBaiduChain(context.Background(), &baiduChainReq) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + requestId = baiduResp.RequestId + if _, err = service.GrpcChainBrowserImpl.UpdateFileChain(context.Background(), &chainbrowser.UpdateFileChainReq{ + FileId: fileId, + RequestId: requestId, + }); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + //fmt.Println(baiduResp) + var logicArtwork = new(logic_browser.Artwork) + go func() { + for { + zap.L().Info("queryChainRes info 01:request_id:" + requestId) + time.Sleep(10 * time.Second) + baiduInfoResp, _ := logicArtwork.RefreshBaiduInfo(requestId, fileId) + if baiduInfoResp.BosUrl != "" { + if _, err = service.GrpcChainBrowserImpl.UpdateFileChain(context.Background(), &chainbrowser.UpdateFileChainReq{ + FileId: fileId, + TxId: baiduInfoResp.TxId, + BlockId: baiduInfoResp.BlockId, + CertUrl: baiduInfoResp.BosUrl, + CreateTime: baiduInfoResp.CreateTime, + Height: int64(baiduInfoResp.Height), + }); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + } + break + } + } + }() + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), map[string]string{ + "requestId": requestId, + }) + return +} + +func FileHashDetail(ctx *gin.Context) { + var req chainbrowser.FileChainDetailReq + if err := ctx.ShouldBind(&req); err != nil { + logger.Errorf("FileHashList err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcChainBrowserImpl.FileChainDetail(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func RefreshFileChain(ctx *gin.Context) { + var req chainbrowser.FileChainDetailReq + var err error + if err = ctx.ShouldBind(&req); err != nil { + logger.Errorf("RefreshFileChain err req %+v", err) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + var logicArtwork = new(logic_browser.Artwork) + resp, _err := service.GrpcChainBrowserImpl.FileChainDetail(context.Background(), &chainbrowser.FileChainDetailReq{FileId: req.FileId}) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + if resp.RequestId == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + if resp.CertUrl != "" { + service.ResponseQuickMsg(ctx, e.Failed, e.ErrorBaiduChainAlreadyDone, nil) + return + } + baiduInfoResp, _ := logicArtwork.RefreshBaiduInfo(resp.RequestId, req.FileId) + if baiduInfoResp.BosUrl != "" { + if _, err = service.GrpcChainBrowserImpl.UpdateFileChain(context.Background(), &chainbrowser.UpdateFileChainReq{ + FileId: req.FileId, + TxId: baiduInfoResp.TxId, + BlockId: baiduInfoResp.BlockId, + CertUrl: baiduInfoResp.BosUrl, + CreateTime: baiduInfoResp.CreateTime, + Height: int64(baiduInfoResp.Height), + }); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.ErrorBaiduChaining, nil) + return +} + +func UpdateFreeResources(c *gin.Context) { + var updateFreeResourcesRequest equity.UpdateFreeResourcesRequest + if err := c.ShouldBind(&updateFreeResourcesRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + updateFreeResourcesRequest.UpdateType = 1 // 微服务那边,多余的进行删除 + + rep, err := service.EquityProvider.UpdateFreeResources(context.Background(), &updateFreeResourcesRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func GetAllFreeResources(c *gin.Context) { + var getAllFreeResourcesRequest equity.GetAllFreeResourcesRequest + if err := c.ShouldBind(&getAllFreeResourcesRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetAllFreeResources(context.Background(), &getAllFreeResourcesRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func UpdateConsumeResources(c *gin.Context) { + var updateConsumeResourcesRequest equity.UpdateConsumeResourcesRequest + if err := c.ShouldBind(&updateConsumeResourcesRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.UpdateConsumeResources(context.Background(), &updateConsumeResourcesRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func GetAllConsumeResources(c *gin.Context) { + var getAllConsumeResourcesRequest equity.GetAllConsumeResourcesRequest + if err := c.ShouldBind(&getAllConsumeResourcesRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetAllConsumeResources(context.Background(), &getAllConsumeResourcesRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func UpdateConversionRatio(c *gin.Context) { + var updateConversionRatioRequest equity.UpdateConversionRatioRequest + if err := c.ShouldBind(&updateConversionRatioRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.UpdateConversionRatio(context.Background(), &updateConversionRatioRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func GetAllRefillCardStatus(c *gin.Context) { + var getAllRefillCardStatusRequest equity.GetAllRefillCardStatusRequest + if err := c.ShouldBind(&getAllRefillCardStatusRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetAllRefillCardStatus(context.Background(), &getAllRefillCardStatusRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func CreateRefillCardAmountInfo(c *gin.Context) { + var createRefillCardAmountInfoRequest equity.CreateRefillCardAmountInfoRequest + if err := c.ShouldBind(&createRefillCardAmountInfoRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.CreateRefillCardAmountInfo(context.Background(), &createRefillCardAmountInfoRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func GetRefillCardAmountInfo(c *gin.Context) { + var getRefillCardAmountInfoRequest equity.GetRefillCardAmountInfoRequest + if err := c.ShouldBind(&getRefillCardAmountInfoRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetRefillCardAmountInfo(context.Background(), &getRefillCardAmountInfoRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func StopRefillCardAmountInfo(c *gin.Context) { + var stopRefillCardAmountInfoRequest equity.StopRefillCardAmountInfoRequest + if err := c.ShouldBind(&stopRefillCardAmountInfoRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.StopRefillCardAmountInfo(context.Background(), &stopRefillCardAmountInfoRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func OpenRefillCardAmountInfo(c *gin.Context) { + var openRefillCardAmountInfoRequest equity.OpenRefillCardAmountInfoRequest + if err := c.ShouldBind(&openRefillCardAmountInfoRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.OpenRefillCardAmountInfo(context.Background(), &openRefillCardAmountInfoRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func DeleteRefillCardAmountInfo(c *gin.Context) { + var deleteRefillCardAmountInfoRequest equity.DeleteRefillCardAmountInfoRequest + if err := c.ShouldBind(&deleteRefillCardAmountInfoRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.DeleteRefillCardAmountInfo(context.Background(), &deleteRefillCardAmountInfoRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func GetAllPayStatus(c *gin.Context) { + var getAllPayStatusRequest equity.GetAllPayStatusRequest + if err := c.ShouldBind(&getAllPayStatusRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetAllPayStatus(context.Background(), &getAllPayStatusRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +type NameAndPhone struct { + Name string + Phone string +} + +func RechargeRecordManage(c *gin.Context) { + var rechargeRecordManageRequest equity.RechargeRecordManageRequest + if err := c.ShouldBind(&rechargeRecordManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: rechargeRecordManageRequest.Name, + TelNum: rechargeRecordManageRequest.Phone, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + fmt.Println("测试节点1111") + rep := &equity.RechargeRecordManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + rechargeRecordManageRequest.UserID = id + + rep, err := service.EquityProvider.RechargeRecordManage(context.Background(), &rechargeRecordManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.RechargeRecordManage) != 0 { + for k, v := range rep.RechargeRecordManage { + nameAndPhone := idMap[v.UserID] + rep.RechargeRecordManage[k].Name = nameAndPhone.Name + rep.RechargeRecordManage[k].Phone = nameAndPhone.Phone + } + } + + service.Success(c, rep) + + return + +} + +func RechargeRecordManageExportForm(c *gin.Context) { + var rechargeRecordManageRequest equity.RechargeRecordManageRequest + if err := c.ShouldBind(&rechargeRecordManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: rechargeRecordManageRequest.Name, + TelNum: rechargeRecordManageRequest.Phone, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + rep := &equity.RechargeRecordManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + rechargeRecordManageRequest.UserID = id + rechargeRecordManageRequest.Page = 1 + rechargeRecordManageRequest.PageSize = 9999 + + rep, err := service.EquityProvider.RechargeRecordManage(context.Background(), &rechargeRecordManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.RechargeRecordManage) != 0 { + for k, v := range rep.RechargeRecordManage { + nameAndPhone := idMap[v.UserID] + rep.RechargeRecordManage[k].Name = nameAndPhone.Name + rep.RechargeRecordManage[k].Phone = nameAndPhone.Phone + } + } else { + service.ResponseQuickMsg(c, e.Failed, errors.New("所选条件无可导出数据").Error(), nil) + return + } + + columns := []string{"订单uid", "用户id", "付款人", "手机号", "充值卡号", "充值卡面额", "实际充值金额", "状态", "账号", "交易渠道", "创建订单时间", "交易流水号", "金额(总)"} + var totalPrice float32 + + var data []interface{} + // 添加数据行 + for k, rechargeRecord := range rep.RechargeRecordManage { + var info []string + info = append(info, rechargeRecord.Uid) // 订单uid + info = append(info, fmt.Sprintf("%d", rechargeRecord.UserID)) // 用户id + info = append(info, rechargeRecord.Name) // 付款人 + info = append(info, rechargeRecord.Phone) // 手机号 + info = append(info, rechargeRecord.RefillCardNumber) // 充值卡号 + info = append(info, fmt.Sprintf("%.2f", rechargeRecord.Money)) // 充值卡面额 + info = append(info, fmt.Sprintf("%.2f", rechargeRecord.Money)) // 实际充值金额 + if rechargeRecord.PayStatus == 1 { + info = append(info, "待付款") // 状态 + } else if rechargeRecord.PayStatus == 2 { + info = append(info, "支付成功") + } else if rechargeRecord.PayStatus == 3 { + info = append(info, "支付失败") + } else { + info = append(info, "未知状态") + } + + info = append(info, rechargeRecord.OpenID) // 账号 + + if rechargeRecord.PaymentPlatform == 1 { // 交易渠道 + info = append(info, "微信支付") + } else if rechargeRecord.PaymentPlatform == 2 { + info = append(info, "支付宝支付") + } else { + info = append(info, "未知支付平台") + } + + info = append(info, rechargeRecord.OrderTimeFormat) // 创建订单时间 + info = append(info, rechargeRecord.PaySerialNumber) // 交易流水号 + + totalPrice = totalPrice + rechargeRecord.Money + if k == len(rep.RechargeRecordManage)-1 { + info = append(info, fmt.Sprintf("%.2f", totalPrice)) //总价 以元为单位 + } + data = append(data, &info) + } + + filePath := "./runtime/充值卡订管理表.xlsx" + _, err = utils.ToExcelByType(columns, data, "slice", filePath) + if err != nil { + fmt.Println("err", err) + service.ResponseQuickMsg(c, e.Failed, errors.New("转换为excel类型出错").Error(), nil) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/充值卡订管理表.xlsx", httpType, c.Request.Host) + + repEF := &equity.RechargeRecordManageExportFormRespond{ + ExportUrl: exportUrl, + } + + service.Success(c, repEF) + + return + +} + +func GetAllRefundStatus(c *gin.Context) { + var getAllRefundStatusRequest equity.GetAllRefundStatusRequest + if err := c.ShouldBind(&getAllRefundStatusRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetAllRefundStatus(context.Background(), &getAllRefundStatusRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func RefundApplyManage(c *gin.Context) { + var refundApplyManageRequest equity.RefundApplyManageRequest + if err := c.ShouldBind(&refundApplyManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: refundApplyManageRequest.Name, + TelNum: refundApplyManageRequest.Phone, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + rep := &equity.RefundApplyManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + refundApplyManageRequest.UserID = id + + rep, err := service.EquityProvider.RefundApplyManage(context.Background(), &refundApplyManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.RefundApplyManage) != 0 { + for k, v := range rep.RefundApplyManage { + nameAndPhone := idMap[v.UserID] + rep.RefundApplyManage[k].Name = nameAndPhone.Name + rep.RefundApplyManage[k].Phone = nameAndPhone.Phone + } + } + + service.Success(c, rep) + + return + +} + +func RefundApplyManageExportForm(c *gin.Context) { + var refundApplyManageRequest equity.RefundApplyManageRequest + if err := c.ShouldBind(&refundApplyManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: refundApplyManageRequest.Name, + TelNum: refundApplyManageRequest.Phone, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + rep := &equity.RefundApplyManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + refundApplyManageRequest.UserID = id + refundApplyManageRequest.Page = 1 + refundApplyManageRequest.PageSize = 9999 + + rep, err := service.EquityProvider.RefundApplyManage(context.Background(), &refundApplyManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.RefundApplyManage) != 0 { + for k, v := range rep.RefundApplyManage { + nameAndPhone := idMap[v.UserID] + rep.RefundApplyManage[k].Name = nameAndPhone.Name + rep.RefundApplyManage[k].Phone = nameAndPhone.Phone + } + } else { + service.ResponseQuickMsg(c, e.Failed, errors.New("所选条件无可导出数据").Error(), nil) + return + } + + columns := []string{"订单uid", "用户id", "申请人", "手机号", "充值卡号", "退款金额", "状态", "账号", "交易渠道", "申请时间", "交易流水号", "备注", "金额(总)"} + var totalPrice float32 + + var data []interface{} + // 添加数据行 + for k, refundApplyManage := range rep.RefundApplyManage { + var info []string + info = append(info, refundApplyManage.Uid) // 订单uid + info = append(info, fmt.Sprintf("%d", refundApplyManage.UserID)) // 用户id + info = append(info, refundApplyManage.Name) // 申请人 + info = append(info, refundApplyManage.Phone) // 手机号 + info = append(info, refundApplyManage.RefillCardNumber) // 充值卡号 + info = append(info, fmt.Sprintf("%.2f", refundApplyManage.Money)) // 退款金额 + if refundApplyManage.RefundStatus == 2 { // 状态 + info = append(info, "退款中") + } else if refundApplyManage.RefundStatus == 3 { + info = append(info, "已退款") + } else if refundApplyManage.RefundStatus == 4 { + info = append(info, "已驳回") + } else { + info = append(info, "未知状态") + } + + info = append(info, refundApplyManage.OpenID) // 账号 + + if refundApplyManage.PaymentPlatform == 1 { // 交易渠道 + info = append(info, "微信支付") + } else if refundApplyManage.PaymentPlatform == 2 { + info = append(info, "支付宝支付") + } else { + info = append(info, "未知支付平台") + } + + info = append(info, refundApplyManage.RefundTimeFormat) // 申请时间 + info = append(info, refundApplyManage.RefundSerialNumber) // 交易流水号 + info = append(info, refundApplyManage.Remark) // 备注 + + totalPrice = totalPrice + refundApplyManage.Money + if k == len(rep.RefundApplyManage)-1 { + info = append(info, fmt.Sprintf("%.2f", totalPrice)) //总价 以元为单位 + } + data = append(data, &info) + } + + filePath := "./runtime/充值卡退款申请订单表.xlsx" + _, err = utils.ToExcelByType(columns, data, "slice", filePath) + if err != nil { + fmt.Println("err", err) + service.ResponseQuickMsg(c, e.Failed, errors.New("转换为excel类型出错").Error(), nil) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/充值卡退款申请订单表.xlsx", httpType, c.Request.Host) + + repEF := &equity.RefundApplyManageExportFormRespond{ + ExportUrl: exportUrl, + } + + service.Success(c, repEF) + + return + +} + +func RefundAllow(c *gin.Context) { + var refundAllowRequest equity.RefundAllowRequest + if err := c.ShouldBind(&refundAllowRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + // 获取操作人员姓名 + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + refundAllowRequest.UserID = int32(userInfo.ID) + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + //refundAllowRequest.UserID = 88 + + rep, err := service.EquityProvider.RefundAllow(context.Background(), &refundAllowRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + // 退款 + if rep.PaymentPlatform == 1 { // 微信退款 + req := order.WechatJsApiRefundsRequest{ + Reason: "用户申请退款", // 选填 退款原因 + OutTradeNo: rep.OutTradNo, // 商户订单号 (商户订单号和商户退款单号相同) + OutRefundNo: rep.OutRefundNo, // 商户退款单号 + NotifyUrl: "https://appointtest2.szjixun.cn/appointment/pay/SNskAPyadfk22", //选填 退款结果回调url + Cent: int64(rep.Cent), // 退款金额 + Total: int64(rep.Cent), // 原订单金额 + } + + res, err := service.OrderProvider.WechatJsApiRefunds(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + + return + + } else if rep.PaymentPlatform == 2 { // 支付宝退款 + + //支付宝创建订单 + payCreateObj := &order.AliReFundRequest{ + OutTradeNo: rep.OutTradNo, // 商户网站唯一订单号,用以标识一次支付请求 + TotalAmount: rep.Cent, // 支付金额 (分) + } + + res, err := service.OrderProvider.AliReFund(c, payCreateObj) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return + + } else { + service.Error(c, e.InvalidParams, errors.New("未获取到支付类型")) + } + + return + +} + +func AdminTopUpResource(c *gin.Context) { + var adminTopUpResourceRequest equity.AdminTopUpResourceRequest + if err := c.ShouldBind(&adminTopUpResourceRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + //先进行权益修改 + freeResources := &equity.FreeResources{FreeType: 3, Resource: adminTopUpResourceRequest.Resource} + + _, err := service.EquityProvider.UpdateFreeResources(context.Background(), &equity.UpdateFreeResourcesRequest{UpdateType: 2, FreeResources: []*equity.FreeResources{freeResources}}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + adminTopUpResourceRespond := &equity.AdminTopUpResourceRespond{} + var errDesc string + for _, v := range adminTopUpResourceRequest.UserID { + rep, err := service.EquityProvider.UserGetResource(context.Background(), &equity.UserGetResourceRequest{UserID: v, ResourcesType: 3}) + if err != nil { + // 根据用户id获取到用户姓名 + //根据姓名进行模糊插叙 + infoRequest := account.InfoRequest{ + Domain: "blockchain", + ID: uint64(v), + } + repList, err := service.AccountProvider.Info(context.Background(), &infoRequest) + if err != nil { + errDesc += fmt.Sprintf("用户id" + strconv.Itoa(int(v)) + ":" + err.Error() + " ") + } else { + errDesc += fmt.Sprintf("用户姓名" + repList.Info.NickName + ":" + err.Error() + " ") + } + + } else if rep != nil { + adminTopUpResource := &equity.AdminTopUpResource{ + Uid: rep.Uid, + GetResource: rep.GetResource, + ExistResource: rep.ExistResource, + } + + adminTopUpResourceRespond.AdminTopUpResource = append(adminTopUpResourceRespond.AdminTopUpResource, adminTopUpResource) + } + } + + if errDesc == "" { + service.Success(c, adminTopUpResourceRespond) + } else { + service.Error(c, e.Error, errors.New(errDesc)) + } + + return +} + +func WxRefund(c *gin.Context) { + + transaction, err := pay.WechatNotify(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if *transaction.TradeState != "SUCCESS" { // 是否成功 + service.Success(c, nil) + return + } + + fmt.Println("OutTradeNo", *transaction.OutTradeNo) + + rep, err := service.EquityProvider.WxRefund(context.Background(), &equity.WxRefundRequest{OutTradNo: *transaction.OutTradeNo}) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, rep) + +} + +func AliRefund(c *gin.Context) { + + body, _ := ioutil.ReadAll(c.Request.Body) + + req := &order.AliNotifyRequest{ + RawQuery: string(body), + } + + detail, err := service.OrderProvider.AliNotify(c, req) + + fmt.Println(detail, err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if detail.TradeStatus != "TRADE_SUCCESS" { //支付不是成功状态 + service.Error(c, e.Error, err) + return + } + + rep, err := service.EquityProvider.AliRefund(context.Background(), &equity.AliRefundRequest{OutTradNo: detail.OutTradeNo}) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, rep) + +} + +func RefundRefuse(c *gin.Context) { + var refundRefuseRequest equity.RefundRefuseRequest + if err := c.ShouldBind(&refundRefuseRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.RefundRefuse(context.Background(), &refundRefuseRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func GetAllAddType(c *gin.Context) { + var getAllAddTypeRequest equity.GetAllAddTypeRequest + if err := c.ShouldBind(&getAllAddTypeRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetAllAddType(context.Background(), &getAllAddTypeRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func ResourceUsageDetailAddManage(c *gin.Context) { + var resourceUsageDetailAddManageRequest equity.ResourceUsageDetailAddManageRequest + if err := c.ShouldBind(&resourceUsageDetailAddManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: resourceUsageDetailAddManageRequest.Name, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + rep := &equity.ResourceUsageDetailAddManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + resourceUsageDetailAddManageRequest.UserID = id + + rep, err := service.EquityProvider.ResourceUsageDetailAddManage(context.Background(), &resourceUsageDetailAddManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.ResourceEquityAdd) != 0 { + for k, v := range rep.ResourceEquityAdd { + nameAndPhone := idMap[v.UserID] + rep.ResourceEquityAdd[k].Name = nameAndPhone.Name + rep.ResourceEquityAdd[k].Phone = nameAndPhone.Phone + } + } + + service.Success(c, rep) + + return + +} + +func ResourceUsageDetailAddManageExportForm(c *gin.Context) { + var resourceUsageDetailAddManageRequest equity.ResourceUsageDetailAddManageRequest + if err := c.ShouldBind(&resourceUsageDetailAddManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: resourceUsageDetailAddManageRequest.Name, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + rep := &equity.ResourceUsageDetailAddManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + resourceUsageDetailAddManageRequest.UserID = id + resourceUsageDetailAddManageRequest.Page = 1 + resourceUsageDetailAddManageRequest.PageSize = 9999 + + rep, err := service.EquityProvider.ResourceUsageDetailAddManage(context.Background(), &resourceUsageDetailAddManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.ResourceEquityAdd) != 0 { + for k, v := range rep.ResourceEquityAdd { + nameAndPhone := idMap[v.UserID] + rep.ResourceEquityAdd[k].Name = nameAndPhone.Name + rep.ResourceEquityAdd[k].Phone = nameAndPhone.Phone + } + } else { + service.ResponseQuickMsg(c, e.Failed, errors.New("所选条件无可导出数据").Error(), nil) + return + } + + columns := []string{"订单uid", "用户id", "付款人", "手机号", "兑换流水号", "充值卡号", "兑换消耗消费卡", "兑换类型", "所得权益", "兑换时间", "总金额", "总权益值"} + var totalPrice float32 + var totalResource int32 + + var data []interface{} + // 添加数据行 + for k, resourceEquityAdd := range rep.ResourceEquityAdd { + var info []string + info = append(info, resourceEquityAdd.Uid) // 订单uid + info = append(info, fmt.Sprintf("%d", resourceEquityAdd.UserID)) // 用户id + info = append(info, resourceEquityAdd.Name) // 付款人 + info = append(info, resourceEquityAdd.Phone) // 手机号 + info = append(info, resourceEquityAdd.SerialNumber) // 兑换流水号 + info = append(info, resourceEquityAdd.RefillCardNumber) // 充值卡号 + info = append(info, fmt.Sprintf("%.2f", resourceEquityAdd.Money)) // 兑换消耗消费卡 + if resourceEquityAdd.ExchangeType == 6 { // 兑换类型 + info = append(info, "手动兑换") + } else if resourceEquityAdd.ExchangeType == 5 { + info = append(info, "自动兑换") + } else if resourceEquityAdd.ExchangeType == 4 { + info = append(info, "系统赠送(实名认证)") + } else if resourceEquityAdd.ExchangeType == 3 { + info = append(info, "系统赠送(注册)") + } else { + info = append(info, "未知状态") + } + + info = append(info, fmt.Sprintf("%d", resourceEquityAdd.Resource)) // 所得权益 + info = append(info, resourceEquityAdd.ExchangeTimeFormat) // 兑换时间 + + totalPrice = totalPrice + resourceEquityAdd.Money + totalResource = totalResource + resourceEquityAdd.Resource + if k == len(rep.ResourceEquityAdd)-1 { + info = append(info, fmt.Sprintf("%.2f", totalPrice)) //总金额 以元为单位 + info = append(info, fmt.Sprintf("%d", totalResource)) //总权益值 + } + data = append(data, &info) + } + + filePath := "./runtime/资源权益管理表.xlsx" + _, err = utils.ToExcelByType(columns, data, "slice", filePath) + if err != nil { + fmt.Println("err", err) + service.ResponseQuickMsg(c, e.Failed, errors.New("转换为excel类型出错").Error(), nil) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/资源权益管理表.xlsx", httpType, c.Request.Host) + + repEF := &equity.RefundApplyManageExportFormRespond{ + ExportUrl: exportUrl, + } + + service.Success(c, repEF) + + return + +} + +func GetAllReduceType(c *gin.Context) { + var getAllReduceTypeRequest equity.GetAllReduceTypeRequest + if err := c.ShouldBind(&getAllReduceTypeRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetAllReduceType(context.Background(), &getAllReduceTypeRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} + +func ResourceUsageDetailReduceManage(c *gin.Context) { + var resourceUsageDetailReduceManageRequest equity.ResourceUsageDetailReduceManageRequest + if err := c.ShouldBind(&resourceUsageDetailReduceManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: resourceUsageDetailReduceManageRequest.Name, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + rep := &equity.ResourceUsageDetailReduceManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + resourceUsageDetailReduceManageRequest.UserID = id + + rep, err := service.EquityProvider.ResourceUsageDetailReduceManage(context.Background(), &resourceUsageDetailReduceManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.ResourceReduceEquity) != 0 { + for k, v := range rep.ResourceReduceEquity { + nameAndPhone := idMap[v.UserID] + rep.ResourceReduceEquity[k].Name = nameAndPhone.Name + rep.ResourceReduceEquity[k].Phone = nameAndPhone.Phone + } + } + + service.Success(c, rep) + + return + +} + +func ResourceUsageDetailReduceManageExportForm(c *gin.Context) { + var resourceUsageDetailReduceManageRequest equity.ResourceUsageDetailReduceManageRequest + if err := c.ShouldBind(&resourceUsageDetailReduceManageRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + idMap := make(map[int32]NameAndPhone) + var id []int32 + + //根据姓名进行模糊插叙 + listRequest := account.ListRequest{ + Domain: "blockchain", + Key: resourceUsageDetailReduceManageRequest.Name, + } + repList, err := service.AccountProvider.List(context.Background(), &listRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(repList.Data) == 0 { + rep := &equity.ResourceUsageDetailReduceManageRespond{} + service.Success(c, rep) + return + } + + for _, v := range repList.Data { + nameAndPhone := NameAndPhone{ + Name: v.NickName, + Phone: v.TelNum, + } + + idMap[int32(v.ID)] = nameAndPhone + id = append(id, int32(v.ID)) + } + + resourceUsageDetailReduceManageRequest.UserID = id + resourceUsageDetailReduceManageRequest.Page = 1 + resourceUsageDetailReduceManageRequest.PageSize = 9999 + + rep, err := service.EquityProvider.ResourceUsageDetailReduceManage(context.Background(), &resourceUsageDetailReduceManageRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.ResourceReduceEquity) != 0 { + for k, v := range rep.ResourceReduceEquity { + nameAndPhone := idMap[v.UserID] + rep.ResourceReduceEquity[k].Name = nameAndPhone.Name + rep.ResourceReduceEquity[k].Phone = nameAndPhone.Phone + } + } else { + service.ResponseQuickMsg(c, e.Failed, errors.New("所选条件无可导出数据").Error(), nil) + return + } + + columns := []string{"订单uid", "用户id", "付款人", "手机号", "消耗流水号", "资源权益消耗数(丰)", "类型", "存证hash", "操作时间", "总资源权益消耗数(丰)"} + var totalResource int32 + + var data []interface{} + // 添加数据行 + for k, resourceReduceEquity := range rep.ResourceReduceEquity { + var info []string + info = append(info, resourceReduceEquity.Uid) // 订单uid + info = append(info, fmt.Sprintf("%d", resourceReduceEquity.UserID)) // 用户id + info = append(info, resourceReduceEquity.Name) // 付款人 + info = append(info, resourceReduceEquity.Phone) // 手机号 + info = append(info, resourceReduceEquity.SerialNumber) // 消耗流水号 + info = append(info, fmt.Sprintf("%d", resourceReduceEquity.Resource)) // 资源权益消耗数(丰) + if resourceReduceEquity.ReduceType == 1 { // 类型 + info = append(info, "普通存证") + } else if resourceReduceEquity.ReduceType == 2 { + info = append(info, "隐私存证") + } else { + info = append(info, "未知状态") + } + + info = append(info, resourceReduceEquity.TxHash) // 存证hash + info = append(info, resourceReduceEquity.UsageTimeFormat) // 操作时间 + + totalResource = totalResource + resourceReduceEquity.Resource + if k == len(rep.ResourceReduceEquity)-1 { + info = append(info, fmt.Sprintf("%d", totalResource)) //总权益值 + } + data = append(data, &info) + } + + filePath := "./runtime/权益资源使用明细表.xlsx" + _, err = utils.ToExcelByType(columns, data, "slice", filePath) + if err != nil { + fmt.Println("err", err) + service.ResponseQuickMsg(c, e.Failed, errors.New("转换为excel类型出错").Error(), nil) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/权益资源使用明细表.xlsx", httpType, c.Request.Host) + + repEF := &equity.ResourceUsageDetailReduceManageExportFormRespond{ + ExportUrl: exportUrl, + } + + service.Success(c, repEF) + + return + +} + +func GetResourcesByUserIds(c *gin.Context) { + var getResourcesByUserIdsRequest equity.GetResourcesByUserIdsRequest + if err := c.ShouldBind(&getResourcesByUserIdsRequest); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + rep, err := service.EquityProvider.GetResourcesByUserIds(context.Background(), &getResourcesByUserIdsRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, rep) + + return + +} diff --git a/pkg/service/chat.go b/pkg/service/chat.go new file mode 100644 index 0000000..cf5d91b --- /dev/null +++ b/pkg/service/chat.go @@ -0,0 +1,614 @@ +package service + +import ( + "bytes" + "encoding/base64" + "encoding/json" + "errors" + "fmt" + "github.com/carmel/gooxml/document" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/response" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/aliyun" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stringutils" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "io" + "io/ioutil" + "mime/multipart" + "net/http" + "os" + "path/filepath" + "regexp" + "strings" + "time" +) + +type ChatRequestData struct { + Model string `json:"model"` + MaxTokens int `json:"max_tokens"` + Temperature float64 `json:"temperature"` + TopP float64 `json:"top_p"` + PresencePenalty float64 `json:"presence_penalty"` + FrequencyPenalty float64 `json:"frequency_penalty"` + Messages []Message `json:"messages"` + Stream bool `json:"stream"` + ListUuid string `json:"listUuid"` + Type string `json:"type"` +} + +type Message struct { + Role string `json:"role"` + Content interface{} `json:"content"` +} + +type RequestData struct { + Model string `json:"model"` + MaxTokens int `json:"max_tokens"` + Temperature float64 `json:"temperature"` + TopP float64 `json:"top_p"` + PresencePenalty float64 `json:"presence_penalty"` + FrequencyPenalty float64 `json:"frequency_penalty"` +} + +type ChatMsg struct { + ID string `json:"id"` + Object string `json:"object"` + Created int `json:"created"` + Model string `json:"model"` + Choices []Choice `json:"choices"` +} + +type Choice struct { + Index int `json:"index"` + Delta Delta `json:"delta"` + FinishReason string `json:"finish_reason"` +} + +type Delta struct { + Content string `json:"content"` +} + +type DefineRequest struct { + Model string `json:"model"` + Stream bool `json:"stream,omitempty"` + Stop []string `json:"stop,omitempty"` + PresencePenalty float32 `json:"presence_penalty,omitempty"` + FrequencyPenalty float32 `json:"frequency_penalty,omitempty"` + // LogitBias is must be a token id string (specified by their token ID in the tokenizer), not a word string. + // incorrect: `"logit_bias":{"You": 6}`, correct: `"logit_bias":{"1639": 6}` + // refs: https://platform.openai.com/docs/api-reference/chat/create#chat/create-logit_bias + LogitBias map[string]int `json:"logit_bias,omitempty"` + User string `json:"user,omitempty"` +} + +type MessageContentImage struct { + Type string `json:"type"` + Text string `json:"text"` + ImageUrl string `json:"image_url"` +} + +func Completion(ctx *gin.Context) { + var request ChatRequestData + bodyByte, _ := io.ReadAll(ctx.Request.Body) + ctx.Request.Body = io.NopCloser(bytes.NewBuffer(bodyByte)) + _ = json.Unmarshal(bodyByte, &request) + ctx.Header("Content-Type", "text/event-stream") + ctx.Header("Cache-Control", "no-cache") + ctx.Header("Connection", "keep-alive") + //url := config.ChatGptHost + "/chat/completion" + url := config.ChatGptHost + "/baidu-chat/chat" + //url := "http://114.217.150.188:9011" + "/baidu-chat/chat" + var jsonData []byte + var err error + request, err = NewRequest(request) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if request.ListUuid == "" { + request.ListUuid = "web" + } + jsonData, err = json.Marshal(request) + + if err != nil { + ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + zap.L().Info("Completion", zap.Any("url", url)) + zap.L().Info("Completion", zap.Any("jsonData", jsonData)) + resp, errA := http.Post(url, "application/json", bytes.NewBuffer(jsonData)) + if errA != nil { + zap.L().Error("Completion", zap.Error(errA)) + ResponseQuickMsg(ctx, e.Failed, errA.Error(), nil) + return + } + + defer resp.Body.Close() + ctx.Stream(func(w io.Writer) bool { + buf := make([]byte, 4096) + for { + n, errS := resp.Body.Read(buf) + if n > 0 { + msg := string(buf[:n]) + ctx.Stream(func(w io.Writer) bool { + if strings.Contains(msg, "DONE") { + fmt.Println(msg) + fmt.Fprint(w, msg) + return false + } + fmt.Println(msg) + zap.L().Info("Completion", zap.Any("msg", msg)) + fmt.Fprint(w, msg) + return false + }) + } + if errS != nil { + return false + } + } + }) +} + +func AppCompletion(ctx *gin.Context) { + var request ChatRequestData + err := ctx.BindJSON(&request) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + ctx.Header("Content-Type", "text/event-stream") + ctx.Header("Cache-Control", "no-cache") + ctx.Header("Connection", "keep-alive") + url := config.ChatGptHost + "/baidu-chat/chat" + //url := "http://127.0.0.1:9010/chat/completion" + request, err = NewRequest(request) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + jsonData, err := json.Marshal(request) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if request.ListUuid == "" { + request.ListUuid = "app" + } + resp, errA := http.Post(url, "application/json", bytes.NewBuffer(jsonData)) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, errA.Error(), nil) + return + } + defer resp.Body.Close() + /*var chatData ChatMsg + var content string + ctx.Stream(func(w io.Writer) bool { + buf := make([]byte, 4096) + for { + n, errS := resp.Body.Read(buf) + if errS != nil { + return false + } + if n > 0 { + msg := string(buf[:n]) + msg = strings.Replace(msg, `\n`, "", -1) + if len(msg) > 0 && msg[len(msg)-1] == '\n' { + msg = msg[:len(msg)-1] + } + re := regexp.MustCompile(`data:\s*({.+?}]})`) + matches := re.FindAllStringSubmatch(msg, -1) + for _, match := range matches { + msg = match[1] + fmt.Println("msg1111", msg) + if !strings.Contains(msg, "[DONE]") { + fmt.Println("msg222", msg) + _ = json.Unmarshal([]byte(msg), &chatData) + fmt.Println("msg333", chatData) + for _, choice := range chatData.Choices { + content = fmt.Sprintf("%s%s", content, choice.Delta.Content) + } + } + } + } + } + } + if err != nil { + response.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + //fmt.Println("ap-complete", string(jsonData), content) + response.ResponseQuickMsg(ctx, e.Ok, "", map[string]interface{}{ + "content": content, + })*/ + defer resp.Body.Close() + ctx.Stream(func(w io.Writer) bool { + buf := make([]byte, 4096) + for { + n, errS := resp.Body.Read(buf) + if n > 0 { + msg := string(buf[:n]) + ctx.Stream(func(w io.Writer) bool { + if strings.Contains(msg, "DONE") { + fmt.Println(msg) + fmt.Fprint(w, msg) + return false + } + fmt.Println(msg) + fmt.Fprint(w, msg) + return false + }) + } + if errS != nil { + return false + } + } + }) + return +} + +func AudioToText(c *gin.Context) { + err := c.Request.ParseMultipartForm(32 << 20) // 限制最大文件大小 + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + + file, handler, err := c.Request.FormFile("file") + if err != nil { + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + return + } + defer file.Close() + body := new(bytes.Buffer) + writer := multipart.NewWriter(body) + + part, err := writer.CreateFormFile("file", handler.Filename) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + _, err = io.Copy(part, file) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + err = writer.Close() + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + + // 创建一个新的请求,将文件发送到美国接口 + client := &http.Client{} + url := config.ChatGptHost + "/chat/audio-to-text" + req, err := http.NewRequest("POST", url, body) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + req.Header.Set("Content-Type", writer.FormDataContentType()) + resp, err := client.Do(req) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + defer resp.Body.Close() + + if resp.StatusCode != http.StatusOK { + c.JSON(http.StatusInternalServerError, gin.H{"error": resp.Status}) + return + } + data, err := ioutil.ReadAll(resp.Body) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + var audioToTextInfo model.AudioToTextResp + if err = json.Unmarshal(data, &audioToTextInfo); err != nil { + response.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.JsonUnmarshal), nil) + } + response.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.Success), map[string]interface{}{ + "text": audioToTextInfo.Data.Text, + }) + return +} + +func ImageUrlToBase64(imageURL string) (base64Val string, err error) { + resp, err := http.Get(imageURL) + if err != nil { + err = errors.New("读取图片错误") + return + } + defer resp.Body.Close() + imageData, err := ioutil.ReadAll(resp.Body) + if err != nil { + err = errors.New("读取图片内容失败") + return + } + base64Val = "data:image/png;base64," + base64.StdEncoding.EncodeToString(imageData) + return +} + +func NewRequest(request ChatRequestData) (resp ChatRequestData, err error) { + resp = request + return + if request.Model == "gpt-4-vision-preview" { + //bodyByte, _ := io.ReadAll(ctx.Request.Body) + for key, messages := range request.Messages { + var contentData []map[string]string + contentBytes, _ := json.Marshal(messages.Content) + _ = json.Unmarshal(contentBytes, &contentData) + var needModify bool + for kk, content := range contentData { + needModify = false + if strings.Contains(content["image_url"], "http") { + needModify = true + contentData[kk]["image_url_origin"] = content["image_url"] + if content["image_url"], err = ImageUrlToBase64(content["image_url"]); err != nil { + return + } + contentData[kk]["image_url"] = content["image_url"] + } + fmt.Println(kk) + fmt.Println(contentData) + } + fmt.Println(contentData) + fmt.Println(key) + if needModify { + var mm []interface{} + cc, _ := json.Marshal(contentData) + _ = json.Unmarshal([]byte(cc), &mm) + request.Messages[key].Content = mm + } + } + } + resp = request + return +} + +func ChatList(ctx *gin.Context) { + var ( + req request.ChatListReq + err error + ) + if err = ctx.BindJSON(&req); err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if req.UserUuid == "" { + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + req.UserUuid = fmt.Sprint(userInfo.ID) + } + } + if req.UserUuid == "" { + response.ResponseQuickMsg(ctx, e.Failed, e.ErrNotLogin, nil) + return + } + code, body, err := utils.PostBody(config.ChatGptHost+"/chat/list", req) + if err != nil { + response.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + fmt.Println(code) + var newData interface{} + _ = json.Unmarshal([]byte(body), &newData) + ctx.JSON(http.StatusOK, newData) + return +} + +func ChatCreate(ctx *gin.Context) { + var req request.ChatCreateReq + var err error + if err = ctx.BindJSON(&req); err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + req.UserUuid = fmt.Sprint(userInfo.ID) + } + if req.GptModel == "" { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + code, body, err := utils.PostBody(config.ChatGptHost+"/chat/create", req) + if err != nil { + response.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + fmt.Println(code) + var newData interface{} + _ = json.Unmarshal([]byte(body), &newData) + ctx.JSON(http.StatusOK, newData) + return +} + +func ChatDel(ctx *gin.Context) { + var ( + req request.DelListReq + err error + ) + if err = ctx.BindJSON(&req); err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + code, body, err := utils.PostBody(config.ChatGptHost+"/chat/del", req) + if err != nil { + response.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + fmt.Println(code) + var newData interface{} + _ = json.Unmarshal([]byte(body), &newData) + ctx.JSON(http.StatusOK, newData) + return +} + +func ChatDetail(ctx *gin.Context) { + var ( + req request.ListDetailReq + err error + ) + if err = ctx.BindJSON(&req); err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + var newData interface{} + var body string + var code int + if req.GptModel == "gpt-4-vision-preview" { + file, _ := os.Open("./data/mock/detail.txt") + defer file.Close() + bodyBytes, _ := io.ReadAll(file) + body = string(bodyBytes) + } else { + code, body, err = utils.PostBody(config.ChatGptHost+"/chat/detail", req) + if err != nil { + response.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + fmt.Println(code) + } + _ = json.Unmarshal([]byte(body), &newData) + ctx.JSON(http.StatusOK, newData) + return +} + +func GetFileText(ctx *gin.Context) { + var ( + filePath string + text string + subtexts []string + ) + var wordExts string = ".doc,.docx" + // doc提交调用API解析 + file, err := ctx.FormFile("file") + if err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.ErrorReadFile), nil) + return + } + filePath = fmt.Sprintf("%s%s", model.MediaPath, file.Filename) + fileExt := filepath.Ext(filePath) + if !strings.Contains(wordExts, fileExt) { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.ERROR_INVALID_FILE_EXT), nil) + return + } + if fileExt == ".doc" { + fileUrl, _err := quickBos(file, "doc", "file", "word", "") + if _err != nil { + response.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + docId, _err := aliyun.DocStruct(fileUrl, file.Filename) + if _err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.ErrorUploadFile), nil) + return + } + for { + time.Sleep(1 * time.Second) + complete, texts, errs := aliyun.DocResult(docId) + if errs != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.ErrorUploadFile), nil) + return + } + if complete { + for _, v := range texts { + text += strings.Trim(v, "") + } + break + } + } + fmt.Println(text) + } else { + err = ctx.SaveUploadedFile(file, filePath) + if err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.ErrorSaveFile, nil) + return + } + doc, _err := document.Open(filePath) + defer os.Remove(filePath) + if _err != nil { + response.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.ErrorReadFile), nil) + return + } + for _, p := range doc.Paragraphs() { + for _, run := range p.Runs() { + if strings.Trim(run.Text(), "") != "" { + text += strings.Trim(run.Text(), "") + } + } + } + } + subtexts = stringutils.SplitText(text, 15000) + response.ResponseQuickMsg(ctx, e.SUCCESS, e.GetMsg(e.Ok), map[string]interface{}{ + "count": len(subtexts), + "paragraph": subtexts, + }) + return +} + +func CompletionText(ctx *gin.Context) { + var request ChatRequestData + bodyByte, _ := io.ReadAll(ctx.Request.Body) + ctx.Request.Body = io.NopCloser(bytes.NewBuffer(bodyByte)) + _ = json.Unmarshal(bodyByte, &request) + ctx.Header("Content-Type", "text/event-stream") + ctx.Header("Cache-Control", "no-cache") + ctx.Header("Connection", "keep-alive") + url := config.ChatGptHost + "/baidu-chat/chat" + var jsonData []byte + var err error + request, err = NewRequest(request) + if err != nil { + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if request.ListUuid == "" { + request.ListUuid = "web" + } + jsonData, err = json.Marshal(request) + + if err != nil { + ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + zap.L().Info("Completion", zap.Any("url", url)) + zap.L().Info("Completion", zap.Any("jsonData", jsonData)) + resp, errA := http.Post(url, "application/json", bytes.NewBuffer(jsonData)) + if errA != nil { + zap.L().Error("Completion", zap.Error(errA)) + ResponseQuickMsg(ctx, e.Failed, errA.Error(), nil) + return + } + + defer resp.Body.Close() + // 创建一个 bytes.Buffer,并将 resp.Body 中的内容复制到其中 + var buf bytes.Buffer + _, err = io.Copy(&buf, resp.Body) + if err != nil { + // 错误处理 + ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + + // 获取所有的数据,并将其转化为字符串 + allData := buf.String() + + // 打印所有的数据 + re := regexp.MustCompile(`"content":"(.*?)"`) + matches := re.FindAllStringSubmatch(allData, -1) + var answer string + for _, match := range matches { + answer = fmt.Sprintf("%s%s", answer, match[1]) + } + ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), map[string]string{ + "answer": answer, + }) + return +} diff --git a/pkg/service/children_competition/children_competition.go b/pkg/service/children_competition/children_competition.go new file mode 100644 index 0000000..6b232bf --- /dev/null +++ b/pkg/service/children_competition/children_competition.go @@ -0,0 +1,562 @@ +package children_competition + +import ( + "archive/zip" + "bytes" + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/base64" + "errors" + "fmt" + service "github.com/fonchain_enterprise/fonchain-main/api" + "github.com/fonchain_enterprise/fonchain-main/api/children_competition" + "github.com/fonchain_enterprise/fonchain-main/api/equity" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + service2 "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/skip2/go-qrcode" + "golang.org/x/image/font" + "golang.org/x/image/font/opentype" + "golang.org/x/image/math/fixed" + "image" + "image/color" + "image/draw" + "image/jpeg" + "io" + "os" + "strings" + "sync" + "time" +) + +// GetRegistrationRecordInfo 获取所有的作品信息 +func GetRegistrationRecordInfo(c *gin.Context) { + + var req children_competition.GetRegistrationRecordInfoRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("GetRegistrationRecordInfoRequest ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service2.ChildrenCompetitionProvider.GetRegistrationRecordInfo(context.Background(), &req) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service2.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func GetParticipantRegistrationRecords(c *gin.Context) { + + var req children_competition.GetParticipantRegistrationRecordsRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("GetParticipantRegistrationRecordsRequest ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service2.ChildrenCompetitionProvider.GetParticipantRegistrationRecords(context.Background(), &req) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service2.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// SetRegistrationDeadline 获取所有的作品信息 +func SetRegistrationDeadline(c *gin.Context) { + + var req children_competition.SetRegistrationDeadlineRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SetRegistrationDeadlineRequest ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service2.ChildrenCompetitionProvider.SetRegistrationDeadline(context.Background(), &req) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service2.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// UpdateWorkStatus 更新作品状态 +func UpdateWorkStatus(c *gin.Context) { + + var req children_competition.UpdateWorkStatusRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateWorkStatusRequest ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service2.ChildrenCompetitionProvider.UpdateWorkStatus(context.Background(), &req) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service2.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// GenerateQrCode 生成投票二维码 +func GenerateQrCode(c *gin.Context) { + + var req children_competition.GenerateQrCodeRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("GenerateQrCode ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + getWorkInfoReq := &children_competition.GetWorkInfoRequest{ + WorkUid: req.WorkUid, + } + + getWorkInfoResp, err := service2.ChildrenCompetitionProvider.GetWorkInfo(context.Background(), getWorkInfoReq) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + var contentUrl string + if config.Env == "test" || config.Env == "dev" { + contentUrl = "https://kid-art-test.szjixun.cn/vote?uid=" + getWorkInfoResp.WorkUid + } else if config.Env == "prod" { + contentUrl = "https://kid-art.szjixun.cn/vote?uid=" + getWorkInfoResp.WorkUid + } else { + service2.ResponseQuickMsg(c, e.Failed, "未知的环境", nil) + return + } + + //生成图片base64编码 + var jpegBytes []byte + var base64Str string + if req.Type == 1 { // 使用模版 + jpegBytes, err = composeImage("./data/儿童画展模版图片.png", "", contentUrl, "《"+getWorkInfoResp.WorkName+"》", getWorkInfoResp.Name, "./data/儿童画展字体.ttf") + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + base64Str = base64.StdEncoding.EncodeToString(jpegBytes) + } else if req.Type == 2 { // 不使用模版 + prefix := "data:image/png;base64," + base64Str, err = utils.CreateQrBase64(contentUrl, "") + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 上次生成的格式为 "data:image/png;base64,/9j/2wCEAAgGBgcGBQgHBwcJCQgKDBQNDAs" 去掉前缀才是标准的base64编码 + base64Str = strings.TrimPrefix(base64Str, prefix) + } else { + service2.ResponseQuickMsg(c, e.Failed, "未知的类型", nil) + } + + generateQrCodeRespond := &children_competition.QrCodeInfo{ + WorkUid: getWorkInfoResp.WorkUid, + WorkName: getWorkInfoResp.WorkName, + PicUrl: getWorkInfoResp.PicUrl, + Name: getWorkInfoResp.Name, + Phone: getWorkInfoResp.Phone, + Length: getWorkInfoResp.Length, + Wide: getWorkInfoResp.Wide, + Status: getWorkInfoResp.Status, + QrBase64: base64Str, + } + + service2.ResponseQuickMsg(c, e.Ok, "SUCCESS", generateQrCodeRespond) + return +} + +// BatchGenerateQrCode 生成全部投票二维码 +func BatchGenerateQrCode(c *gin.Context) { + + var req children_competition.BatchGenerateQrCodeRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("BatchGenerateQrCodeRequest ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service2.ChildrenCompetitionProvider.BatchGenerateQrCode(context.Background(), &req) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + currentTimeFormat := time.Now().Format("20060102") + templatePath := "./runtime/儿童美术作品" + currentTimeFormat + ".zip" + zipFile, err := os.Create(templatePath) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + defer zipFile.Close() + + zipWriter := zip.NewWriter(zipFile) + defer zipWriter.Close() + + // 接口响应时间太长,使用并发 + var wg sync.WaitGroup + results := make(chan result, len(resp.QrCodeInfo)) + + for _, v := range resp.QrCodeInfo { + wg.Add(1) + //var voteUrl string + //if config.Env == "test" || config.Env == "dev" || config.Env == "local" { + // voteUrl = "https://kid-art-test.szjixun.cn/vote?uid=" + v.WorkUid + //} else if config.Env == "prod" { + // voteUrl = "https://appointteam.szjixun.cn/vote?uid=" + v.WorkUid + //} else { + // service2.ResponseQuickMsg(c, e.Failed, "未知的环境", nil) + // return + //} + // + //voteUrl = url.QueryEscape(voteUrl) + //contentUrl := "https://appointteam.szjixun.cn/api/appointment/wx?notifyUrl=" + voteUrl + var contentUrl string + if config.Env == "test" || config.Env == "dev" || config.Env == "local" { + contentUrl = "https://kid-art-test.szjixun.cn/vote?uid=" + v.WorkUid + } else if config.Env == "prod" { + contentUrl = "https://kid-art.szjixun.cn/vote?uid=" + v.WorkUid + } else { + service2.ResponseQuickMsg(c, e.Failed, "未知的环境", nil) + return + } + + prefix := "data:image/png;base64," + if req.Type == 1 { // 使用模版 + wgComposeImage("./data/儿童画展模版图片.png", "", contentUrl, "《"+strings.Split(v.WorkName, "(")[0]+"》", v.Name, "./data/儿童画展字体.ttf", v.WorkName, results, &wg) + } else if req.Type == 2 { // 不使用模版 + wgCreateQrBase64(contentUrl, "", prefix, v.WorkName, results, &wg) + } else { + service2.ResponseQuickMsg(c, e.Failed, "未知的类型", nil) + } + } + + // 启动一个goroutine来等待所有worker完成 + //go func() { + wg.Wait() + close(results) // 关闭channel,表示没有更多的结果 + //}() + + // 从channel中收集结果 + for v := range results { + if v.err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } else { + var f io.Writer + f, err = zipWriter.Create(v.workName + ".jpg") + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + _, err = f.Write(v.jpegBytes) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/儿童美术作品"+currentTimeFormat+".zip", httpType, c.Request.Host) + + repEF := &equity.RechargeRecordManageExportFormRespond{ + ExportUrl: exportUrl, + } + + service.Success(c, repEF) + +} + +// GetWorksVotesInfo 获取投票结果 +func GetWorksVotesInfo(c *gin.Context) { + + var req children_competition.GetWorksVotesInfoRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateWorkStatusRequest ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service2.ChildrenCompetitionProvider.GetWorksVotesInfo(context.Background(), &req) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service2.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func WorksVotesExportForm(c *gin.Context) { + var req children_competition.WorksVotesExportFormRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("WorksVotesExportFormRequest ShouldBind err", err) + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service2.ChildrenCompetitionProvider.WorksVotesExportForm(context.Background(), &req) + if err != nil { + service2.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + columns := []string{"参赛作品uid", "作品排名", "作品名称", "作品图片链接", "作品尺寸(cm)", "参赛人员姓名", "手机号", "总票数", "投票截止时间"} + + var data []interface{} + // 添加数据行 + for _, worksVotesInfo := range resp.WorksVotesInfo { + var info []string + info = append(info, worksVotesInfo.Uid) // 参赛作品uid + info = append(info, fmt.Sprintf("%d", worksVotesInfo.Ranking)) // 作品排名 + info = append(info, worksVotesInfo.WorkName) // 作品名称 + info = append(info, worksVotesInfo.PicUrl) // 作品图片链接 + info = append(info, worksVotesInfo.WorkSize) // 作品尺寸(cm) + info = append(info, worksVotesInfo.Name) // 参赛人员姓名 + info = append(info, worksVotesInfo.Phone) // 手机号 + info = append(info, fmt.Sprintf("%d", worksVotesInfo.VoteCount)) // 总票数 + info = append(info, worksVotesInfo.RegistrationDeadline) // 投票截止时间 + data = append(data, &info) + } + + //获取当前时间的标准时间 + currentTimeFormat := time.Now().Format("20060102") + + filePath := "./runtime/儿童美术作品投票记录" + currentTimeFormat + ".xlsx" + _, err = utils.ToExcelByType(columns, data, "slice", filePath) + if err != nil { + fmt.Println("err", err) + service.ResponseQuickMsg(c, e.Failed, errors.New("转换为excel类型出错").Error(), nil) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl = fmt.Sprintf("%s%s/static/儿童美术作品投票记录"+currentTimeFormat+".xlsx", httpType, c.Request.Host) + + repEF := &equity.RechargeRecordManageExportFormRespond{ + ExportUrl: exportUrl, + } + + service.Success(c, repEF) + + return +} + +func wgComposeImage(templatePath, outputPath, contentURL, workName, authorName, fontPath, relWorkName string, results chan<- result, wg *sync.WaitGroup) { + defer wg.Done() + jpegBytes, err := composeImage(templatePath, outputPath, contentURL, workName, authorName, fontPath) + if err != nil { + results <- result{err: err} + return + } + + results <- result{jpegBytes: jpegBytes, workName: relWorkName} + return +} + +func wgCreateQrBase64(contentUrl, logoUrl, prefix, relWorkName string, results chan<- result, wg *sync.WaitGroup) { + defer wg.Done() + base64Str, err := utils.CreateQrBase64(contentUrl, logoUrl) + if err != nil { + results <- result{err: err} + return + } + + // 上次生成的格式为 "data:image/png;base64,/9j/2wCEAAgGBgcGBQgHBwcJCQgKDBQNDAs" 去掉前缀才是标准的base64编码 + jpegBytes, err := base64.StdEncoding.DecodeString(strings.TrimPrefix(base64Str, prefix)) + if err != nil { + results <- result{err: err} + return + } + + results <- result{jpegBytes: jpegBytes, workName: relWorkName} + return +} + +// 合成图像 +func composeImage(templatePath, outputPath, contentURL, workName, authorName, fontPath string) (jpegBytes []byte, err error) { + file, err := os.Open(templatePath) + if err != nil { + return + } + defer file.Close() + + img, _, err := image.Decode(file) + if err != nil { + return + } + bounds := img.Bounds() + newImage := image.NewRGBA(bounds) + draw.Draw(newImage, bounds, img, bounds.Min, draw.Src) + + // 生成并添加带颜色的二维码 + qrColor := color.RGBA{30, 65, 118, 255} // #1E4176 + var qrImage *image.RGBA + qrImage, err = generateQRCodeWithColor(contentURL, qrColor) + if err != nil { + return + } + qrBounds := qrImage.Bounds() + qrPosition := image.Point{X: (bounds.Dx() - qrBounds.Dx()) / 2, Y: 520} // 修改二维码的位置 + draw.Draw(newImage, image.Rectangle{Min: qrPosition, Max: qrPosition.Add(qrBounds.Size())}, qrImage, qrBounds.Min, draw.Over) + + workNameWidth, err := textWidth(workName, fontPath, 50) + if err != nil { + return + } + authorNameWidth, err := textWidth(authorName, fontPath, 50) + if err != nil { + return + } + // 添加作品名称和作者名字 + labelColor := color.RGBA{30, 65, 118, 255} // #1E4176 + addLabel(newImage, (bounds.Dx()-workNameWidth)/2, 1250, workName, labelColor, fontPath, 50) + addLabel(newImage, (bounds.Dx()-authorNameWidth)/2, 1320, authorName, labelColor, fontPath, 50) + + var buf bytes.Buffer + + // 这段代码及其耗时 + //err = png.Encode(&buf, newImage) + //if err != nil { + // return + //} + + err = jpeg.Encode(&buf, newImage, nil) + if err != nil { + return + } + + if outputPath != "" { // 在指定文件路径新增图片 + var outFile *os.File + outFile, err = os.Create(outputPath) + if err != nil { + return + } + defer outFile.Close() + + err = jpeg.Encode(outFile, newImage, nil) + if err != nil { + return + } + } else { // 将PNG字节流 + //// 将PNG字节流编码为Base64 + //base64Str = base64.StdEncoding.EncodeToString(buf.Bytes()) + jpegBytes = buf.Bytes() + } + + return +} + +// 修改颜色的二维码生成函数 +func generateQRCodeWithColor(content string, qrColor color.RGBA) (*image.RGBA, error) { + qr, err := qrcode.New(content, qrcode.Medium) + if err != nil { + return nil, err + } + originalImg := qr.Image(700) + bounds := originalImg.Bounds() + coloredImg := image.NewRGBA(bounds) + for y := bounds.Min.Y; y < bounds.Max.Y; y++ { + for x := bounds.Min.X; x < bounds.Max.X; x++ { + if originalImg.At(x, y) == color.Black { + coloredImg.Set(x, y, qrColor) // 设置为特定颜色 + } else { + coloredImg.Set(x, y, color.White) + } + } + } + return coloredImg, nil +} + +// 添加文字的函数,使用外部字体 +func addLabel(img *image.RGBA, x, y int, label string, clr color.Color, fontPath string, fontSize float64) { + fontBytes, err := os.ReadFile(fontPath) + if err != nil { + return + } + f, err := opentype.Parse(fontBytes) + if err != nil { + return + } + + face, err := opentype.NewFace(f, &opentype.FaceOptions{ + Size: fontSize, + DPI: 72, + Hinting: font.HintingFull, + }) + if err != nil { + return + } + + point := fixed.P(x, y) + d := &font.Drawer{ + Dst: img, + Src: image.NewUniform(clr), + Face: face, + Dot: point, + } + d.DrawString(label) +} + +// 计算文本的宽度 +func textWidth(label string, fontPath string, fontSize float64) (int, error) { + fontBytes, err := os.ReadFile(fontPath) + if err != nil { + return 0, err + } + f, err := opentype.Parse(fontBytes) + if err != nil { + return 0, err + } + + face, err := opentype.NewFace(f, &opentype.FaceOptions{ + Size: fontSize, + DPI: 72, + Hinting: font.HintingFull, + }) + if err != nil { + return 0, err + } + + d := &font.Drawer{ + Face: face, + } + return d.MeasureString(label).Ceil(), nil +} + +type result struct { + jpegBytes []byte + workName string + err error +} diff --git a/pkg/service/clock_in_handle.go b/pkg/service/clock_in_handle.go new file mode 100644 index 0000000..277af91 --- /dev/null +++ b/pkg/service/clock_in_handle.go @@ -0,0 +1,420 @@ +package service + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/go-redis/redis" + "github.com/jinzhu/copier" + + "sort" + "strconv" + "strings" + "time" +) + +// ConfirmActionTypeWithOaRecord +/* + 获取 打卡类型 ,工作时间, 下一次打卡是 上班卡还是下班 结合 当天的考勤记录 +*/ +func ConfirmActionTypeWithOaRecord(userInfo login.Info, nowTime time.Time, times []*oa_model.TimeOption) (actionType, workTime, nextOnOff string, err error) { + + // 计算 考勤时间点 + var currentClickInTime time.Time + + _, _, _, currentClickInTime, err = ConfirmCurrentClickInTime(userInfo, times) + if err != nil { + return "", "", "", err + } + + actionType, workTime = oa_logic.ConfirmActionTypeV2(nowTime, currentClickInTime, times) + + nextOnOff = ConfirmOnOffV2(workTime, times) + + return actionType, workTime, nextOnOff, nil +} + +func ConfirmCurrentClickInTime(userInfo login.Info, times []*oa_model.TimeOption) (nextOnOff, currentOnOff, currentWorkTime string, currentClickInTime time.Time, err error) { + // 查询 员工 当天的 考勤 记录 + oaRecordReq := new(oa.OARecordReq) + oaRecordReq.StaffUID = userInfo.ID + oaRecordReq.Dates = []string{time.Now().Format("2006-01-02")} + oaRecordReq.Page = 1 + oaRecordReq.PageSize = 9999 + oaRecordRes, err := GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if err != nil { + return "", "", "", time.Time{}, err + } + + if len(oaRecordRes.Data) > 0 { // 获取 当天 最后一次打卡点 + oaRecord := oaRecordRes.Data[len(oaRecordRes.Data)-len(oaRecordRes.Data)] + if len(oaRecord.Records) > 0 { + nextOnOff = oa_model.OnWork + hour := oaRecord.Records[len(oaRecord.Records)-1].WorkTime + // 最后一次 打卡记录 如果是 current on -> next off ; current off -> next on + currentOnOff = oaRecord.Records[len(oaRecord.Records)-1].OnOff + if currentOnOff == oa_model.OnWork { + nextOnOff = oa_model.OffWork + } + // 最后一次 打卡 是 最后一次 下班卡 则 next off + if oaRecord.Records[len(oaRecord.Records)-1].WorkTime == times[len(times)-1].OffWorkTime { + nextOnOff = oa_model.OffWork + } + currentClickInTime, _ = time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" "+hour+":00", time.Local) + currentWorkTime = hour + } + } + + return +} + +func ConfirmOnOffV1(nowTime time.Time, times []*oa_model.TimeOption) string { + nowTimef, _ := time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02 15:04:05"), time.Local) + for i := 0; i < len(times); i++ { + nextOnTime := time.Time{} + nextOffTime := time.Time{} + if i+1 < len(times) { + nextOnTime, _ = time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02")+" "+times[i+1].OnWorkTime+":00", time.Local) + nextOffTime, _ = time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02")+" "+times[i+1].OffWorkTime+":00", time.Local) + } + onTime, _ := time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02")+" "+times[i].OnWorkTime+":00", time.Local) + offTime, _ := time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02")+" "+times[i].OffWorkTime+":00", time.Local) + if nowTimef.Before(onTime) { + return oa_model.OnWork + } + + if !nowTimef.Before(offTime) { + if nextOnTime.IsZero() && nextOffTime.IsZero() { + return oa_model.OffWork + } else { + if !nowTimef.After(nextOnTime) { + return oa_model.OffWork + } + + if nowTimef.After(nextOnTime) && nowTimef.Before(nextOffTime) { + return oa_model.OnWork + } + } + } + } + return "" +} + +func ConfirmOnOffV2(workTime string, times []*oa_model.TimeOption) string { + for i := 0; i < len(times); i++ { + if workTime == times[i].OnWorkTime { + return oa_model.OnWork + } + if workTime == times[i].OffWorkTime { + return oa_model.OffWork + } + } + return "" +} + +// ConfirmApplyType +/* + 结合 oa审批申请 获取 当前 考勤时间 的 审批类型 +*/ +func ConfirmApplyType(userInfo login.Info, workTimeFull time.Time, times []*oa_model.TimeOption) (applyType string, workTime string, err error) { + // 查询 oa 申请 请假 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeAbortLeave, + oa_model.TypeBreastFeedingLeave, + oa_model.TypeDayOff, // 调休 + oa_model.TypeOverTime, // 加班 + oa_model.TypeOutWork, // 外勤 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = time.Now().Format("2006-01-02") + applyReq.EndTime = time.Now().Format("2006-01-02") + applyReq.StaffUID = userInfo.ID + applyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return applyType, workTime, err + } + + //workTimeFull, _ := time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02")+" "+workTime+":00", time.Local) + + if len(applyRes.Data) > 0 { + for i := 0; i < len(applyRes.Data); i++ { + var ( + applyStartTimeStr string + applyEndTimeStr string + applyStartTime time.Time + applyEndTime time.Time + ) + + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, applyRes.Data[i].ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTimeV2(applyTimes, times) + + applyStartTime, _ = time.ParseInLocation("2006-01-02 15:04:05", applyStartTimeStr, time.Local) + applyEndTime, _ = time.ParseInLocation("2006-01-02 15:04:05", applyEndTimeStr, time.Local) + + if !workTimeFull.Before(applyStartTime) && !workTimeFull.After(applyEndTime) { + applyType = applyRes.Data[i].ApplyType + break + } + } + } + + return applyType, workTime, err +} + +func ConfirmIsWeek(currentWeek int32, positionUsers []oa_model.QueryTimeOption) (isWeek int32, cycle string, err error) { + // 记录 打卡 周期 + startDay, endDay, err := WorkingTimeWeekBest(positionUsers) + if err != nil { + fmt.Println("WorkDays err is :", err.Error()) + return + } + respDate, err := holiday.GetSingleData(time.Now().Format("20060102"), true) + if err != nil { + fmt.Println("GetSingleData err is :", err.Error()) + return + } + + for i := startDay; i <= endDay; i++ { + if i == int(currentWeek) { + isWeek = oa_model.IsWork + break + } + isWeek = oa_model.IsFree + } + + if endDay == 7 { + endDay = 0 + } + + if isWeek == oa_model.IsWork && respDate.Type == 1 { + isWeek = oa_model.IsFree + } + + if isWeek == oa_model.IsFree && respDate.Type == 0 && (respDate.WeekDay == 6 || respDate.WeekDay == 0) { + isWeek = oa_model.IsWork + } + + cycle = strings.Join([]string{strconv.Itoa(startDay), strconv.Itoa(endDay)}, ",") + return +} + +func ConfirmIsNeedClockIn(currentWorkTime string, nowTime time.Time, times []*oa_model.TimeOption) bool { + currentClickInTime, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" "+currentWorkTime+":00", time.Local) + + for i := 0; i < len(times); i++ { + if currentWorkTime == times[i].OnWorkTime { + OnTime, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" "+times[i].OnWorkTime+":01", time.Local) + if nowTime.Before(OnTime) { + return true + } + } + + if currentWorkTime == times[i].OffWorkTime { + if i+1 < len(times) { + nextOnTime, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" "+times[i+1].OnWorkTime+":01", time.Local) + if nowTime.Before(nextOnTime) && nowTime.After(currentClickInTime) { + return false + } + } + } + } + return false +} + +func ConfirmIsWork(cycle string, workDate string) (isWork bool) { + isWork = false + if cycle == "" { + return isWork + } + + weeks := strings.Split(cycle, ",") + + single, err := holiday.GetSingleData(holiday.ConvertTime(workDate), true) + if err != nil { + fmt.Println("==================== GetSingleData ====================") + fmt.Println("err : ", err.Error()) + fmt.Println("==================== GetSingleData ====================") + return false + } + if single.WeekDay == 7 { + single.WeekDay = 0 + } + + start, _ := strconv.Atoi(weeks[0]) + end, _ := strconv.Atoi(weeks[1]) + + for i := start; i <= end; i++ { + if i == int(single.WeekDay) { + isWork = true + break + } + } + + if isWork == true && (single.Type == 1 || single.Type == 2) { + isWork = false + } + + if isWork == false && single.Type == 0 && (single.WeekDay == 6 || single.WeekDay == 0) { + //if isWork == false && single.Type == 0 { + isWork = true + } + + return +} + +// 周末打卡时 只记录 第一次上班卡 和 最后一次下班卡 +func OneRoundConfirmCurrentClickInTime(userInfo login.Info) (nextOnOff string, err error) { + // 查询 员工 当天的 考勤 记录 + oaRecordReq := new(oa.OARecordReq) + oaRecordReq.StaffUID = userInfo.ID + oaRecordReq.Dates = []string{time.Now().Format("2006-01-02")} + oaRecordReq.Page = 1 + oaRecordReq.PageSize = 9999 + oaRecordRes, err := GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if err != nil { + return "", err + } + + if len(oaRecordRes.Data) > 0 { // 获取 当天 最后一次打卡点 + oaRecord := oaRecordRes.Data[len(oaRecordRes.Data)-len(oaRecordRes.Data)] + if len(oaRecord.Records) > 0 { + nextOnOff = oa_model.OffWork + } + } + + return +} + +// 考勤记录排序 +func OrderByRecord(records []oa_model.Record) []oa_model.Record { + if records == nil { + return records + } + //fmt.Printf("处理 休息日 打卡记录: %+v\n", records) + recordsMap := make(map[string]oa_model.Record) + times := make([]string, 0) + for i := 0; i < len(records); i++ { + if records[i].WorkTime != "" && records[i].IsWork == oa_model.IsWork { + recordsMap[records[i].WorkTime] = records[i] + times = append(times, records[i].WorkTime) + } else if records[i].ActionTime != "" && records[i].WorkTime == "" { + recordsMap[strings.Split(records[i].ActionTime, " ")[1]] = records[i] + times = append(times, strings.Split(records[i].ActionTime, " ")[1]) + } else if records[i].IsWork == oa_model.IsFree { + if records[i].OnOff == oa_model.OffWork { + if i == len(records)-1 { + recordsMap[strings.Split(records[i].ActionTime, " ")[1]] = records[i] + times = append(times, strings.Split(records[i].ActionTime, " ")[1]) + } + continue + } + recordsMap[strings.Split(records[i].ActionTime, " ")[1]] = records[i] + times = append(times, strings.Split(records[i].ActionTime, " ")[1]) + } + } + sort.Strings(times) + newRecords := make([]oa_model.Record, 0) + for i := 0; i < len(times); i++ { + newRecords = append(newRecords, recordsMap[times[i]]) + } + return newRecords +} + +// 根据经纬度确认是否可以打卡 +func ConfirmIsInCompany(lng, lat string) (bool, error) { + if lng == "" || lat == "" { + return false, errors.New(e.ErrLatLog) + } + + lngF, _ := strconv.ParseFloat(lng, 64) + latF, _ := strconv.ParseFloat(lat, 64) + + if result, err := cache.GeoRadius(cache.ChickInMap, 0, 0, &redis.GeoRadiusQuery{ + Radius: 20100, + Unit: "km", + WithGeoHash: false, + WithDist: false, + }); err != nil || len(result) < 1 { + + // 从数据库中获取公司的经纬度 + res, err := GrpcOAImpl.QueryOaSetting(context.Background(), &oa.OaSettingReq{ + Keyword: cache.ChickInMap, + }) + if err != nil { + return false, errors.New(e.ErrChickInMap) + } + + fmt.Println("=================================== ConfirmIsInCompany QueryOaSetting res =======================================================") + fmt.Printf("res : %+v\n", res.Data) + fmt.Println("=================================== ConfirmIsInCompany QueryOaSetting res =======================================================") + + geoLocations := make([]*redis.GeoLocation, 0) + geoLocationsLength := 0 + if len(res.Data) > 0 { + for i := 0; i < len(res.Data); i++ { + if res.Data[i].Keyword == cache.ChickInMap { + for j := 0; j < len(res.Data[i].Value.ChickInMap); j++ { + geoLocationsLength++ + geoLocation := new(redis.GeoLocation) + geoLocation.Name = res.Data[i].Value.ChickInMap[j].Address + geoLocation.Latitude, _ = strconv.ParseFloat(res.Data[i].Value.ChickInMap[j].Lat, 64) + geoLocation.Longitude, _ = strconv.ParseFloat(res.Data[i].Value.ChickInMap[j].Lng, 64) + if geoLocation.Latitude == 0 || geoLocation.Longitude == 0 { + return false, errors.New(e.ErrDbChickInMap) + } + geoLocations = append(geoLocations, geoLocation) + } + } + } + } + + fmt.Println("=================================== ConfirmIsInCompany geoLocations =======================================================") + fmt.Printf("geoLocations : %+v\n", geoLocations) + fmt.Println("=================================== ConfirmIsInCompany geoLocations =======================================================") + + saveNum, err := cache.GeoAdd(cache.ChickInMap, geoLocations...) + if err != nil || saveNum != int64(geoLocationsLength) { + return false, errors.New(e.ErrCacheChickInMap) + } + } + + // 使用GEORADIUS命令过滤出100米以内的地点 + results, err := cache.GeoRadius(cache.ChickInMap, lngF, latF, &redis.GeoRadiusQuery{ + Radius: 100, + Unit: "m", + WithGeoHash: false, + WithDist: true, + }) + + if err != nil { + return false, errors.New(e.ErrConfirmChickInMap) + } + + for _, result := range results { + // 检查距离是否在100米以内 + if result.Dist <= 100 { + return true, nil + } + } + + return false, nil +} diff --git a/pkg/service/copyright/copyright.go b/pkg/service/copyright/copyright.go new file mode 100644 index 0000000..2d25b45 --- /dev/null +++ b/pkg/service/copyright/copyright.go @@ -0,0 +1,425 @@ +package service_copyright + +import ( + "context" + "fmt" + "sync" + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/dci" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + loigc_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/logic/copyright" + model_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/model/copyright" + pkgRequest "github.com/fonchain_enterprise/fonchain-main/pkg/request" + pkgResponse "github.com/fonchain_enterprise/fonchain-main/pkg/response" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +var wg sync.WaitGroup + +// 00084a8a-6384-49a6-b88e-fb11935147b5 李益兵 +// 8d30e9aa-229d-4906-a93e-8872ad0df10e 许泰学 +// 提交申领 +func CreateArtworkDci(ctx *gin.Context) { + var ( + err error + createReq *digital_copyright.CreateDciPreregistrationRequest + ) + if err = ctx.ShouldBind(&createReq); err != nil { + logger.Errorf("CreateArtworkCopyright err ShouldBind %s", err.Error()) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + var logicCopyright = new(loigc_copyright.Copyright) + if err = logicCopyright.CreatePreregistration(ctx, createReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + // 定义一个msg结构体 返回数据 + type MsgInfo struct { + Msg string + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), nil) + return +} + +// 补充信息 +func AwAdditionalInfo(ctx *gin.Context) { + var ( + err error + req pkgRequest.AdditionalRequest + resp pkgResponse.AdditionalResp + ) + if err = ctx.ShouldBind(&req); err != nil { + logger.Errorf("AwAdditionalInfo err ShouldBind %s", err.Error()) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + var logicCopyright = new(loigc_copyright.Copyright) + if resp, err = logicCopyright.GetAdditionalInfo(req.ArtworkUuid); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +// 查询申领信息 +func DciContentInfo(ctx *gin.Context) { + var ( + req pkgRequest.CopyrightIdAll + resp *dci.QueryDciPreregistrationResponse + err error + ) + if err = ctx.ShouldBind(&req); err != nil { + logger.Errorf("DciContentInfo err ShouldBind %s", err.Error()) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + var logicCopyright = new(loigc_copyright.Copyright) + if resp, err = logicCopyright.PreregistrationInfo(req.DciContentId, req.CopyrightId); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if resp.ResultCode != "OK" { + service.ResponseQuickMsg(ctx, e.Failed, model_copyright.DciUserResultMsg[resp.ResultMsg], resp) + return + } + + service.ResponseQuickMsg(ctx, e.Ok, "", resp) + return +} + +func CopyrightList(ctx *gin.Context) { + var ( + listReq *digital_copyright.CopyrightListReq + listResp *digital_copyright.CopyrightListResp + err error + ) + if err = ctx.ShouldBind(&listReq); err != nil { + zap.L().Error("CopyrightList err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if listResp, err = service.GrpcCopyrightImpl.CopyrightList(context.Background(), listReq); err != nil { + zap.L().Error("CopyrightList err CopyrightList", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + for _, v := range listResp.Data { + if v.BlackListStatus == 2 { + v.ArtistName = fmt.Sprintf("#%s", v.ArtistName) + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), listResp) + return +} + +func CopyrightDetail(ctx *gin.Context) { + var ( + detailReq *digital_copyright.CopyrightDetailReq + detailResp *digital_copyright.CopyrightDetailResp + err error + ) + if err = ctx.ShouldBind(&detailReq); err != nil { + zap.L().Error("CopyrightDetail err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if detailResp, err = service.GrpcCopyrightImpl.CopyrightDetail(context.Background(), detailReq); err != nil { + zap.L().Error("CopyrightList err CopyrightDetail", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if detailResp == nil { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + //如果是待提交的话需要查询补充信息 + if detailResp.BaseInfo != nil && detailResp.AdditionalInfo != nil && (detailResp.AdditionalInfo.CreationCompletionAddress == "" || detailResp.AdditionalInfo.FirstPublicationAddressCode == "") { + var logicCopyright = new(loigc_copyright.Copyright) + var additionalInfo pkgResponse.AdditionalResp + if additionalInfo, err = logicCopyright.GetAdditionalInfo(detailResp.BaseInfo.ArtworkUuid); err != nil { + zap.L().Error("CreateArtworkCopyrightSave err GetAdditionalInfo", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + detailResp.AdditionalInfo.CreationCompletionAddressCode = detailResp.WorkInfo.CreateAddressCode + detailResp.AdditionalInfo.CreationCompletionAddress = detailResp.WorkInfo.CreateAddress + detailResp.AdditionalInfo.CreationCompletionDate = additionalInfo.CreationCompletionDate + detailResp.AdditionalInfo.FirstPublicationAddress = additionalInfo.FirstPublicationAddress + detailResp.AdditionalInfo.FirstPublicationAddressCode = additionalInfo.FirstPublicationAddressCode + detailResp.AdditionalInfo.FirstPublicationDate = additionalInfo.FirstPublicationDate + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), detailResp) + return +} + +func DeleteCopyright(ctx *gin.Context) { + var ( + delReq *digital_copyright.DeleteCopyrightReq + err error + ) + if err = ctx.ShouldBind(&delReq); err != nil { + zap.L().Error("DeleteCopyright err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if _, err = service.GrpcCopyrightImpl.DeleteCopyright(context.Background(), delReq); err != nil { + zap.L().Error("CopyrightList err DeleteCopyright", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), nil) + return +} + +func CopyrightSchedule(ctx *gin.Context) { + var ( + req *digital_copyright.ScheduleReq + resp *digital_copyright.ScheduleResp + err error + ) + if err = ctx.ShouldBind(&req); err != nil { + zap.L().Error("CopyrightSchedule err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if resp, err = service.GrpcCopyrightImpl.Schedule(context.Background(), req); err != nil { + zap.L().Error("CopyrightList err DeleteCopyright", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +// 版权状态信息 +func CopyrightStatusInfo(ctx *gin.Context) { + type StatusInfo struct { + Status string `json:"status"` + PrecessNum uint8 `json:"precessNum"` + } + var data []StatusInfo + var statusSlice []string = []string{ + "WAIT_SUBMIT", + "COPYRIGHT_CHECK", + "DIGITAL_CHECK", + "DIGITAL_WAIT_PAY", + "DIGITAL_REVIEW", + "COMPLETED", + "ALL_AMEND", + "ALL_END"} + for _, status := range statusSlice { + var statusInfo1 StatusInfo + statusInfo1.Status = status + statusInfo1.PrecessNum = 1 + data = append(data, statusInfo1) + } + + resp, err := service.GrpcCopyrightImpl.StatusInfo(context.Background(), &digital_copyright.StatusInfoReq{CopyrightId: ""}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), data) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp.Data) + return +} + +func RefreshCopyright(ctx *gin.Context) { + RefreshCopyrightV1() +} + +func RefreshCopyrightV1() { + var ( + listReq *digital_copyright.SyncListReq + listResp *digital_copyright.SyncListResp + err error + ) + lockKey := "refreshCopyright" + locked, _err := cache.RedisClient.SetNX(lockKey, time.Now().Unix(), time.Minute*30).Result() + if _err != nil { + zap.L().Error("RefreshCopyright err", zap.Error(_err)) + return + } + if !locked { + return + } + defer func() { + _, _ = cache.RedisClient.Del(lockKey).Result() + }() + var maxWorker = 20 + tasks := make(chan *digital_copyright.SyncListResp_Info, 100) + for i := 0; i < maxWorker; i++ { + wg.Add(1) + go func() { + defer wg.Done() + for info := range tasks { + processCopyrightInfo(info) + } + }() + } + for i := 1; i <= 100; i++ { + listReq = &digital_copyright.SyncListReq{ + Page: int32(i), + PageSize: 100, + } + if listResp, err = service.GrpcCopyrightImpl.SyncList(context.Background(), listReq); err != nil { + zap.L().Error("RefreshCopyright err CopyrightList", zap.Error(err)) + break + } + if listResp == nil || len(listResp.Data) < int(listReq.PageSize) { + break + } + for _, info := range listResp.Data { + tasks <- info + } + } + close(tasks) + wg.Wait() +} + +func processCopyrightInfo(info *digital_copyright.SyncListResp_Info) { + var logicCopyright = new(loigc_copyright.Copyright) + var logicDigital = new(loigc_copyright.Digital) + zap.L().Info("copyright list info", zap.Any("info", info)) + copyrightInfo := model_copyright.CopyrightInfo{ + CopyrightId: info.CopyrightId, + DciContentId: info.DciContentId, + DigitalRegisterId: info.DigitalRegisterId, + PreRegCertUrl: info.PreRegCertUrl, + ApplyFormUrl: info.ApplyFormUrl, + InvoiceUrlList: info.InvoiceUrlList, + DigitalRegisterCertUrl: info.DigitalRegisterCertUrl, + DigitalWorkSampleUrl: info.DigitalWorkSampleUrl, + } + switch info.Status { + case "DEFINE_DCI_PRE_WAIT_SUBMIT": + case "DCI_PRE_REG_FAIL": + fallthrough + case "DEFINE_DCI_PRE_SUBMIT", "DCI_PRE_REG_AUDITING", "DCI_PRE_REG_TOBE_CONFIRM": //提交dci + _, _ = logicCopyright.PreregistrationInfo(info.DciContentId, info.CopyrightId) + case "REVIEW", "DEFINE_DIGI_SUBMIT", "CHECK", "SUBMITED": + idAll := pkgRequest.CopyrightIdAll{ + CopyrightId: info.CopyrightId, + } + _, _ = logicDigital.DciQueryRegistration(idAll, copyrightInfo) + case "DCI_PRE_REG_FINISH": + _, _ = logicDigital.DciRegistration(info.CopyrightId) + case "PAY": + idAll := pkgRequest.CopyrightIdAll{ + CopyrightId: info.CopyrightId, + } + if info.Amount == 0 { + zap.L().Info("DciGetPayUrl 2") + _, _ = logicDigital.DciGetPayUrl(idAll) + } + if info.PayStatus == "PAY_SUCCESS" { + _, _ = logicDigital.DciQueryRegistration(idAll, copyrightInfo) + } else { + _, _ = logicDigital.DciGetPayQuery(idAll) + } + default: + + } +} + +func CheckDciUser(ctx *gin.Context) { + // 15262419073 + // 320981199411161742 + // 韩洁 + // national https://cdns.fontree.cn/fonchain-main/prod/image/2e126e4a-8920-4034-9904-00b2feaa879d/artist/90bca41a-2ae4-4fa3-9eb7-b4a3c2e9f351.jpg + // cardface https://cdns.fontree.cn/fonchain-main/prod/image/2e126e4a-8920-4034-9904-00b2feaa879d/artist/94352ea8-f46f-4e85-8d72-9ed61b869873.jpg + var logicDciUser = new(loigc_copyright.DciUser) + var artistInfo *artist.ArtistInfoResponse = &artist.ArtistInfoResponse{} + artistInfo.ProfileInfo = &artist.ProfileRequest{ + CardId: "320981199411161742", + Phone: "15262419073", + Uid: "define41-3249-1310-ee4d-3677861bc281", + Name: "韩洁", + } + artistInfo.MediaRequest = &artist.MediaRequest{ + CardFace: "https://cdns.fontree.cn/fonchain-main/prod/image/2e126e4a-8920-4034-9904-00b2feaa879d/artist/94352ea8-f46f-4e85-8d72-9ed61b869873.jpg", + CardNational: "https://cdns.fontree.cn/fonchain-main/prod/image/2e126e4a-8920-4034-9904-00b2feaa879d/artist/90bca41a-2ae4-4fa3-9eb7-b4a3c2e9f351.jpg", + } + resp, err := logicDciUser.CheckDciReg(artistInfo) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, "", resp) + return +} + +func CreatePregistration(ctx *gin.Context) { + //dciUserId := "DUSANDBOX8240508000000555798" //韩洁测试 + dciUserId := "DU8240509000002198923" //韩洁正式 + authorName := "韩洁" + mp3Url := "https://cdns.fontree.cn/fonchain-main/prod/image/2e126e4a-8920-4034-9904-00b2feaa879d/artist/183ef31d-a23a-44cf-bf93-6b305959c9a2.mp3" + var logicDciUser = new(loigc_copyright.DciUser) + wordFileId, err := logicDciUser.DciUploadUrl(mp3Url) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + + req := &dci.CreateDciPreregistrationRequest{ + WorkName: "时间的涟漪", + DciUserId: dciUserId, + WorkCategory: "MUSIC", + WorkFileId: wordFileId, + FileType: "AUDIO", + CreationInfo: &dci.DciCreationInfo{ + CreationNature: "ORIGINAL", + CreationCompletionDate: "2024-04-02", + CreationCompletionCode: "320500", + }, + PublicationInfo: &dci.DciPublicationInfo{ + PublicationStatus: "PUBLISHED", + FirstPublicationDate: "2024-05-10", + FirstPublicationCode: "320500", + }, + AuthorName: authorName, + AuthorSignature: authorName, + //OriginalStatement: "", + RightInfo: &dci.DciRightInfo{ + RightScope: "ALL", + RightObtainWay: "ORIGINAL", + OwnershipWay: "PERSON", + }, + PreRegistrationTrueWill: "PASSWORD", + CopyrightOwnerIds: []string{dciUserId}, + } + zap.L().Info("CreateDciPreregistration", zap.Any("req", req)) + resp, err := service.GrpcDciImpl.CreateDciPreregistration(context.Background(), req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + zap.L().Error("dciArtworkPreregistration err CreateDciPreregistration", zap.Error(err)) + return + } + zap.L().Info("CreateDciPreregistration--", zap.Any("resp", resp)) + service.ResponseQuickMsg(ctx, e.Ok, "", resp) + return +} + +func UpdatePayInfoResult(ctx *gin.Context) { + req := new(digital_copyright.UpdatePayInfoResultReq) + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcCopyrightImpl.UpdatePayInfoResult(context.Background(), req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + zap.L().Error("UpdatePayInfoResult err", zap.Error(err)) + return + } + service.ResponseQuickMsg(ctx, e.Ok, "", resp) + return +} diff --git a/pkg/service/copyright/dciuser.go b/pkg/service/copyright/dciuser.go new file mode 100644 index 0000000..73cdb38 --- /dev/null +++ b/pkg/service/copyright/dciuser.go @@ -0,0 +1,138 @@ +package service_copyright + +import ( + "context" + "github.com/fonchain_enterprise/fonchain-main/api/dci" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + loigc_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/logic/copyright" + model_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/model/copyright" + pkgRequest "github.com/fonchain_enterprise/fonchain-main/pkg/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "time" +) + +func UpdateUser(ctx *gin.Context) { + var ( + err error + req pkgRequest.DciUpdateUser + updateResp *dci.UpdateDciUserResponse + dciUserInfo *digital_copyright.DciUserInfoResp + //queryDciInfo *dci.QueryDciUserResponse + cardFaceWordFileId string + cardNationWordFileId string + ) + var newDciUserInfo = &digital_copyright.AddDciUserRequest{} + if err = ctx.ShouldBind(&req); err != nil { + zap.L().Error("UpdateUser err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if req.ArtistUuid == "" || req.CardFaceUrl == "" || req.CardNationalUrl == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if dciUserInfo, err = service.GrpcCopyrightImpl.DciUserInfo(context.Background(), &digital_copyright.DciUserInfoReq{ + ArtistUuid: req.ArtistUuid, + }); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if dciUserInfo.DciUserId == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.ErrorDciUserNoReg, nil) + return + } + defer func() { + go UpdateDciUserInfo(newDciUserInfo) + }() + newDciUserInfo.ArtistUuid = req.ArtistUuid + newDciUserInfo.CertificateNumber = dciUserInfo.CertificateNumber + newDciUserInfo.Phone = dciUserInfo.Phone + if dciUserInfo.CardFaceUrl == req.CardFaceUrl && dciUserInfo.CardNationUrl == req.CardNationalUrl { + service.ResponseQuickMsg(ctx, e.Failed, e.ErrorDciNoNeedUpdate, nil) + return + } + var logicDciUser = new(loigc_copyright.DciUser) + if cardFaceWordFileId, err = logicDciUser.DciUploadUrl(req.CardFaceUrl); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if cardNationWordFileId, err = logicDciUser.DciUploadUrl(req.CardNationalUrl); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + dciUpdateReq := dci.UpdateDciUserRequest{ + DciUserId: dciUserInfo.DciUserId, + CertFrontFileId: cardFaceWordFileId, + CertBackFileId: cardNationWordFileId, + } + //if queryDciInfo, err = service.GrpcDciImpl.QueryDciUser(context.Background(), &dci.QueryDciUserRequest{ + // CertificateType: "IDENTITY_CARD", + // CertificateNumber: dciUserInfo.CertificateNumber, + // Phone: dciUserInfo.Phone, + //}); err != nil { + // service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + // return + //} + //fmt.Println(queryDciInfo) + if updateResp, err = service.GrpcDciImpl.UpdateDciUser(context.Background(), &dciUpdateReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if updateResp.ResultCode != "OK" { + service.ResponseQuickMsg(ctx, e.Failed, model_copyright.DciUserResultMsg[updateResp.ResultMsg], nil) + return + } + newDciUserInfo.CardNationUrl = req.CardNationalUrl + newDciUserInfo.CardFaceUrl = req.CardFaceUrl + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), nil) + return +} + +func DciUserInfo(ctx *gin.Context) { + artistUuid := ctx.PostForm("artistUuid") + userInfo, err := service.GrpcCopyrightImpl.DciUserInfo(context.Background(), &digital_copyright.DciUserInfoReq{ + ArtistUuid: artistUuid, + }) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + dciResp, _err := service.GrpcDciImpl.QueryDciUser(context.Background(), &dci.QueryDciUserRequest{ + CertificateType: "IDENTITY_CARD", + CertificateNumber: userInfo.CertificateNumber, + Phone: userInfo.Phone, + }) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), dciResp) + return +} + +func UpdateDciUserInfo(dciUserInfo *digital_copyright.AddDciUserRequest) { + time.Sleep(time.Second * 2) + if dciUserInfo.ArtistUuid == "" || dciUserInfo.CertificateNumber == "" || dciUserInfo.Phone == "" { + return + } + dciUserResp, err := service.GrpcDciImpl.QueryDciUser(context.Background(), &dci.QueryDciUserRequest{ + CertificateType: "IDENTITY_CARD", + CertificateNumber: dciUserInfo.CertificateNumber, + Phone: dciUserInfo.Phone, + }) + var dciUserStatus string + if err == nil && dciUserResp.ResultCode == "OK" { + dciUserStatus = dciUserResp.DciUserStatus + } + if _, err = service.GrpcCopyrightImpl.UpdateDciUser(context.Background(), &digital_copyright.AddDciUserRequest{ + ArtistUuid: dciUserInfo.ArtistUuid, + CardFaceUrl: dciUserInfo.CardFaceUrl, + CardNationUrl: dciUserInfo.CardNationUrl, + DciUserStatus: dciUserStatus, + }); err != nil { + return + } +} diff --git a/pkg/service/copyright/digital.go b/pkg/service/copyright/digital.go new file mode 100644 index 0000000..b02227b --- /dev/null +++ b/pkg/service/copyright/digital.go @@ -0,0 +1,485 @@ +package service_copyright + +import ( + "context" + "encoding/base64" + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/google/uuid" + "net/url" + "sort" + "strings" + "sync" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/dci" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + loigc_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/logic/copyright" + model_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/model/copyright" + dciModel "github.com/fonchain_enterprise/fonchain-main/pkg/model/dci" + pkgRequest "github.com/fonchain_enterprise/fonchain-main/pkg/request" + pkgResponse "github.com/fonchain_enterprise/fonchain-main/pkg/response" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "google.golang.org/protobuf/types/known/emptypb" +) + +// 数登申请 +func DciRegistration(ctx *gin.Context) { + var ( + err error + createReq pkgRequest.CopyrightIdAll + createResp *dci.CreateDciRegistrationResponse + ) + var logicDigital = new(loigc_copyright.Digital) + if err = ctx.ShouldBind(&createReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if createResp, err = logicDigital.DciRegistration(createReq.CopyrightId); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), createResp) + return +} + +// 查询数登 +func DciQueryRegistration(ctx *gin.Context) { + var ( + err error + idAll pkgRequest.CopyrightIdAll + digitalQueryResp *dci.QueryDciRegistrationResponse + ) + var logicDigital = new(loigc_copyright.Digital) + if err = ctx.ShouldBind(&idAll); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if digitalQueryResp, err = logicDigital.DciQueryRegistration(idAll, model_copyright.CopyrightInfo{}); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), digitalQueryResp) + return +} + +func DciGetPayUrl(ctx *gin.Context) { + var ( + err error + createReq pkgRequest.CopyrightIdAll + payUrlResp *dci.GetDciPayUrlResponse + ) + var logicDigital = new(loigc_copyright.Digital) + if err = ctx.ShouldBind(&createReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + zap.L().Info("DciGetPayUrl 3") + if payUrlResp, err = logicDigital.DciGetPayUrl(createReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if payUrlResp.ResultCode != "OK" { + msg := model_copyright.DciUserResultMsg[payUrlResp.ResultMsg] + if msg == "" { + msg = e.ErrorUnknown + } + service.ResponseQuickMsg(ctx, e.Failed, msg, map[string]string{ + "payUrl": "", + }) + return + } + var payUrl string = payUrlResp.PayUrl + if payUrl == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.ErrorGetPayUrl, map[string]string{ + "payUrl": payUrl, + }) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), map[string]string{ + "payUrl": payUrl, + }) + return +} + +func DciGetPayQuery(ctx *gin.Context) { + var ( + err error + createReq pkgRequest.CopyrightIdAll + queryPayResp *dci.QueryDciPayResponse + ) + var logicDigital = new(loigc_copyright.Digital) + if err = ctx.ShouldBind(&createReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if queryPayResp, err = logicDigital.DciGetPayQuery(createReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), queryPayResp) + return +} + +func DciGetRegistrationCert(ctx *gin.Context) { + var ( + err error + url1 string + url2 string + createReq pkgRequest.CopyrightIdAll + //certResp *dci.GetDciRegistrationcertResponse + ) + var logicDigital = new(loigc_copyright.Digital) + if err = ctx.ShouldBind(&createReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + var copyrightInfo model_copyright.CopyrightInfo + _ = copier.Copy(©rightInfo, createReq) + if url1, url2, err = logicDigital.DciGetRegistrationCert(copyrightInfo, false); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), map[string]string{ + "url1": url1, + "url2": url2, + }) + return +} + +func RetryDigitalRegister(ctx *gin.Context) { + var ( + err error + req *digital_copyright.RetryReq + ) + var logicDigital = new(loigc_copyright.Digital) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if err = logicDigital.RetryDigitalRegister(ctx, req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), nil) + return +} + +func CloseDigitalRegister(ctx *gin.Context) { + var ( + err error + req *dci.CloseDciRegistrationRequest + ) + var logicDigital = new(loigc_copyright.Digital) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if err = logicDigital.CloseDigitalRegister(req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), nil) + return +} + +func UnpackCallback(ctx *gin.Context) { + var Info struct { + ReturnAll string `json:"returnAll"` + } + var decodedURL string + info := &Info + _ = ctx.BindJSON(&info) + decoded, err := base64.StdEncoding.DecodeString(info.ReturnAll) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), info) + return + } + restoredMap := new(dciModel.Callback) + // 反序列化为 map[string]interface{} + //var restoredMap map[string]interface{} + decodedURL, err = url.QueryUnescape(string(decoded)) + err = json.Unmarshal([]byte(decodedURL), &restoredMap) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), info) + return + } + service.ResponseQuickMsg(ctx, e.Ok, "", info) + return +} + +func DataSummary(ctx *gin.Context) { + resp, err := service.GrpcCopyrightImpl.DataSummary(ctx, &digital_copyright.DataSummaryReq{}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + //查询转让 + transferResp, _err := service.GrpcArtworkQueryImpl.TotalTransfer(context.Background(), &emptypb.Empty{}) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + resp.CrTransferDoneNum = transferResp.TotalNum + resp.CrRegisterInfo.OfflineTotalNum = transferResp.TotalOfflineCopyrightNum + + type StatusInfo struct { + Status string `json:"status"` + PrecessNum uint8 `json:"precessNum"` + Redirect string `json:"redirect"` + } + var agentStatusData []StatusInfo + var statusSlice []string = []string{ + "WAIT_SUBMIT", + "COPYRIGHT_CHECK", + "DIGITAL_CHECK", + "DIGITAL_WAIT_PAY", + "DIGITAL_REVIEW", + //"COMPLETED", + "ALL_AMEND", + //"ALL_END" + } + for _, status := range statusSlice { + var statusInfo1 StatusInfo + statusInfo1.Status = status + statusInfo1.PrecessNum = 0 + statusInfo1.Redirect = status + agentStatusData = append(agentStatusData, statusInfo1) + } + respStatus, _err := service.GrpcCopyrightImpl.StatusInfo(context.Background(), &digital_copyright.StatusInfoReq{CopyrightId: ""}) + if _err != nil { + _ = copier.Copy(&resp.AgentStatusData, agentStatusData) + _ = copier.Copy(&resp.ArtistStatusData, agentStatusData) + return + } + for _, v := range respStatus.Data { + var temp = digital_copyright.DataSummaryResp_StatusInfo{} + if strings.Contains("COMPLETED,ALL_END", v.Status) { + continue + } + temp.PrecessNum = v.PrecessNum + temp.Status = v.Status + temp.Redirect = v.Status + resp.AgentStatusData = append(resp.AgentStatusData, &temp) + } + //err = copier.CopyWithOption(&resp.AgentStatusData, respStatus.Data, opt) + //_ = copier.Copy(&resp.AgentStatusData, respStatus.Data) + fmt.Println(err) + _ = copier.Copy(&resp.ArtistStatusData, agentStatusData) + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func CategoryDataSummary(ctx *gin.Context) { + var req = digital_copyright.CategoryDataSummaryReq{} + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcCopyrightImpl.CategoryDataSummary(ctx, &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + type Info struct { + WorkCategory string `json:"workCategory"` + AgentNum int32 `json:"agentNum"` + ArtistNum int32 `json:"artistNum"` + } + var data []*Info + var mm map[string]*Info = map[string]*Info{} + for _, v := range resp.Data { + c, ok := mm[v.WorkCategory] + if !ok { + mm[v.WorkCategory] = &Info{} + c = &Info{} + } + c.WorkCategory = v.WorkCategory + if v.Source == 1 { + c.AgentNum = v.DoneNum + } + if v.Source == 2 { + c.ArtistNum = v.DoneNum + } + mm[v.WorkCategory] = c + } + for _, v := range mm { + data = append(data, v) + } + sort.Slice(data, func(i, j int) bool { + return data[i].WorkCategory < data[j].WorkCategory + }) + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), data) + return +} + +func dateRange(startDate, endDate string, dateFormat string) ([]string, error) { + start, err := time.Parse(dateFormat, startDate) + if err != nil { + return nil, err + } + + end, err := time.Parse(dateFormat, endDate) + if err != nil { + return nil, err + } + + dates := []string{} + + for d := start; !d.After(end); d = d.AddDate(0, 0, 1) { + dates = append(dates, d.Format(dateFormat)) + } + + return dates, nil +} + +func CategoryDaySummary(ctx *gin.Context) { + var req = digital_copyright.CategoryDaySummaryReq{} + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcCopyrightImpl.CategoryDaySummary(ctx, &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + + dates, _ := dateRange(req.StartDate, req.EndDate, "2006-01-02") + for _, date := range dates { + var exists bool + for _, v := range resp.Data { + if v.DayDate == date { + exists = true + break + } + } + if !exists { + var info = digital_copyright.CategoryDaySummaryResp_Info{} + info.DayDate = date + info.WorkCategory = req.WorkCategory + info.DoneNum = 0 + resp.Data = append(resp.Data, &info) + } + } + sort.Slice(resp.Data, func(i, j int) bool { + return resp.Data[i].DayDate < resp.Data[j].DayDate + }) + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp.Data) + return +} + +func AllStatusInfo(ctx *gin.Context) { + type StatusInfo struct { + Status string `json:"status"` + PrecessNum uint8 `json:"precessNum"` + } + var data = make(map[string]interface{}, 2) + var agentStatusData []StatusInfo + var statusSlice []string = []string{ + "WAIT_SUBMIT", + "COPYRIGHT_CHECK", + "DIGITAL_CHECK", + "DIGITAL_WAIT_PAY", + "DIGITAL_REVIEW", + "COMPLETED", + "ALL_AMEND", + "ALL_END"} + for _, status := range statusSlice { + var statusInfo1 StatusInfo + statusInfo1.Status = status + statusInfo1.PrecessNum = 0 + agentStatusData = append(agentStatusData, statusInfo1) + } + resp, err := service.GrpcCopyrightImpl.StatusInfo(context.Background(), &digital_copyright.StatusInfoReq{CopyrightId: ""}) + if err != nil { + data["agentData"] = agentStatusData + return + } + data["agentData"] = resp.Data + data["artistData"] = agentStatusData + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), data) + return +} + +func BatchDci(ctx *gin.Context) { + var ( + err error + batchReq *pkgRequest.BatchDciRequest + ) + if err = ctx.ShouldBind(&batchReq); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if batchReq.ArtworkUuids == nil || len(batchReq.ArtworkUuids) == 0 { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + var resultChan = make(chan pkgResponse.DciCopyrightResult, len(batchReq.ArtworkUuids)) + var logicCopyright = new(loigc_copyright.Copyright) + var failData []pkgResponse.DciCopyrightResult + zap.L().Info("DciCopyright 100") + newUuid := uuid.New().String() + cacheKey := fmt.Sprintf("bacthDciCopyright_%s", newUuid) + cacheAllKey := "batchDciCopyright" + cache.RedisClient.SAdd(cacheAllKey, cacheKey) + defer cache.RedisClient.Del(cacheKey) + var data = map[string]interface{}{} + if err = logicCopyright.CheckDciUserInfo(ctx, batchReq.ArtworkUuids); err != nil { + failData = append(failData, pkgResponse.DciCopyrightResult{ + ArtworkName: "", + Tfnum: "", + FailReason: err.Error(), + }) + data = map[string]interface{}{ + "failData": failData, + } + zap.L().Info("DciCopyright", zap.Any("failData", failData)) + zap.L().Error("DciCopyright", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), data) + return + } + zap.L().Info("DciCopyright 110", zap.Any("batchReq.ArtworkUuids", batchReq.ArtworkUuids)) + var wgp sync.WaitGroup + for _, artworkUuid := range batchReq.ArtworkUuids { + wgp.Add(1) + go func(artworkUuid string) { + defer wgp.Done() + resultInfo := logicCopyright.DciCopyright(artworkUuid, ctx) + resultChan <- resultInfo + }(artworkUuid) + } + go func() { + wgp.Wait() + close(resultChan) + }() + zap.L().Info("DciCopyright 120", zap.Any("batchReq.ArtworkUuids", batchReq.ArtworkUuids)) + cache.RedisClient.SAdd(cacheKey, batchReq.ArtworkUuids) + cache.RedisClient.Expire(cacheKey, time.Second*5*60) + for resultInfo := range resultChan { + zap.L().Info("DciCopyright 200", zap.Any("resultInfo", resultInfo)) + if resultInfo.FailReason != "" { + failData = append(failData, resultInfo) + } + } + + zap.L().Info("DciCopyright 200") + data = map[string]interface{}{ + "failData": failData, + } + if len(failData) == 0 { + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), data) + return + } + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.Failed), data) + return +} + +func Test(ctx *gin.Context) { + return +} diff --git a/pkg/service/copyright/software_copyright.go b/pkg/service/copyright/software_copyright.go new file mode 100644 index 0000000..c558810 --- /dev/null +++ b/pkg/service/copyright/software_copyright.go @@ -0,0 +1,78 @@ +package service_copyright + +import ( + "context" + "github.com/fonchain_enterprise/fonchain-main/api/software_copyright" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +func SaveSoftwareCopyright(ctx *gin.Context) { + var ( + saveReq *software_copyright.CopyrightInfo + saveRes *software_copyright.SaveSoftwareCopyrightRes + err error + ) + if err = ctx.ShouldBind(&saveReq); err != nil { + zap.L().Error("SaveSoftwareCopyright err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if config.Env != "dev" { + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + saveReq.CreatedBy = userInfo.NickName + } + } + if saveRes, err = service.GrpcSoftwareCopyrightImpl.SaveSoftwareCopyright(context.Background(), saveReq); err != nil { + zap.L().Error("SaveSoftwareCopyright err Save", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), saveRes) + return +} + +func SoftwareCopyrightList(ctx *gin.Context) { + var ( + listReq *software_copyright.CopyrightListReq + listRes *software_copyright.CopyrightListRes + err error + ) + if err = ctx.ShouldBind(&listReq); err != nil { + zap.L().Error("SoftwareCopyrightList err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if listRes, err = service.GrpcSoftwareCopyrightImpl.SoftwareCopyrightList(context.Background(), listReq); err != nil { + zap.L().Error("SoftwareCopyrightList err List", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), listRes) + return +} + +func DelSoftwareCopyright(ctx *gin.Context) { + var ( + delReq *software_copyright.DelReq + delRes *software_copyright.DelRes + err error + ) + if err = ctx.ShouldBind(&delReq); err != nil { + zap.L().Error("DelSoftwareCopyright err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if delRes, err = service.GrpcSoftwareCopyrightImpl.DelCopyright(context.Background(), delReq); err != nil { + zap.L().Error("DelSoftwareCopyright err Delete", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), delRes) + return +} diff --git a/pkg/service/copyright/supplement.go b/pkg/service/copyright/supplement.go new file mode 100644 index 0000000..c8f47a7 --- /dev/null +++ b/pkg/service/copyright/supplement.go @@ -0,0 +1,131 @@ +package service_copyright + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + appConfig "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + model_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/model/copyright" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func UpdateSupplement(ctx *gin.Context) { + var req = digital_copyright.UpdateSupplementReq{} + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + // 先去版权查询画家ID + if req.CopyrightId != "" { + copyrightResp, err := service.GrpcCopyrightImpl.CopyrightDetail(ctx, &digital_copyright.CopyrightDetailReq{CopyrightId: req.CopyrightId}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if appConfig.Env != "dev" { + // 判断画家是否在画家宝 + findUserResp, _err := service.GrpcArtistInfoUserImpl.FindUser(ctx, &artistInfoUser.FindUserRequest{MgmtArtistUid: copyrightResp.BaseInfo.ArtistUuid}) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + if findUserResp.MgmtArtistUid == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.COPYRIGHT_NOT_IN_ARTIST_INFO_USER, nil) + return + } + } + req.OriginWorkFileUrl = copyrightResp.WorkInfo.WorkFileUrl + } + resp, err := service.GrpcCopyrightImpl.UpdateSupplement(ctx, &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func CopyrightInfo(ctx *gin.Context) { + var req = model_copyright.CopyrightReq{} + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + detailResp, err := service.GrpcCopyrightImpl.CopyrightDetail(ctx, &digital_copyright.CopyrightDetailReq{CopyrightId: req.CopyrightId}) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + // 判断画家是否在画家宝 + //if appConfig.Env != "dev" { + findUserResp, _err := service.GrpcArtistInfoUserImpl.FindUser(ctx, &artistInfoUser.FindUserRequest{MgmtArtistUid: detailResp.BaseInfo.ArtistUuid}) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + if findUserResp.MgmtArtistUid == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.COPYRIGHT_NOT_IN_ARTIST_INFO_USER, nil) + return + } + //} + var tnum string + resp := &digital_copyright.SupplementDetailResp{} + if detailResp.BaseInfo.ArtistUuid != "" { + artistInfoResp, _ := service.GrpcArtistImpl.ArtistInfo(ctx, &artist.ArtistInfoRequest{Uid: detailResp.BaseInfo.ArtistUuid}) + if artistInfoResp != nil && artistInfoResp.ProfileInfo != nil { + tnum = artistInfoResp.ProfileInfo.Tnum + } + } + resp = &digital_copyright.SupplementDetailResp{ + WorkName: detailResp.BaseInfo.WorkName, + Tfnum: detailResp.WorkInfo.Tfnum, + AuthorName: detailResp.WorkInfo.AuthorName, + Tnum: tnum, + WorkFileUrl: detailResp.WorkInfo.WorkFileUrl, + CopyrightId: req.CopyrightId, + ArtistUuid: detailResp.BaseInfo.ArtistUuid, + ArtworkUuid: detailResp.BaseInfo.ArtworkUuid, + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func SupplementDetail(ctx *gin.Context) { + var req = digital_copyright.SupplementDetailReq{} + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcCopyrightImpl.SupplementDetail(ctx, &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if resp.ArtistUuid != "" { + artistInfoResp, _ := service.GrpcArtistImpl.ArtistInfo(ctx, &artist.ArtistInfoRequest{Uid: resp.ArtistUuid}) + if artistInfoResp != nil && artistInfoResp.ProfileInfo != nil { + resp.Tnum = artistInfoResp.ProfileInfo.Tnum + } + } + fmt.Println(resp) + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func SupplementList(ctx *gin.Context) { + var req = digital_copyright.SupplementListReq{} + if err := ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcCopyrightImpl.SupplementList(ctx, &req) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} diff --git a/pkg/service/copyright/trademark.go b/pkg/service/copyright/trademark.go new file mode 100644 index 0000000..0e519b4 --- /dev/null +++ b/pkg/service/copyright/trademark.go @@ -0,0 +1,78 @@ +package service_copyright + +import ( + "context" + "github.com/fonchain_enterprise/fonchain-main/api/trademark" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +func SaveTrademark(ctx *gin.Context) { + var ( + saveReq *trademark.TrademarkInfo + saveRes *trademark.SaveTrademarkRes + err error + ) + if err = ctx.ShouldBind(&saveReq); err != nil { + zap.L().Error("SaveTrademark err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if config.Env != "dev" { + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + saveReq.CreatedBy = userInfo.NickName + } + } + if saveRes, err = service.GrpcTrademarkImpl.SaveTrademark(context.Background(), saveReq); err != nil { + zap.L().Error("SaveTrademark err Save", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), saveRes) + return +} + +func TrademarkList(ctx *gin.Context) { + var ( + listReq *trademark.TrademarkListReq + listRes *trademark.TrademarkListRes + err error + ) + if err = ctx.ShouldBind(&listReq); err != nil { + zap.L().Error("TrademarkList err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if listRes, err = service.GrpcTrademarkImpl.TrademarkList(context.Background(), listReq); err != nil { + zap.L().Error("TrademarkList err List", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), listRes) + return +} + +func DelTrademark(ctx *gin.Context) { + var ( + delReq *trademark.DelReq + delRes *trademark.DelRes + err error + ) + if err = ctx.ShouldBind(&delReq); err != nil { + zap.L().Error("DelTrademark err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if delRes, err = service.GrpcTrademarkImpl.DelTrademark(context.Background(), delReq); err != nil { + zap.L().Error("DelTrademark err Delete", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), delRes) + return +} diff --git a/pkg/service/cron.go b/pkg/service/cron.go new file mode 100644 index 0000000..8ebd35e --- /dev/null +++ b/pkg/service/cron.go @@ -0,0 +1,516 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "dubbo.apache.org/dubbo-go/v3/config" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/collections" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/order" + backendSeries "github.com/fonchain_enterprise/fonchain-main/api/series" + "github.com/fonchain_enterprise/fonchain-main/api/shopbrand" + config1 "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/turnstile" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/google/uuid" + "github.com/robfig/cron/v3" + "os" + "path" + "strconv" + "strings" + "sync" + "time" +) + +func Task(c *cron.Cron) { + /*if config.GetConsumerService("ArtworkClientImpl") != nil { + _, _ = c.AddFunc("@every 5m", CheckCopyright) + }*/ + //发送周报短信 + if config.GetConsumerService("OrderClientImpl") != nil { + _, _ = c.AddFunc("0 15 * * 0", SendAReportToBoss) + } + //重启打卡机设备 + if config.GetConsumerService("AccountClientImpl") != nil { + _, _ = c.AddFunc("0 0 4 * *", RebootClockDevice) + } + //更新考勤组绑定 + //if config.GetConsumerService("EmployeeClientImpl") != nil { + // _, _ = c.AddFunc("1 4 * * *", UpdateAttendanceRegularly) + //} + //更新在职状态 + if config.GetConsumerService("EmployeeClientImpl") != nil { + _, _ = c.AddFunc("0 23 * * *", UpdateWorkingStatus) + } + //创建到期消息提醒 + if config.GetConsumerService("EmployeeClientImpl") != nil { + _, _ = c.AddFunc("0 1 * * *", CreateAReminderMessage) + } + //创建假期余额 + if config.GetConsumerService("EmployeeClientImpl") != nil { + _, _ = c.AddFunc("0 0 1 1 *", CreateLeaveBalance) + //_, _ = c.AddFunc("10 10 * * *", CreateLeaveBalance) + } + //添加补充年假 + if config.GetConsumerService("EmployeeClientImpl") != nil { + _, _ = c.AddFunc("1 0 * * *", AddSupplementaryAnnualLeave) + } + /*if config.GetConsumerService("SeriesClientImpl") != nil && config.GetConsumerService("BrandClientImpl") != nil && config.GetConsumerService("CollectionsClientImpl") != nil { + _, _ = c.AddFunc("@every 5m", CheckSeries) + }*/ + + if err := DelayDeleteFileTask.AddTimerTask(c); err != nil { + panic("添加定时任务失败,错误:" + err.Error()) + } + + if config.GetConsumerService("AccountClientImpl") != nil && config.GetConsumerService("ApprovalClientImpl") != nil { + _, _ = c.AddFunc("* 9 * * *", SendPromotionMsg) // 23:50 执行 + } + //更新打卡机用户状态 + if config.GetConsumerService("AccountClientImpl") != nil { + _, _ = c.AddFunc("0 12 * * 1", UpdateClockUserStatus) + } +} +func UpdateClockUserStatus() { + fmt.Println("更新打卡机用户状态") + list, err := AccountProvider.ClockDeviceBatchList(context.Background(), &account.ClockBatchBindRequest{}) + if err != nil { + fmt.Println("查询打卡机用户失败") + return + } + userList := []*account.ClockUserDeviceBatch{} + //整合数据 + if len(list.Data) == 0 { + return + } + for _, i := range list.Data { + if i.WorkStatus == "notactive" { + continue + } + userList = append(userList, &account.ClockUserDeviceBatch{ + UserId: i.UserId, + DeviceId: i.DeviceId, + JobNum: i.JobNum, + DeviceNum: i.DeviceNum, + DeviceName: i.DeviceName, + WorkStatus: i.WorkStatus, + }) + } + data, clockDeviceBatchUntie := DeviceNumToJobNums(userList) + //下发数据 + err = DelBatchDeviceAccount(data) + if err != nil { + fmt.Println("下发数据失败", err) + } + //删除关联 + _, err = AccountProvider.ClockDeviceBatchUntie(context.Background(), clockDeviceBatchUntie) + if err != nil { + return + } + return +} + +func DelBatchDeviceAccount(req map[string][]uint64) (err error) { + for deviceNum, jobNums := range req { + uuidObj := uuid.New() + stringSlice := make([]string, len(jobNums)) + for i, num := range jobNums { + stringSlice[i] = strconv.FormatUint(num, 10) + } + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: deviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.DelMultiUser, + UserIds: stringSlice, + UserType: 0, + }, + } + err, _ = utils.IssueTheCardPunchData(synReq, deviceNum, uuidObj) + if err != nil { + return errors.New("下发数据失败") + } + } + return err +} +func DeviceNumToJobNums(data []*account.ClockUserDeviceBatch) (deviceNum map[string][]uint64, ClockDeviceBatchUntie *account.ClockBatchBindRequest) { + deviceNumToJobNums := make(map[string][]uint64) + ClockDeviceBatchUntie = &account.ClockBatchBindRequest{} + for _, batch := range data { + ClockDeviceBatchUntie.UserId = append(ClockDeviceBatchUntie.UserId, batch.UserId) + if _, exists := deviceNumToJobNums[batch.DeviceNum]; exists { + deviceNumToJobNums[batch.DeviceNum] = append(deviceNumToJobNums[batch.DeviceNum], batch.UserId) + } else { + deviceNumToJobNums[batch.DeviceNum] = []uint64{batch.UserId} + } + } + // 提取所有设备号并去重 + deviceIdSet := make(map[uint64]bool) + for _, batch := range data { + // 检查设备 ID 是否已存在,去重 + if !deviceIdSet[batch.DeviceId] { + ClockDeviceBatchUntie.DeviceId = append(ClockDeviceBatchUntie.DeviceId, batch.DeviceId) + deviceIdSet[batch.DeviceId] = true + } + } + return deviceNumToJobNums, ClockDeviceBatchUntie +} + +// AddSupplementaryAnnualLeave 添加补充年假 +func AddSupplementaryAnnualLeave() { + if time.Now().Month() == time.January && time.Now().Day() == 1 { + return + } + WorkingConditionId, err := GrpcEmployeeProvider.SearchDictionaryList(context.Background(), &employee.SearchDictionaryRequest{ + Name: "在职", + Tag: "workingCondition", + }) + if err != nil || WorkingConditionId.WorkingCondition == nil { + fmt.Println("查询工作状态失败!") + return + } + currentMonthDay := time.Now().Format("01-02") + // 根据在职状态和入职日期模糊查询员工档案 + employeeFileList, err := GrpcEmployeeProvider.FindEmployeeFileList(context.Background(), &employee.FindEmployeeFileListRequest{ + WorkingConditionId: WorkingConditionId.WorkingCondition[0].Id, + BlurDateOfEntry: currentMonthDay, + }) + if err != nil || len(employeeFileList.EmployeeFileList) == 0 { + fmt.Println("无人员需要添加假期余额") + return + } + for _, i := range employeeFileList.EmployeeFileList { + replenishment := supplementaryLeave(i.DateOfEntry) + if replenishment == 0 { + continue + } + fmt.Printf("用户 %v 的入职日期为 %v,需要补充年假 %v 天\n", i.UserId, i.DateOfEntry, replenishment) + _, err = GrpcOAImpl.ModifyTheLeaveBalance(context.Background(), &oa.ModifyTheLeaveBalanceReq{ + StaffUid: i.UserId, + LeaveType: "annualLeave", + Movement: 1, + Year: int32(time.Now().Year()), + Days: float32(replenishment), + }) + if err != nil { + fmt.Printf("更新用户 %v 的假期余额失败: %v\n", i.UserId, err) + } + } +} + +// CreateLeaveBalance 创建假期余额 +func CreateLeaveBalance() { + WorkingConditionId, err := GrpcEmployeeProvider.SearchDictionaryList(context.Background(), &employee.SearchDictionaryRequest{ + Name: "在职", + Tag: "workingCondition", + }) + if err != nil || WorkingConditionId.WorkingCondition == nil { + fmt.Println("查询工作状态失败!") + return + } + employeeFileList, err := GrpcEmployeeProvider.FindEmployeeFileList(context.Background(), &employee.FindEmployeeFileListRequest{ + WorkingConditionId: WorkingConditionId.WorkingCondition[0].Id, + }) + if err != nil || len(employeeFileList.EmployeeFileList) == 0 { + fmt.Println("定时创建假期余额失败!") + return + } + for _, i := range employeeFileList.EmployeeFileList { + departmentPosition := []*oa.LeaveBalancePosition{} + if i.DepartmentPostList != nil { + for _, s := range i.DepartmentPostList { + departmentPosition = append(departmentPosition, &oa.LeaveBalancePosition{ + DepartmentUID: strconv.FormatUint(s.DepartmentId, 10), + DepartmentName: s.DepartmentName, + PositionUID: strconv.FormatUint(s.PostId, 10), + PositionName: s.PostName, + }) + } + } + annualLeave := AnnualLeaveByYearsOfService(i.DateOfEntry) + _, err = GrpcOAImpl.SaveLeaveBalance(context.Background(), &oa.LeaveBalance{ + StaffUID: i.UserId, + StaffNum: i.JobNumber, + StaffName: i.Name, + Year: int32(time.Now().Year()), + Positions: departmentPosition, + AnnualLeave: float32(annualLeave), + HasParentalLeave: 1, + HasNursingLeave: 1, + EmployeeFileId: i.Id, + }) + } + return +} + +// 补充年假天数 +func supplementaryLeave(DateOfEntry string) int { + joinDate, err := time.Parse("2006-01-02", DateOfEntry) + if err != nil { + fmt.Println("入职日期解析错误:", err) + return 0 + } + currentDate := time.Now() + yearsOfService := int(currentDate.Sub(joinDate).Hours() / 24 / 365) + + //if !isEligibleForSupplementaryLeave(joinDate, currentDate) { + // return 0 + //} + + supplementaryLeaveDays := 0 + switch yearsOfService { + case 1: + supplementaryLeaveDays = 5 + case 5: + supplementaryLeaveDays = 2 + case 10: + supplementaryLeaveDays = 3 + case 20: + supplementaryLeaveDays = 5 + default: + return 0 + } + + // 计算补充年假 + endOfYear := time.Date(currentDate.Year(), 12, 31, 0, 0, 0, 0, currentDate.Location()) + daysUntilEndOfYear := endOfYear.Sub(currentDate).Hours() / 24 + supplementaryLeave := (daysUntilEndOfYear / 365) * float64(supplementaryLeaveDays) + return int(supplementaryLeave) +} + +// 工龄年假天数 +func AnnualLeaveByYearsOfService(DateOfEntry string) int { + joinDate, err := time.Parse("2006-01-02", DateOfEntry) + if err != nil { + fmt.Println("入职日期解析错误:", err) + return 0 + } + currentDate := time.Now() + yearsOfService := int(currentDate.Sub(joinDate).Hours() / 24 / 365) + switch { + case yearsOfService < 1: + return 0 + case yearsOfService < 5: + return 5 + case yearsOfService < 10: + return 7 + case yearsOfService < 20: + return 10 + default: + return 15 + } +} + +// 检查是否符合补充年假的条件 +func isEligibleForSupplementaryLeave(joinDate, currentDate time.Time) bool { + yearsOfService := int(currentDate.Sub(joinDate).Hours() / 24 / 365) + anniversaryDate := joinDate.AddDate(yearsOfService, 0, 0) + return currentDate.Equal(anniversaryDate) +} + +func UpdateAttendanceRegularly() { + _, err := GrpcEmployeeProvider.UpdateAttendanceRegularly(context.Background(), &employee.EmptyStructure{}) + if err != nil { + fmt.Println("定时更新考勤组失败!") + return + } + return +} +func UpdateWorkingStatus() { + _, err := GrpcEmployeeProvider.UpdateWorkingStatus(context.Background(), &employee.EmptyStructure{}) + if err != nil { + fmt.Println("定时更新员工工作状态失败!") + return + } + return +} +func CreateAReminderMessage() { + _, err := GrpcEmployeeProvider.CreateAReminderMessage(context.Background(), &employee.IdUnifiedReturn{}) + if err != nil { + fmt.Println("创建到期消息提醒失败!") + return + } + fmt.Println("----------------创建到期消息提醒成功-------------------") + return +} +func RebootClockDevice() { + var batch account.ClockBatchBindRequest + devRes, err := AccountProvider.ClockDeviceBatchList(context.Background(), &batch) //获取设备列表 + if err != nil { + return + } + for _, i := range devRes.Data { + uuidObj := uuid.New() + fmt.Println(uuidObj.String()) + synReq := turnstile.TurnStile{ + Cmd: "to_device", + From: "Message1", + To: i.DeviceNum, + Extra: uuidObj.String(), + Data: turnstile.TurnData{ + Cmd: e.Reboot, + }, + } + err, _ := utils.IssueTheCardPunchData(synReq, i.DeviceNum, uuidObj) + if err != nil { + return + } + } + +} + +func SendAReportToBoss() { + now := time.Now() + weekday := now.Weekday() + lastMonday := now.AddDate(0, 0, -int(weekday)+1-6) + lastSunday := now.AddDate(0, 0, -int(weekday)+7-6) + host := "" + if config1.Env == "prod" { + host = "https://sale.fontree.cn" + } else { + host = "https://sellertest.szjixun.cn" + } + lastStart := lastMonday.Format("2006-01-02") + lastEnd := lastSunday.Format("2006-01-02") + telList, err := OrderProvider.GetSmsConfig(context.Background(), &order.SmsConfigRequest{ + Position: "boss", + }) + if err != nil || len(telList.SmsConfig) == 0 { + fmt.Println("获取手机号失败!") + return + } + for _, i := range telList.SmsConfig { + infoUrl := fmt.Sprintf("%v/#/pages/examine/examine?startDate=%v&endDate=%v&uid=%v&", host, lastStart, lastEnd, i.Id) + url := lastStart + "||" + lastEnd + "||" + infoUrl + _, err1 := AccountProvider.SendExCustomMsg(context.Background(), &account.SendCustomMsgRequest{ + TelNum: i.TelNum, + Url: url, + MId: 145217, //模板Id + SigNo: 159789, //签名id + }) + if err1 != nil { + fmt.Println("短信发送失败!") + return + } + } + return +} + +// CheckCopyright 检验版权文件 +func CheckCopyright() { + logger.Error("MoveCopyrightFile start", time.Now().Format("2006-01-02 15:04:05")) + files, err := os.ReadDir(model.CopyrightDir) + if err != nil { + logger.Error("MoveCopyrightFile err", err) + return + } + //utils.CheckDirPath(model.CopyrightDir+"/old", true) + var lock sync.RWMutex + lock.Lock() + defer lock.Unlock() + for _, v := range files { + if !v.IsDir() { + if path.Ext(v.Name()) == ".psb" { + var req artwork.UpdateCrHashByTfnumRequest + var temp artwork.UpdateCrHashByTfnumRequest_Info + filePath := model.CopyrightDir + "/" + v.Name() + temp.Tfnum = strings.TrimSuffix(v.Name(), path.Ext(v.Name())) + temp.CopyrightHash, _ = utils.GenerateSHA256Hash(filePath) + if temp.Tfnum != "" && temp.CopyrightHash != "" { + req.Data = append(req.Data, &temp) + } + _, err = GrpcArtworkImpl.UpdateCrHashByTfnum(context.Background(), &req) + if err != nil { + logger.Errorf("GrpcArtworkImpl UpdateCopyrightHash err", err) + _ = os.Rename(filePath, filePath+"_err") + return + } + _ = os.Rename(filePath, filePath+"_use") + logger.Error("MoveCopyrightFile end", &temp) + } + } + } + //if len(req.Data) > 0 { + // _, err = GrpcArtworkImpl.UpdateCrHashByTfnum(context.Background(), &req) + // if err != nil { + // logger.Errorf("GrpcArtworkImpl UpdateCopyrightHash err", err) + // return + // } + //} +} + +// CheckSeries 检测系列 +func CheckSeries() { + var req backendSeries.CheckSeriesReq + resp, err := GrpcBackendSeriesImpl.CheckSeries(context.Background(), &req) + if err != nil { + fmt.Println(err.Error()) + return + } + if len(resp.Data) > 0 { + // 请求brand + var brandReq shopbrand.BrandListreq + + for _, v := range resp.Data { + brandReq.BrandUid = append(brandReq.BrandUid, v.BrandId) + } + brandList, err := GrpcShopBrandImpl.BrandList(context.Background(), &brandReq) + logger.Info("brandList CheckSeries", brandList, "ntfReq", brandList.Data) + if err != nil { + logger.Error("brandList err", err) + return + } + var brandDataMap map[string]shopbrand.BrandListres_Info = map[string]shopbrand.BrandListres_Info{} + if len(brandList.Data) > 0 { + for _, v := range brandList.Data { + brandDataMap[v.BrandUid] = shopbrand.BrandListres_Info{ + BrandUid: v.BrandUid, + Address: v.Address, + } + } + } + //得到hash 请求藏品服,上链 + var ntfReq collections.StoreNFTList + for _, v := range resp.Data { + var ntfInfo collections.StoreNFTInfo + ntfInfo.SeriesUID = v.SeriesUuid + ntfInfo.BrandHash = brandDataMap[v.BrandId].Address + ntfReq.NFT = append(ntfReq.NFT, &ntfInfo) + } + ntfResp, err := GrpcCollectionImpl.StoreNFT(context.Background(), &ntfReq) + logger.Info("ntfResp CheckSeries", ntfResp, "ntfReq", ntfReq.NFT) + if err != nil { + logger.Errorf("HandShelf StoreNFT err", err) + err = errors.New(e.GetMsg(e.ErrorStoreNTF)) + return + } + if len(ntfResp.SeriesUID) == len(ntfReq.NFT) { + return + } + failSeriesUuid := make(map[string]struct{}, len(ntfResp.SeriesUID)) + if len(ntfResp.SeriesUID) > 0 { + for _, seriesUuid := range ntfResp.SeriesUID { + failSeriesUuid[seriesUuid] = struct{}{} + } + } + for _, v := range ntfReq.NFT { + _, ok := failSeriesUuid[v.SeriesUID] + if !ok { + var seriesReq backendSeries.UpdateSeriesChainReq + seriesReq.SeriesUuid = v.SeriesUID + seriesReq.ChainStatus = 1 + _, _ = GrpcBackendSeriesImpl.UpdateSeriesChain(context.Background(), &seriesReq) + } + } + } + return +} diff --git a/pkg/service/cron_delayDeleteFile.go b/pkg/service/cron_delayDeleteFile.go new file mode 100644 index 0000000..3bac172 --- /dev/null +++ b/pkg/service/cron_delayDeleteFile.go @@ -0,0 +1,95 @@ +// Package service ----------------------------- +// @file : cron_delayDeleteFile.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/9/4 9:16 +// ------------------------------------------- +package service + +import ( + "fmt" + "github.com/robfig/cron/v3" + "os" + "sort" + "sync" + "time" +) + +// 延时删除文件 +var DelayDeleteFileTask = new(delayDeleteFileTask) + +type DelayDeleteFile struct { + Path string + RetentionTime time.Time //保留时间 +} +type delayDeleteFileTask struct { + pendingDeleteFile []DelayDeleteFile + locker sync.Mutex +} + +func (d *delayDeleteFileTask) AddTimerTask(c *cron.Cron) error { + _, err := c.AddFunc("* * * * *", func() { + d.Run() + }) + return err +} +func (d *delayDeleteFileTask) AddPendingDeleteFile(files ...DelayDeleteFile) { + d.locker.Lock() + defer d.locker.Unlock() + for _, f := range files { + if d.fileExists(f.Path) { + var now = time.Now() + if f.RetentionTime.Before(now) { + if d.deleteFile(f.Path) == nil { + return + } + } + d.pendingDeleteFile = append(d.pendingDeleteFile, f) + if len(d.pendingDeleteFile) > 1 { + sort.Slice(d.pendingDeleteFile, func(i, j int) bool { + return d.pendingDeleteFile[i].RetentionTime.Before(d.pendingDeleteFile[j].RetentionTime) + }) + } + } else { + fmt.Println("AddPendingDeleteFile: 文件不存在:" + f.Path) + } + } +} +func (d *delayDeleteFileTask) Run() error { + d.locker.Lock() + defer d.locker.Unlock() + if len(d.pendingDeleteFile) == 0 { + return nil + } + var now = time.Now() + var tmpFile []DelayDeleteFile + for i, f := range d.pendingDeleteFile { + if f.RetentionTime.Before(now) { + if d.deleteFile(f.Path) == nil { + fmt.Println("文件已删除:" + f.Path) + } else { + tmpFile = append(tmpFile, d.pendingDeleteFile[i]) + } + } + } + d.pendingDeleteFile = tmpFile + + return nil +} +func (d *delayDeleteFileTask) deleteFile(path string) error { + if d.fileExists(path) { + return os.RemoveAll(path) + } + + return nil +} +func (d *delayDeleteFileTask) fileExists(path string) bool { + // 检查路径是否存在 + _, err := os.Stat(path) + if os.IsNotExist(err) { + fmt.Printf("路径 %s 不存在\n", path) + return false + } else { + return true + } +} diff --git a/pkg/service/customer_service/customer_service.go b/pkg/service/customer_service/customer_service.go new file mode 100644 index 0000000..60734f6 --- /dev/null +++ b/pkg/service/customer_service/customer_service.go @@ -0,0 +1,292 @@ +/** + * @Author: sun + * @Company: 苏州天和汇工业 + * @Description: + * @File: customer_service + * @Version: 1.0.0 + * @Date: 2024/10/24 9:19 + */ + +package customer_service + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asArtist" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asArtwork" + "github.com/gin-gonic/gin" + "strconv" + "time" +) + +func GetLockArtistList(c *gin.Context) { + var req asArtist.ArtistArtworkStaticRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + var artistStaticRequest = &artistInfoArtwork.GetLockArtistListRequest{ + Page: req.Page, + PageSize: req.PageSize, + ArtistName: req.ArtistName, + Tnum: req.Tnum, + Tfnum: req.Tfnum, + ArtworkName: req.ArtworkName, + BaseAuditStatus: int32(req.BaseAuditStatus), + } + data, err := service.GrpcArtistInfoArtworkImpl.GetLockArtistList(c, artistStaticRequest) + var resp []*model.CustomerArtistListRes + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoArtworkImpl.GetLockArtistList Err", err.Error()) + } + if len(data.Data) == 0 { + service.ResponseList(c, []model.CustomerArtistListRes{}, service.OptionPage(data.Page, data.PageSize, data.Total), + service.OptionAddField_ArtshowCount("artistUid")) + return + } + for _, v := range data.Data { + tmp := &model.CustomerArtistListRes{} + if len(v.CaaCertNum) > 0 { + tmp.IsMaster = true + } + tmp.ArtistUid = v.ArtistUid + tmp.ArtworkTotal = v.ArtworkTotal + tmp.CaaCertNum = v.CaaCertNum + tmp.IsLock = v.IsLock + tmp.LatestLockTime = v.LatestLockTime + tmp.RealName = v.RealName + tmp.PasswdArtworkTotal = v.PassedArtworkTotal + tmp.PenName = v.PenName + tmp.IdNum = v.IdNum + tmp.TNum = v.Tnum + tmp.ArtistShowCount = fmt.Sprintf("%s(%d)", v.RealName, v.PassedArtworkTotal) + tmp.PassedRulerTotal = v.PassedRulerTotal + tmp.RulerTotal = v.RulerTotal + tmp.IsNew = v.IsNew + resp = append(resp, tmp) + } + // //查询inSource字段值 + service.ResponseList(c, resp, service.OptionPage(data.Page, data.PageSize, data.Total), + service.OptionAddField_ArtshowCount("artistUid")) +} + +func GetPassedArtworkList(c *gin.Context) { + var req asArtwork.GetArtworkPreviewListReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var tmpReq = &artistInfoArtwork.GetNotifiedArtworkListRequest{ + ArtistUid: req.ArtistUid, + Tnum: req.LockTime, + Tfnum: req.Tfnum, + ArtworkName: req.ArtworkName, + ArtistName: req.ArtistName, + IsNotify: 1, + BaseAuditStatus: req.BaseAuditStatus, + } + if req.RulerStart != nil { + tmpReq.Where = fmt.Sprintf("ap.ruler >= %d", *req.RulerStart) + } + if req.RulerEnd != nil { + tmpReq.Where = fmt.Sprintf("ap.ruler <= %d", *req.RulerEnd) + } + if req.RulerStart != nil && req.RulerEnd != nil { + tmpReq.Where = fmt.Sprintf("ap.ruler >= %d and ap.ruler <= %d", *req.RulerStart, *req.RulerEnd) + } + var resp []*model.CustomerArtworkListRes + + data, err := service.GrpcArtistInfoArtworkImpl.GetNotifiedArtworkList(c, tmpReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoArtworkImpl.GetArtworkViewList Err", err.Error()) + return + } + if len(data.Datas) == 0 { + service.ResponseList(c, resp, service.OptionPage(data.Page, data.PageSize, data.Total), + service.OptionAddField_ArtshowCount("artistUid")) + return + } + for _, v := range data.Datas { + tmp := &model.CustomerArtworkListRes{} + tmp.ArtworkName = v.ArtworkName + tmp.BaseAuditStatus = v.BaseAuditStatus + tmp.Tfnum = v.Tfnum + tmp.ArtworkType = v.ArtworkType + tmp.Width = v.Width + tmp.Length = v.Length + tmp.Ruler = v.Ruler + tmp.HdPic = v.HdPic + tmp.ApplyAt = parseTime(v.CreatedAt) + tmp.SealPic = v.SealPic + tmp.ArtistPhoto = v.ArtistPhoto + tmp.BaseAuditMark2 = v.BaseAuditMark2 + tmp.BaseAuditMark = v.BaseAuditMark + resp = append(resp, tmp) + } + service.ResponseList(c, resp, + service.OptionPage(req.Page, req.PageSize, data.Total), service.OptionMsg("查询成功"), + ) +} + +func UpdateNotifyStatus(c *gin.Context) { + var req model.UpdateNotifyStatusReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if _, err := service.GrpcArtistInfoArtworkImpl.UpdateNotifyArtist(c, &artistInfoArtwork.UpdateNotifyRequest{ + ArtistUid: req.ArtistUid, + }); err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoArtworkImpl.GetArtworkViewList Err", err.Error()) + } + service.Success(c) +} + +func GetNotifiedArtistList(c *gin.Context) { + var req asArtist.ArtistArtworkStaticRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var artistStaticRequest = &artistInfoArtwork.GetLockArtistListRequest{ + Page: req.Page, + PageSize: req.PageSize, + Tnum: req.Tnum, + Tfnum: req.Tfnum, + ArtworkName: req.ArtworkName, + ArtistName: req.ArtistName, + BaseAuditStatus: int32(req.BaseAuditStatus), + } + var resp []*model.CustomerArtistListRes + + data, err := service.GrpcArtistInfoArtworkImpl.GetNotifiedArtistList(c, artistStaticRequest) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "ArtistsArtworkStaticList: service.GrpcArtistInfoArtworkImpl.ArtistArtworkStatic", "查询失败") + return + } + if len(data.Data) == 0 { + service.ResponseList(c, resp, + service.OptionPage(req.Page, req.PageSize, data.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) + return + } + for _, v := range data.Data { + tmp := &model.CustomerArtistListRes{} + if len(v.CaaCertNum) > 0 { + tmp.IsMaster = true + } + tmp.ArtistUid = v.ArtistUid + tmp.ArtworkTotal = v.ArtworkTotal + tmp.CaaCertNum = v.CaaCertNum + tmp.IsLock = v.IsLock + tmp.LatestLockTime = v.LatestLockTime + tmp.RealName = v.RealName + tmp.PasswdArtworkTotal = v.PassedArtworkTotal + tmp.PenName = v.PenName + tmp.IdNum = v.IdNum + tmp.TNum = v.Tnum + tmp.ArtistShowCount = fmt.Sprintf("%s(%d)", v.RealName, v.PassedArtworkTotal) + tmp.PassedRulerTotal = v.PassedRulerTotal + tmp.RulerTotal = v.RulerTotal + tmp.IsNew = v.IsNew + tmp.NotifyAt = parseTimeV2(v.NotifyAt) + resp = append(resp, tmp) + } + + service.ResponseList(c, resp, + service.OptionPage(req.Page, req.PageSize, data.Total), service.OptionMsg("查询成功"), + service.OptionAddField_ArtshowCount("artistUid"), + ) +} + +func GetNotifiedArtworkList(c *gin.Context) { + var req asArtwork.GetArtworkPreviewListReq + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var tmpReq = &artistInfoArtwork.GetNotifiedArtworkListRequest{ + ArtistUid: req.ArtistUid, + Tnum: req.LockTime, + Tfnum: req.Tfnum, + ArtworkName: req.ArtworkName, + ArtistName: req.ArtistName, + IsNotify: 2, + BaseAuditStatus: req.BaseAuditStatus, + } + if req.RulerStart != nil { + tmpReq.Where = fmt.Sprintf("ap.ruler >= %d", *req.RulerStart) + } + if req.RulerEnd != nil { + tmpReq.Where = fmt.Sprintf("ap.ruler <= %d", *req.RulerEnd) + } + if req.RulerStart != nil && req.RulerEnd != nil { + tmpReq.Where = fmt.Sprintf("ap.ruler >= %d and ap.ruler <= %d", *req.RulerStart, *req.RulerEnd) + } + var resp []*model.CustomerArtworkListRes + + data, err := service.GrpcArtistInfoArtworkImpl.GetNotifiedArtworkList(c, tmpReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcArtistInfoArtworkImpl.GetArtworkViewList Err", err.Error()) + return + } + if len(data.Datas) == 0 { + service.ResponseList(c, resp, + service.OptionPage(req.Page, req.PageSize, data.Total), service.OptionMsg("查询成功"), + ) + return + } + + for _, v := range data.Datas { + tmp := &model.CustomerArtworkListRes{} + tmp.ArtworkName = v.ArtworkName + tmp.BaseAuditStatus = v.BaseAuditStatus + tmp.Tfnum = v.Tfnum + tmp.ArtworkType = v.ArtworkType + tmp.Width = v.Width + tmp.Length = v.Length + tmp.Ruler = v.Ruler + tmp.HdPic = v.HdPic + tmp.ApplyAt = parseTime(v.CreatedAt) + tmp.SealPic = v.SealPic + tmp.ArtistPhoto = v.ArtistPhoto + tmp.NotifyAt = parseTimeV2(v.UpdatedAt) + tmp.BaseAuditMark2 = v.BaseAuditMark2 + tmp.BaseAuditMark = v.BaseAuditMark + resp = append(resp, tmp) + } + service.ResponseList(c, resp, + service.OptionPage(req.Page, req.PageSize, data.Total), service.OptionMsg("查询成功"), + ) +} + +func parseTime(in string) (out string) { + tmp, _ := strconv.Atoi(in) + + // 将时间戳转换为 time.Time 类型 + out = time.Unix(int64(tmp), 0).Format("2006-01-02 15:04:05") + + // 格式化时间 + //formattedTime := t.Format("2006-01-02 15:04:05") + return +} + +func parseTimeV2(in string) (out string) { + // 解析原始时间字符串 + const ( + layoutISO = "2006-01-02T15:04:05+08:00" + layoutCustom = "2006-01-02 15:04:05" + ) + t, err := time.Parse(layoutISO, in) + if err != nil { + fmt.Println("解析时间错误:", err) + return + } + // 格式化时间为所需的格式 + out = t.Format(layoutCustom) + return +} diff --git a/pkg/service/dci/area.go b/pkg/service/dci/area.go new file mode 100644 index 0000000..7aca227 --- /dev/null +++ b/pkg/service/dci/area.go @@ -0,0 +1,1184 @@ +package dci + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +type AreaCode struct { + AreaName string `json:"areaName"` + Code string `json:"code"` +} + +type AreaNode struct { + //Area AreaCode + AreaName string `json:"areaName"` + Code string `json:"code"` + Children []AreaCode +} + +func GetAreaCode(c *gin.Context) { + + service.Success(c, GetAreaCodeData()) + +} +func GetAreaCodeData() (tree []AreaNode) { + trees := make([]AreaNode, 0) + + // 创建北京市的区县数据 + beijingChildren := []AreaCode{ + {AreaName: "东城区", Code: "110101"}, + {AreaName: "西城区", Code: "110102"}, + {AreaName: "朝阳区", Code: "110105"}, + {AreaName: "丰台区", Code: "110106"}, + {AreaName: "石景山区", Code: "110107"}, + {AreaName: "海淀区", Code: "110108"}, + {AreaName: "门头沟区", Code: "110109"}, + {AreaName: "房山区", Code: "110111"}, + {AreaName: "通州区", Code: "110112"}, + {AreaName: "顺义区", Code: "110113"}, + {AreaName: "昌平区", Code: "110114"}, + {AreaName: "大兴区", Code: "110115"}, + {AreaName: "怀柔区", Code: "110116"}, + {AreaName: "平谷区", Code: "110117"}, + {AreaName: "密云区", Code: "110118"}, + {AreaName: "延庆区", Code: "110119"}, + } + + beijing := AreaNode{ + //Area: AreaCode{ + AreaName: "北京市", + Code: "11", + //}, + Children: beijingChildren, + } + + trees = append(trees, beijing) + + // 创建天津市的区县数据 + tianjinChildren := []AreaCode{ + {AreaName: "和平区", Code: "120101"}, + {AreaName: "河东区", Code: "120102"}, + {AreaName: "河西区", Code: "120103"}, + {AreaName: "南开区", Code: "120104"}, + {AreaName: "河北区", Code: "120105"}, + {AreaName: "红桥区", Code: "120106"}, + {AreaName: "东丽区", Code: "120110"}, + {AreaName: "西青区", Code: "120111"}, + {AreaName: "津南区", Code: "120112"}, + {AreaName: "北辰区", Code: "120113"}, + {AreaName: "武清区", Code: "120114"}, + {AreaName: "宝坻区", Code: "120115"}, + {AreaName: "滨海新区", Code: "120116"}, + {AreaName: "宁河区", Code: "120117"}, + {AreaName: "静海区", Code: "120118"}, + {AreaName: "蓟州区", Code: "120119"}, + } + + tianjin := AreaNode{ + //Area: AreaCode{ + AreaName: "天津市", + Code: "12", + //}, + Children: tianjinChildren, + } + + trees = append(trees, tianjin) + + // 创建河北省的市级数据 + hebeiCities := []AreaCode{ + {AreaName: "石家庄市", Code: "130100"}, + {AreaName: "唐山市", Code: "130200"}, + {AreaName: "秦皇岛市", Code: "130300"}, + {AreaName: "邯郸市", Code: "130400"}, + {AreaName: "邢台市", Code: "130500"}, + {AreaName: "保定市", Code: "130600"}, + {AreaName: "张家口市", Code: "130700"}, + {AreaName: "承德市", Code: "130800"}, + {AreaName: "沧州市", Code: "130900"}, + {AreaName: "廊坊市", Code: "131000"}, + {AreaName: "衡水市", Code: "131100"}, + } + + hebei := AreaNode{ + //Area: AreaCode{ + AreaName: "河北省", + Code: "13", + //}, + Children: hebeiCities, + } + + trees = append(trees, hebei) + + // 创建山西省的市级数据 + shanxiCities := []AreaCode{ + {AreaName: "太原市", Code: "140100"}, + {AreaName: "大同市", Code: "140200"}, + {AreaName: "阳泉市", Code: "140300"}, + {AreaName: "长治市", Code: "140400"}, + {AreaName: "晋城市", Code: "140500"}, + {AreaName: "朔州市", Code: "140600"}, + {AreaName: "晋中市", Code: "140700"}, + {AreaName: "运城市", Code: "140800"}, + {AreaName: "忻州市", Code: "140900"}, + {AreaName: "临汾市", Code: "141000"}, + {AreaName: "吕梁市", Code: "141100"}, + } + + shanxi := AreaNode{ + //Area: AreaCode{ + AreaName: "山西省", + Code: "14", + //}, + Children: shanxiCities, + } + + trees = append(trees, shanxi) + + // 创建蒙古自治区的市级数据 + mongoliaCities := []AreaCode{ + {AreaName: "呼和浩特市", Code: "150100"}, + {AreaName: "包头市", Code: "150200"}, + {AreaName: "乌海市", Code: "150300"}, + {AreaName: "赤峰市", Code: "150400"}, + {AreaName: "通辽市", Code: "150500"}, + {AreaName: "鄂尔多斯市", Code: "150600"}, + {AreaName: "呼伦贝尔市", Code: "150700"}, + {AreaName: "巴彦淖尔市", Code: "150800"}, + {AreaName: "乌兰察布市", Code: "150900"}, + {AreaName: "兴安盟", Code: "152200"}, + {AreaName: "锡林郭勒盟", Code: "152500"}, + {AreaName: "阿拉善盟", Code: "152900"}, + } + + mongolia := AreaNode{ + //Area: AreaCode{ + AreaName: "内蒙古自治区", + Code: "15", + //}, + Children: mongoliaCities, + } + + trees = append(trees, mongolia) + + // 创建辽宁省的市级数据 + liaoningCities := []AreaCode{ + {AreaName: "沈阳市", Code: "210100"}, + {AreaName: "大连市", Code: "210200"}, + {AreaName: "鞍山市", Code: "210300"}, + {AreaName: "抚顺市", Code: "210400"}, + {AreaName: "本溪市", Code: "210500"}, + {AreaName: "丹东市", Code: "210600"}, + {AreaName: "锦州市", Code: "210700"}, + {AreaName: "营口市", Code: "210800"}, + {AreaName: "阜新市", Code: "210900"}, + {AreaName: "辽阳市", Code: "211000"}, + {AreaName: "盘锦市", Code: "211100"}, + {AreaName: "铁岭市", Code: "211200"}, + {AreaName: "朝阳市", Code: "211300"}, + {AreaName: "葫芦岛市", Code: "211400"}, + } + + liaoning := AreaNode{ + //Area: AreaCode{ + AreaName: "辽宁省", + Code: "21", + //}, + Children: liaoningCities, + } + + trees = append(trees, liaoning) + + // 创建林省的市级数据 + jilinshengCities := []AreaCode{ + {AreaName: "长春市", Code: "220100"}, + {AreaName: "吉林市", Code: "220200"}, + {AreaName: "四平市", Code: "220300"}, + {AreaName: "辽源市", Code: "220400"}, + {AreaName: "通化市", Code: "220500"}, + {AreaName: "白山市", Code: "220600"}, + {AreaName: "松原市", Code: "220700"}, + {AreaName: "白城市", Code: "220800"}, + {AreaName: "延边朝鲜族自治州", Code: "222400"}, + } + + jilinsheng := AreaNode{ + //Area: AreaCode{ + AreaName: "吉林省", + Code: "22", + //}, + Children: jilinshengCities, + } + + trees = append(trees, jilinsheng) + + // 创建黑龙江省的市级数据 + heilongjiangCities := []AreaCode{ + {AreaName: "哈尔滨市", Code: "230100"}, + {AreaName: "齐齐哈尔市", Code: "230200"}, + {AreaName: "鸡西市", Code: "230300"}, + {AreaName: "鹤岗市", Code: "230400"}, + {AreaName: "双鸭山市", Code: "230500"}, + {AreaName: "大庆市", Code: "230600"}, + {AreaName: "伊春市", Code: "230700"}, + {AreaName: "佳木斯市", Code: "230800"}, + {AreaName: "七台河市", Code: "230900"}, + {AreaName: "牡丹江市", Code: "231000"}, + {AreaName: "黑河市", Code: "231100"}, + {AreaName: "绥化市", Code: "231200"}, + {AreaName: "大兴安岭地区", Code: "232700"}, + } + + heilongjiang := AreaNode{ + //Area: AreaCode{ + AreaName: "黑龙江省", + Code: "23", + //}, + Children: heilongjiangCities, + } + + trees = append(trees, heilongjiang) + + // 创建上海市的区级数据 + shanghaiDistricts := []AreaCode{ + {AreaName: "黄浦区", Code: "310101"}, + {AreaName: "徐汇区", Code: "310104"}, + {AreaName: "长宁区", Code: "310105"}, + {AreaName: "静安区", Code: "310106"}, + {AreaName: "普陀区", Code: "310107"}, + {AreaName: "虹口区", Code: "310109"}, + {AreaName: "杨浦区", Code: "310110"}, + {AreaName: "闵行区", Code: "310112"}, + {AreaName: "宝山区", Code: "310113"}, + {AreaName: "嘉定区", Code: "310114"}, + {AreaName: "浦东新区", Code: "310115"}, + {AreaName: "金山区", Code: "310116"}, + {AreaName: "松江区", Code: "310117"}, + {AreaName: "青浦区", Code: "310118"}, + {AreaName: "奉贤区", Code: "310120"}, + {AreaName: "崇明区", Code: "310151"}, + } + + shanghai := AreaNode{ + //Area: AreaCode{ + AreaName: "上海市", + Code: "31", + //}, + Children: shanghaiDistricts, + } + + trees = append(trees, shanghai) + + // 创建江苏省的市级数据 + jiangsuCities := []AreaCode{ + {AreaName: "南京市", Code: "320100"}, + {AreaName: "无锡市", Code: "320200"}, + {AreaName: "徐州市", Code: "320300"}, + {AreaName: "常州市", Code: "320400"}, + {AreaName: "苏州市", Code: "320500"}, + {AreaName: "南通市", Code: "320600"}, + {AreaName: "连云港市", Code: "320700"}, + {AreaName: "淮安市", Code: "320800"}, + {AreaName: "盐城市", Code: "320900"}, + {AreaName: "扬州市", Code: "321000"}, + {AreaName: "镇江市", Code: "321100"}, + {AreaName: "泰州市", Code: "321200"}, + {AreaName: "宿迁市", Code: "321300"}, + } + + jiangsu := AreaNode{ + //Area: AreaCode{ + AreaName: "江苏省", + Code: "32", + //}, + Children: jiangsuCities, + } + + trees = append(trees, jiangsu) + + // 创建浙江省的市级数据 + zhejiangCities := []AreaCode{ + {AreaName: "杭州市", Code: "330100"}, + {AreaName: "宁波市", Code: "330200"}, + {AreaName: "温州市", Code: "330300"}, + {AreaName: "嘉兴市", Code: "330400"}, + {AreaName: "湖州市", Code: "330500"}, + {AreaName: "绍兴市", Code: "330600"}, + {AreaName: "金华市", Code: "330700"}, + {AreaName: "衢州市", Code: "330800"}, + {AreaName: "舟山市", Code: "330900"}, + {AreaName: "台州市", Code: "331000"}, + {AreaName: "丽水市", Code: "331100"}, + } + + zhejiang := AreaNode{ + //Area: AreaCode{ + AreaName: "浙江省", + Code: "33", + //}, + Children: zhejiangCities, + } + + trees = append(trees, zhejiang) + + // 创建安徽省的市级数据 + anhuiCities := []AreaCode{ + {AreaName: "合肥市", Code: "340100"}, + {AreaName: "芜湖市", Code: "340200"}, + {AreaName: "蚌埠市", Code: "340300"}, + {AreaName: "淮南市", Code: "340400"}, + {AreaName: "马鞍山市", Code: "340500"}, + {AreaName: "淮北市", Code: "340600"}, + {AreaName: "铜陵市", Code: "340700"}, + {AreaName: "安庆市", Code: "340800"}, + {AreaName: "黄山市", Code: "341000"}, + {AreaName: "滁州市", Code: "341100"}, + {AreaName: "阜阳市", Code: "341200"}, + {AreaName: "宿州市", Code: "341300"}, + {AreaName: "六安市", Code: "341500"}, + {AreaName: "亳州市", Code: "341600"}, + {AreaName: "池州市", Code: "341700"}, + {AreaName: "宣城市", Code: "341800"}, + } + + anhui := AreaNode{ + //Area: AreaCode{ + AreaName: "安徽省", + Code: "34", + //}, + Children: anhuiCities, + } + + trees = append(trees, anhui) + + // 创建福建省的市级数据 + fujianCities := []AreaCode{ + {AreaName: "福州市", Code: "350100"}, + {AreaName: "厦门市", Code: "350200"}, + {AreaName: "莆田市", Code: "350300"}, + {AreaName: "三明市", Code: "350400"}, + {AreaName: "泉州市", Code: "350500"}, + {AreaName: "漳州市", Code: "350600"}, + {AreaName: "南平市", Code: "350700"}, + {AreaName: "龙岩市", Code: "350800"}, + {AreaName: "宁德市", Code: "350900"}, + } + + fujian := AreaNode{ + //Area: AreaCode{ + AreaName: "福建省", + Code: "35", + //}, + Children: fujianCities, + } + + trees = append(trees, fujian) + + // 创建江西省的市级数据 + jiangxiCities := []AreaCode{ + {AreaName: "南昌市", Code: "360100"}, + {AreaName: "景德镇市", Code: "360200"}, + {AreaName: "萍乡市", Code: "360300"}, + {AreaName: "九江市", Code: "360400"}, + {AreaName: "新余市", Code: "360500"}, + {AreaName: "鹰潭市", Code: "360600"}, + {AreaName: "赣州市", Code: "360700"}, + {AreaName: "吉安市", Code: "360800"}, + {AreaName: "宜春市", Code: "360900"}, + {AreaName: "抚州市", Code: "361000"}, + {AreaName: "上饶市", Code: "361100"}, + } + + jiangxi := AreaNode{ + //Area: AreaCode{ + AreaName: "江西省", + Code: "36", + //}, + Children: jiangxiCities, + } + + trees = append(trees, jiangxi) + + // 创建山东省的市级数据 + shandongCities := []AreaCode{ + {AreaName: "济南市", Code: "370100"}, + {AreaName: "青岛市", Code: "370200"}, + {AreaName: "淄博市", Code: "370300"}, + {AreaName: "枣庄市", Code: "370400"}, + {AreaName: "东营市", Code: "370500"}, + {AreaName: "烟台市", Code: "370600"}, + {AreaName: "潍坊市", Code: "370700"}, + {AreaName: "济宁市", Code: "370800"}, + {AreaName: "泰安市", Code: "370900"}, + {AreaName: "威海市", Code: "371000"}, + {AreaName: "日照市", Code: "371100"}, + {AreaName: "临沂市", Code: "371300"}, + {AreaName: "德州市", Code: "371400"}, + {AreaName: "聊城市", Code: "371500"}, + {AreaName: "滨州市", Code: "371600"}, + {AreaName: "菏泽市", Code: "371700"}, + } + + shandong := AreaNode{ + //Area: AreaCode{ + AreaName: "山东省", + Code: "37", + //}, + Children: shandongCities, + } + + trees = append(trees, shandong) + + // 创建河南省的市级数据 + henanCities := []AreaCode{ + {AreaName: "郑州市", Code: "410100"}, + {AreaName: "开封市", Code: "410200"}, + {AreaName: "洛阳市", Code: "410300"}, + {AreaName: "平顶山市", Code: "410400"}, + {AreaName: "安阳市", Code: "410500"}, + {AreaName: "鹤壁市", Code: "410600"}, + {AreaName: "新乡市", Code: "410700"}, + {AreaName: "焦作市", Code: "410800"}, + {AreaName: "濮阳市", Code: "410900"}, + {AreaName: "许昌市", Code: "411000"}, + {AreaName: "漯河市", Code: "411100"}, + {AreaName: "三门峡市", Code: "411200"}, + {AreaName: "南阳市", Code: "411300"}, + {AreaName: "商丘市", Code: "411400"}, + {AreaName: "信阳市", Code: "411500"}, + {AreaName: "周口市", Code: "411600"}, + {AreaName: "驻马店市", Code: "411700"}, + {AreaName: "济源市", Code: "419001"}, + } + + henan := AreaNode{ + //Area: AreaCode{ + AreaName: "河南省", + Code: "41", + //}, + Children: henanCities, + } + + trees = append(trees, henan) + + // 创建湖北省的市级数据 + hubeiCities := []AreaCode{ + {AreaName: "武汉市", Code: "420100"}, + {AreaName: "黄石市", Code: "420200"}, + {AreaName: "十堰市", Code: "420300"}, + {AreaName: "宜昌市", Code: "420500"}, + {AreaName: "襄阳市", Code: "420600"}, + {AreaName: "鄂州市", Code: "420700"}, + {AreaName: "荆门市", Code: "420800"}, + {AreaName: "孝感市", Code: "420900"}, + {AreaName: "荆州市", Code: "421000"}, + {AreaName: "黄冈市", Code: "421100"}, + {AreaName: "咸宁市", Code: "421200"}, + {AreaName: "随州市", Code: "421300"}, + {AreaName: "恩施土家族苗族自治州", Code: "422800"}, + {AreaName: "仙桃市", Code: "429004"}, + {AreaName: "潜江市", Code: "429005"}, + {AreaName: "天门市", Code: "429006"}, + {AreaName: "神农架林区", Code: "429021"}, + } + + hubei := AreaNode{ + //Area: AreaCode{ + AreaName: "湖北省", + Code: "42", + //}, + Children: hubeiCities, + } + + trees = append(trees, hubei) + + // 创建湖南省的市级数据 + hunanCities := []AreaCode{ + {AreaName: "长沙市", Code: "430100"}, + {AreaName: "株洲市", Code: "430200"}, + {AreaName: "湘潭市", Code: "430300"}, + {AreaName: "衡阳市", Code: "430400"}, + {AreaName: "邵阳市", Code: "430500"}, + {AreaName: "岳阳市", Code: "430600"}, + {AreaName: "常德市", Code: "430700"}, + {AreaName: "张家界市", Code: "430800"}, + {AreaName: "益阳市", Code: "430900"}, + {AreaName: "郴州市", Code: "431000"}, + {AreaName: "永州市", Code: "431100"}, + {AreaName: "怀化市", Code: "431200"}, + {AreaName: "娄底市", Code: "431300"}, + {AreaName: "湘西土家族苗族自治州", Code: "433100"}, + } + + hunan := AreaNode{ + //Area: AreaCode{ + AreaName: "湖南省", + Code: "43", + //}, + Children: hunanCities, + } + + trees = append(trees, hunan) + + // 创建广东省的市级数据 + guangdongCities := []AreaCode{ + {AreaName: "广州市", Code: "440100"}, + {AreaName: "韶关市", Code: "440200"}, + {AreaName: "深圳市", Code: "440300"}, + {AreaName: "珠海市", Code: "440400"}, + {AreaName: "汕头市", Code: "440500"}, + {AreaName: "佛山市", Code: "440600"}, + {AreaName: "江门市", Code: "440700"}, + {AreaName: "湛江市", Code: "440800"}, + {AreaName: "茂名市", Code: "440900"}, + {AreaName: "肇庆市", Code: "441200"}, + {AreaName: "惠州市", Code: "441300"}, + {AreaName: "梅州市", Code: "441400"}, + {AreaName: "汕尾市", Code: "441500"}, + {AreaName: "河源市", Code: "441600"}, + {AreaName: "阳江市", Code: "441700"}, + {AreaName: "清远市", Code: "441800"}, + {AreaName: "东莞市", Code: "441900"}, + {AreaName: "中山市", Code: "442000"}, + {AreaName: "潮州市", Code: "445100"}, + {AreaName: "揭阳市", Code: "445200"}, + {AreaName: "云浮市", Code: "445300"}, + } + + guangdong := AreaNode{ + //Area: AreaCode{ + AreaName: "广东省", + Code: "44", + //}, + Children: guangdongCities, + } + + trees = append(trees, guangdong) + + // 创建广西壮族自治区的市级数据 + guangxiCities := []AreaCode{ + {AreaName: "南宁市", Code: "450100"}, + {AreaName: "柳州市", Code: "450200"}, + {AreaName: "桂林市", Code: "450300"}, + {AreaName: "梧州市", Code: "450400"}, + {AreaName: "北海市", Code: "450500"}, + {AreaName: "防城港市", Code: "450600"}, + {AreaName: "钦州市", Code: "450700"}, + {AreaName: "贵港市", Code: "450800"}, + {AreaName: "玉林市", Code: "450900"}, + {AreaName: "百色市", Code: "451000"}, + {AreaName: "贺州市", Code: "451100"}, + {AreaName: "河池市", Code: "451200"}, + {AreaName: "来宾市", Code: "451300"}, + {AreaName: "崇左市", Code: "451400"}, + } + + guangxi := AreaNode{ + //Area: AreaCode{ + AreaName: "广西壮族自治区", + Code: "45", + //}, + Children: guangxiCities, + } + + trees = append(trees, guangxi) + + // 创建海南省的市级数据 + hainanCities := []AreaCode{ + {AreaName: "海口市", Code: "460100"}, + {AreaName: "三亚市", Code: "460200"}, + {AreaName: "三沙市", Code: "460300"}, + {AreaName: "儋州市", Code: "460400"}, + {AreaName: "五指山市", Code: "469001"}, + {AreaName: "琼海市", Code: "469002"}, + {AreaName: "文昌市", Code: "469005"}, + {AreaName: "万宁市", Code: "469006"}, + {AreaName: "东方市", Code: "469007"}, + {AreaName: "定安县", Code: "469021"}, + {AreaName: "屯昌县", Code: "469022"}, + {AreaName: "澄迈县", Code: "469023"}, + {AreaName: "临高县", Code: "469024"}, + {AreaName: "白沙黎族自治县", Code: "469025"}, + {AreaName: "昌江黎族自治县", Code: "469026"}, + {AreaName: "乐东黎族自治县", Code: "469027"}, + {AreaName: "陵水黎族自治县", Code: "469028"}, + {AreaName: "保亭黎族苗族自治县", Code: "469029"}, + {AreaName: "琼中黎族苗族自治县", Code: "469030"}, + } + + hainan := AreaNode{ + //Area: AreaCode{ + AreaName: "海南省", + Code: "46", + //}, + Children: hainanCities, + } + + trees = append(trees, hainan) + + // 创建重庆市的市级数据 + chongqingCities := []AreaCode{ + {AreaName: "万州区", Code: "500101"}, + {AreaName: "涪陵区", Code: "500102"}, + {AreaName: "渝中区", Code: "500103"}, + {AreaName: "大渡口区", Code: "500104"}, + {AreaName: "江北区", Code: "500105"}, + {AreaName: "沙坪坝区", Code: "500106"}, + {AreaName: "九龙坡区", Code: "500107"}, + {AreaName: "南岸区", Code: "500108"}, + {AreaName: "北碚区", Code: "500109"}, + {AreaName: "綦江区", Code: "500110"}, + {AreaName: "大足区", Code: "500111"}, + {AreaName: "渝北区", Code: "500112"}, + {AreaName: "巴南区", Code: "500113"}, + {AreaName: "黔江区", Code: "500114"}, + {AreaName: "长寿区", Code: "500115"}, + {AreaName: "江津区", Code: "500116"}, + {AreaName: "合川区", Code: "500117"}, + {AreaName: "永川区", Code: "500118"}, + {AreaName: "南川区", Code: "500119"}, + {AreaName: "璧山区", Code: "500120"}, + {AreaName: "铜梁区", Code: "500151"}, + {AreaName: "潼南区", Code: "500152"}, + {AreaName: "荣昌区", Code: "500153"}, + {AreaName: "开州区", Code: "500154"}, + {AreaName: "梁平区", Code: "500155"}, + {AreaName: "武隆区", Code: "500156"}, + {AreaName: "城口县", Code: "500229"}, + {AreaName: "丰都县", Code: "500230"}, + {AreaName: "垫江县", Code: "500231"}, + {AreaName: "忠县", Code: "500233"}, + {AreaName: "云阳县", Code: "500235"}, + {AreaName: "奉节县", Code: "500236"}, + {AreaName: "巫山县", Code: "500237"}, + {AreaName: "巫溪县", Code: "500238"}, + {AreaName: "石柱土家族自治县", Code: "500240"}, + {AreaName: "秀山土家族苗族自治县", Code: "500241"}, + {AreaName: "酉阳土家族苗族自治县", Code: "500242"}, + {AreaName: "彭水苗族土家族自治县", Code: "500243"}, + } + chongqing := AreaNode{ + //Area: AreaCode{ + AreaName: "重庆市", + Code: "50", + //}, + Children: chongqingCities, + } + + trees = append(trees, chongqing) + + // 创建四川省的市级数据 + sicuanCities := []AreaCode{ + {AreaName: "成都市", Code: "510100"}, + {AreaName: "自贡市", Code: "510300"}, + {AreaName: "攀枝花市", Code: "510400"}, + {AreaName: "泸州市", Code: "510500"}, + {AreaName: "德阳市", Code: "510600"}, + {AreaName: "绵阳市", Code: "510700"}, + {AreaName: "广元市", Code: "510800"}, + {AreaName: "遂宁市", Code: "510900"}, + {AreaName: "内江市", Code: "511000"}, + {AreaName: "乐山市", Code: "511100"}, + {AreaName: "南充市", Code: "511300"}, + {AreaName: "眉山市", Code: "511400"}, + {AreaName: "宜宾市", Code: "511500"}, + {AreaName: "广安市", Code: "511600"}, + {AreaName: "达州市", Code: "511700"}, + {AreaName: "雅安市", Code: "511800"}, + {AreaName: "巴中市", Code: "511900"}, + {AreaName: "资阳市", Code: "512000"}, + {AreaName: "阿坝藏族羌族自治州", Code: "513200"}, + {AreaName: "甘孜藏族自治州", Code: "513300"}, + {AreaName: "凉山彝族自治州", Code: "513400"}, + } + sicuan := AreaNode{ + //Area: AreaCode{ + AreaName: "四川省", + Code: "51", + //}, + Children: sicuanCities, + } + + trees = append(trees, sicuan) + + // 创建贵州省的市级数据 + guizhouCities := []AreaCode{ + { + AreaName: "贵阳市", + Code: "520100", + }, + { + AreaName: "六盘水市", + Code: "520200", + }, + { + AreaName: "遵义市", + Code: "520300", + }, + { + AreaName: "安顺市", + Code: "520400", + }, + { + AreaName: "毕节市", + Code: "520500", + }, + { + AreaName: "铜仁市", + Code: "520600", + }, + { + AreaName: "黔西南布依族苗族自治州", + Code: "522300", + }, + { + AreaName: "黔东南苗族侗族自治州", + Code: "522600", + }, + { + AreaName: "黔南布依族苗族自治州", + Code: "522700", + }, + } + guizhou := AreaNode{ + //Area: AreaCode{ + AreaName: "贵州省", + Code: "52", + //}, + Children: guizhouCities, + } + + trees = append(trees, guizhou) + + // 创建云南省的市级数据 + yunnanCities := []AreaCode{ + { + AreaName: "昆明市", + Code: "530100", + }, + { + AreaName: "曲靖市", + Code: "530300", + }, + { + AreaName: "玉溪市", + Code: "530400", + }, + { + AreaName: "保山市", + Code: "530500", + }, + { + AreaName: "昭通市", + Code: "530600", + }, + { + AreaName: "丽江市", + Code: "530700", + }, + { + AreaName: "普洱市", + Code: "530800", + }, + { + AreaName: "临沧市", + Code: "530900", + }, + { + AreaName: "楚雄彝族自治州", + Code: "532300", + }, + { + AreaName: "红河哈尼族彝族自治州", + Code: "532500", + }, + { + AreaName: "文山壮族苗族自治州", + Code: "532600", + }, + { + AreaName: "西双版纳傣族自治州", + Code: "532800", + }, + { + AreaName: "大理白族自治州", + Code: "532900", + }, + { + AreaName: "德宏傣族景颇族自治州", + Code: "533100", + }, + { + AreaName: "怒江傈僳族自治州", + Code: "533300", + }, + { + AreaName: "迪庆藏族自治州", + Code: "533400", + }, + } + yunnan := AreaNode{ + //Area: AreaCode{ + AreaName: "云南省", + Code: "53", + //}, + Children: yunnanCities, + } + + trees = append(trees, yunnan) + + // 西藏 + xizangCities := []AreaCode{ + { + AreaName: "拉萨市", + Code: "540100", + }, + { + AreaName: "日喀则市", + Code: "540200", + }, + { + AreaName: "昌都市", + Code: "540300", + }, + { + AreaName: "林芝市", + Code: "540400", + }, + { + AreaName: "山南市", + Code: "540500", + }, + { + AreaName: "那曲市", + Code: "540600", + }, + { + AreaName: "阿里地区", + Code: "542500", + }, + } + xizang := AreaNode{ + //Area: AreaCode{ + AreaName: "西藏自治区", + Code: "54", + //}, + Children: xizangCities, + } + + trees = append(trees, xizang) + + // 陕西 + shanxi1Cities := []AreaCode{ + { + AreaName: "西安市", + Code: "610100", + }, + { + AreaName: "铜川市", + Code: "610200", + }, + { + AreaName: "宝鸡市", + Code: "610300", + }, + { + AreaName: "咸阳市", + Code: "610400", + }, + { + AreaName: "渭南市", + Code: "610500", + }, + { + AreaName: "延安市", + Code: "610600", + }, + { + AreaName: "汉中市", + Code: "610700", + }, + { + AreaName: "榆林市", + Code: "610800", + }, + { + AreaName: "安康市", + Code: "610900", + }, + { + AreaName: "商洛市", + Code: "611000", + }, + } + shanxi1 := AreaNode{ + //Area: AreaCode{ + AreaName: "陕西省", + Code: "61", + //}, + Children: shanxi1Cities, + } + + trees = append(trees, shanxi1) + + // 甘肃 + ganshuCities := []AreaCode{ + { + AreaName: "兰州市", + Code: "620100", + }, + { + AreaName: "嘉峪关市", + Code: "620200", + }, + { + AreaName: "金昌市", + Code: "620300", + }, + { + AreaName: "白银市", + Code: "620400", + }, + { + AreaName: "天水市", + Code: "620500", + }, + { + AreaName: "武威市", + Code: "620600", + }, + { + AreaName: "张掖市", + Code: "620700", + }, + { + AreaName: "平凉市", + Code: "620800", + }, + { + AreaName: "酒泉市", + Code: "620900", + }, + { + AreaName: "庆阳市", + Code: "621000", + }, + { + AreaName: "定西市", + Code: "621100", + }, + { + AreaName: "陇南市", + Code: "621200", + }, + { + AreaName: "临夏回族自治州", + Code: "622900", + }, + { + AreaName: "甘南藏族自治州", + Code: "623000", + }, + } + ganshu := AreaNode{ + //Area: AreaCode{ + AreaName: "甘肃省", + Code: "62", + //}, + Children: ganshuCities, + } + + trees = append(trees, ganshu) + + // 青海 + qinghaiCities := []AreaCode{ + { + AreaName: "西宁市", + Code: "630100", + }, + { + AreaName: "海东市", + Code: "630200", + }, + { + AreaName: "海北藏族自治州", + Code: "632200", + }, + { + AreaName: "黄南藏族自治州", + Code: "632300", + }, + { + AreaName: "海南藏族自治州", + Code: "632500", + }, + { + AreaName: "果洛藏族自治州", + Code: "632600", + }, + { + AreaName: "玉树藏族自治州", + Code: "632700", + }, + { + AreaName: "海西蒙古族藏族自治州", + Code: "632800", + }, + } + qinghai := AreaNode{ + //Area: AreaCode{ + AreaName: "青海省", + Code: "63", + //}, + Children: qinghaiCities, + } + + trees = append(trees, qinghai) + + // 宁夏回族自治区 + ningxiaCities := []AreaCode{ + { + AreaName: "银川市", + Code: "640100", + }, + { + AreaName: "石嘴山市", + Code: "640200", + }, + { + AreaName: "吴忠市", + Code: "640300", + }, + { + AreaName: "固原市", + Code: "640400", + }, + { + AreaName: "中卫市", + Code: "640500", + }, + } + ningxia := AreaNode{ + //Area: AreaCode{ + AreaName: "宁夏回族自治区", + Code: "64", + //}, + Children: ningxiaCities, + } + + trees = append(trees, ningxia) + + // 新疆维吾尔自治区 + xinjiangCities := []AreaCode{ + { + AreaName: "乌鲁木齐市", + Code: "650100", + }, + { + AreaName: "克拉玛依市", + Code: "650200", + }, + { + AreaName: "吐鲁番市", + Code: "650400", + }, + { + AreaName: "哈密市", + Code: "650500", + }, + { + AreaName: "昌吉回族自治州", + Code: "652300", + }, + { + AreaName: "博尔塔拉蒙古自治州", + Code: "652700", + }, + { + AreaName: "巴音郭楞蒙古自治州", + Code: "652800", + }, + { + AreaName: "阿克苏地区", + Code: "652900", + }, + { + AreaName: "克孜勒苏柯尔克孜自治州", + Code: "653000", + }, + { + AreaName: "喀什地区", + Code: "653100", + }, + { + AreaName: "和田地区", + Code: "653200", + }, + { + AreaName: "伊犁哈萨克自治州", + Code: "654000", + }, + { + AreaName: "塔城地区", + Code: "654200", + }, + { + AreaName: "阿勒泰地区", + Code: "654300", + }, + { + AreaName: "石河子市", + Code: "659001", + }, + { + AreaName: "阿拉尔市", + Code: "659002", + }, + { + AreaName: "图木舒克市", + Code: "659003", + }, + { + AreaName: "五家渠市", + Code: "659004", + }, + { + AreaName: "北屯市", + Code: "659005", + }, + { + AreaName: "铁门关市", + Code: "659006", + }, + { + AreaName: "双河市", + Code: "659007", + }, + { + AreaName: "可克达拉市", + Code: "659008", + }, + { + AreaName: "昆玉市", + Code: "659009", + }, + { + AreaName: "胡杨河市", + Code: "659010", + }, + { + AreaName: "新星市", + Code: "659011", + }, + } + xinjiang := AreaNode{ + //Area: AreaCode{ + AreaName: "新疆维吾尔自治区", + Code: "65", + //}, + Children: xinjiangCities, + } + + trees = append(trees, xinjiang) + return trees +} diff --git a/pkg/service/dci/file.go b/pkg/service/dci/file.go new file mode 100644 index 0000000..c3bf650 --- /dev/null +++ b/pkg/service/dci/file.go @@ -0,0 +1,64 @@ +package dci + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/dci" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + dciErr "github.com/fonchain_enterprise/fonchain-main/pkg/e/dci" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +/* + * @api {post} /dci/file/upload 获取授权访问OSS链接 + * @apiVersion 1.0.0 + * @apiName GetUploadFile + */ +func GetUploadFile(c *gin.Context) { + req := new(dci.GetUploadUrlRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetUploadUrlRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.GetUploadUrl(context.Background(), req) + + zap.L().Info(" dci 文件上传 :", zap.Reflect("GetUploadUrl :", res)) + + fmt.Println("====== GetUploadUrl res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== GetUploadUrl res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} diff --git a/pkg/service/dci/user.go b/pkg/service/dci/user.go new file mode 100644 index 0000000..95b8baf --- /dev/null +++ b/pkg/service/dci/user.go @@ -0,0 +1,161 @@ +package dci + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/dci" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + dciErr "github.com/fonchain_enterprise/fonchain-main/pkg/e/dci" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +/* + * @api {post} /dci/user/add 著作权人 申领 DCI信息 + * @apiVersion 1.0.0 + * @apiName AddDciUser + */ +func AddDciUser(c *gin.Context) { + req := new(dci.AddDciUserRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("AddDciUserRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.AddDciUser(context.Background(), req) + + zap.L().Info(" 著作权人 申领 DCI信息 :", zap.Reflect("AddDciUser :", res)) + + fmt.Println("====== AddDciUser res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== AddDciUser res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/user/update 著作权人 更新 DCI信息 + * @apiVersion 1.0.0 + * @apiName UpdateDciUser + */ +func UpdateDciUser(c *gin.Context) { + req := new(dci.UpdateDciUserRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UpdateDciUserRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.UpdateDciUser(context.Background(), req) + + zap.L().Info(" 著作权人 更新 DCI信息 :", zap.Reflect("UpdateDciUser :", res)) + + fmt.Println("====== UpdateDciUser res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== UpdateDciUser res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/user/info 著作权人 查询 DCI信息 + * @apiVersion 1.0.0 + * @apiName QueryDciUser + */ +func QueryDciUser(c *gin.Context) { + req := new(dci.QueryDciUserRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("QueryDciUserRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.QueryDciUser(context.Background(), req) + + zap.L().Info(" 著作权人 查询 DCI信息 :", zap.Reflect("QueryDciUser :", res)) + + fmt.Println("====== QueryDciUser res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== QueryDciUser res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} diff --git a/pkg/service/dci/work.go b/pkg/service/dci/work.go new file mode 100644 index 0000000..81d2381 --- /dev/null +++ b/pkg/service/dci/work.go @@ -0,0 +1,511 @@ +package dci + +import ( + "bytes" + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/dci" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + dciErr "github.com/fonchain_enterprise/fonchain-main/pkg/e/dci" + loigc_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/logic/copyright" + model_copyright "github.com/fonchain_enterprise/fonchain-main/pkg/model/copyright" + dciModel "github.com/fonchain_enterprise/fonchain-main/pkg/model/dci" + pkgRequest "github.com/fonchain_enterprise/fonchain-main/pkg/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "go.uber.org/zap" + "io" + "net/http" + "net/url" +) + +// CreateDciPreregistration +/* + * @api {post} /dci/reg/create 申领DCI + * @apiVersion 1.0.0 + * @apiName CreateDciPreregistration + */ +func CreateDciPreregistration(c *gin.Context) { + req := new(dci.CreateDciPreregistrationRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("CreateDciPreregistrationRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.CreateDciPreregistration(context.Background(), req) + + zap.L().Info(" 作品 申领 DCI :", zap.Reflect("CreateDciPreregistration :", res)) + + fmt.Println("====== CreateDciPreregistration res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== CreateDciPreregistration res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/reg/info DCI申领查询 + * @apiVersion 1.0.0 + * @apiName QueryDciPreregistration + */ +func QueryDciPreregistration(c *gin.Context) { + req := new(dci.QueryDciPreregistrationRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("QueryDciPreregistrationRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.QueryDciPreregistration(context.Background(), req) + + zap.L().Info(" 作品 查询 DCI :", zap.Reflect("QueryDciPreregistration :", res)) + + fmt.Println("====== QueryDciPreregistration res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== QueryDciPreregistration res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/work/create 数字登记 + * @apiVersion 1.0.0 + * @apiName CreateDciRegistration + */ +func CreateDciRegistration(c *gin.Context) { + req := new(dci.CreateDciRegistrationRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("CreateDciRegistrationRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.CreateDciRegistration(context.Background(), req) + + zap.L().Info(" 发起数登申请 :", zap.Reflect("CreateDciRegistration :", res)) + + fmt.Println("====== CreateDciRegistration res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== CreateDciRegistration res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/work/info 数字登记查询 + * @apiVersion 1.0.0 + * @apiName QueryDciRegistration + */ +func QueryDciRegistration(c *gin.Context) { + req := new(dci.QueryDciRegistrationRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("QueryDciRegistrationRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.QueryDciRegistration(context.Background(), req) + + zap.L().Info(" 查询数登申请 :", zap.Reflect("QueryDciRegistration :", res)) + + fmt.Println("====== QueryDciRegistration res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== QueryDciRegistration res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/work/pay-url 数登支付链接获取 + * @apiVersion 1.0.0 + * @apiName GetDciPayUrl + */ +func GetDciPayUrl(c *gin.Context) { + req := new(dci.GetDciPayUrlRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetDciPayUrlRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.GetDciPayUrl(context.Background(), req) + + zap.L().Info(" 数登支付链接获取 :", zap.Reflect("GetDciPayUrl :", res)) + + fmt.Println("====== GetDciPayUrl res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== GetDciPayUrl res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/work/pay-info 数登支付查询 + * @apiVersion 1.0.0 + * @apiName QueryDciPay + */ +func QueryDciPay(c *gin.Context) { + req := new(dci.QueryDciPayRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("QueryDciPayRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.QueryDciPay(context.Background(), req) + + zap.L().Info(" 数登支付查询 :", zap.Reflect("QueryDciPay :", res)) + + fmt.Println("====== QueryDciPay res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== QueryDciPay res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/work/cert-info 获取数登证书下载 + * @apiVersion 1.0.0 + * @apiName GetDciRegistrationcert + */ +func GetDciRegistrationcert(c *gin.Context) { + req := new(dci.GetDciRegistrationcertRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetDciRegistrationcertRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.GetDciRegistrationcert(context.Background(), req) + + zap.L().Info(" 获取数登证书下载 :", zap.Reflect("GetDciRegistrationcert :", res)) + + fmt.Println("====== GetDciRegistrationcert res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== GetDciRegistrationcert res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/work/retry 补正申请 + * @apiVersion 1.0.0 + * @apiName RetryDciRegistration + */ +func RetryDciRegistration(c *gin.Context) { + req := new(dci.RetryDciRegistrationRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("RetryDciRegistrationRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.RetryDciRegistration(context.Background(), req) + + zap.L().Info(" 补正申请 :", zap.Reflect("RetryDciRegistration :", res)) + + fmt.Println("====== RetryDciRegistration res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== RetryDciRegistration res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/work/close 数登停止申请 + * @apiVersion 1.0.0 + * @apiName CloseDciRegistration + */ +func CloseDciRegistration(c *gin.Context) { + req := new(dci.CloseDciRegistrationRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("CloseDciRegistrationRequest ShouldBind err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcDciImpl.CloseDciRegistration(context.Background(), req) + + zap.L().Info(" 数登停止申请 :", zap.Reflect("CloseDciRegistration :", res)) + + fmt.Println("====== CloseDciRegistration res ===============================================") + fmt.Printf("%+v\n", res) + fmt.Println("====== CloseDciRegistration res ===============================================") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res.ResultCode != "OK" { + res.ResultCode = dciErr.ResultCode[res.ResultCode] + res.ResultMsg = dciErr.ResultMsg[res.ResultMsg] + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Msg: res.ResultMsg, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +/* + * @api {post} /dci/callback 数登消息回调 + * @apiVersion 1.0.0 + * @apiName Callback + */ +func Callback(c *gin.Context) { + req := new(dciModel.Callback) + req = &dciModel.Callback{} + res := new(dciModel.CallbackResp) + var bizContent dciModel.BizContent + returnAllBytes, _ := io.ReadAll(c.Request.Body) + c.Request.Body = io.NopCloser(bytes.NewBuffer(returnAllBytes)) + returnAllString := string(returnAllBytes) + zap.L().Info("Callback", zap.Any("returnAllString", returnAllString)) + postBizContent := c.PostForm("biz_content") + productEnv := c.PostForm("product_env") + zap.L().Info("Callback ", zap.Any("postBizContent", postBizContent)) + zap.L().Info("Callback ", zap.Any("productEnv", productEnv)) + switch productEnv { + case "SIT": + apiUrl := "http://114.218.158.24:9020/dci/callback" + data := url.Values{} + data.Set("product_env", "TRANSPOND") + data.Set("biz_content", postBizContent) + resp, _ := http.PostForm(apiUrl, data) + defer resp.Body.Close() + case "PRD", "PROD", "TRANSPOND": + err := json.Unmarshal([]byte(postBizContent), &bizContent) + if err != nil { + return + } + zap.L().Info("bizContent ", zap.Any("bizContent", bizContent)) + var logicDigital = new(loigc_copyright.Digital) + _, _ = logicDigital.DciQueryRegistration(pkgRequest.CopyrightIdAll{ + DigitalRegisterId: bizContent.DigitalRegisterId, + }, model_copyright.CopyrightInfo{DigitalRegisterId: bizContent.DigitalRegisterId}) + } + _ = c.ShouldBindJSON(&req) + zap.L().Info("Callback ", zap.Any("ShouldBindJSON req", req)) + _ = json.Unmarshal(returnAllBytes, &req) + zap.L().Info("Callback", zap.Any("req", req)) + res.ResultCode = "OK" + c.JSON(e.SUCCESS, res) + return +} diff --git a/pkg/service/deliver/deliver.go b/pkg/service/deliver/deliver.go new file mode 100644 index 0000000..6bdf087 --- /dev/null +++ b/pkg/service/deliver/deliver.go @@ -0,0 +1,94 @@ +package deliver + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/appointment" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Detail(c *gin.Context) { + req := &appointment.PaymentDeliverDetailReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.PaymentDeliverDetail(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Create(c *gin.Context) { + req := &appointment.PaymentDeliverRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.PaymentDeliverCreate(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Update(c *gin.Context) { + req := &appointment.PaymentDeliverRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.PaymentDeliverUpdate(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Remove(c *gin.Context) { + req := &appointment.PaymentDeliverDetailReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.PaymentDeliverRemove(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func List(c *gin.Context) { + req := &appointment.PaymentDeliverListReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.PaymentDeliverList(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} diff --git a/pkg/service/domain_name/domain_name.go b/pkg/service/domain_name/domain_name.go new file mode 100644 index 0000000..3816bfe --- /dev/null +++ b/pkg/service/domain_name/domain_name.go @@ -0,0 +1,177 @@ +package domain_name + +import ( + "context" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/domain_name" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Create(c *gin.Context) { + req := &domain_name.DomainNameRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfo := login.GetUserInfoFromC(c) + infoReq := account.InfoRequest{ID: userInfo.ID} + infoRes, err := service.AccountProvider.Info(context.Background(), &infoReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + req.Operator = infoRes.Info.NickName + req.OperatorID = infoRes.Info.ID + req.JonNumber = infoRes.Info.JobNum + res, err := service.DomainNameProvider.Create(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func Update(c *gin.Context) { + req := &domain_name.DomainNameRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfo := login.GetUserInfoFromC(c) + infoReq := account.InfoRequest{ID: userInfo.ID} + infoRes, err := service.AccountProvider.Info(context.Background(), &infoReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + req.Operator = infoRes.Info.NickName + req.OperatorID = infoRes.Info.ID + req.JonNumber = infoRes.Info.JobNum + res, err := service.DomainNameProvider.Update(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func List(c *gin.Context) { + req := &domain_name.ListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.DomainNameProvider.List(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + if len(res.List) == 0 { + service.Success(c, res) + return + } + DictionaryReq := &employee.SearchDictionaryRequest{ + Tag: "company", + } + dictionaryList, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, DictionaryReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + companyMap := make(map[uint64]string) + for _, dict := range dictionaryList.Company { + companyMap[dict.Id] = dict.Name // 假设 dict.ID 是公司 ID,dict.Name 是公司名称 + } + for _, i := range res.List { + companyName, exists := companyMap[i.CompanyID] + if !exists { + companyName = "未知公司" // 如果未找到公司名称,设置为默认值 + } + i.CompanyName = companyName + } + service.Success(c, res) + return +} +func Deleted(c *gin.Context) { + req := &domain_name.DomainNameDeletedReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.DomainNameProvider.Deleted(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} +func Download(c *gin.Context) { + req := &domain_name.ListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.DomainNameProvider.List(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + DictionaryReq := &employee.SearchDictionaryRequest{ + Tag: "company", + } + dictionaryList, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, DictionaryReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + companyMap := make(map[uint64]string) + for _, dict := range dictionaryList.Company { + companyMap[dict.Id] = dict.Name // 假设 dict.ID 是公司 ID,dict.Name 是公司名称 + } + // 生成Excel文件 + statusMap := map[int32]string{ + 1: "使用中", // 状态 1 + 2: "即将到期", // 状态 2 + 3: "已到期", // 状态 3 + } + var dataList []interface{} + for _, data := range res.List { + companyName, exists := companyMap[data.CompanyID] + if !exists { + companyName = "未知公司" // 如果未找到公司名称,设置为默认值 + } + statusText, statusExists := statusMap[data.Status] + if !statusExists { + statusText = "未知状态" // 如果未找到状态值,设置为默认值 + } + dataList = append(dataList, &[]any{ + data.DomainAddress, + companyName, + data.RegistrationTime, + data.MaturityTime, + statusText, + data.UpdateTime, + data.Operator + "(" + data.JonNumber + ")", + }) + } + titleList := []string{ + "域名地址", "公司名称", "注册时间", "到期时间", "状态", "最近更新时间", "操作人", + } + content, err := utils.ToExcelByType(titleList, dataList, "slice", "") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + // 返回Excel文件 + utils.ResponseXls(c, content, "域名信息") + return +} diff --git a/pkg/service/draw.go b/pkg/service/draw.go new file mode 100644 index 0000000..e2194d6 --- /dev/null +++ b/pkg/service/draw.go @@ -0,0 +1,262 @@ +package service + +import ( + "context" + "net/http" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/draw" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" +) + +func AddAccount(c *gin.Context) { + var addAccountRequest draw.AddAccountRequest + if err := c.ShouldBind(&addAccountRequest); err == nil { + logger.Errorf("addAccountRequest ShouldBind err", err) + rep, err := GrpcDrawImpl.AddAccount(context.Background(), &addAccountRequest) + if err != nil { + logger.Error(err) + c.JSON(e.ERROR, serializer.Response{ + Status: e.Failed, + Code: e.ERROR, + Msg: err.Error(), + Error: err, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) + return + } else { + logger.Error(err) + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Failed, + Code: e.InvalidParams, + Msg: e.GetMsg(e.InvalidParams), + Error: err, + }) + return + } +} + +func AddPrizeNum(c *gin.Context) { + var addPrizeNumRequest draw.AddPrizeNumRequest + if err := c.ShouldBind(&addPrizeNumRequest); err == nil { + logger.Errorf("AddPrizeNumRequest ShouldBind err", err) + rep, err := GrpcDrawImpl.AddPrizeNum(context.Background(), &addPrizeNumRequest) + if err != nil { + logger.Error(err) + c.JSON(e.ERROR, serializer.Response{ + Status: e.Failed, + Code: e.ERROR, + Msg: err.Error(), + Error: err, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) + return + } else { + logger.Error(err) + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Failed, + Code: e.InvalidParams, + Msg: e.GetMsg(e.InvalidParams), + Error: err, + }) + return + } +} + +func SetPool(c *gin.Context) { + var setPoolRequest draw.SetPoolRequest + if err := c.ShouldBind(&setPoolRequest); err == nil { + logger.Errorf("SetPoolRequest ShouldBind err", err) + rep, err := GrpcDrawImpl.SetPool(context.Background(), &setPoolRequest) + if err != nil { + logger.Error(err) + c.JSON(e.ERROR, serializer.Response{ + Status: e.Failed, + Code: e.ERROR, + Msg: err.Error(), + Error: err, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) + return + } else { + logger.Error(err) + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Failed, + Code: e.InvalidParams, + Msg: e.GetMsg(e.InvalidParams), + Error: err, + }) + return + } +} + +func SetResult(c *gin.Context) { + var setResultRequest draw.SetResultRequest + if err := c.ShouldBind(&setResultRequest); err == nil { + logger.Errorf("SetResultRequest ShouldBind err", err) + rep, err := GrpcDrawImpl.SetResult(context.Background(), &setResultRequest) + if err != nil { + logger.Error(err) + c.JSON(e.ERROR, serializer.Response{ + Status: e.Failed, + Code: e.ERROR, + Msg: err.Error(), + Error: err, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) + return + } else { + logger.Error(err) + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Failed, + Code: e.InvalidParams, + Msg: e.GetMsg(e.InvalidParams), + Error: err, + }) + return + } +} + +func GetAccountPrize(c *gin.Context) { + var getAccountPrizeRequest draw.GetAccountPrizeRequest + if err := c.ShouldBind(&getAccountPrizeRequest); err == nil { + logger.Errorf("GetAccountPrizeRequest ShouldBind err", err) + rep, err := GrpcDrawImpl.GetAccountPrize(context.Background(), &getAccountPrizeRequest) + if err != nil { + logger.Error(err) + c.JSON(e.ERROR, serializer.Response{ + Status: e.Failed, + Code: e.ERROR, + Msg: err.Error(), + Error: err, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) + return + } else { + logger.Error(err) + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Failed, + Code: e.InvalidParams, + Msg: e.GetMsg(e.InvalidParams), + Error: err, + }) + return + } +} + +func PrizeList(c *gin.Context) { + var prizeListRequest draw.PrizeListRequest + if err := c.ShouldBind(&prizeListRequest); err == nil { + logger.Errorf("PrizeListRequest ShouldBind err", err) + rep, err := GrpcDrawImpl.PrizeList(context.Background(), &prizeListRequest) + if err != nil { + logger.Error(err) + c.JSON(e.ERROR, serializer.Response{ + Status: e.Failed, + Code: e.ERROR, + Msg: err.Error(), + Error: err, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) + return + } else { + logger.Error(err) + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Failed, + Code: e.InvalidParams, + Msg: e.GetMsg(e.InvalidParams), + Error: err, + }) + return + } +} + +// func Encrypt(c *gin.Context) { +// rep, err := GrpcDrawImpl.Encrypt(context.Background(), new(draw.EncryptRequest)) +// if err != nil { +// logger.Error(err) +// c.JSON(e.ERROR, serializer.Response{ +// Status: e.Failed, +// Code: e.ERROR, +// Msg: err.Error(), +// Error: err, +// }) +// return +// } +// c.JSON(http.StatusOK, serializer.Response{ +// Status: e.Ok, +// Code: e.SUCCESS, +// Data: rep, +// }) +// } + +// func Decrypt(c *gin.Context) { +// var decryptRequest draw.DecryptRequest +// if err := c.ShouldBind(&decryptRequest); err == nil { +// logger.Errorf("DecryptRequest ShouldBind err", err) +// rep, err := GrpcDrawImpl.Decrypt(context.Background(), &decryptRequest) +// if err != nil { +// logger.Error(err) +// c.JSON(e.ERROR, serializer.Response{ +// Status: e.Failed, +// Code: e.ERROR, +// Msg: err.Error(), +// Error: err, +// }) +// return +// } +// c.JSON(http.StatusOK, serializer.Response{ +// Status: e.Ok, +// Code: e.SUCCESS, +// Data: rep, +// }) +// return +// } else { +// logger.Error(err) +// c.JSON(http.StatusOK, serializer.Response{ +// Status: e.Failed, +// Code: e.InvalidParams, +// Msg: e.GetMsg(e.InvalidParams), +// Error: err, +// }) +// return +// } +// } diff --git a/pkg/service/employee/employee.go b/pkg/service/employee/employee.go new file mode 100644 index 0000000..6b56372 --- /dev/null +++ b/pkg/service/employee/employee.go @@ -0,0 +1,2209 @@ +package employee + +import ( + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/e_card" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + employeeMod "github.com/fonchain_enterprise/fonchain-main/pkg/model/employee" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/turnstile" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + + account1 "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + employee1 "github.com/fonchain_enterprise/fonchain-main/pkg/utils/employee" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/excel" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "os" + "sort" + "strconv" + "strings" + "time" +) + +func SearchDictionaryList(c *gin.Context) { + req := &employee.SearchDictionaryRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +func CreateEmployeeFile(c *gin.Context) { + req := &employee.CreateEmployeeFileRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + status, err := determineStatus(c, req.WorkingConditionId) + var PositionUsers []*position.PositionUser + var LeaveBalancePositionList []*oaApi.LeaveBalancePosition + for i := 0; i < len(req.DepartmentPostList); i++ { + dep := &position.PositionUser{ + DepartmentID: req.DepartmentPostList[i].DepartmentId, + PositionID: req.DepartmentPostList[i].PostId, + UserName: req.Name, + } + LeaveBalancePosition := &oaApi.LeaveBalancePosition{ + DepartmentUID: strconv.FormatUint(req.DepartmentPostList[i].DepartmentId, 10), + PositionUID: strconv.FormatUint(req.DepartmentPostList[i].PostId, 10), + } + PositionUsers = append(PositionUsers, dep) + LeaveBalancePositionList = append(LeaveBalancePositionList, LeaveBalancePosition) + } + user := &union.User{ + Domain: "fontree", + NickName: req.Name, + TelNum: req.InPersonTel, + Password: e.DEFAULT_PWD, + Status: status, + EnterDate: req.DateOfEntry, + PositionUsers: PositionUsers, + JobNum: req.JobNumber, + BirthDate: req.DateOfBirth, + Sex: req.SexId, + LeftDate: req.ResignationDate, + ICNum: req.CardNumber, + Source: "employeeFile", + } + err, userRes := account1.UserRegisters(c, *user) + if err != nil { + if err.Error() == "账号已存在" { + service.Error(c, e.InvalidParams, errors.New("手机号已存在")) + return + } + service.Error(c, e.InvalidParams, err) + return + } + req.UserId = userRes.ID + req.Source = "employeeFile" + userInfo := login.GetUserInfoFromC(c) + req.Operator = userInfo.ID + req.OperatorName = userInfo.NickName + res, err := service.GrpcEmployeeProvider.CreateEmployeeFile(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if res.Massage != "" { + service.Error(c, e.InvalidParams, errors.New(res.Massage)) + return + } + //查询员工档案 + basicInfo, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{res.Id}, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + _, err = service.GrpcEmployeeProvider.CreateContractRecord(c, &employee.CreateContractRecordRequest{ + EmployeeFileId: res.Id, + UserName: basicInfo.List[0].Name, + JobNum: basicInfo.List[0].JobNumber, + Department: basicInfo.List[0].DepartmentNames, + Post: basicInfo.List[0].PositionNames, + Company: basicInfo.List[0].CompanyName, + CostCenter: basicInfo.List[0].CostCenterName, + IdNumber: basicInfo.List[0].IdNumber, + DateOfEntry: basicInfo.List[0].DateOfEntry, + StartLaborContract: req.LaborContractStart, + EndLaborContract: req.LaborContractEnd, + ContractTypeId: req.ContractTypeId, + ContractAnnex: req.ContractForm, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //绑定考勤组 + _ = employee1.BindTheDefaultAttendanceGroup(c, res.Id, req.DepartmentPostList) + + //创建假勤余额 + err = employee1.CreateAFalseAttendanceBalance(c, req, res.Id) + if err != nil { + fmt.Printf("创建假勤余额错误%+v --------", err) + } + // 新增员工电子名片 + addChainRequest, err := account1.GetECardInfo(userRes.ID, "员工档案-新增员工") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + _, err = service.ECardProvider.AddChain(c, addChainRequest) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + _, _ = employee1.CreateAMallAccount(req, res.Id) + service.Success(c, res) + return +} + +func UpdateEmployeeFile(c *gin.Context) { + req := &employee.SaveEmployeeFileRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //查询员工档案 + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{req.Id}, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(infoRes.List) == 0 { + service.Error(c, e.NOTDATA, err) + return + } + employeeList, err := service.GrpcEmployeeProvider.FindEmployeeFileList(c, &employee.FindEmployeeFileListRequest{ + PrecisionJobNumber: req.JobNumber, + }) + // 检查工号重复的条件:如果有多条记录,或有一条记录但其ID与当前请求的ID不同,则视为重复 + isDuplicate := false + if employeeList.EmployeeFileList != nil { + for _, emp := range employeeList.EmployeeFileList { + if emp.Id != req.Id { + isDuplicate = true + break + } + } + } + if isDuplicate { + service.Error(c, e.InvalidParams, errors.New("工号重复")) + return + } + userReq := &account.InfoRequest{ + ID: infoRes.List[0].UserId, + } + userInfo, err := service.AccountProvider.Info(c, userReq) + if err != nil { + service.Error(c, e.InvalidParams, errors.New("获取用户信息失败")) + return + } + // 更新用户信息(如果需要) + err = updateUserIfNeeded(c, userInfo, req, userInfo.Info.ID) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //更新员工档案 + user := login.GetUserInfoFromC(c) + req.Operator = user.ID + req.OperatorName = user.NickName + res, err := service.GrpcEmployeeProvider.SaveEmployeeFile(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //更新部门岗位关系 + if len(req.DepartmentPostList) != 0 { + var departmentPost []*employee.DepartmentalPosition + for _, i := range req.DepartmentPostList { + departmentPost = append(departmentPost, &employee.DepartmentalPosition{ + DepartmentId: i.DepartmentId, + PostId: i.PostId, + }) + } + _, _ = service.GrpcEmployeeProvider.UpdateDepartmentPostAssociation(c, &employee.DepartmentPostRequest{ + EmployeeFileId: req.Id, + DepartmentalPosition: departmentPost, + }) + + } + //创建合同信息 + _, err = service.GrpcEmployeeProvider.CreateContractRecord(c, &employee.CreateContractRecordRequest{ + EmployeeFileId: req.Id, + UserName: infoRes.List[0].Name, + JobNum: infoRes.List[0].JobNumber, + Department: infoRes.List[0].DepartmentNames, + Post: infoRes.List[0].PositionNames, + Company: infoRes.List[0].CompanyName, + CostCenter: infoRes.List[0].CostCenterName, + IdNumber: infoRes.List[0].IdNumber, + DateOfEntry: infoRes.List[0].DateOfEntry, + StartLaborContract: req.LaborContractStart, + EndLaborContract: req.LaborContractEnd, + ContractTypeId: req.ContractTypeId, + ContractAnnex: req.ContractForm, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + modifyContent, _ := json.Marshal(req) + PreModifiedContent, _ := json.Marshal(infoRes) + //创建修改记录 + _, _ = service.GrpcEmployeeProvider.CreateAChangeLog(c, &employee.CreateAChangeLogRequest{ + EmployeeFileId: req.Id, + UserId: user.ID, + UserName: user.NickName, + ModifyContent: string(modifyContent), + PreModifiedContent: string(PreModifiedContent), + }) + // 手机号码发生修改,则更新用户电子名片 + if userInfo.Info.TelNum != req.InPersonTel || userInfo.Info.EnterDate != req.DateOfEntry { + var addChainRequest *e_card.AddChainRequest + var err2 error + addChainRequest, err2 = account1.GetECardInfo(infoRes.List[0].UserId, "员工档案-编辑") + if err2 != nil { + service.Error(c, e.InvalidParams, err2) + return + } + + _, err = service.ECardProvider.AddChain(c, addChainRequest) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + } + + service.Success(c, res) + return +} + +// MoreNewChanges 添加异动记录 +func MoreNewChanges(c *gin.Context) { + req := &employee.MoreNewChangesRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //查询员工档案 + info := &employee.FindEmployeeFileListRequest{} + info.Id = req.Id + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{req.Id}, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(infoRes.List) == 0 { + service.Error(c, e.NOTDATA, err) + return + } + userReq := &rule.RulesRequest{ + AccountID: infoRes.List[0].UserId, + } + qres, err := service.RuleProvider.UserInfo(c, userReq) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + err = updatePosition(c, qres.PositionUsers, req, infoRes.List[0].UserId, infoRes.List[0].Name) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if req.TransferRecord.TransactionItem == 1 || req.TransferRecord.TransactionItem == 2 { + // 获取当前部门和岗位的拼接字符串 + currentDepartments := infoRes.List[0].DepartmentNames + currentPositions := infoRes.List[0].PositionNames + req.TransferRecord.BeforeDepartmentName = infoRes.List[0].DepartmentNames + req.TransferRecord.BeforePostName = infoRes.List[0].PositionNames + switch req.TransferRecord.TransactionItem { + case 1: // 岗位相关 + switch req.TransferRecord.TransferType { + case 1: // 调岗 + currentPositions = strings.Replace(currentPositions, req.TransferRecord.BeforePostName, "", 1) + req.TransferRecord.LaterPostName = strings.Trim(currentPositions, ",") + "," + req.TransferRecord.LaterPostName + case 2: // 新增岗位 + req.TransferRecord.LaterPostName = strings.Trim(currentPositions, ",") + "," + req.TransferRecord.LaterPostName + case 3: // 取消岗位 + req.TransferRecord.LaterDepartmentName = strings.Replace(currentDepartments, req.TransferRecord.LaterDepartmentName, "", 1) + req.TransferRecord.LaterPostName = strings.Replace(currentPositions, req.TransferRecord.LaterPostName, "", 1) + req.TransferRecord.LaterDepartmentName = strings.Trim(req.TransferRecord.LaterDepartmentName, ",") + req.TransferRecord.LaterPostName = strings.Trim(req.TransferRecord.LaterPostName, ",") + + } + case 2: // 部门相关 + switch req.TransferRecord.TransferType { + case 1: // 调部门 + currentPositions = strings.Replace(currentDepartments, req.TransferRecord.BeforePostName, "", 1) + currentDepartments = strings.Replace(currentDepartments, req.TransferRecord.BeforeDepartmentName, "", 1) + req.TransferRecord.LaterDepartmentName = strings.Trim(currentDepartments, ",") + "," + req.TransferRecord.LaterDepartmentName + req.TransferRecord.LaterPostName = strings.Trim(currentPositions, ",") + "," + req.TransferRecord.LaterPostName + case 2: // 新增部门 + req.TransferRecord.LaterDepartmentName = strings.Trim(currentDepartments, ",") + "," + req.TransferRecord.LaterDepartmentName + req.TransferRecord.LaterPostName = strings.Trim(currentPositions, ",") + "," + req.TransferRecord.LaterPostName + case 3: // 取消部门 + req.TransferRecord.LaterDepartmentName = strings.Replace(currentDepartments, req.TransferRecord.BeforeDepartmentName, "", 1) + req.TransferRecord.LaterDepartmentName = strings.Trim(req.TransferRecord.LaterDepartmentName, ",") + req.TransferRecord.LaterPostName = strings.Replace(currentDepartments, req.TransferRecord.BeforePostName, "", 1) + req.TransferRecord.LaterPostName = strings.Trim(req.TransferRecord.LaterPostName, ",") + } + } + } + + res, err := service.GrpcEmployeeProvider.MoreNewChanges(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if req.TransferRecord.ContractTypeId != 0 { + _, err = service.GrpcEmployeeProvider.CreateContractRecord(c, &employee.CreateContractRecordRequest{ + EmployeeFileId: req.Id, + UserName: infoRes.List[0].Name, + JobNum: infoRes.List[0].JobNumber, + Department: infoRes.List[0].DepartmentNames, + Post: infoRes.List[0].PositionNames, + Company: infoRes.List[0].CompanyName, + CostCenter: infoRes.List[0].CostCenterName, + IdNumber: infoRes.List[0].IdNumber, + DateOfEntry: infoRes.List[0].DateOfEntry, + StartLaborContract: req.TransferRecord.StartLaborContract, + EndLaborContract: req.TransferRecord.EndLaborContract, + ContractTypeId: req.TransferRecord.ContractTypeId, + ContractAnnex: req.TransferRecord.ContractAnnex, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + } + // 存在岗位和部门变动,进行新建电子名片操作 + if req.TransferRecord.TransactionItem == 1 || req.TransferRecord.TransactionItem == 2 { + // 新增员工电子名片 + addChainRequest, err := account1.GetECardInfo(infoRes.List[0].UserId, "员工档案-异动") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + _, err = service.ECardProvider.AddChain(c, addChainRequest) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + } + + service.Success(c, res) + return +} + +// TheAttendanceGroupIsSet 设置考勤组 +func TheAttendanceGroupIsSet(c *gin.Context) { + req := &employee.AttendanceGroupRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcEmployeeProvider.TheAttendanceGroupIsSet(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func FindEmployeeFileList(c *gin.Context) { + req := &employee.FindEmployeeFileListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.Ids = employeeIds + } + + res, err := service.GrpcEmployeeProvider.FindEmployeeFileList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(res.EmployeeFileList) == 0 { + service.Success(c, res) + return + } + departmentIDs := logic.GetUniqueDepartmentIDs(res.EmployeeFileList) + depRes, err := service.DepartmentProvider.Details(c, &department.DetailsRequest{ + IDs: departmentIDs, + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + departmentMap := make(map[uint64]string) + positionMap := make(map[uint64]string) + for _, detail := range depRes.Data { + departmentMap[detail.ID] = detail.Name + for _, i := range detail.AllPositions { + positionMap[uint64(i.ID)] = i.Name + } + } + logic.FillDepartmentAndPositionNames(res.EmployeeFileList, departmentMap, positionMap) + service.Success(c, res) + return +} +func CreateDisplayColumns(c *gin.Context) { + req := &employee.CreateDisplayColumnsRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID + res, err := service.GrpcEmployeeProvider.CreateDisplayColumns(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +func DetailsDisplayColumns(c *gin.Context) { + req := &employee.FindDisplayColumnsRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID + allRes, err := service.GrpcEmployeeProvider.DisplayColumnAll(c, &employee.FindDisplayColumnsRequest{ + Type: req.Type, + }) + + res, err := service.GrpcEmployeeProvider.DetailsDisplayColumns(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + detailsColumnMap := make(map[string]struct{}) + for _, col := range res.DisplayColumns { + detailsColumnMap[col.FieldName] = struct{}{} + } + // 遍历 DisplayColumnAll,检查是否有不在 DetailsDisplayColumns 中的 fieldName + for _, col := range allRes.DisplayColumns { + if _, exists := detailsColumnMap[col.FieldName]; !exists { + // 如果 DetailsDisplayColumns 中没有此 fieldName,将该列添加到 res 的 DisplayColumns 末尾 + res.DisplayColumns = append(res.DisplayColumns, col) + } + } + service.Success(c, res) + return +} + +func DisplayColumnAll(c *gin.Context) { + req := &employee.FindDisplayColumnsRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcEmployeeProvider.DisplayColumnAll(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func DownloadExcel(c *gin.Context) { + req := &employee.FindEmployeeFileListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //默认不导出未报到的人员 + if req.WorkingConditionId == 0 && len(req.Ids) == 0 { + dictionary, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{ + Name: "未报到", + Tag: "workingCondition", + }) + if err != nil || len(dictionary.WorkingCondition) == 0 { + service.Error(c, e.InvalidParams, err) + return + } + req.NotWorkingConditionId = dictionary.WorkingCondition[0].Id + } + if len(req.Ids) == 0 { + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.Ids = employeeIds + } + } + + res, err := service.GrpcEmployeeProvider.FindEmployeeFileList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + dictionaryRes, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{}) + + departmentIDs := logic.GetUniqueDepartmentIDs(res.EmployeeFileList) + depRes, err := service.DepartmentProvider.Details(c, &department.DetailsRequest{ + IDs: departmentIDs, + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + departmentMap := make(map[uint64]string) + positionMap := make(map[uint64]string) + for _, detail := range depRes.Data { + departmentMap[detail.ID] = detail.Name + for _, i := range detail.AllPositions { + positionMap[uint64(i.ID)] = i.Name + } + } + userInfo := login.GetUserInfoFromC(c) + displayRes, err := service.GrpcEmployeeProvider.DetailsDisplayColumns(c, &employee.FindDisplayColumnsRequest{UserId: userInfo.ID, Type: 1}) + logic.FillDepartmentAndPositionNames(res.EmployeeFileList, departmentMap, positionMap) + err = logic.ExportEmployeeFiles(c, departmentMap, positionMap, res, dictionaryRes, displayRes) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + return +} +func UpdateUserWorkingCondition(c *gin.Context, userInfo *account.InfoResponse, req *employee.CreateTurnoverRecordRequest) error { + dictionary, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{Tag: "workingCondition"}) + m := make(map[string]uint64) + for _, i := range dictionary.WorkingCondition { + m[i.Name] = i.Id + } + // 比较离职日期和当前日期 + now := time.Now() + resignationDate, err := time.Parse("2006-01-02", req.ResignationDate) + if err != nil { + fmt.Println("日期解析错误:", err) + } + nowDate := now.Truncate(24 * time.Hour) + resignationDate = resignationDate.Truncate(24 * time.Hour) + // 函数:从映射中获取值,如果键不存在则返回默认值 + getIDOrDefault := func(key string, defaultID uint64) uint64 { + if id, ok := m[key]; ok { + return id + } + return defaultID + } + status := "notactive" + // 将离职日期字符串解析为时间对象 + if req.ResignationDate != "" && (resignationDate.Before(nowDate) || (resignationDate.Equal(nowDate) && now.Hour() >= 23)) { + req.WorkingConditionId = getIDOrDefault("离职", 100) + status = "left" + } else { + req.WorkingConditionId = getIDOrDefault("在职", 0) + } + //检查是否需要更新用户信息 + if userInfo.Info.Status != status { + nowOperatorInfo := &account.Operator{Name: "人员档案"} + + operator, err1 := login.GetUserInfoFromCV2(c) + if err1 == nil && operator != nil { + nowOperatorInfo.ID = uint32(operator.ID) + + nowOperatorInfo.Name = "人员档案" + operator.NickName + if strings.Contains(operator.NickName, "审批") { + nowOperatorInfo.Name = operator.NickName + } + } + + // 创建更新请求 + updateUserReq := &account.UpdateRequest{ + Status: status, + ID: userInfo.Info.ID, + Operator: nowOperatorInfo, + } + + // 发送更新请求 + _, err = service.AccountProvider.Update(c, updateUserReq) + if err != nil { + return err + } + return nil + } + return nil +} +func updateUserIfNeeded(c *gin.Context, userInfo *account.InfoResponse, req *employee.SaveEmployeeFileRequest, userId uint64) error { + dictionary, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{Tag: "workingCondition"}) + if err != nil { + return err + } + m := make(map[string]uint64) + for _, i := range dictionary.WorkingCondition { + m[i.Name] = i.Id + } + getIDOrDefault := func(key string, defaultID uint64) uint64 { + if id, ok := m[key]; ok { + return id + } + return defaultID + } + status := "left" + if req.WorkingConditionId == getIDOrDefault("在职", 9999) { + status = "notactive" + } + if len(req.DepartmentPostList) != 0 { + var PositionUsers []*position.PositionUser + for _, i := range req.DepartmentPostList { + PositionUsers = append(PositionUsers, &position.PositionUser{ + PositionID: i.PostId, + DepartmentID: i.DepartmentId, + UserId: userId, + UserName: userInfo.Info.NickName, + DepartmentName: i.DepartmentName, + PositionName: i.PostName, + }) + } + // 创建绑定请求 + positionReq := &position.BindUserRequest{ + Domain: "fontree", + UserID: userId, + UserName: userInfo.Info.NickName, + PositionUsers: PositionUsers, + } + // 绑定用户和岗位 + _, err := service.PositionProvider.BindUser(c, positionReq) + if err != nil { + return errors.New("岗位绑定失败") + } + } + // 检查是否需要更新用户信息 + if userInfo.Info.TelNum != req.InPersonTel || + userInfo.Info.EnterDate != req.DateOfEntry || + userInfo.Info.Status != status || + userInfo.Info.RecentImg != req.RecentImg || + userInfo.Info.JobNum != req.JobNumber || + userInfo.Info.NickName != req.Name || + userInfo.Info.ICNum != req.CardNumber { + // 创建更新请求 + updateUserReq := &account.UpdateRequest{ + ID: userId, + TelNum: req.InPersonTel, + EnterDate: req.DateOfEntry, + Status: status, + RecentImg: req.RecentImg, + ICNum: req.CardNumber, + NickName: req.Name, + JobNum: req.JobNumber, + } + + nowOperatorInfo := &account.Operator{Name: "人员档案"} + + operator, err1 := login.GetUserInfoFromCV2(c) + if err1 == nil && operator != nil { + nowOperatorInfo.ID = uint32(operator.ID) + nowOperatorInfo.Name = "人员档案:" + operator.NickName + } + + updateUserReq.Operator = nowOperatorInfo + + // 发送更新请求 + _, err = service.AccountProvider.Update(c, updateUserReq) + if err != nil { + return err + } + + if req.RecentImg != "" && (userInfo.Info.RecentImg != req.RecentImg || userInfo.Info.ICNum != req.CardNumber) { + list, err := service.AccountProvider.ClockDeviceBatchList(c, &account.ClockBatchBindRequest{ + UserId: []uint64{userId}, + }) + if err != nil { + fmt.Println("查询打卡机用户失败") + return err + } + var dataSet []turnstile.DeviceUserData + if len(list.Data) == 0 { + return nil + } + for _, i := range list.Data { + dataSet = append(dataSet, turnstile.DeviceUserData{ + JobNum: i.UserId, + RecentImg: req.RecentImg, + DeviceNum: i.DeviceNum, + NickName: userInfo.Info.NickName, + Phone: userInfo.Info.TelNum, + DeviceName: i.DeviceName, + IcNum: req.CardNumber, + }) + } + err = account1.ConcurrentUpdateDeviceUser(c, dataSet, 10) + return nil + } + + } + return nil +} +func updatePosition(c *gin.Context, currentPositions []*rule.PositionUser, req *employee.MoreNewChangesRequest, userId uint64, userName string) error { + if req.TransferRecord.TransactionItem != 1 && req.TransferRecord.TransactionItem != 2 { + return nil + } + currentPositionMap := make(map[uint64]uint64) + for _, pos := range currentPositions { + currentPositionMap[pos.PositionID] = pos.DepartmentId + } + if req.TransferRecord.TransactionItem == 1 { + switch req.TransferRecord.TransferType { + case 1: // 调岗 + delete(currentPositionMap, req.TransferRecord.BeforePostId) + currentPositionMap[req.TransferRecord.LaterPostId] = req.TransferRecord.LaterDepartmentId + case 2: // 新增岗位 + currentPositionMap[req.TransferRecord.LaterPostId] = req.TransferRecord.LaterDepartmentId + case 3: // 删除 + delete(currentPositionMap, req.TransferRecord.LaterPostId) + } + } else if req.TransferRecord.TransactionItem == 2 { + switch req.TransferRecord.TransferType { + case 1: // 调部门 + removeKeysWithValue(currentPositionMap, req.TransferRecord.BeforeDepartmentId) // 删除部门 + //delete(currentPositionMap, req.TransferRecord.BeforePostId) + currentPositionMap[req.TransferRecord.LaterPostId] = req.TransferRecord.LaterDepartmentId + case 2: // 新增部门 + currentPositionMap[req.TransferRecord.LaterPostId] = req.TransferRecord.LaterDepartmentId + case 3: // 删除部门 + removeKeysWithValue(currentPositionMap, req.TransferRecord.LaterDepartmentId) // 删除部门 + } + } + // 构建新的 PositionUsers 列表 + var PositionUsers []*position.PositionUser + for postId, depId := range currentPositionMap { + PositionUsers = append(PositionUsers, &position.PositionUser{ + PositionID: postId, + DepartmentID: depId, + UserId: userId, + UserName: userName, + }) + } + // 创建绑定请求 + positionReq := &position.BindUserRequest{ + Domain: "fontree", + UserID: userId, + UserName: userName, + PositionUsers: PositionUsers, + } + // 绑定用户和岗位 + _, err := service.PositionProvider.BindUser(c, positionReq) + if err != nil { + return err + } + return nil +} +func removeKeysWithValue(m map[uint64]uint64, valueToRemove uint64) { + for key, value := range m { + if value == valueToRemove { + delete(m, key) + } + } +} +func determineStatus(c *gin.Context, workingConditionId uint64) (string, error) { + status := "left" + dictionary, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{Id: workingConditionId}) + if err != nil { + return "", err + } + if dictionary.WorkingCondition == nil { + return "", errors.New("无效的工作状态") + } else if dictionary.WorkingCondition[0].Name == "在职" { + status = "notactive" + } + return status, nil +} +func DownloadDocx(c *gin.Context) { + now := time.Now() + currentYear, currentMonth, _ := now.Date() + thisMonth25 := time.Date(currentYear, currentMonth, 25, 0, 0, 0, 0, now.Location()) + // 计算上个月的26日 + lastMonth := now.AddDate(0, -1, 0) + lastMonth26 := time.Date(lastMonth.Year(), lastMonth.Month(), 26, 0, 0, 0, 0, now.Location()) + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + ApplyType := []string{ + oa_model.TypeOverTime, + oa_model.TypeDayOff, + } + ApplyRecordReq := &oaApi.ApplyRecordReq{ + StaffUID: userInfo.ID, + BeginTime: lastMonth26.Format("2006-01-02"), + EndTime: thisMonth25.Format("2006-01-02"), + ApplyType: ApplyType, + ApplyStatus: []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, + Page: 1, + PageSize: 100, + } + applyRes, _ := service.GrpcOAImpl.QueryOaApply(c, ApplyRecordReq) + // 遍历并筛选申请记录 + if applyRes.Data == nil { + service.Error(c, e.InvalidParams, errors.New("无申请记录")) + return + } + filteredApplyData := make([]*oaApi.OAApply, 0) + for _, record := range applyRes.Data { + if len(record.ApplyTimes) > 0 { + validRecord := false // 标志位,初始化为 false + for _, applyTime := range record.ApplyTimes { + applyDate, err := time.Parse("2006-01-02", applyTime.Date) + if err != nil { + continue + } + location, err := time.LoadLocation("Asia/Shanghai") + if err != nil { + continue + } + // 检查是否是26号凌晨4点之前的记录 + if applyDate.Format("2006-01-02") <= lastMonth26.Format("2006-01-02") { + applyTimeOfDay, err := time.ParseInLocation("2006-01-02 15:04", applyTime.Date+" "+applyTime.Hour, location) + if err != nil { + continue + } + if applyTimeOfDay.Before(lastMonth26.Add(4 * time.Hour)) { + fmt.Println("跳过26号凌晨4点之前的加班记录", applyTimeOfDay, lastMonth26.Add(4*time.Hour)) + continue // 跳过26号凌晨4点之前的加班记录 + } + } + validRecord = true + } + if validRecord { + filteredApplyData = append(filteredApplyData, record) + } + } + } + // 更新applyRes.Data为筛选后的结果 + applyRes.Data = filteredApplyData + if applyRes.Data == nil { + service.Error(c, e.InvalidParams, errors.New("无申请记录")) + return + } + // Sorting applyRes.Data based on ApplyTimes.Date + sort.Slice(applyRes.Data, func(i, j int) bool { + if len(applyRes.Data[i].ApplyTimes) == 0 { + return true + } + if len(applyRes.Data[j].ApplyTimes) == 0 { + return false + } + timeI, errI := time.Parse("2006-01-02", applyRes.Data[i].ApplyTimes[0].Date) + timeJ, errJ := time.Parse("2006-01-02", applyRes.Data[j].ApplyTimes[0].Date) + if errI != nil { + return true + } + if errJ != nil { + return false + } + return timeI.Before(timeJ) + }) + normalDuration, weekendLength, holidayDuration, totalDuration, compensatoryHours := logic.CalculateDurations(applyRes.Data, ApplyRecordReq.BeginTime, ApplyRecordReq.EndTime) + var argument strings.Builder + weekdays := []string{"日", "一", "二", "三", "四", "五", "六"} + for _, apply := range applyRes.Data { + if len(apply.ApplyTimes) >= 2 && apply.ApplyType == oa_model.TypeOverTime { + date, err := time.Parse("2006-01-02", apply.ApplyTimes[0].Date) // 根据你的日期格式调整 + if err != nil { + fmt.Println("日期解析错误:", err) + continue + } + weekday := date.Weekday() + argument.WriteString(fmt.Sprintf( + "%s (周%s) %s-%s(时长:%.1f小时) %s\n", + apply.ApplyTimes[0].Date, + weekdays[weekday], // 添加星期几 + apply.ApplyTimes[0].Hour, + apply.ApplyTimes[1].Hour, + apply.Hours, + apply.Reason, + )) + fmt.Println(argument) + } else { + fmt.Println("ApplyTimes 不足以构建 Argument 字符串") + } + } + // 格式化年份、月份和日期 + repl := map[string]string{ + "Name": userInfo.NickName, + "Year": fmt.Sprintf("%d", now.Year()), + "Month": fmt.Sprintf("%02d", now.Month()), + "Day": fmt.Sprintf("%02d", now.Day()), + "Argument": argument.String(), //理由 + "NormalDuration": normalDuration, //工作日时长 + "WeekendLength": weekendLength, //周末时长 + "HolidayDuration": holidayDuration, //节假日时长 + "TotalDuration": totalDuration, //总时长 + "CompensatoryHours": compensatoryHours, //总调休时长 + } + mapImage := make(map[string][]string, 0) + outputFilePath := "./data/1.docx" + excel.JinJa2("./data/加班单申请表.docx", outputFilePath, repl, mapImage, map[string][]map[string]string{}) + defer func() { + err := os.Remove(outputFilePath) + if err != nil { + fmt.Println("删除文件失败:", err) + } + }() + // 返回文件给前端 + // 设置正确的 MIME 类型并返回文件 + c.Header("Content-Description", "File Transfer") + c.Header("Content-Disposition", "attachment; filename=加班单申请表.docx") + c.Header("Content-Type", "application/vnd.openxmlformats-officedocument.wordprocessingml.document") + c.File(outputFilePath) + return +} + +// CreateRewardsAndPunishments 创建奖惩记录 +func CreateRewardsAndPunishments(c *gin.Context) { + req := &employee.CreateRewardsAndPunishmentsRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + basicInfo, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{req.EmployeeFileId}, + }) + if err != nil && len(basicInfo.List) == 0 { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcEmployeeProvider.CreateRewardsAndPunishments(c, &employee.CreateRewardsAndPunishmentsRequest{ + EmployeeFileId: req.EmployeeFileId, + Type: req.Type, + Amount: req.Amount, + Month: req.Month, + Date: req.Date, + Reason: req.Reason, + Department: basicInfo.List[0].DepartmentNames, + Post: basicInfo.List[0].PositionNames, + Company: basicInfo.List[0].CompanyName, + CostCenter: basicInfo.List[0].CostCenterName, + UserName: basicInfo.List[0].Name, + JobNum: basicInfo.List[0].JobNumber, + Tel: basicInfo.List[0].InPersonTel, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func FindRewardsAndPunishments(c *gin.Context) { + req := &employee.FindRewardsAndPunishmentsListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + res, err := service.GrpcEmployeeProvider.FindRewardsAndPunishmentsList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func DownloadRewardsAndPunishments(c *gin.Context) { + req := &employee.FindRewardsAndPunishmentsListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(req.Ids) == 0 { + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + } + res, err := service.GrpcEmployeeProvider.FindRewardsAndPunishmentsList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + ty := "奖励" + if req.Type == 2 { + ty = "扣款" + } + titleList := []string{ + "员工姓名", "工号", "部门", "岗位", "公司别", "成本中心", ty + "金额", ty + "月份", ty + "日期", ty + "原因", + } + var dataList []interface{} + for _, i := range res.List { + data := []any{ + i.UserName, + i.JobNum, + i.Department, + i.Post, + i.Company, + i.CostCenter, + i.Amount, + i.Month, + i.Date, + i.Reason, + } + dataList = append(dataList, &data) + } + content, err := utils.ToExcelByType(titleList, dataList, "slice", "") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + utils.ResponseXls(c, content, "奖惩记录") + return +} +func CreateRewardsAndPunishmentsExcel(c *gin.Context) { + file, err := c.FormFile("file") + types := c.PostForm("type") + if err != nil { + service.Error(c, e.Error, err) + } + safeFilename := fmt.Sprintf("%d", time.Now().Unix()) + "_" + file.Filename + userInfo := login.GetUserInfoFromC(c) + fileDir := fmt.Sprintf("/rewards_punish/excel/%s/%s_%s", time.Now().Format("2006-01-02"), userInfo.NickName, safeFilename) + // 保存上传的文件到本地 + if err = c.SaveUploadedFile(file, safeFilename); err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + if err := os.Remove(safeFilename); err != nil { + // 处理删除文件失败的情况 + fmt.Println("Failed to delete file:", err) + } + }() + inputUrl, err := service.PutBosWithName(safeFilename, false, fileDir) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeList, err := logic.ImportEmployee(c, safeFilename) + jobNumList := []string{} + for _, i := range employeeList { + jobNumList = append(jobNumList, i.JobNumber) + } + employeeIdList, err := service.GrpcEmployeeProvider.FindEmployeeFileIDForJobNum(c, &employee.FindEmployeeFileIDForJobNumRequest{JobNumber: jobNumList}) + if err != nil || len(employeeIdList.List) == 0 { + service.Error(c, e.Error, errors.New("员工档案信息不存在")) + return + } + dictionaryList, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{}) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeCreate, employeeNotin := logic.CombineByJobNumber(employeeList, employeeIdList, dictionaryList) + employeeFileIds := "" + CreateRewardsAndPunish := logic.BuildRewardsAndPunishToExcel(employeeCreate, types) + if CreateRewardsAndPunish == nil { + service.Error(c, e.Error, errors.New("导入失败,请检查导入文件格式是否正确")) + return + } + for _, i := range CreateRewardsAndPunish { + _, err = service.GrpcEmployeeProvider.CreateRewardsAndPunishments(c, i) + if err != nil { + employeeNotin = append(employeeNotin, &employeeMod.ErrChangesRes{ + Name: i.UserName, + JobNumber: i.JobNum, + Remark: err.Error(), + }) + } else { + employeeFileIds += strconv.FormatUint(i.EmployeeFileId, 10) + ";" + } + } + outUrl := "" + Status := uint64(0) + // 生成错误信息 + if len(employeeNotin) > 0 { + Status = 1 + var sheet1Columns = []string{"姓名", "工号", "备注"} + var sheet1 = excel.NewSheet("Sheet1", employeeNotin, sheet1Columns) + ex, err := excel.NewExcelCreatorFromTemplate("demo.xlsx", "./", "", sheet1) + ex.UseOption(excel.OptionFileNameSuffixWithUnixTime) + path, _, err := ex.WriteToFile() + outUrl, err = service.PutBos(path, "", false) + if err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + os.Remove(path) + }() + } + //创建导入记录 + _, err = service.GrpcEmployeeProvider.CreateImportRecord(c, &employee.CreateImportRecordRequest{ + EmployeeFiles: employeeFileIds, + Status: Status, + UserId: userInfo.ID, + ToLeadUrl: inputUrl, + DeriveUrl: outUrl, + Type: "rewards_punish", + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, outUrl) + return + //res, err := service.GrpcEmployeeProvider.CreateRewardsAndPunishments(c, req) + //if err != nil { + // service.Error(c, e.InvalidParams, err) + // return + //} + //service.Success(c, res) +} + +// CreateTurnoverRecord 创建离职记录 +func CreateTurnoverRecord(c *gin.Context) { + req := &employee.CreateTurnoverRecordRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //查询员工档案 + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{req.EmployeeFileId}, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(infoRes.List) == 0 { + service.Error(c, e.NOTDATA, err) + return + } + userReq := &account.InfoRequest{ + ID: infoRes.List[0].UserId, + } + userInfo, err := service.AccountProvider.Info(c, userReq) + // 更新用户信息(如果需要) + err = UpdateUserWorkingCondition(c, userInfo, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + basicInfo, err := service.GrpcEmployeeProvider.CreateTurnoverRecord(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, basicInfo) + return + +} + +// FindTurnoverRecord 查询离职列表 +func FindTurnoverRecord(c *gin.Context) { + req := &employee.FindTurnoverRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.Ids = employeeIds + } + res, err := service.GrpcEmployeeProvider.FindTurnoverRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(res.List) == 0 { + service.Success(c, res) + return + } + // 提取员工档案ID + employeeIdS := []uint64{} + for _, i := range res.List { + employeeIdS = append(employeeIdS, i.EmployeeFileId) + } + // 查询员工档案信息 + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: employeeIdS, + }) + for _, i := range res.List { + for _, s := range infoRes.List { + if i.EmployeeFileId == s.EmployeeFileId { + i.DepartmentNames = s.DepartmentNames + i.PositionNames = s.PositionNames + } + } + } + service.Success(c, res) + return +} + +// DownloadTurnoverRecord 下载离职记录 +func DownloadTurnoverRecord(c *gin.Context) { + req := &employee.FindTurnoverRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(req.Ids) == 0 { + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.Ids = employeeIds + } + } + // 获取离职记录列表 + res, err := service.GrpcEmployeeProvider.FindTurnoverRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + // 提取员工档案ID + employeeIds := []uint64{} + for _, i := range res.List { + employeeIds = append(employeeIds, i.EmployeeFileId) + } + // 查询员工档案信息 + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: employeeIds, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + // 定义标题列表 + titleList := []string{ + "员工姓名", "工号", "部门", "岗位", "公司别", "成本中心", "入职日期", "离职日期", "离职原因", "备注", + } + // 定义数据结构 + type DataInfo struct { + UserName string + JobNum string + Department string + Post string + Company string + CostCenter string + DateOfEntry string + LeaveDate string + Reason string + Remark string + } + // 创建员工ID到DataInfo的映射 + dataMap := make(map[uint64]*DataInfo) + for _, info := range infoRes.List { + dataMap[info.EmployeeFileId] = &DataInfo{ + UserName: info.Name, + JobNum: info.JobNumber, + Department: info.DepartmentNames, + Post: info.PositionNames, + Company: info.CompanyName, + CostCenter: info.CostCenterName, + DateOfEntry: info.DateOfEntry, + } + } + // 填充离职记录的相关信息 + for _, record := range res.List { + if data, exists := dataMap[record.EmployeeFileId]; exists { + data.LeaveDate = record.ResignationDate + data.Reason = record.ReasonForResignation + data.Remark = record.Remark + } + } + // 生成最终数据列表 + var dataList []interface{} + for _, data := range dataMap { + dataList = append(dataList, &[]any{ + data.UserName, + data.JobNum, + data.Department, + data.Post, + data.Company, + data.CostCenter, + data.DateOfEntry, + data.LeaveDate, + data.Reason, + data.Remark, + }) + } + + // 生成Excel文件 + content, err := utils.ToExcelByType(titleList, dataList, "slice", "") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + // 返回Excel文件 + utils.ResponseXls(c, content, "离职记录") + return +} + +// DownloadPayrollRecordList 下载薪资记录 +func DownloadPayrollRecordList(c *gin.Context) { + req := &employee.FindPayrollRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(req.Ids) == 0 { + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.Ids = employeeIds + } + } + res, err := service.GrpcEmployeeProvider.FindPayrollRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + // 提取员工档案ID + employeeIds := []uint64{} + for _, i := range res.PayrollRecordList { + employeeIds = append(employeeIds, i.Id) + } + // 查询员工档案信息 + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: employeeIds, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + // 定义标题列表 + titleList := []string{ + "员工姓名", "工号", "部门", "岗位", "公司别", "成本中心", "工作状态", "基本工资(元)", "主管加给(元)", + "岗位工资(元)", "绩效工资(元)", "其他津贴(元)", "职称补助(元)", "技能补助(元)", "税前总薪(元)", + } + // 定义数据结构 + type DataInfo struct { + UserName string + JobNum string + Department string + Post string + Company string + CostCenter string + WorkStatus string + BasicPay string + ChiefAddition string + PostWage string + MeritPay string + OtherAllowances string + ProfessionalTitleSubsidy string + SkillGrant string + PreTaxSalary string + } + // 创建员工ID到DataInfo的映射 + dataMap := make(map[uint64]*DataInfo) + for _, info := range infoRes.List { + dataMap[info.EmployeeFileId] = &DataInfo{ + UserName: info.Name, + JobNum: info.JobNumber, + Department: info.DepartmentNames, + Post: info.PositionNames, + Company: info.CompanyName, + CostCenter: info.CostCenterName, + WorkStatus: info.WorkingCondition, + } + } + // 填充离职记录的相关信息 + for _, record := range res.PayrollRecordList { + if data, exists := dataMap[record.Id]; exists { + data.BasicPay = logic.Float64ToString(float64(record.BasicPay)) + data.ChiefAddition = logic.Float64ToString(float64(record.ChiefAddition)) + data.PostWage = logic.Float64ToString(float64(record.PostWage)) + data.MeritPay = logic.Float64ToString(float64(record.MeritPay)) + data.OtherAllowances = logic.Float64ToString(float64(record.OtherAllowances)) + data.ProfessionalTitleSubsidy = logic.Float64ToString(float64(record.ProfessionalTitleSubsidy)) + data.SkillGrant = logic.Float64ToString(float64(record.SkillGrant)) + data.PreTaxSalary = logic.Float64ToString(float64(record.PreTaxSalary)) + } + } + // 生成最终数据列表 + var dataList []interface{} + for _, i := range dataMap { + data := []any{ + i.UserName, + i.JobNum, + i.Department, + i.Post, + i.Company, + i.CostCenter, + i.WorkStatus, + i.BasicPay, + i.ChiefAddition, + i.PostWage, + i.MeritPay, + i.OtherAllowances, + i.ProfessionalTitleSubsidy, + i.SkillGrant, + i.PreTaxSalary, + } + dataList = append(dataList, &data) + } + + // 生成Excel文件 + content, err := utils.ToExcelByType(titleList, dataList, "slice", "") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + // 返回Excel文件 + utils.ResponseXls(c, content, "薪资记录") + return +} + +// FindPayrollRecordList 查询薪资记录 +func FindPayrollRecordList(c *gin.Context) { + req := &employee.FindPayrollRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.Ids = employeeIds + } + res, err := service.GrpcEmployeeProvider.FindPayrollRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(res.PayrollRecordList) == 0 { + service.Success(c, res) + return + } + // 提取员工档案ID + employeeIdS := []uint64{} + for _, i := range res.PayrollRecordList { + employeeIdS = append(employeeIdS, i.Id) + } + // 查询员工档案信息 + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: employeeIdS, + }) + for _, i := range res.PayrollRecordList { + for _, s := range infoRes.List { + if i.Id == s.EmployeeFileId { + i.DepartmentNames = s.DepartmentNames + i.PositionNames = s.PositionNames + } + } + } + service.Success(c, res) + return +} + +// CreateContractRecord 创建合同记录 +func CreateContractRecord(c *gin.Context) { + req := &employee.CreateContractRecordRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + basicInfo, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{req.EmployeeFileId}, + }) + if err != nil && len(basicInfo.List) == 0 { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcEmployeeProvider.CreateContractRecord(c, &employee.CreateContractRecordRequest{ + EmployeeFileId: req.EmployeeFileId, + UserName: basicInfo.List[0].Name, + JobNum: basicInfo.List[0].JobNumber, + Department: basicInfo.List[0].DepartmentNames, + Post: basicInfo.List[0].PositionNames, + Company: basicInfo.List[0].CompanyName, + CostCenter: basicInfo.List[0].CostCenterName, + IdNumber: basicInfo.List[0].IdNumber, + DateOfEntry: basicInfo.List[0].DateOfEntry, + StartLaborContract: req.StartLaborContract, + EndLaborContract: req.EndLaborContract, + ContractTypeId: req.ContractTypeId, + ContractAnnex: req.ContractAnnex, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +// FindContractRecord 查询合同记录 +func FindContractRecord(c *gin.Context) { + req := &employee.FindContractRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + res, err := service.GrpcEmployeeProvider.FindContractRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func CreateContractExcel(c *gin.Context) { + file, err := c.FormFile("file") + if err != nil { + service.Error(c, e.Error, err) + } + safeFilename := fmt.Sprintf("%d", time.Now().Unix()) + "_" + file.Filename + userInfo := login.GetUserInfoFromC(c) + fileDir := fmt.Sprintf("/contract/excel/%s/%s_%s", time.Now().Format("2006-01-02"), userInfo.NickName, safeFilename) + // 保存上传的文件到本地 + if err = c.SaveUploadedFile(file, safeFilename); err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + if err := os.Remove(safeFilename); err != nil { + // 处理删除文件失败的情况 + fmt.Println("Failed to delete file:", err) + } + }() + inputUrl, err := service.PutBosWithName(safeFilename, false, fileDir) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeList, err := logic.ImportEmployee(c, safeFilename) + jobNumList := []string{} + for _, i := range employeeList { + jobNumList = append(jobNumList, i.JobNumber) + } + employeeIdList, err := service.GrpcEmployeeProvider.FindEmployeeFileIDForJobNum(c, &employee.FindEmployeeFileIDForJobNumRequest{JobNumber: jobNumList}) + if err != nil || len(employeeIdList.List) == 0 { + service.Error(c, e.Error, errors.New("员工档案信息不存在")) + return + } + dictionaryList, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{}) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeCreate, employeeNotin := logic.CombineByJobNumber(employeeList, employeeIdList, dictionaryList) + employeeFileIds := "" + for _, i := range employeeCreate { + _, err = service.GrpcEmployeeProvider.CreateContractForExcel(c, i) + if err != nil { + employeeNotin = append(employeeNotin, &employeeMod.ErrChangesRes{ + Name: i.Name, + JobNumber: i.JobNumber, + Remark: err.Error(), + }) + } else { + employeeFileIds += strconv.FormatUint(i.EmployeeFileId, 10) + ";" + } + } + outUrl := "" + Status := uint64(0) + // 生成错误信息 + if len(employeeNotin) > 0 { + Status = 1 + var sheet1Columns = []string{"姓名", "工号", "备注"} + var sheet1 = excel.NewSheet("Sheet1", employeeNotin, sheet1Columns) + ex, err := excel.NewExcelCreatorFromTemplate("demo.xlsx", "./", "", sheet1) + ex.UseOption(excel.OptionFileNameSuffixWithUnixTime) + path, _, err := ex.WriteToFile() + outUrl, err = service.PutBos(path, "", false) + if err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + os.Remove(path) + }() + } + //创建导入记录 + _, err = service.GrpcEmployeeProvider.CreateImportRecord(c, &employee.CreateImportRecordRequest{ + EmployeeFiles: employeeFileIds, + Status: Status, + UserId: userInfo.ID, + ToLeadUrl: inputUrl, + DeriveUrl: outUrl, + Type: "contract", + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, outUrl) + return +} + +// DownloadContractRecord 下载合同记录 +func DownloadContractRecord(c *gin.Context) { + req := &employee.FindContractRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(req.Ids) == 0 { + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + } + res, err := service.GrpcEmployeeProvider.FindContractRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + dictionaryRes, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{ + Tag: "contractType", + }) + contractTypeMap := logic.CreateDictionaryMap(dictionaryRes.ContractType) + titleList := []string{ + "员工姓名", "工号", "部门", "岗位", "公司别", "成本中心", "身份证号", "入职日期", "劳动合同(起时间)", "劳动合同(止时间)", "合同类型", "合同附件", + } + var dataList []interface{} + + for _, i := range res.ContractRecordInfo { + ContractAnnexUrl := "" + if i.ContractAnnex != nil { + ContractAnnexUrl = i.ContractAnnex.Url + } + data := []any{ + i.UserName, + i.JobNum, + i.Department, + i.Post, + i.Company, + i.CostCenter, + i.IdNumber, + i.DateOfEntry, + i.StartLaborContract, + i.EndLaborContract, + contractTypeMap[i.ContractTypeId], + ContractAnnexUrl, + } + dataList = append(dataList, &data) + } + content, err := utils.ToExcelByType(titleList, dataList, "slice", "") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + utils.ResponseXls(c, content, "奖惩记录") + return +} +func UpdateContractAttachment(c *gin.Context) { + req := &employee.UpdateContractAttachmentRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + } + res, err := service.GrpcEmployeeProvider.UpdateContractAttachment(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} +func UpdateChangesAttachment(c *gin.Context) { + req := &employee.UpdateContractAttachmentRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + transferRes, err := service.GrpcEmployeeProvider.FindTransferRecordList(c, &employee.FindTransferRecordListRequest{ + Ids: []uint64{req.Id}, + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + if len(transferRes.List) == 0 { + service.Error(c, e.Error, errors.New("未找到变更记录")) + return + } + res, err := service.GrpcEmployeeProvider.UpdateChangesAttachment(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if req.ContractTypeId != 0 { + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{transferRes.List[0].EmployeeFileId}, + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + _, err = service.GrpcEmployeeProvider.CreateContractRecord(c, &employee.CreateContractRecordRequest{ + EmployeeFileId: infoRes.List[0].EmployeeFileId, + UserName: infoRes.List[0].Name, + JobNum: infoRes.List[0].JobNumber, + Department: infoRes.List[0].DepartmentNames, + Post: infoRes.List[0].PositionNames, + Company: infoRes.List[0].CompanyName, + CostCenter: infoRes.List[0].CostCenterName, + IdNumber: infoRes.List[0].IdNumber, + DateOfEntry: infoRes.List[0].DateOfEntry, + StartLaborContract: req.StartLaborContract, + EndLaborContract: req.EndLaborContract, + ContractTypeId: req.ContractTypeId, + ContractAnnex: req.Attachment, + }) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + } + service.Success(c, res) + return +} +func FindChangesRecord(c *gin.Context) { + req := &employee.FindTransferRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + res, err := service.GrpcEmployeeProvider.FindTransferRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +// DownloadChangesRecord 下载异动记录 +func DownloadChangesRecord(c *gin.Context) { + req := &employee.FindTransferRecordListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(req.Ids) == 0 { + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + } + res, err := service.GrpcEmployeeProvider.FindTransferRecordList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + dictionaryRes, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{}) + + userInfo := login.GetUserInfoFromC(c) + displayRes, err := service.GrpcEmployeeProvider.DetailsDisplayColumns(c, &employee.FindDisplayColumnsRequest{UserId: userInfo.ID, Type: 2}) + err = logic.ExportTransferRecord(c, res, dictionaryRes, displayRes) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + return +} +func CreateChangesExcel(c *gin.Context) { + file, err := c.FormFile("file") + if err != nil { + service.Error(c, e.Error, err) + } + safeFilename := fmt.Sprintf("%d", time.Now().Unix()) + "_" + file.Filename + userInfo := login.GetUserInfoFromC(c) + fileDir := fmt.Sprintf("/changes/excel/%s/%s_%s", time.Now().Format("2006-01-02"), userInfo.NickName, safeFilename) + // 保存上传的文件到本地 + if err = c.SaveUploadedFile(file, safeFilename); err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + if err := os.Remove(safeFilename); err != nil { + // 处理删除文件失败的情况 + fmt.Println("Failed to delete file:", err) + } + }() + inputUrl, err := service.PutBosWithName(safeFilename, false, fileDir) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeList, err := logic.ImportEmployee(c, safeFilename) + jobNumList := []string{} + for _, i := range employeeList { + jobNumList = append(jobNumList, i.JobNumber) + } + employeeIdList, err := service.GrpcEmployeeProvider.FindEmployeeFileIDForJobNum(c, &employee.FindEmployeeFileIDForJobNumRequest{JobNumber: jobNumList}) + if err != nil || len(employeeIdList.List) == 0 { + service.Error(c, e.Error, errors.New("员工档案信息不存在")) + return + } + dictionaryList, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{}) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeCreate, employeeNotin := logic.CombineByJobNumber(employeeList, employeeIdList, dictionaryList) + employeeFileIds := "" + for _, i := range employeeCreate { + _, err = service.GrpcEmployeeProvider.CreateChangesForExcel(c, i) + if err != nil { + employeeNotin = append(employeeNotin, &employeeMod.ErrChangesRes{ + Name: i.Name, + JobNumber: i.JobNumber, + Remark: err.Error(), + }) + } else { + employeeFileIds += strconv.FormatUint(i.EmployeeFileId, 10) + ";" + } + } + outUrl := "" + Status := uint64(0) + // 生成错误信息 + if len(employeeNotin) > 0 { + Status = 1 + var sheet1Columns = []string{"姓名", "工号", "备注"} + var sheet1 = excel.NewSheet("Sheet1", employeeNotin, sheet1Columns) + ex, err := excel.NewExcelCreatorFromTemplate("demo.xlsx", "./", "", sheet1) + ex.UseOption(excel.OptionFileNameSuffixWithUnixTime) + path, _, err := ex.WriteToFile() + outUrl, err = service.PutBos(path, "", false) + if err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + os.Remove(path) + }() + } + //创建导入记录 + _, err = service.GrpcEmployeeProvider.CreateImportRecord(c, &employee.CreateImportRecordRequest{ + EmployeeFiles: employeeFileIds, + Status: Status, + UserId: userInfo.ID, + ToLeadUrl: inputUrl, + DeriveUrl: outUrl, + Type: "changes", + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, outUrl) + return +} + +// FindReminderList 查询提醒列表 +func FindReminderList(c *gin.Context) { + req := &employee.QueryReminderListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + res, err := service.GrpcEmployeeProvider.QueryReminderList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +// ProcessingReminder 处理提醒 +func ProcessingReminder(c *gin.Context) { + req := &employee.ProcessingReminderRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + } + res, err := service.GrpcEmployeeProvider.ProcessingReminder(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +// QueryOutstanding 处理提醒 +func QueryOutstanding(c *gin.Context) { + req := &employee.QueryOutstandingReq{} + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + res, err := service.GrpcEmployeeProvider.QueryOutstanding(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func CreateExcel(c *gin.Context) { + file, err := c.FormFile("file") + if err != nil { + service.Error(c, e.Error, err) + } + safeFilename := fmt.Sprintf("%d", time.Now().Unix()) + "_" + file.Filename + userInfo := login.GetUserInfoFromC(c) + fileDir := fmt.Sprintf("/employee/excel/%s/%s_%s", time.Now().Format("2006-01-02"), userInfo.NickName, safeFilename) + // 保存上传的文件到本地 + if err = c.SaveUploadedFile(file, safeFilename); err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + if err := os.Remove(safeFilename); err != nil { + // 处理删除文件失败的情况 + fmt.Println("Failed to delete file:", err) + } + }() + inputUrl, err := service.PutBosWithName(safeFilename, false, fileDir) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeList, err := logic.ImportEmployee(c, safeFilename) + jobNumList := []string{} + for _, i := range employeeList { + jobNumList = append(jobNumList, i.JobNumber) + } + //userList, err := service.AccountProvider.UsersByTel(c, &account.UsersByTelRequest{ + // Domain: "fontree", + // Tels: jobNumList, + //}) + userList, err := service.AccountProvider.UsersByJobNum(c, &account.UsersByJobNumRequest{ + Domain: "fontree", + JobNum: jobNumList, + }) + if err != nil || len(userList.Data) == 0 { + service.Error(c, e.Error, errors.New("用户信息不存在")) + return + } + + dictionaryList, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{}) + if err != nil { + service.Error(c, e.Error, err) + return + } + for _, i := range userList.Data { + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: i.ID, + } + qres, err := service.RuleProvider.UserInfo(c, &uReq) + if err != nil || len(qres.PositionUsers) == 0 { + continue + } + for _, s := range qres.PositionUsers { + i.Positions = append(i.Positions, &account.PositionUser{ + PositionID: s.PositionID, + DepartmentId: s.DepartmentId, + UserId: s.UserId, + }) + } + } + employeeCreate, employeeNotin := logic.CombineByPhone(employeeList, userList, dictionaryList) + employeeFileIds := "" + for _, i := range employeeCreate { + if i.DateOfEntry == "" { + employeeNotin = append(employeeNotin, &employeeMod.ErrEmployeeRes{ + Name: i.Name, + TelNumber: i.InPersonTel, + JobNumber: i.JobNumber, + Remark: "入职日期错误", + }) + continue + } + i.Operator = userInfo.ID + i.OperatorName = userInfo.NickName + employeeID, err := service.GrpcEmployeeProvider.CreateEmployeeFile(c, i) + if err != nil && err.Error() != "此用户已创建员工档案" { + employeeNotin = append(employeeNotin, &employeeMod.ErrEmployeeRes{ + Name: i.Name, + TelNumber: i.InPersonTel, + JobNumber: i.JobNumber, + Remark: err.Error(), + }) + } + if err == nil && employeeID.Massage == "此用户已创建员工档案" { + saveEmployee := employee1.BuildSaveEmployeeFile(i, employeeID.Id) + saveEmployee.Operator = userInfo.ID + saveEmployee.OperatorName = userInfo.NickName + _, err = service.GrpcEmployeeProvider.SaveEmployeeFile(c, saveEmployee) + if err != nil { + employeeNotin = append(employeeNotin, &employeeMod.ErrEmployeeRes{ + Name: i.Name, + TelNumber: i.InPersonTel, + JobNumber: i.JobNumber, + Remark: err.Error(), + }) + } + } + if err == nil { + //绑定默认考勤组 + _ = employee1.BindTheDefaultAttendanceGroup(c, employeeID.Id, i.DepartmentPostList) + employeeFileIds += strconv.FormatUint(employeeID.Id, 10) + ";" + //创建假勤余额 + err = employee1.CreateAFalseAttendanceBalance(c, i, employeeID.Id) + if err != nil { + fmt.Printf("创建假勤余额错误%+v --------", err) + } + } + } + outUrl := "" + Status := uint64(0) + // 生成错误信息 + if len(employeeNotin) > 0 { + Status = 1 + var sheet1Columns = []string{"姓名", "手机号", "工号", "备注"} + var sheet1 = excel.NewSheet("Sheet1", employeeNotin, sheet1Columns) + ex, err := excel.NewExcelCreatorFromTemplate("./mistake.xlsx", "./employee/excel/", "", sheet1) + ex.UseOption(excel.OptionFileNameSuffixWithUnixTime) + path, _, err := ex.WriteToFile() + outUrl, err = service.PutBos(path, "", false) + if err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + os.Remove(path) + }() + } + //创建导入记录 + _, err = service.GrpcEmployeeProvider.CreateImportRecord(c, &employee.CreateImportRecordRequest{ + EmployeeFiles: employeeFileIds, + Status: Status, + UserId: userInfo.ID, + ToLeadUrl: inputUrl, + DeriveUrl: outUrl, + Type: "employee", + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, outUrl) + return +} + +// QueryStatistics 查询统计 +func QueryStatistics(c *gin.Context) { + req := &employee.QueryStatisticsRequest{} + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.Ids = employeeIds + } + res, err := service.GrpcEmployeeProvider.QueryStatistics(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +// InitRedisAttendance 初始化考勤组 +func InitRedisAttendance(c *gin.Context) { + req := &employee.InitRedisRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + } + res, err := service.GrpcEmployeeProvider.InitRedisAttendanceSection(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +// InitRedisRecentImg 初始化近照 +func InitRedisRecentImg(c *gin.Context) { + req := &employee.InitRedisRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + } + res, err := service.GrpcEmployeeProvider.InitRedisRecentImg(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} diff --git a/pkg/service/es_service/approval/approval.go b/pkg/service/es_service/approval/approval.go new file mode 100644 index 0000000..47a3978 --- /dev/null +++ b/pkg/service/es_service/approval/approval.go @@ -0,0 +1,119 @@ +package approval + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/model" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/olivere/elastic/v7" +) + +func BulkApproval(c *gin.Context) { + var req approval.ListRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Println("=================================== config.ApprovalIndex ====================================") + fmt.Printf("config.ApprovalIndex is :%+v\n", config.ApprovalIndex) + fmt.Println("=================================== config.ApprovalIndex ====================================") + + if req.Page == 0 { + req.Page = 1 + } + + if req.PageSize == 0 { + req.PageSize = 99999 + } + + logic.BulkIndexApprovalInfo(config.ApprovalIndex, req.Page, req.PageSize) + + service.Success(c, nil) +} + +func SearchApproval(c *gin.Context) { + var req model.SearchApproval + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if req.Page == 0 { + req.Page = 1 + } + + if req.PageSize == 0 { + req.PageSize = 10 + } + + if req.UserID == 0 { + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + } + + fmt.Println("=================================== req ====================================") + fmt.Printf("req is :%+v\n", req) + fmt.Println("=================================== req ====================================") + + var query = elastic.NewBoolQuery() + + if req.MenuType != 0 { + query.Must(logic.MenuTypeQuery(req.MenuType)) + } + + switch req.QueryType { + case 1: + query.Must( + //logic.ExistNowLevelQuery(), + //logic.ExistWorkFlowsQuery(), + logic.BuildSubmitFilterQuery(req.UserID)) + case 2: + query.Must( + //logic.ExistNowLevelQuery(), + //logic.ExistWorkFlowsQuery(), + logic.BuildWorkFunctionScoreQuery(req.UserID, 2)) + case 3: + query.Must( + //logic.ExistNowLevelQuery(), + //logic.ExistWorkFlowsQuery(), + logic.BuildHadWorkFunctionScoreQuery(req.UserID)) + case 4: + query.Must( + //logic.ExistNowLevelQuery(), + //logic.ExistWorkFlowsQuery(), + //logic.ExistCopyUserQuery(), + logic.BuildViewFunctionScoreQuery(req.UserID, 2)) + case 5: + query.Must( + //logic.ExistNowLevelQuery(), + //logic.ExistWorkFlowsQuery(), + logic.BuildAllFunctionScoreQuery(req.UserID, 2)) + default: + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: common.MissParamQueryApproval, + Status: e.Failed, + }) + return + } + + total, approvals, err := logic.Search(config.ApprovalIndex, req.Value, query, req.Page, req.PageSize) + if err != nil { + service.Error(c, e.Error, err) + return + } + + res := &model.SearchApprovalRes{ + Count: total, + Data: approvals, + } + + service.Success(c, res) +} diff --git a/pkg/service/es_service/approval/common/approvalType.go b/pkg/service/es_service/approval/common/approvalType.go new file mode 100644 index 0000000..eb92914 --- /dev/null +++ b/pkg/service/es_service/approval/common/approvalType.go @@ -0,0 +1,51 @@ +package common + +var keyWordMap = map[string]string{ + "普通审批": "content", + "画作申请审批": "work", + "画展包审批": "exhibition", + "画展包数量审批": "bundle", + "画展审批": "show", + "画展包付款单申请": "bundlePayPrice", + "画作润格审批": "artExhibitionReward", + "画展包修改审批": "showUpdate", + "任命审批": "promotion", + "人员增补申请": "staffSupply", + "录用申请": "employ", + "签到申请": "checkIn", + "退回审批": "returnArtwork", + "画展包生成审批": "banShow", + + "事假": "leave", // 事假 + "病假": "sick", // 病假 + "年假": "annualLeave", // 年假 + "调休": "dayOff", // 调休 + "婚假": "maritalLeave", // 婚假 + "孕检假": "matingCheckLeave", // 孕检假 + "产假": "maternityLeave", // 产假 + "陪产假": "paternityLeave", // 陪产假 + "育儿假": "parentalLeave", // 育儿假 + "独生子女护理假": "nursingLeave", // 独生子女护理假 + "丧假": "funeralLeave", // 丧假 + "流产假": "abortLeave", // 流产假 + "哺乳假": "breastFeedingLeave", // 哺乳假 + + "补卡": "makeUp", // 补卡 + "加班": "overTime", // 加班 + "外勤": "outWork", // 外勤 + "离职申请": "turnover", // 离职 + "离职交接": "handover", // 离职交接 + "出差": "businessTrip", // 出差 + "外出": "goOut", // 外出 + + "年假申请": "annualLeaveApply", // 年假申请 + "婚假申请": "maritalLeaveApply", // 婚假申请 + "孕检假申请": "matingCheckLeaveApply", // 孕检假申请 + "产假申请": "maternityLeaveApply", // 产假申请 + "陪产假额度申请": "paternityLeaveApply", // 陪产假申请 + "育儿假额度申请": "parentalLeaveApply", // 育儿假申请 + "独生子女护理假申请": "nursingLeaveApply", // 独生子女护理假申请 + "丧假申请": "funeralLeaveApply", // 丧假申请 + "财务表单审批": "financialFormApply", // 财务表单审批 + "岗位申请": "position", //岗位申请 +} diff --git a/pkg/service/es_service/approval/common/msg.go b/pkg/service/es_service/approval/common/msg.go new file mode 100644 index 0000000..6a5bb98 --- /dev/null +++ b/pkg/service/es_service/approval/common/msg.go @@ -0,0 +1,10 @@ +package common + +const ( + ErrorQueryApproval = "搜索审批失败" + MissParamQueryApproval = "缺少搜索审批参数" + ErrorUpdateApproval = "更新审批失败" + ErrorCopierApproval = "拷贝审批失败" + ErrorDeleteApproval = "删除审批失败" + ErrorCreateApproval = "创建审批失败" +) diff --git a/pkg/service/es_service/approval/html/bundle.go b/pkg/service/es_service/approval/html/bundle.go new file mode 100644 index 0000000..e6da029 --- /dev/null +++ b/pkg/service/es_service/approval/html/bundle.go @@ -0,0 +1,13 @@ +package html + +const Bundle = ` +{{ if eq .Type "bundle" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 申请数量: {{ .Bundle.ApplicationsNum }}; + 具体内容: {{ .Content }}; +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/bundlePayPrice.go b/pkg/service/es_service/approval/html/bundlePayPrice.go new file mode 100644 index 0000000..1e165fb --- /dev/null +++ b/pkg/service/es_service/approval/html/bundlePayPrice.go @@ -0,0 +1,18 @@ +package html + +const BundlePayPrice = ` +{{ if eq .Type "bundlePayPrice" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 画展包名称: {{ .BundlePayPrice.ShowName }}; + 画家名称: {{ if .BundlePayPrice.ArtistShowCount }}{{ .BundlePayPrice.ArtistShowCount }}{{ else }}{{ .BundlePayPrice.ArtistName }}{{ end }}; + 画展包底价: {{ .BundlePayPrice.ShowLowPrice }}; + 画作数量: {{ .BundlePayPrice.ArtworkNum }}; + 画作总平尺数: {{ .BundlePayPrice.ArtworkSize }}; + 画展时间: {{ .BundlePayPrice.ShowDate }}; + 画展地点: {{ .BundlePayPrice.ShowAddress }}; +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/businessTrip.go b/pkg/service/es_service/approval/html/businessTrip.go new file mode 100644 index 0000000..ae70950 --- /dev/null +++ b/pkg/service/es_service/approval/html/businessTrip.go @@ -0,0 +1,51 @@ +package html + +const BusinessTrip = ` +{{ if eq .Type "businessTrip" }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + {{ range $index, $v := .ApprovalOA.BusinessTrip.ItineraryList }} +
+ 交通工具: {{ $v.Vehicle }} + 出发地: {{ $v.StartAddress }} + 目的地: {{ $v.EndAddress }} + 开始时间: +
+ {{ (index $v.ApplyTimes 0).Date }} + {{ if (index $v.ApplyTimes 0).Hour }} + {{ (index $v.ApplyTimes 0).Hour }} + {{ end }} + {{ if (index $v.ApplyTimes 0).M }} + {{ (index $v.ApplyTimes 0).M }} + {{ end }} +
+ 结束时间: +
+ {{ (index $v.ApplyTimes 1).Date }} + {{ if (index $v.ApplyTimes 1).Hour }} + {{ (index $v.ApplyTimes 1).Hour }} + {{ end }} + {{ if (index $v.ApplyTimes 1).M }} + {{ (index $v.ApplyTimes 1).M }} + {{ end }} +
+ 时长: +
+ {{ if $v.Days }} + {{ $v.Days }}天 + {{ end }} +
+
+ {{ end }} +
+ 出差总天数: {{ .ApprovalOA.BusinessTrip.TotalDays }} + 理由: {{ .ApprovalOA.BusinessTrip.Reason }} + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }} + {{ end }} +
+
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/checkIn.go b/pkg/service/es_service/approval/html/checkIn.go new file mode 100644 index 0000000..74d5c70 --- /dev/null +++ b/pkg/service/es_service/approval/html/checkIn.go @@ -0,0 +1,13 @@ +package html + +const CheckIn = ` +{{ if eq .Type "checkIn" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 站点名称: {{ .CheckIn.SaleAddress }}; + 站点地址: {{ .CheckIn.DetailAddress }}; +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/custom.go b/pkg/service/es_service/approval/html/custom.go new file mode 100644 index 0000000..8ea5b64 --- /dev/null +++ b/pkg/service/es_service/approval/html/custom.go @@ -0,0 +1,160 @@ +package html + +const Custom1 = ` +{{ if eq .IsCustom 1 }} +
+ 序号:{{ .ID }}; + 申请人:{{ .SubmitterName }}; + 申请类型:{{ .TypeName }}; + {{ range $index, $cus := .CustomizeInfo }} + + {{ if eq $cus.ApprovalType "upload" }} + {{ $cus.ApprovalName }}:{{ $cus.ApprovalValue }}; + {{ else if eq $cus.ApprovalType "artworkList" }} + 画家画作: + + {{ range $record := $cus.ApprovalValue }} + + + + + + {{ end }} +
+ + + 查看鉴证图 + + {{ if $record.ArtistShowCount }}{{ $record.ArtistShowCount }}{{ else }}{{ $record.ArtistName }}{{ end }} +
+ {{ else if eq $cus.ApprovalType "position" }} + 部门ID:{{ $cus.ApprovalValue.DepartmentID }}; + 部门:{{ $cus.ApprovalValue.DepartmentName }}; + 岗位:{{ $cus.ApprovalValue.PositionName }}; + {{ else }} + {{ $cus.ApprovalName }}: {{ $cus.ApprovalValue }}; + {{ end }} +
+ {{ end }} +
+ {{ end }} +` + +const Custom2 = ` +{{ if eq .IsCustom 1 }} +
+ 序号:{{ .ID }}; + 申请人:{{ .SubmitterName }}; + 申请类型:{{ .TypeName }}; + + {{ range $index, $cus := .CustomizeInfo }} + + {{ if eq $cus.ApprovalType "upload" }} + {{ $cus.ApprovalName }}: {{ $cus.ApprovalValue }}; + + {{ else if eq $cus.ApprovalType "artworkList" }} + 画家画作: + + {{ range $record := $cus.ApprovalValue }} + + + + + + {{ end }} +
+ + + 查看鉴证图 + + {{ if $record.ArtistShowCount }}{{ $record.ArtistShowCount }}{{ else }}{{ $record.ArtistName }}{{ end }} +
+ + {{ else if eq $cus.ApprovalType "position" }} + {{ $value := parseCustomizeInfoPosition $cus.ApprovalValue }} + 部门ID: {{ $value.DepartmentID }}; + 部门: {{ $value.DepartmentName }}; + 岗位: {{ $value.PositionName }}; + + {{ else }} + {{ $cus.ApprovalName }}: {{ $cus.ApprovalValue }}; + {{ end }} +
+ {{ end }} +
+{{ end }} +` + +const Custom = ` +{{ if eq .IsCustom 1 }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + {{ range $index, $cus := .CustomizeInfo }} + + {{ if eq $cus.ApprovalType "upload" }} + {{ $cus.ApprovalName }}: + {{ range $file := parseJSON $cus.ApprovalValue }} +
+ {{ if or (contains $file ".pdf") (contains $file ".doc") (contains $file ".docx") (contains $file ".jpg") (contains $file ".png") (contains $file ".jpeg") }} + + {{ if or (contains $file ".jpg") (contains $file ".png") (contains $file ".jpeg") }} + + {{ else }} + {{ $file }} + 📄 + {{ end }} + + {{ else }} + {{ $file }}; + {{ end }} +
+ {{ end }} + {{ else if eq $cus.ApprovalType "artworkList" }} + 画家画作: + + {{ range $record := $cus.ApprovalValue }} + + + + + {{ end }} +
{{ if $record.ArtistShowCount }}{{ $record.ArtistShowCount }}{{ else }}{{ $record.ArtistName }}{{ end }};
+ {{ else if eq $cus.ApprovalType "position" }} + {{ $value := parseCustomizeInfoPosition $cus.ApprovalValue }} + 部门ID: {{ $value.DepartmentID }}; + 部门: {{ $value.DepartmentName }}; + 岗位: {{ $value.PositionName }}; + {{ else }} + {{ $cus.ApprovalName }}: {{ $cus.ApprovalValue }}; + {{ end }} +
+ {{ end }} +
+{{ end }} + + +` diff --git a/pkg/service/es_service/approval/html/employ.go b/pkg/service/es_service/approval/html/employ.go new file mode 100644 index 0000000..031f72d --- /dev/null +++ b/pkg/service/es_service/approval/html/employ.go @@ -0,0 +1,101 @@ +package html + +const EmployOld = ` +{{ if contains .Type "employ" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 归属部门: {{ .Employ.BelongDepartment }}; + 岗位名称: {{ .Employ.Post }}; + 姓名: {{ .Employ.Name }}; + 手机号: {{ .Employ.Mobile }}; + 员工类型: {{ .Employ.EmployeeType }}; + {{ if .Employ.EntryTime }}预计入职时间: {{ .Employ.EntryTime }};{{ else }}确认入职时间: {{ .Employ.ConfirmDate }};{{ end }} + 工号: {{ .Employ.EmployeeNo }}; + 应聘登记表: + {{ if .Employ.InterviewFile }} + + {{ if (or (contains .Employ.InterviewFile ".jpg") (contains .Employ.InterviewFile ".png") (contains .Employ.InterviewFile ".jpeg")) }} + + {{ else }} + {{ .Employ.InterviewFile }} + {{ end }} + + {{ end }} + + 简历: + {{ if contains .Employ.ResumeFile ".pdf" }} + 查看PDF简历 + {{ else if contains .Employ.ResumeFile ".doc" }} + 查看Word简历 + {{ end }} + + 备注: {{ .Employ.Remark }}; +
+{{ end }} +` + +const Employ = ` +{{ if contains .Type "employ" }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + 归属部门: {{ .Employ.BelongDepartment }} + 岗位名称: {{ .Employ.Post }} + 姓名: {{ .Employ.Name }} + 手机号: {{ .Employ.Mobile }} + 员工类型: {{ .Employ.EmployeeType }} + {{ if .Employ.EntryTime }}预计入职时间: {{ .Employ.EntryTime }}{{ else }}确认入职时间: {{ .Employ.ConfirmDate }}{{ end }} + 工号: {{ .Employ.EmployeeNo }} + 应聘登记表: + {{ if .Employ.InterviewFile }} +
+ {{ if (or (contains .Employ.InterviewFile ".jpg") (contains .Employ.InterviewFile ".png") (contains .Employ.InterviewFile ".jpeg")) }} + + {{ else }} + + {{ .Employ.InterviewFile }} + 📄 + + {{ end }} +
+ {{ end }} + 简历: + {{ if .Employ.ResumeFile }} + + {{ end }} + 备注: {{ .Employ.Remark }} +
+{{ end }} + + +` diff --git a/pkg/service/es_service/approval/html/exhibition.go b/pkg/service/es_service/approval/html/exhibition.go new file mode 100644 index 0000000..876ae0e --- /dev/null +++ b/pkg/service/es_service/approval/html/exhibition.go @@ -0,0 +1,38 @@ +package html + +// 画展包审批 ,画展包润格详情 +const Exhibition = ` +{{ if or (eq .Type "exhibition") (eq .Type "artExhibitionReward") }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 详情: + {{ range .Exhibition.ApprovalExhibitions }} + 画展名称: {{ .PackageName }}; + {{ if eq $.Type "exhibition" }} + 画展时间: {{ .ShowDate }}; + 画展地址: {{ .Address }}; + {{ end }} + 画家名称: {{ if .ArtExhibitionDetail.ArtistShowCount }}{{ .ArtExhibitionDetail.ArtistShowCount }}{{ else }}{{ .ArtExhibitionDetail.ArtistName }}{{ end }}; + 包含画作数量: {{ .ArtExhibitionDetail.ArtworkNum }}; + 包含画作总平尺: {{ .ArtExhibitionDetail.Ruler }}; + 画作总价: {{ .TotalPrice }}; + 推荐人: {{ .ArtExhibitionDetail.Agent }}; + 画作详情: + + {{ range .Artworks }} + + + + + + + {{ end }} +
{{ .Reward }}{{ printf "%.2f" (mul (parseFloat .Reward) (toFloat64 .Ruler)) }}{{ .SaleAddress }}
+
+ {{ end }} + 具体内容: {{ .Content }}; + +{{ end }} +` diff --git a/pkg/service/es_service/approval/html/financialFormApply.go b/pkg/service/es_service/approval/html/financialFormApply.go new file mode 100644 index 0000000..ac0d0da --- /dev/null +++ b/pkg/service/es_service/approval/html/financialFormApply.go @@ -0,0 +1,39 @@ +package html + +const FinancialFormApply = ` +{{ if eq .Type "financialFormApply" }} +
+序号: {{ .ID }}; +申请人: {{ .SubmitterName }}; +申请类型: {{ .TypeName }}; +付款公司别: {{ .FinancialForm.PaymentCompany }}; +经办部门: {{ .FinancialForm.TransactionDepartment }}; +收款人全称: {{ .FinancialForm.Payee }}; +收款人开户行: {{ .FinancialForm.BeneficiaryBank }}; +收款人账号: {{ .FinancialForm.BankNo }}; +费用说明: +{{ range $index, $item := .FinancialForm.CostInfo }} +费用{{ $index }}说明 - 费用单价: {{ $item.UnitPrice }}; +费用{{ $index }}说明 - 费用单位: {{ $item.CostUnit }}; +费用{{ $index }}说明 - 费用数量: {{ $item.CostNum }}; +费用{{ $index }}说明 - 费用总额: {{ $item.TotalPrice }}; +费用{{ $index }}说明 - 使用部门: {{ $item.UsedDepartment }}; +费用{{ $index }}说明 - 付款方式: {{ $.FinancialForm.PaymentMethod }}; +{{ end }} +发票信息: +{{ range $index, $item := .FinancialForm.InvoiceInfo }} +发票信息{{ $index }} - 发票日期: {{ $item.InvoiceDate }}; +发票信息{{ $index }} - 发票号码(电子发票需提供): {{ $item.InvoiceNo }}; +发票信息{{ $index }} - 发票供应商名称: {{ $item.InvoiceProvider }}; +发票信息{{ $index }} - 发票或付款金额: {{ $item.Amount }}; +发票信息{{ $index }} - 费用用途: {{ $item.UseTo }}; +发票信息{{ $index }} - 申请人: {{ $item.Applicant }}; +发票信息{{ $index }} - 付款方式: {{ $item.PaymentMethod }}; +发票信息{{ $index }} - 付款或报销对象: {{ $item.PaymentObj }}; +发票信息{{ $index }} - 发票类型: {{ $item.InvoiceType }}; +发票信息{{ $index }} - 备注: {{ $item.Notes }}; +{{ end }} +具体内容: {{ .Content }}; +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/goOut.go b/pkg/service/es_service/approval/html/goOut.go new file mode 100644 index 0000000..cf35bf1 --- /dev/null +++ b/pkg/service/es_service/approval/html/goOut.go @@ -0,0 +1,44 @@ +package html + +const GoOut = ` +{{ if eq .Type "goOut" }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + 开始时间: +
+ {{ (index .ApprovalOA.GoOut.ApplyTimes 0).Date }} + {{ if (index .ApprovalOA.GoOut.ApplyTimes 0).Hour }} + {{ (index .ApprovalOA.GoOut.ApplyTimes 0).Hour }} + {{ end }} + {{ if (index .ApprovalOA.GoOut.ApplyTimes 0).M }} + {{ (index .ApprovalOA.GoOut.ApplyTimes 0).M }} + {{ end }} +
+ 结束时间: +
+ {{ (index .ApprovalOA.GoOut.ApplyTimes 1).Date }} + {{ if (index .ApprovalOA.GoOut.ApplyTimes 1).Hour }} + {{ (index .ApprovalOA.GoOut.ApplyTimes 1).Hour }} + {{ end }} + {{ if (index .ApprovalOA.GoOut.ApplyTimes 1).M }} + {{ (index .ApprovalOA.GoOut.ApplyTimes 1).M }} + {{ end }} +
+ 时长: +
+ {{ if .ApprovalOA.GoOut.Days }} + {{ .ApprovalOA.GoOut.Days }}天 + {{ end }} + {{ if .ApprovalOA.GoOut.Hours }} + {{ .ApprovalOA.GoOut.Hours }}小时 + {{ end }} +
+ 理由: {{ .ApprovalOA.GoOut.Reason }} + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }} + {{ end }} +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/handover.go b/pkg/service/es_service/approval/html/handover.go new file mode 100644 index 0000000..6cff347 --- /dev/null +++ b/pkg/service/es_service/approval/html/handover.go @@ -0,0 +1,24 @@ +package html + +const Handover = ` +{{ if contains .Type "handover" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 部门/岗位: {{ range .ApprovalOA.Turnover.Positions }} {{ .DepartmentName }}/{{ .PositionName }};{{ end }} + 工号: {{ .ApprovalOA.Turnover.StaffNum }}; + 入职日期: {{ .ApprovalOA.Turnover.JoinTime }}; + 离职日期: {{ .ApprovalOA.Turnover.LeftTime }}; + 联系电话: {{ .ApprovalOA.Turnover.ContactInfo }}; + 离职后住址: {{ .ApprovalOA.Turnover.Address }}; + 交接人: {{ .ApprovalOA.Turnover.HandoverName }}; + 监交人: {{ .ApprovalOA.Turnover.SuperviseName }}; + 工作交接事项: {{ .ApprovalOA.Turnover.SuperviseName }}; + 财务交接事项: {{ .ApprovalOA.Turnover.SuperviseName }}; + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }}; + {{ end }} +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/leave.go b/pkg/service/es_service/approval/html/leave.go new file mode 100644 index 0000000..007037d --- /dev/null +++ b/pkg/service/es_service/approval/html/leave.go @@ -0,0 +1,226 @@ +package html + +const LeaveOld = ` +{{ if eq .Type "annualLeave" "dayOff" "leave" "sick" "funeralLeave" "maritalLeave" "maternityLeave" "paternityLeave" "parentalLeave" "nursingLeave" "matingCheckLeave" "breastFeedingLeave" "abortLeave" }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + 开始时间: +
+ {{ (index .ApprovalOA.Leave.ApplyTimes 0).Date }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 0).Hour }} + {{ (index .ApprovalOA.Leave.ApplyTimes 0).Hour }} + {{ end }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 0).M }} + {{ (index .ApprovalOA.Leave.ApplyTimes 0).M }} + {{ end }} +
+ 结束时间: +
+ {{ (index .ApprovalOA.Leave.ApplyTimes 1).Date }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 1).Hour }} + {{ (index .ApprovalOA.Leave.ApplyTimes 1).Hour }} + {{ end }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 1).M }} + {{ (index .ApprovalOA.Leave.ApplyTimes 1).M }} + {{ end }} +
+ {{ if eq .Type "breastFeedingLeave" "maternityLeave" }} + 婴儿数量: {{ .ApprovalOA.Leave.Children }} + {{ end }} + {{ if eq .Type "maternityLeave" }} + 是否难产: {{ if eq .ApprovalOA.Leave.Dystocia 1 }}是{{ else }}否{{ end }} + {{ end }} + {{ if eq .Type "matingCheckLeave" "abortLeave" }} + 孕期: {{ .ApprovalOA.Leave.Month }}月 + {{ end }} + 时长: +
+ {{ if .ApprovalOA.Leave.Days }} + {{ .ApprovalOA.Leave.Days }}天 + {{ end }} + {{ if .ApprovalOA.Leave.Hours }} + {{ .ApprovalOA.Leave.Hours }}小时 + {{ end }} +
+ 理由: {{ .ApprovalOA.Leave.Reason }} + {{ if eq .Type "maternityLeave" "maritalLeave" "paternityLeave" "abortLeave" "matingCheckLeave" "sick" }} + 证明材料: + {{ if gt (len .ApprovalOA.Leave.VerifyFile) 0 }} + {{ range $index, $lea := .ApprovalOA.Leave.VerifyFile }} +
+ 材料{{ add $index 1 }}: + {{ $lea }} +
+ {{ end }} + {{ end }} + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }} + {{ end }} +
+{{ end }} +` + +const LeaveOld1122 = ` +{{ if or (eq .Type "annualLeave") (eq .Type "dayOff") (eq .Type "leave") (eq .Type "sick") (eq .Type "funeralLeave") (eq .Type "maritalLeave") (eq .Type "maternityLeave") (eq .Type "paternityLeave") (eq .Type "parentalLeave") (eq .Type "nursingLeave") (eq .Type "matingCheckLeave") (eq .Type "breastFeedingLeave") (eq .Type "abortLeave") }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + 开始时间: +
+ {{ (index .ApprovalOA.Leave.ApplyTimes 0).Date }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 0).Hour }} + {{ (index .ApprovalOA.Leave.ApplyTimes 0).Hour }} + {{ end }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 0).M }} + {{ (index .ApprovalOA.Leave.ApplyTimes 0).M }} + {{ end }} +
+ 结束时间: +
+ {{ (index .ApprovalOA.Leave.ApplyTimes 1).Date }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 1).Hour }} + {{ (index .ApprovalOA.Leave.ApplyTimes 1).Hour }} + {{ end }} + {{ if (index .ApprovalOA.Leave.ApplyTimes 1).M }} + {{ (index .ApprovalOA.Leave.ApplyTimes 1).M }} + {{ end }} +
+ {{ if or (eq .Type "breastFeedingLeave") (eq .Type "maternityLeave") }} + 婴儿数量: {{ .ApprovalOA.Leave.Children }} + {{ end }} + {{ if eq .Type "maternityLeave" }} + 是否难产: {{ if eq .ApprovalOA.Leave.Dystocia 1 }}是{{ else }}否{{ end }} + {{ end }} + {{ if or (eq .Type "matingCheckLeave") (eq .Type "abortLeave") }} + 孕期: {{ .ApprovalOA.Leave.Month }}月 + {{ end }} + 时长: +
+ {{ if .ApprovalOA.Leave.Days }} + {{ .ApprovalOA.Leave.Days }}天 + {{ end }} + {{ if .ApprovalOA.Leave.Hours }} + {{ .ApprovalOA.Leave.Hours }}小时 + {{ end }} +
+ 理由: {{ .ApprovalOA.Leave.Reason }} + {{ if or (eq .Type "maternityLeave") (eq .Type "maritalLeave") (eq .Type "paternityLeave") (eq .Type "abortLeave") (eq .Type "matingCheckLeave") (eq .Type "sick") }} + 证明材料: + {{ if gt (len .ApprovalOA.Leave.VerifyFile) 0 }} + {{ range $index, $lea := .ApprovalOA.Leave.VerifyFile }} +
+ 材料{{ add $index 1 }}: + {{ $lea }} +
+ {{ end }} + {{ end }} + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }} + {{ end }} + {{ end }} +
+{{ end }}` + +const Leave = ` +{{ if or (eq .Type "annualLeave") (eq .Type "dayOff") (eq .Type "leave") (eq .Type "sick") (eq .Type "funeralLeave") (eq .Type "maritalLeave") (eq .Type "maternityLeave") (eq .Type "paternityLeave") (eq .Type "parentalLeave") (eq .Type "nursingLeave") (eq .Type "matingCheckLeave") (eq .Type "breastFeedingLeave") (eq .Type "abortLeave") }} +
+ {{/* 基本信息 */}} + {{ with . }} + 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + {{ end }} + + {{/* 时间信息 */}} + {{ with .ApprovalOA.Leave }} + 开始时间: +
+ {{ with index .ApplyTimes 0 }} + {{ .Date }} + {{ if .Hour }}{{ .Hour }}{{ end }} + {{ if .M }}{{ .M }}{{ end }} + {{ end }} +
+ + 结束时间: +
+ {{ with index .ApplyTimes 1 }} + {{ .Date }} + {{ if .Hour }}{{ .Hour }}{{ end }} + {{ if .M }}{{ .M }}{{ end }} + {{ end }} +
+ + {{/* 特殊假期信息 */}} + {{ if or (eq $.Type "breastFeedingLeave") (eq $.Type "maternityLeave") }} + 婴儿数量: {{ .Children }} + {{ end }} + + {{ if eq $.Type "maternityLeave" }} + 是否难产: {{ if eq .Dystocia 1 }}是{{ else }}否{{ end }} + {{ end }} + + {{ if or (eq $.Type "matingCheckLeave") (eq $.Type "abortLeave") }} + 孕期: {{ .Month }}月 + {{ end }} + + {{/* 时长信息 */}} + 时长: +
+ {{ if .Days }}{{ .Days }}天{{ end }} + {{ if .Hours }}{{ .Hours }}小时{{ end }} +
+ + 理由: {{ .Reason }} + + {{/* 证明材料 */}} + {{ if or (eq $.Type "maternityLeave") (eq $.Type "maritalLeave") (eq $.Type "paternityLeave") (eq $.Type "abortLeave") (eq $.Type "matingCheckLeave") (eq $.Type "sick") }} + 证明材料: + {{ if gt (len .VerifyFile) 0 }} + {{ range $index, $file := .VerifyFile }} +
+ 材料{{ add $index 1 }}: + + {{ $file }} + 📄 + +
+ {{ end }} + {{ end }} + {{ end }} + + {{/* 撤销信息 */}} + {{ if and $.ApprovalOA $.ApprovalOA.RevokeReason (or (eq $.Status 7) (eq $.Status 6)) }} + 撤销理由: {{ $.ApprovalOA.RevokeReason }} + {{ end }} + {{ end }} +
+{{ end }} + + +` diff --git a/pkg/service/es_service/approval/html/leaveApply.go b/pkg/service/es_service/approval/html/leaveApply.go new file mode 100644 index 0000000..bc25528 --- /dev/null +++ b/pkg/service/es_service/approval/html/leaveApply.go @@ -0,0 +1,79 @@ +package html + +const LeaveApplyOld = ` +{{ if eq .Type "maternityLeaveApply" "annualLeaveApply" "maritalLeaveApply" "matingCheckLeaveApply" "paternityLeaveApply" "nursingLeaveApply" "parentalLeaveApply" "funeralLeaveApply" }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + 证明材料: + {{ if gt (len .ApprovalOA.LeaveApply.VerifyFile) 0 }} + {{ range $index, $lea := .ApprovalOA.LeaveApply.VerifyFile }} +
+ 材料{{ add $index 1 }}: + {{ $lea }} + {{ end }} +
+ {{ end }} +
+ 审批假期天数:{{ .ApprovalOA.LeaveApply.LeaveBalance }} +
+ 申请理由: {{ .ApprovalOA.LeaveApply.Reason }} + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }} + {{ end }} +
+{{ end }} +` +const LeaveApply = ` +{{ if or (eq .Type "maternityLeaveApply") (eq .Type "annualLeaveApply") (eq .Type "maritalLeaveApply") (eq .Type "matingCheckLeaveApply") (eq .Type "paternityLeaveApply") (eq .Type "nursingLeaveApply") (eq .Type "parentalLeaveApply") (eq .Type "funeralLeaveApply") }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + 证明材料: + {{ if gt (len .ApprovalOA.LeaveApply.VerifyFile) 0 }} + {{ range $index, $file := .ApprovalOA.LeaveApply.VerifyFile }} +
+ 材料{{ add $index 1 }}: + + {{ $file }} + 📄 + +
+ {{ end }} + {{ end }} +
+ 审批假期天数:{{ .ApprovalOA.LeaveApply.LeaveBalance }} +
+ 申请理由: {{ .ApprovalOA.LeaveApply.Reason }} + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }} + {{ end }} +
+{{ end }} + + +` diff --git a/pkg/service/es_service/approval/html/makeUp.go b/pkg/service/es_service/approval/html/makeUp.go new file mode 100644 index 0000000..f2c0b21 --- /dev/null +++ b/pkg/service/es_service/approval/html/makeUp.go @@ -0,0 +1,16 @@ +package html + +const MakeUp = ` +{{ if eq .Type "makeUp" }} +
+{{ "序号: " }}{{ .ID }}; +{{ "申请人: " }}{{ .SubmitterName }}; +{{ "申请类型: " }}{{ .TypeName }}; +{{ "补卡时间: " }}{{ (index .ApprovalOA.MakeUp.ApplyTimes 0).Date }} {{ (index .ApprovalOA.MakeUp.ApplyTimes 0).Hour }}; +{{ "理由: " }}{{ .ApprovalOA.MakeUp.Reason }}; +{{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} +{{ "撤销理由: " }}{{ .ApprovalOA.RevokeReason }}; +{{ end }} +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/outWork.go b/pkg/service/es_service/approval/html/outWork.go new file mode 100644 index 0000000..0ac6d33 --- /dev/null +++ b/pkg/service/es_service/approval/html/outWork.go @@ -0,0 +1,20 @@ +package html + +const OutWork = ` +{{ if eq .Type "outWork" }} +
+{{ "序号: " }}{{ .ID }}; +{{ "申请人: " }}{{ .SubmitterName }}; +{{ "申请类型: " }}{{ .TypeName }}; +{{ "开始时间: " }}{{ (index .ApprovalOA.OutWork.ApplyTimes 0).Date }} {{ (index .ApprovalOA.OutWork.ApplyTimes 0).Hour }}; +{{ "结束时间: " }}{{ (index .ApprovalOA.OutWork.ApplyTimes 1).Date }} {{ (index .ApprovalOA.OutWork.ApplyTimes 1).Hour }}; +{{ "交通工具: " }}{{ .ApprovalOA.OutWork.Vehicle }}; +{{ "目的地: " }}{{ .ApprovalOA.OutWork.OutWorkAddress }}; +{{ "时长: " }}{{ .ApprovalOA.OutWork.Hours }}; +{{ "理由: " }}{{ .ApprovalOA.OutWork.Reason }}; +{{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} +{{ "撤销理由: " }}{{ .ApprovalOA.RevokeReason }}; +{{ end }} +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/overTime.go b/pkg/service/es_service/approval/html/overTime.go new file mode 100644 index 0000000..55bd041 --- /dev/null +++ b/pkg/service/es_service/approval/html/overTime.go @@ -0,0 +1,18 @@ +package html + +const OverTime = ` +{{ if eq .Type "overTime" }} +
+{{ "序号: " }}{{ .ID }}; +{{ "申请人: " }}{{ .SubmitterName }}; +{{ "申请类型: " }}{{ .TypeName }}; +{{ "开始时间: " }}{{ (index .ApprovalOA.OverTime.ApplyTimes 0).Date }} {{ (index .ApprovalOA.OverTime.ApplyTimes 0).Hour }}; +{{ "结束时间: " }}{{ (index .ApprovalOA.OverTime.ApplyTimes 1).Date }} {{ (index .ApprovalOA.OverTime.ApplyTimes 1).Hour }}; +{{ "时长: " }}{{ .ApprovalOA.OverTime.Hours }}; +{{ "理由: " }}{{ .ApprovalOA.OverTime.Reason }}; +{{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} +{{ "撤销理由: " }}{{ .ApprovalOA.RevokeReason }}; +{{ end }} +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/promotion.go b/pkg/service/es_service/approval/html/promotion.go new file mode 100644 index 0000000..7bc999e --- /dev/null +++ b/pkg/service/es_service/approval/html/promotion.go @@ -0,0 +1,67 @@ +package html + +const PromotionOld = ` +{{ if eq .Type "promotion" }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} + 姓名: {{ .Promotion.StaffName }}({{ .Promotion.StaffNum }}) + 原职务: {{ .Promotion.OldJob }} + 任命职务: {{ .Promotion.NewJob }} + 生效日期: {{ .Promotion.EffectiveTime }} + + {{ .Promotion.FileUrl }} + +
+{{ end }} +` + +const Promotion = ` +{{ if eq .Type "promotion" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 姓名: {{ .Promotion.StaffName }}({{ .Promotion.StaffNum }}); + 原职务: {{ .Promotion.OldJob }}; + 任命职务: {{ .Promotion.NewJob }}; + 生效日期: {{ .Promotion.EffectiveTime }}; + {{ if .Promotion.FileUrl }} + + + {{ .Promotion.FileUrl }} + 📄 + + + {{ end }} + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + 撤销理由: {{ .ApprovalOA.RevokeReason }}; + {{ end }} +
+{{ end }} + + +` diff --git a/pkg/service/es_service/approval/html/show.go b/pkg/service/es_service/approval/html/show.go new file mode 100644 index 0000000..f51fec7 --- /dev/null +++ b/pkg/service/es_service/approval/html/show.go @@ -0,0 +1,21 @@ +package html + +const Show = ` +{{ if eq .Type "show" }} +
+ 序号: {{ .ID }} + 申请人: {{ .SubmitterName }} + 申请类型: {{ .TypeName }} +
+ {{ range $index, $exh := .Show }} +
+ 画展{{ $index + 1 }}: +
时间: {{ $exh.ShowAt }}
+
地址: {{ $exh.Address }}
+
人数: {{ $exh.ArtistNum }}
+
+ {{ end }} +
+
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/showUpdate.go b/pkg/service/es_service/approval/html/showUpdate.go new file mode 100644 index 0000000..431d5ca --- /dev/null +++ b/pkg/service/es_service/approval/html/showUpdate.go @@ -0,0 +1,39 @@ +package html + +const ShowUpdate = ` +{{ if eq .Type "showUpdate" }} +
+序号: {{ .ID }}; +申请人:{{ .SubmitterName }}; +申请类型: {{ .TypeName }}; + +详情: {{ range .ExhibitionHis.ApprovalExhibitionHiss }} + +画展时间: {{ .ShowDate }}; +画展地址: {{ .Address }}; +画家名称:{{ if .ArtExhibitionDetail.ArtistShowCount }}{{ .ArtExhibitionDetail.ArtistShowCount }}{{ else }}{{ .ArtExhibitionDetail.ArtistName }};{{ end }} +包含画作数量:{{ .ArtExhibitionDetail.ArtworkNum }}; +包含画作总平尺:{{ .ArtExhibitionDetail.Ruler }}; +画作总价: {{ .TotalPrice }}; +推荐人: {{ .ArtExhibitionDetail.Agent }}; + + +画作详情: +{{ range .Artworks }} + + + + + +; +{{ end }} +
{{ .Reward }}{{ .Reward * .Ruler }}{{ .SaleAddress }}
+
+
+{{ end }} +
+具体内容: {{ .Content }}; + +{{ end }} +
+` diff --git a/pkg/service/es_service/approval/html/staffSupply.go b/pkg/service/es_service/approval/html/staffSupply.go new file mode 100644 index 0000000..007d2a0 --- /dev/null +++ b/pkg/service/es_service/approval/html/staffSupply.go @@ -0,0 +1,16 @@ +package html + +const StaffSupply = ` +{{ if eq .Type "staffSupply" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 岗位名称: {{ .StaffSupply.PositionName }}; + 归属部门: {{ .StaffSupply.DepartmentName }}; + 申请增补人数: {{ .StaffSupply.Num }}; + 岗位需求: {{ .StaffSupply.JobAsk }}; + 期待到职日期: {{ .StaffSupply.JoinInTime }}; +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/turnover.go b/pkg/service/es_service/approval/html/turnover.go new file mode 100644 index 0000000..8c9796a --- /dev/null +++ b/pkg/service/es_service/approval/html/turnover.go @@ -0,0 +1,24 @@ +package html + +const Turnover = ` +{{ if contains .Type "turnover" }} +
+ {{ "序号: " }}{{ .ID }}; + {{ "申请人: " }}{{ .SubmitterName }}; + {{ "申请类型: " }}{{ .TypeName }}; + {{ "部门/岗位: " }}{{ range .ApprovalOA.Turnover.Positions }}{{ .DepartmentName }}/{{ .PositionName }}; {{ end }} + {{ "工号: " }}{{ .ApprovalOA.Turnover.StaffNum }}; + {{ "入职日期: " }}{{ .ApprovalOA.Turnover.JoinTime }}; + {{ "离职日期: " }}{{ .ApprovalOA.Turnover.LeftTime }}; + {{ "联系电话: " }}{{ .ApprovalOA.Turnover.ContactInfo }}; + {{ "离职后住址: " }}{{ .ApprovalOA.Turnover.Address }}; + {{ "交接人: " }}{{ .ApprovalOA.Turnover.HandoverName }}; + {{ "监交人: " }}{{ .ApprovalOA.Turnover.SuperviseName }}; + {{ "工作交接事项: " }}{{ .ApprovalOA.Turnover.WorkItems }}; + {{ "财务交接事项: " }}{{ .ApprovalOA.Turnover.FinanceItems }}; + {{ if and .ApprovalOA .ApprovalOA.RevokeReason (or (eq .Status 7) (eq .Status 6)) }} + {{ "撤销理由: " }}{{ .ApprovalOA.RevokeReason }}; + {{ end }} +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/html/work.go b/pkg/service/es_service/approval/html/work.go new file mode 100644 index 0000000..34bc0c0 --- /dev/null +++ b/pkg/service/es_service/approval/html/work.go @@ -0,0 +1,22 @@ +package html + +const Work = ` +{{ if eq .Type "work" }} +
+ 序号: {{ .ID }}; + 申请人: {{ .SubmitterName }}; + 申请类型: {{ .TypeName }}; + 具体内容: {{ .Content }}; + 画作详情: + + {{ range .Work.ApprovalWorks }} + + + + + {{ end }} +
{{ if .ArtistShowCount }}{{ .ArtistShowCount }}{{ else }}{{ .ArtistName }}{{ end }};
+ 具体内容: {{ .Content }}; +
+{{ end }} +` diff --git a/pkg/service/es_service/approval/logic/apporvalLogic.go b/pkg/service/es_service/approval/logic/apporvalLogic.go new file mode 100644 index 0000000..d999f8e --- /dev/null +++ b/pkg/service/es_service/approval/logic/apporvalLogic.go @@ -0,0 +1,338 @@ +package logic + +import ( + "context" + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/es" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/html" + "go.uber.org/zap" + "html/template" + "strconv" + "strings" + + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/model" + + "github.com/jinzhu/copier" + "github.com/olivere/elastic/v7" +) + +func BulkIndexApprovalInfo(index string, page, pageSize uint64) { + var req approval.ListRequest + req.Page = page + req.PageSize = pageSize + req.OrderBy = "desc" + res, err := service.ApprovalProvider.MyWorkV2(context.Background(), &req) + if err != nil { + return + } + + //_, err = es.ElasticClient.DeleteIndex(index).Do(context.Background()) + //if err != nil { + // fmt.Println("======================= DeleteIndex es err =======================") + // fmt.Println("err : ", err.Error()) + // fmt.Println("======================= DeleteIndex es err =======================") + //} + + // 判断 index 是否存在 + exists, err := es.ElasticClient.IndexExists(index).Do(context.Background()) + if err != nil { + fmt.Println("======================= IndexExists es err =======================") + fmt.Println("err : ", err.Error()) + zap.L().Error("IndexExists es err", zap.Error(err)) + fmt.Println("======================= IndexExists es err =======================") + return + } + + if !exists { + result, err := es.ElasticClient.CreateIndex(index).BodyJson(model.ApprovalMapping).Do(context.Background()) + if err != nil { + fmt.Println("======================= CreateIndex es err =======================") + fmt.Println("err : ", err.Error()) + zap.L().Error("CreateIndex es err", zap.Error(err)) + fmt.Println("======================= CreateIndex es err =======================") + } + + fmt.Println("======================= CreateIndex es result =======================") + fmt.Printf("%+v\n", result) + fmt.Println("======================= CreateIndex es result =======================") + } + + // Bulk insert + bulkRequest := es.ElasticClient.Bulk() + for _, datum := range res.Data { + // 组装数据 + esApproval := new(model.EsApproval) + copyWithOptionErr := copier.CopyWithOption(&esApproval, datum, copier.Option{DeepCopy: true}) + if copyWithOptionErr != nil { + fmt.Println("======================= CopyWithOption es err =======================") + fmt.Println("err : ", copyWithOptionErr.Error()) + zap.L().Error("CopyWithOption es err", zap.Error(copyWithOptionErr)) + fmt.Println("======================= CopyWithOption es err =======================") + } + fmt.Println("======================= CopyWithOption es result =======================") + fmt.Printf("esApproval is :%+v\n", esApproval) + fmt.Println("======================= CopyWithOption es result =======================") + if esApproval.ID == 0 { + continue + } + fmt.Println("======================= CopyWithOption datum result =======================") + fmt.Printf("approval model is :%+v\n", datum) + fmt.Println("======================= CopyWithOption datum result =======================") + copyUserWithOptionErr := copier.CopyWithOption(&esApproval.CopyUsers, datum.CopyUsers, copier.Option{DeepCopy: true}) + if copyUserWithOptionErr != nil { + fmt.Println("======================= CopyWithOption es err =======================") + fmt.Println("err : ", copyUserWithOptionErr.Error()) + zap.L().Error("CopyWithOption es err", zap.Error(copyUserWithOptionErr)) + fmt.Println("======================= CopyWithOption es err =======================") + } + customizeInfoWithOptionErr := copier.CopyWithOption(&esApproval.CustomizeInfo, datum.CustomizeInfo, copier.Option{DeepCopy: true}) + if customizeInfoWithOptionErr != nil { + fmt.Println("======================= CopyWithOption es err =======================") + fmt.Println("err : ", customizeInfoWithOptionErr.Error()) + zap.L().Error("CopyWithOption es err", zap.Error(customizeInfoWithOptionErr)) + fmt.Println("======================= CopyWithOption es err =======================") + } + //bt, _ := json.Marshal(esApproval) + doc := elastic.NewBulkIndexRequest().Index(index).Id(fmt.Sprintf("%d", datum.ID)).Doc(esApproval) + bulkRequest = bulkRequest.Add(doc) + } + + bulkRequestResult, bulkRequestErr := bulkRequest.Refresh("true").Do(context.Background()) + if bulkRequestErr != nil { + fmt.Println("======================= put es err =======================") + fmt.Printf("bulkRequest err : %+v\n", bulkRequestErr.Error()) + zap.L().Error("put es err", zap.Error(bulkRequestErr)) + fmt.Println("======================= put es err =======================") + } + fmt.Println("======================= NewBulkUpdateRequest es result =======================") + fmt.Printf("NewBulkUpdateRequest is :%+v\n", bulkRequestResult) + /*for i := 0; i < len(bulkRequestResult.Items); i++ { + for k, item := range bulkRequestResult.Items[i] { + fmt.Printf("NewBulkUpdateRequest Items k is :%+v\n", k) + fmt.Printf("NewBulkUpdateRequest Items is :%+v\n", item) + fmt.Printf("NewBulkUpdateRequest Items err is :%+v\n", item.Error) + } + }*/ + fmt.Println("======================= NewBulkUpdateRequest es result =======================") + +} + +func RenderHTML(data model.EsApproval) string { + + var tmpl string + tmpl = retTmpl(data) + + if tmpl == "" { + return "" + } + + funcMap := template.FuncMap{ + "contains": strings.Contains, + "parseCustomizeInfoPosition": parseCustomizeInfoPosition, + "mul": mul, + "parseFloat": parseFloat, + "toFloat64": toFloat64, + "add": add, + "parseJSON": parseJSON, + } + + // 解析模板 + t, err := template.New("approval").Funcs(funcMap).Parse(tmpl) + if err != nil { + fmt.Println("======================= renderHTML ========================= ") + fmt.Printf("Error parsing template: %s\n", err) + zap.L().Error("Error parsing template", zap.Error(err)) + fmt.Println("======================= renderHTML ========================= ") + return "" + } + var result strings.Builder + err = t.Execute(&result, data) + if err != nil { + fmt.Println("======================= renderHTML Execute ========================= ") + fmt.Printf("Error Execute template: %s\n", err) + zap.L().Error("Error Execute template", zap.Error(err)) + fmt.Println("======================= renderHTML Execute ========================= ") + return "" + } + return result.String() +} + +func retTmpl(data model.EsApproval) string { + // 根据 审批类型 分类 + switch { + case data.Type == "work": + return html.Work + case data.Type == "exhibition": + return html.Exhibition + case data.Type == "bundle": + return html.Bundle + case data.Type == "show": + return html.Show + case data.Type == "bundlePayPrice": + return html.BundlePayPrice + case data.Type == "artExhibitionReward": + return html.Exhibition + case data.Type == "showUpdate": + return html.ShowUpdate + case data.Type == "promotion": + return html.Promotion + case data.Type == "staffSupply": + return html.StaffSupply + case data.Type == "checkIn": + return html.CheckIn + case data.Type == "makeUp": + return html.MakeUp + case data.Type == "outWork": + return html.OutWork + case data.Type == "banShow": + return "" + case data.Type == "goOut": + return html.GoOut + case data.Type == "businessTrip": + return html.BusinessTrip + case data.Type == "overTime": + return html.OverTime + case data.Type == "financialFormApply": + return html.FinancialFormApply + case isLeave(data): + return html.Leave + case isLeaveApply(data): + return html.LeaveApply + case isCustom(data): + return html.Custom + case isEmploy(data): + return html.Employ + case isTurnover(data): + return html.Turnover + case isHandover(data): + return html.Handover + } + return "" +} + +func isCustom(data model.EsApproval) bool { + if data.IsCustom == 1 { + return true + } + return false +} + +func isLeave(data model.EsApproval) bool { + if data.Type == "annualLeave" { + return true + } else if data.Type == "dayOff" { + return true + } else if data.Type == "leave" { + return true + } else if data.Type == "sick" { + return true + } else if data.Type == "leave" { + return true + } else if data.Type == "funeralLeave" { + return true + } else if data.Type == "maritalLeave" { + return true + } else if data.Type == "maternityLeave" { + return true + } else if data.Type == "paternityLeave" { + return true + } else if data.Type == "parentalLeave" { + return true + } else if data.Type == "nursingLeave" { + return true + } else if data.Type == "matingCheckLeave" { + return true + } else if data.Type == "breastFeedingLeave" { + return true + } else if data.Type == "abortLeave" { + return true + } + return false +} + +func isLeaveApply(data model.EsApproval) bool { + if data.Type == "maternityLeaveApply" { + return true + } else if data.Type == "annualLeaveApply" { + return true + } else if data.Type == "maritalLeaveApply" { + return true + } else if data.Type == "matingCheckLeaveApply" { + return true + } else if data.Type == "paternityLeaveApply" { + return true + } else if data.Type == "nursingLeaveApply" { + return true + } else if data.Type == "parentalLeaveApply" { + return true + } else if data.Type == "funeralLeaveApply" { + return true + } + return false +} + +func isEmploy(data model.EsApproval) bool { + if strings.Contains(data.Type, "employ") { + return true + } + return false +} + +func isTurnover(data model.EsApproval) bool { + if strings.Contains(data.Type, "turnover") { + return true + } + return false +} + +func isHandover(data model.EsApproval) bool { + if strings.Contains(data.Type, "handover") { + return true + } + return false +} + +type ApprovalValue struct { + PositionName string + DepartmentID int64 + DepartmentName string +} + +func parseCustomizeInfoPosition(approvalValue string) (*ApprovalValue, error) { + position := &ApprovalValue{} + if err := json.Unmarshal([]byte(approvalValue), &position); err != nil { + return nil, err + } + return position, nil +} + +func mul(a, b float64) float64 { + return a * b +} + +func parseFloat(s string) (float64, error) { + if s == "" { + return 0, nil + } + return strconv.ParseFloat(s, 64) +} + +func toFloat64(u uint64) float64 { + if u == 0 { + return 0 + } + return float64(u) +} + +func add(a, b int) int { + return a + b +} + +func parseJSON(s string) ([]string, error) { + var result []string + err := json.Unmarshal([]byte(s), &result) + return result, err +} diff --git a/pkg/service/es_service/approval/logic/create.go b/pkg/service/es_service/approval/logic/create.go new file mode 100644 index 0000000..63a63e8 --- /dev/null +++ b/pkg/service/es_service/approval/logic/create.go @@ -0,0 +1,64 @@ +package logic + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/es" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/model" + "github.com/jinzhu/copier" + "go.uber.org/zap" +) + +func CreateIndexApprovalDoc(index string, approval *approval.CreateRequest) error { + if approval.ID == 0 { + return nil + } + + fmt.Println("===================================== 开始插入 1 ======================================") + + doc := model.EsApproval{} + copyWithOptionErr := copier.CopyWithOption(&doc, approval, copier.Option{DeepCopy: true}) + if copyWithOptionErr != nil { + fmt.Println("======================= CopyWithOption es err =======================") + fmt.Println("err : ", copyWithOptionErr.Error()) + zap.L().Error("CreateIndexApprovalDoc CopyWithOption", zap.Error(copyWithOptionErr)) + fmt.Println("======================= CopyWithOption es err =======================") + return errors.New(common.ErrorCopierApproval) + } + + fmt.Println("===================================== 开始插入 2 ======================================") + + copyUserWithOptionErr := copier.CopyWithOption(&doc.CopyUsers, approval.CopyUsers, copier.Option{DeepCopy: true}) + if copyUserWithOptionErr != nil { + fmt.Println("======================= CopyWithOption es err =======================") + fmt.Println("err : ", copyUserWithOptionErr.Error()) + fmt.Println("======================= CopyWithOption es err =======================") + } + + fmt.Println("===================================== 开始插入 3 ======================================") + + customizeInfoWithOptionErr := copier.CopyWithOption(&doc.CustomizeInfo, approval.CustomizeInfo, copier.Option{DeepCopy: true}) + if customizeInfoWithOptionErr != nil { + fmt.Println("======================= CopyWithOption es err =======================") + fmt.Println("err : ", customizeInfoWithOptionErr.Error()) + fmt.Println("======================= CopyWithOption es err =======================") + } + + fmt.Println("===================================== create es doc 4 ======================================") + fmt.Println("approval es doc : ", doc) + fmt.Println("===================================== create es doc 4 ======================================") + + _, createErr := es.ElasticClient.Index().Index(index).Id(fmt.Sprintf("%d", approval.ID)).BodyJson(doc).Do(context.Background()) + if createErr != nil { + fmt.Println("======================= create es err =======================") + fmt.Println("err : ", createErr.Error()) + zap.L().Error("CreateIndexApprovalDoc create", zap.Error(createErr)) + fmt.Println("======================= create es err =======================") + return errors.New(common.ErrorCreateApproval) + } + fmt.Println("===================================== create es doc 5 ======================================") + return nil +} diff --git a/pkg/service/es_service/approval/logic/search.go b/pkg/service/es_service/approval/logic/search.go new file mode 100644 index 0000000..d9b50cc --- /dev/null +++ b/pkg/service/es_service/approval/logic/search.go @@ -0,0 +1,905 @@ +package logic + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/es" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/model" + "github.com/olivere/elastic/v7" + "go.uber.org/zap" + "reflect" +) + +func Search(index string, value interface{}, filter *elastic.BoolQuery, page, pageSize int) (total int64, ret []*model.EsApproval, err error) { + + searchResult, err := es.ElasticClient.Search(). + Index(index). + Query(buildAllQuery(value, filter)). + From((page-1)*pageSize). + Size(pageSize). + Sort("ID", false). + Do(context.TODO()) + if err != nil { + zap.L().Error("es_search error", zap.Error(err)) + fmt.Println("================================= es_search error ================================") + fmt.Println("err : ", err.Error()) + fmt.Println("================================= es_search error ================================") + return 0, nil, errors.New(common.ErrorQueryApproval) + } + + var typ model.EsApproval + ret = make([]*model.EsApproval, 0) + for _, item := range searchResult.Each(reflect.TypeOf(typ)) { + fmt.Println("================================= range item ================================") + fmt.Printf("item %+v\n\n", item.(model.EsApproval)) + fmt.Println("================================= range item 1 ================================") + t := item.(model.EsApproval) + //tt := approval.CreateRequest{} + //_ = copier.CopyWithOption(&tt, t, copier.Option{DeepCopy: true}) + t.Object = RenderHTML(t) + ret = append(ret, &t) + } + + return searchResult.TotalHits(), ret, nil +} + +// buildAllQuery 构建包含嵌套查询的布尔查询 +func buildAllQuery(value interface{}, filter *elastic.BoolQuery) *elastic.BoolQuery { + query := filter + + fmt.Println("================================= buildAllQuery valueQuery ================================") + + if value != nil { + fmt.Println("================================= buildAllQuery valueQuery in ================================") + //valueQuery := elastic.NewBoolQuery().MinimumShouldMatch("1") + valueQuery := elastic.NewBoolQuery() + + //valueQuery.Should(ContentQuery(value)) + valueQuery.Should(GroupNameQuery(value)) + valueQuery.Should(NowUserNameQuery(value)) + valueQuery.Should(TypeQuery(value)) + valueQuery.Should(TypeNameQuery(value)) + valueQuery.Should(ReplyQuery(value)) + valueQuery.Should(SubmitterNameQuery(value)) + + valueQuery.Should(workFlowsQuery(value)) + + valueQuery.Should(approvalOAObjectRevokeReasonQuery(value)) + + valueQuery.Should(approvalOABusinessTripObjectReasonQuery(value)) + valueQuery.Should(approvalOABusinessTripObjectItineraryListNestedQuery(value)) + + valueQuery.Should(approvalOAGoOutObjectReasonQuery(value)) + valueQuery.Should(approvalOAGoOutObjectVerifyFileQuery(value)) + valueQuery.Should(approvalOAGoOutObjectApplyTimesNestedQuery(value)) + + valueQuery.Should(approvalOALeaveObjectReasonQuery(value)) + valueQuery.Should(approvalOALeaveObjectVerifyFileQuery(value)) + valueQuery.Should(approvalOALeaveObjectApplyTimesNestedQuery(value)) + + valueQuery.Should(approvalOALeaveApplyObjectReasonQuery(value)) + valueQuery.Should(approvalOALeaveApplyObjectVerifyFileQuery(value)) + + valueQuery.Should(approvalOAMakeUpObjectReasonQuery(value)) + valueQuery.Should(approvalOAMakeUpObjectApplyTimesNestedQuery(value)) + + valueQuery.Should(approvalOAOutWorkObjectReasonQuery(value)) + valueQuery.Should(approvalOAOutWorkObjectOutWorkAddressQuery(value)) + valueQuery.Should(approvalOAOutWorkObjectApplyTimesNestedQuery(value)) + + valueQuery.Should(approvalOAOverTimeObjectReasonQuery(value)) + valueQuery.Should(approvalOAOverTimeObjectApplyTimesNestedQuery(value)) + + valueQuery.Should(approvalOATurnoverObjectReasonQuery(value)) + valueQuery.Should(approvalOATurnoverObjectHandoverNameQuery(value)) + valueQuery.Should(approvalOATurnoverObjectHandoverNumQuery(value)) + valueQuery.Should(approvalOATurnoverObjectJoinTimeQuery(value)) + valueQuery.Should(approvalOATurnoverObjectLeftTimeQuery(value)) + valueQuery.Should(approvalOATurnoverObjectStaffNameQuery(value)) + valueQuery.Should(approvalOATurnoverObjectStaffNumQuery(value)) + valueQuery.Should(approvalOATurnoverObjectSuperviseNameQuery(value)) + valueQuery.Should(approvalOATurnoverObjectSuperviseNumQuery(value)) + valueQuery.Should(approvalOATurnoverObjectWorkItemsQuery(value)) + valueQuery.Should(approvalOATurnoverObjectContactInfoQuery(value)) + valueQuery.Should(approvalOATurnoverObjectItineraryListNestedQuery(value)) + + valueQuery.Should(bundlePayPriceObjectArtistNameQuery(value)) + valueQuery.Should(bundlePayPriceObjectShowAddressQuery(value)) + valueQuery.Should(bundlePayPriceObjectShowLowPriceQuery(value)) + valueQuery.Should(bundlePayPriceObjectArtworkSizeQuery(value)) + valueQuery.Should(bundlePayPriceObjectShowNameQuery(value)) + + valueQuery.Should(checkInObjectDetailAddressQuery(value)) + valueQuery.Should(checkInObjectSaleAddressQuery(value)) + + valueQuery.Should(customizeInfoNestedQuery(value)) + + valueQuery.Should(employNestedQuery(value)) + + valueQuery.Should(exhibitionObjectAddressQuery(value)) + valueQuery.Should(exhibitionObjectPackageNameQuery(value)) + valueQuery.Should(exhibitionObjectNestedQuery(value)) + + valueQuery.Should(exhibitionHisObjectAddressQuery(value)) + valueQuery.Should(exhibitionHisObjectPackageNameQuery(value)) + valueQuery.Should(exhibitionHisObjectNestedQuery(value)) + + valueQuery.Should(financialFormNestedQuery(value)) + + valueQuery.Should(promotionNestedQuery(value)) + + //query.Should(returnArtworkInfoNestedQuery(value)) + + valueQuery.Should(showNestedQuery(value)) + + valueQuery.Should(staffSupplyNestedQuery(value)) + + valueQuery.Should(workNestedQuery(value)) + + valueQuery.Should(copyUsersQuery(value)) + + query.Must(valueQuery) + fmt.Println("================================= buildAllQuery valueQuery out ================================") + } + + fmt.Println("================================= buildAllQuery query ================================") + source, err := query.Source() + fmt.Printf("query %+v\n", source) + if err != nil { + fmt.Printf("query err %+v\n", err) + } + fmt.Println("================================= buildAllQuery query 1 ================================") + + return query +} + +// 类型 +func MenuTypeQuery(menuType int) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("MenuType", menuType) +} + +// 已提交审批 +func BuildSubmitFilterQuery(userID uint64) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("SubmitterID", userID) +} + +// 待办审批 +func BuildWorkFilterQuery(userID uint64) *elastic.ScriptQuery { + return elastic.NewScriptQuery(elastic.NewScript(` + if (params.doc['NowLevel'].value() == 0 || params.doc['WorkFlows'].size() == 0) return false; + long nowLevel = params.doc['NowLevel'].value; + for (def workFlow : params.doc['WorkFlows']) { + if (workFlow.Level == nowLevel && workFlow.UserID == params.userID) { + return true; + } + } + return false; + `).Param("userID", userID).Lang("painless")) +} + +// BuildWorkFunctionScoreQuery 待办审批 +// 需要 处理 或签时 只有一个人审批 其他审批人 在 待你审批列表中不显示 +/* + long status = doc['Status'].value; + + if (params.status == status) { + return 0; + } + + .Param("status", status) +*/ +func BuildWorkFunctionScoreQuery(userID uint64, status uint64) *elastic.FunctionScoreQuery { + return elastic.NewFunctionScoreQuery().Query(elastic.NewMatchAllQuery()).AddScoreFunc(elastic.NewScriptFunction(elastic.NewScript(` + if (!doc.containsKey('NowLevel') || doc['NowLevel'].empty) { + return 0; + } + + long nowLevel = doc['NowLevel'].value; + + if (!params._source.containsKey('WorkFlows')) { + return 0; + } + + def workflows = params._source.get('WorkFlows'); + if (workflows == null) { + return 0; + } + + for (def workflow : workflows) { + if (workflow.Level == nowLevel && workflow.UserID == params.userID && workflow.Status == 1) { + return 1; + } + } + return 0; + `).Lang("painless").Param("userID", userID))). + MinScore(1) +} + +// 已办审批 +func BuildHadWorkFilterQuery(userID uint64) *elastic.ScriptQuery { + return elastic.NewScriptQuery(elastic.NewScript(` + if (params.doc['NowLevel'].value() == 0 || params.doc['WorkFlows'].size() == 0) return false; + long nowLevel = params.doc['NowLevel'].value; + for (def workFlow : params.doc['WorkFlows']) { + if (workFlow.Level > nowLevel && workFlow.UserID == params.userID) { + return true; + } + } + return false; + `).Param("userID", userID).Lang("painless")) +} + +func BuildHadWorkFunctionScoreQuery(userID uint64) *elastic.FunctionScoreQuery { + return elastic.NewFunctionScoreQuery().Query(elastic.NewMatchAllQuery()).AddScoreFunc(elastic.NewScriptFunction(elastic.NewScript(` + if (!doc.containsKey('NowLevel') || doc['NowLevel'].empty) { + return 0; + } + + long nowLevel = doc['NowLevel'].value; + + if (!params._source.containsKey('WorkFlows')) { + return 0; + } + + def workflows = params._source.get('WorkFlows'); + if (workflows == null) { + return 0; + } + + for (def workflow : workflows) { + if ( workflow.UserID == params.userID && workflow.Status != 1 ) { + return 1; + } + } + return 0; + `).Lang("painless").Param("userID", userID))). + MinScore(1) +} + +// 抄送审批 +func BuildViewFilterQuery(userID uint64, allStatus uint64) *elastic.ScriptQuery { + return elastic.NewScriptQuery(elastic.NewScript(` + if (params.doc['NowLevel'].value() == 0 || params.doc['CopyUsers'].size() == 0 || params.doc['AllStatus'].value == 0) return false; + long nowLevel = params.doc['NowLevel'].value; + long allStatus = params.doc['AllStatus'].value; + for (def copyUser : params.doc['CopyUsers']) { + if (copyUser.ID == params.userID && allStatus == params.allStatus) { + return true; + } + } + return false; + `).Param("userID", userID).Param("allStatus", allStatus).Lang("painless")) +} + +/* + if (!doc.containsKey('NowLevel') || doc['NowLevel'].empty) { + return 0; + } + + long allStatus = doc['AllStatus'].value; + + if (allStatus != params.allStatus) { + return 0; + } + + long nowLevel = doc['NowLevel'].value; + + if (!doc.containsKey('CopyUsers') || doc['CopyUsers'].empty) { + return 0; + } + + def copyUsers = params._source.get('CopyUsers'); + if (copyUsers == null) { + return 0; + } + + for (def copyUser : copyUsers) { + if (copyUser.UserID == params.userID) { + return 1; + } + } + return 0; +*/ +func BuildViewFunctionScoreQuery(userID uint64, allStatus uint64) *elastic.FunctionScoreQuery { + return elastic.NewFunctionScoreQuery(). + Query(elastic.NewMatchAllQuery()). + AddScoreFunc(elastic.NewScriptFunction(elastic.NewScript(` + + long status = doc['AllStatus'].value; + if (status == 3) { + return 0; + } + + long allStatus = doc['AllStatus'].value; + + if (params.allStatus > allStatus ) { + return 0; + } + + def copyUsers = params._source.get('CopyUsers'); + if (copyUsers == null) { + return 0; + } + + for (def copyUser : copyUsers) { + if (copyUser.ID == params.userID) { + return 1; + } + } + return 0; + `).Lang("painless"). + Param("userID", userID). + Param("allStatus", allStatus))). + MinScore(1) + +} + +// 全部审批 +func BuildAllFilterQuery(userID uint64) *elastic.ScriptQuery { + return elastic.NewScriptQuery(elastic.NewScript(` + if (params.doc['NowLevel'].value() == 0 || params.doc['WorkFlows'].size() == 0) return false; + long nowLevel = params.doc['NowLevel'].value; + for (def workFlow : params.doc['WorkFlows']) { + if (workFlow.Level == nowLevel && workFlow.UserID == params.userID) { + return true; + } + } + return false; + `).Param("userID", userID).Lang("painless")) +} + +// 正确版本 2024-11-18 后期 优化 使用此版本 +func _BuildAllFunctionScoreQuery(userID uint64, allStatus uint64) *elastic.FunctionScoreQuery { + return elastic.NewFunctionScoreQuery(). + Query(elastic.NewMatchAllQuery()). + AddScoreFunc(elastic.NewScriptFunction(elastic.NewScript(` + long submitterID = doc['SubmitterID'].value; + + if (submitterID == params.userID) { + return 1; + } + + if (!doc.containsKey('NowLevel') || doc['NowLevel'].empty) { + return 0; + } + + long allStatus = doc['AllStatus'].value; + + long nowLevel = doc['NowLevel'].value; + + if (!params._source.containsKey('WorkFlows')) { + return 0; + } + + def workflows = params._source.get('WorkFlows'); + if (workflows == null) { + return 0; + } + + for (def workflow : workflows) { + if (nowLevel >= workflow.Level && workflow.UserID == params.userID) { + return 1; + } + } + + def copyUsers = params._source.get('CopyUsers'); + if (copyUsers == null) { + return 0; + } + + for (def copyUser : copyUsers) { + if (copyUser.ID == params.userID && allStatus >= params.allStatus) { + return 1; + } + } + return 0; + `).Lang("painless"). + Param("userID", userID). + Param("allStatus", allStatus))). + MinScore(1) + +} + +func BuildAllFunctionScoreQuery(userID uint64, allStatus uint64) *elastic.FunctionScoreQuery { + return elastic.NewFunctionScoreQuery(). + Query(elastic.NewMatchAllQuery()). + AddScoreFunc(elastic.NewScriptFunction(elastic.NewScript(` + long submitterID = doc['SubmitterID'].value; + + if (submitterID == params.userID) { + return 1; + } + + if (!doc.containsKey('NowLevel') || doc['NowLevel'].empty) { + return 0; + } + + long allStatus = doc['AllStatus'].value; + + long nowLevel = doc['NowLevel'].value; + + if (!params._source.containsKey('WorkFlows')) { + return 0; + } + + def workflows = params._source.get('WorkFlows'); + if (workflows == null) { + return 0; + } + + for (def workflow : workflows) { + if ((nowLevel == workflow.Level && workflow.UserID == params.userID ) || (nowLevel >= workflow.Level && workflow.UserID == params.userID && allStatus == params.allStatus) ) { + return 1; + } + } + + def copyUsers = params._source.get('CopyUsers'); + if (copyUsers == null) { + return 0; + } + + for (def copyUser : copyUsers) { + if (copyUser.ID == params.userID && allStatus >= params.allStatus) { + return 1; + } + } + return 0; + `).Lang("painless"). + Param("userID", userID). + Param("allStatus", allStatus))). + MinScore(1) + +} + +func ExistNowLevelQuery() *elastic.ExistsQuery { + return elastic.NewExistsQuery("NowLevel") +} + +func ExistWorkFlowsQuery() *elastic.ExistsQuery { + return elastic.NewExistsQuery("WorkFlows") +} + +func ExistCopyUserQuery() *elastic.ExistsQuery { + return elastic.NewExistsQuery("CopyUsers") +} + +func ContentQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("Content", value) +} + +func GroupNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("GroupName", value) +} + +func NowUserNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("NowUserName", value) +} + +func TypeQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("Type", value) +} + +func TypeNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("TypeName", value) +} + +func ReplyQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("Reply", value) +} + +func SubmitterNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("SubmitterName", value) +} + +// workFlowsObjectQuery 构建审批对象查询 +func workFlowsQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("WorkFlows", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("WorkFlows.Name", value), + ), + ) +} + +// approvalOAObjectQuery 构建审批对象查询 +func approvalOAObjectRevokeReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.RevokeReason", value) +} + +// approvalOAObjectQuery BusinessTrip 构建审批对象查询 +func approvalOABusinessTripObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.BusinessTrip.Reason", value) +} +func approvalOABusinessTripObjectItineraryListNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ApprovalOA.BusinessTrip.ItineraryList", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.BusinessTrip.ItineraryList.EndAddress", value), + elastic.NewMatchPhraseQuery("ApprovalOA.BusinessTrip.ItineraryList.StartAddress", value), + elastic.NewMatchPhraseQuery("ApprovalOA.BusinessTrip.ItineraryList.Vehicle", value), + elastic.NewNestedQuery("ApprovalOA.BusinessTrip.ItineraryList.ApplyTimes", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.BusinessTrip.ItineraryList.ApplyTimes.Date", value), + elastic.NewMatchPhraseQuery("ApprovalOA.BusinessTrip.ItineraryList.ApplyTimes.Hour", value), + elastic.NewMatchPhraseQuery("ApprovalOA.BusinessTrip.ItineraryList.ApplyTimes.M", value), + ), + ), + ), + ) +} + +// approvalOAObjectQuery GoOut 构建审批对象查询 +func approvalOAGoOutObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.GoOut.Reason", value) +} +func approvalOAGoOutObjectVerifyFileQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.GoOut.VerifyFile", value) +} +func approvalOAGoOutObjectApplyTimesNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ApprovalOA.GoOut.ApplyTimes", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.GoOut.ApplyTimes.Date", value), + elastic.NewMatchPhraseQuery("ApprovalOA.GoOut.ApplyTimes.Hour", value), + elastic.NewMatchPhraseQuery("ApprovalOA.GoOut.ApplyTimes.M", value), + ), + ) +} + +// approvalOAObjectQuery Leave 构建审批对象查询 +func approvalOALeaveObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Leave.Reason", value) +} +func approvalOALeaveObjectVerifyFileQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Leave.VerifyFile", value) +} + +func approvalOALeaveObjectApplyTimesNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ApprovalOA.Leave.ApplyTimes", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.Leave.ApplyTimes.Date", value), + elastic.NewMatchPhraseQuery("ApprovalOA.Leave.ApplyTimes.Hour", value), + elastic.NewMatchPhraseQuery("ApprovalOA.Leave.ApplyTimes.M", value), + ), + ) +} + +// approvalOAObjectQuery LeaveApply 构建审批对象查询 +func approvalOALeaveApplyObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.LeaveApply.Reason", value) +} +func approvalOALeaveApplyObjectVerifyFileQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.LeaveApply.VerifyFile", value) +} + +// approvalOAObjectQuery MakeUp 构建审批对象查询 +func approvalOAMakeUpObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.MakeUp.Reason", value) +} + +// approvalOAObjectQuery MakeUp 构建审批对象查询 +func approvalOAMakeUpObjectApplyTimesNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ApprovalOA.MakeUp.ApplyTimes", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.MakeUp.ApplyTimes.Date", value), + elastic.NewMatchPhraseQuery("ApprovalOA.MakeUp.ApplyTimes.Hour", value), + elastic.NewMatchPhraseQuery("ApprovalOA.MakeUp.ApplyTimes.M", value), + ), + ) +} + +// approvalOAObjectQuery OutWork 构建审批对象查询 +func approvalOAOutWorkObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.OutWork.Reason", value) +} +func approvalOAOutWorkObjectOutWorkAddressQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.OutWork.OutWorkAddress", value) +} + +// approvalOAObjectQuery OverTime 构建审批对象查询 +func approvalOAOutWorkObjectApplyTimesNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ApprovalOA.OutWork.ApplyTimes", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.OutWork.ApplyTimes.Date", value), + elastic.NewMatchPhraseQuery("ApprovalOA.OutWork.ApplyTimes.Hour", value), + elastic.NewMatchPhraseQuery("ApprovalOA.OutWork.ApplyTimes.M", value), + ), + ) +} + +// approvalOAObjectQuery OverTime 构建审批对象查询 +func approvalOAOverTimeObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.OverTime.Reason", value) +} + +// approvalOAObjectQuery ApplyTimes 构建审批对象查询 +func approvalOAOverTimeObjectApplyTimesNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ApprovalOA.OverTime.ApplyTimes", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.OverTime.ApplyTimes.Date", value), + elastic.NewMatchPhraseQuery("ApprovalOA.OverTime.ApplyTimes.Hour", value), + elastic.NewMatchPhraseQuery("ApprovalOA.OverTime.ApplyTimes.M", value), + ), + ) +} + +// approvalOAObjectQuery Turnover 构建审批对象查询 +func approvalOATurnoverObjectReasonQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.Reason", value) +} +func approvalOATurnoverObjectHandoverNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.HandoverName", value) +} +func approvalOATurnoverObjectHandoverNumQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.HandoverNum", value) +} +func approvalOATurnoverObjectJoinTimeQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.JoinTime", value) +} +func approvalOATurnoverObjectLeftTimeQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.LeftTime", value) +} +func approvalOATurnoverObjectStaffNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.StaffName", value) +} +func approvalOATurnoverObjectStaffNumQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.StaffNum", value) +} +func approvalOATurnoverObjectSuperviseNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.SuperviseName", value) +} +func approvalOATurnoverObjectSuperviseNumQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.SuperviseNum", value) +} +func approvalOATurnoverObjectWorkItemsQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.WorkItems", value) +} +func approvalOATurnoverObjectContactInfoQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.ContactInfo", value) +} +func approvalOATurnoverObjectItineraryListNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ApprovalOA.Turnover.Positions", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.Positions.DepartmentName", value), + elastic.NewMatchPhraseQuery("ApprovalOA.Turnover.Positions.PositionName", value), + ), + ) +} + +// bundlePayPriceObjectQuery ArtistName ShowAddress 构建审批对象查询 +func bundlePayPriceObjectArtistNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("BundlePayPrice.ArtistName", value) +} +func bundlePayPriceObjectShowAddressQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("BundlePayPrice.ShowAddress", value) +} +func bundlePayPriceObjectShowLowPriceQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("BundlePayPrice.ShowLowPrice", value) +} +func bundlePayPriceObjectArtworkSizeQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("BundlePayPrice.ArtworkSize", value) +} +func bundlePayPriceObjectArtworkNumQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("BundlePayPrice.ArtworkNum", value) +} +func bundlePayPriceObjectShowNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("BundlePayPrice.ShowName", value) +} + +// checkInObjectQuery DetailAddress SaleAddress 构建审批对象查询 +func checkInObjectDetailAddressQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("CheckIn.DetailAddress", value) +} +func checkInObjectSaleAddressQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("CheckIn.SaleAddress", value) +} + +// customizeInfoNestedQuery 构建审批对象查询 +func customizeInfoNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("CustomizeInfo", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("CustomizeInfo.ApprovalKey", value), + elastic.NewMatchPhraseQuery("CustomizeInfo.ApprovalName", value), + elastic.NewMatchPhraseQuery("CustomizeInfo.ApprovalType", value), + elastic.NewMatchPhraseQuery("CustomizeInfo.ApprovalValue", value), + elastic.NewMatchPhraseQuery("CustomizeInfo.SelectList", value), + ), + ) +} + +// employNestedQuery 构建审批对象查询 +func employNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("Employ", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("Employ.BelongDepartment", value), + elastic.NewMatchPhraseQuery("Employ.CloseReason", value), + elastic.NewMatchPhraseQuery("Employ.InterviewFile", value), + elastic.NewMatchPhraseQuery("Employ.ConfirmDate", value), + elastic.NewMatchPhraseQuery("Employ.Mobile", value), + elastic.NewMatchPhraseQuery("Employ.Name", value), + elastic.NewMatchPhraseQuery("Employ.Post", value), + elastic.NewMatchPhraseQuery("Employ.Remark", value), + elastic.NewMatchPhraseQuery("Employ.ResumeFile", value), + ), + ) +} + +// exhibitionObjectQuery 构建审批对象查询 +func exhibitionObjectAddressQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("Exhibition.Address", value) +} +func exhibitionObjectPackageNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("Exhibition.PackageName", value) +} +func exhibitionObjectNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("Exhibition.ApprovalExhibitions", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.Address", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.PackageName", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.ShowDate", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.ArtExhibitionDetail.Address", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.ArtExhibitionDetail.Agent", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.ArtExhibitionDetail.ArtistName", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.ArtExhibitionDetail.ShowName", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.ArtExhibitionDetail.ShowSeq", value), + elastic.NewNestedQuery("Exhibition.ApprovalExhibitions.Artworks", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.Artworks.ArtworkName", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.Artworks.SaleAddress", value), + elastic.NewMatchPhraseQuery("Exhibition.ApprovalExhibitions.Artworks.Tfnum", value), + ), + ), + ), + ) +} + +// exhibitionHisObjectQuery 构建审批对象查询 +func exhibitionHisObjectAddressQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ExhibitionHis.Address", value) +} +func exhibitionHisObjectPackageNameQuery(value interface{}) *elastic.MatchPhraseQuery { + return elastic.NewMatchPhraseQuery("ExhibitionHis.PackageName", value) +} +func exhibitionHisObjectNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ExhibitionHis.ApprovalExhibitionHiss", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.Address", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.PackageName", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.ShowDate", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.ArtExhibitionDetail.Address", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.ArtExhibitionDetail.Agent", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.ArtExhibitionDetail.ArtistName", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.ArtExhibitionDetail.ShowName", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.ArtExhibitionDetail.ShowSeq", value), + elastic.NewNestedQuery("ExhibitionHis.ApprovalExhibitionHiss.Artworks", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.Artworks.ArtworkName", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.Artworks.SaleAddress", value), + elastic.NewMatchPhraseQuery("ExhibitionHis.ApprovalExhibitionHiss.Artworks.Tfnum", value), + ), + ), + ), + ) +} + +// financialFormNestedQuery 构建审批对象查询 +func financialFormNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("FinancialForm", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("FinancialForm.BankNo", value), + elastic.NewMatchPhraseQuery("FinancialForm.BeneficiaryBank", value), + elastic.NewMatchPhraseQuery("FinancialForm.Payee", value), + elastic.NewMatchPhraseQuery("FinancialForm.PaymentCompany", value), + elastic.NewMatchPhraseQuery("FinancialForm.PaymentMethod", value), + elastic.NewMatchPhraseQuery("FinancialForm.TransactionDepartment", value), + elastic.NewNestedQuery("FinancialForm.CostInfo", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("FinancialForm.CostInfo.Description", value), + elastic.NewMatchPhraseQuery("FinancialForm.CostInfo.UsedDepartment", value), + elastic.NewMatchPhraseQuery("FinancialForm.CostInfo.CostUnit", value), + elastic.NewMatchPhraseQuery("FinancialForm.CostInfo.TotalPrice", value), + ), + ), + elastic.NewNestedQuery("FinancialForm.InvoiceInfo", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.InvoiceDate", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.InvoiceNo", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.InvoiceProvider", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.Amount", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.UseTo", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.Applicant", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.PaymentMethod", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.PaymentObj", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.InvoiceType", value), + elastic.NewMatchPhraseQuery("FinancialForm.InvoiceInfo.Notes", value), + ), + ), + ), + ) +} + +// promotionNestedQuery 构建审批对象查询 +func promotionNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("Promotion", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("Promotion.BaiduCertUrl", value), + elastic.NewMatchPhraseQuery("Promotion.BlockId", value), + elastic.NewMatchPhraseQuery("Promotion.FileName", value), + elastic.NewMatchPhraseQuery("Promotion.FileUrl", value), + elastic.NewMatchPhraseQuery("Promotion.NewJob", value), + elastic.NewMatchPhraseQuery("Promotion.OldJob", value), + elastic.NewMatchPhraseQuery("Promotion.StaffName", value), + elastic.NewMatchPhraseQuery("Promotion.StaffNum", value), + elastic.NewMatchPhraseQuery("Promotion.TxId", value), + ), + ) +} + +// returnArtworkInfoNestedQuery 构建审批对象查询 +func returnArtworkInfoNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("ReturnArtworkInfo.ReturnInfos", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.PackageName", value), + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.PostNum", value), + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.ReturnReason", value), + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.ReturnType", value), + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.ReturnTime", value), + elastic.NewNestedQuery("ReturnArtworkInfo.ReturnInfos.Artworks", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.Artworks.ArtistName", value), + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.Artworks.ArtworkName", value), + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.Artworks.SmallPic", value), + elastic.NewMatchPhraseQuery("ReturnArtworkInfo.ReturnInfos.Artworks.Tfnum", value), + ), + ), + ), + ) +} + +// showNestedQuery 构建审批对象查询// showNestedQuery 构建审批对象查询 +func showNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("Show", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("Show.PackageName", value), + elastic.NewMatchPhraseQuery("Show.ShowAt", value), + elastic.NewNestedQuery("Show.ShowDetail", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("Show.ShowDetail.PackageName", value), + elastic.NewMatchPhraseQuery("Show.ShowDetail.ShowAt", value), + ), + ), + ), + ) +} + +// staffSupplyNestedQuery 构建审批对象查询 +func staffSupplyNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("StaffSupply", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("StaffSupply.DepartmentName", value), + elastic.NewMatchPhraseQuery("StaffSupply.JobAsk", value), + elastic.NewMatchPhraseQuery("StaffSupply.JoinInTime", value), + elastic.NewMatchPhraseQuery("StaffSupply.PositionName", value), + ), + ) +} + +// workNestedQuery 构建审批对象查询 +func workNestedQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("Work.ApprovalWorks", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("Work.ApprovalWorks.ArtistName", value), + elastic.NewMatchPhraseQuery("Work.ApprovalWorks.ArtworkCover", value), + elastic.NewMatchPhraseQuery("Work.ApprovalWorks.ArtworkName", value), + elastic.NewMatchPhraseQuery("Work.ApprovalWorks.ShowSeq", value), + ), + ) +} + +// copyUsersQuery 构建审批对象查询 +func copyUsersQuery(value interface{}) *elastic.NestedQuery { + return elastic.NewNestedQuery("CopyUsers", + elastic.NewBoolQuery().Should( + elastic.NewMatchPhraseQuery("CopyUsers.Name", value), + ), + ) +} diff --git a/pkg/service/es_service/approval/logic/update.go b/pkg/service/es_service/approval/logic/update.go new file mode 100644 index 0000000..fe4875d --- /dev/null +++ b/pkg/service/es_service/approval/logic/update.go @@ -0,0 +1,57 @@ +package logic + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/es" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/es_service/approval/model" + "github.com/jinzhu/copier" + "go.uber.org/zap" +) + +func UpdateIndexApprovalDoc(index string, approval *approval.CreateRequest) error { + if approval.ID == 0 { + return nil + } + + doc := model.EsApproval{} + copyWithOptionErr := copier.CopyWithOption(&doc, approval, copier.Option{DeepCopy: true}) + if copyWithOptionErr != nil { + fmt.Println("======================= CopyWithOption es err =======================") + fmt.Println("err : ", copyWithOptionErr.Error()) + zap.L().Error("UpdateIndexApprovalDoc CopyWithOption", zap.Error(copyWithOptionErr)) + fmt.Println("======================= CopyWithOption es err =======================") + return errors.New(common.ErrorCopierApproval) + } + + _, updateErr := es.ElasticClient.Update().Index(index).Id(fmt.Sprintf("%d", approval.ID)).Doc(doc).Do(context.Background()) + if updateErr != nil { + fmt.Println("======================= Update es err =======================") + fmt.Println("err : ", updateErr.Error()) + zap.L().Error("UpdateIndexApprovalDoc Update", zap.Error(updateErr)) + fmt.Println("======================= Update es err =======================") + return errors.New(common.ErrorUpdateApproval) + } + + return nil +} + +func DeleteIndexApprovalDoc(index string, id uint64) error { + if id == 0 { + return nil + } + + _, deleteErr := es.ElasticClient.Delete().Index(index).Id(fmt.Sprintf("%d", id)).Do(context.Background()) + if deleteErr != nil { + fmt.Println("======================= Delete es err =======================") + fmt.Println("err : ", deleteErr.Error()) + zap.L().Error("DeleteIndexApprovalDoc Delete", zap.Error(deleteErr)) + fmt.Println("======================= Delete es err =======================") + return errors.New(common.ErrorDeleteApproval) + } + + return nil +} diff --git a/pkg/service/es_service/approval/model/approvalHtml.go b/pkg/service/es_service/approval/model/approvalHtml.go new file mode 100644 index 0000000..f514068 --- /dev/null +++ b/pkg/service/es_service/approval/model/approvalHtml.go @@ -0,0 +1,69 @@ +package model + +const Tmpl = ` + + + + + + Struct Data Display + + + +

EsApproval Data

+ + + + + + + + + + + + + + + + +
序号:{{ .ID }}
主体:{{ .Domain }}
创建时间:{{ .CreatedAt }}
+ + + + +` + +/* + // + // CustomizeInfo + // + // {{ range $index, $element := .CustomizeInfo }} + //
+ // {{ $element.ApprovalName }}: {{ if isImageUrl $element.ApprovalValue }}{{ $element.ApprovalName }}{{ else }}{{ $element.ApprovalValue }}{{ end }} + //
+ // {{ end }} + // + // +*/ diff --git a/pkg/service/es_service/approval/model/approvalMapping.go b/pkg/service/es_service/approval/model/approvalMapping.go new file mode 100644 index 0000000..cda1e2d --- /dev/null +++ b/pkg/service/es_service/approval/model/approvalMapping.go @@ -0,0 +1,2303 @@ +package model + +const ( + ApprovalMapping = `{ + "settings": { + "number_of_shards": 1, + "number_of_replicas": 1 + }, + "mappings": { + "dynamic": "false", + "properties": { + "ID": { + "type": "long" + }, + "Domain": { + "type": "text" + }, + "Status": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "SubmitterID": { + "type": "long" + }, + "SubmitterName": { + "type": "text" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "Content": { + "type": "text" + }, + "Reply": { + "type": "text" + }, + "CanView": { + "type": "boolean" + }, + "Work": { + "type": "object", + "properties": { + "ID": { + "type": "long" + }, + "ReturnAt": { + "type": "text" + }, + "ReceivedAt": { + "type": "text" + }, + "ApprovalWorks": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "WorkID": { + "type": "long" + }, + "ApprovalID": { + "type": "long" + }, + "ArtworkID": { + "type": "long" + }, + "ArtworkName": { + "type": "text" + }, + "ArtistName": { + "type": "text" + }, + "ArtworkCover": { + "type": "text" + }, + "ArtworkNumber": { + "type": "long" + }, + "ArtistUID": { + "type": "text" + }, + "ShowSeq": { + "type": "text" + }, + "ArtistShowCount": { + "type": "text" + } + } + }, + "ArtistUID": { + "type": "text" + } + } + }, + "Show": { + "type": "nested", + "properties": { + "ShowDetail": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "ArtistNum": { + "type": "long" + }, + "ShowAt": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "Show": { + "type": "object", + "properties": { + "ID": { + "type": "long" + }, + "ArtistNum": { + "type": "long" + }, + "ShowAt": { + "type": "text" + } + } + } + } + } + } + }, + "Exhibition": { + "type": "object", + "properties": { + "ID": { + "type": "long" + }, + "ReceivedAt": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "PidApprovalID": { + "type": "long" + }, + "ApprovalExhibitions": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "ExhibitionID": { + "type": "long" + }, + "ApprovalID": { + "type": "long" + }, + "PackageName": { + "type": "text" + }, + "PackageID": { + "type": "text" + }, + "PackageSize": { + "type": "long" + }, + "PackageNumber": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "ShowDate": { + "type": "text" + }, + "Artworks": { + "type": "nested", + "properties": { + "ArtworkPriceUID": { + "type": "text" + }, + "ShowUID": { + "type": "text" + }, + "ArtworkUID": { + "type": "text" + }, + "ArtworkName": { + "type": "text" + }, + "ArtistName": { + "type": "text" + }, + "Length": { + "type": "long" + }, + "Width": { + "type": "long" + }, + "Ruler": { + "type": "long" + }, + "SmallPic": { + "type": "text" + }, + "SaleAddress": { + "type": "text" + }, + "Reward": { + "type": "text" + }, + "Tfnum": { + "type": "text" + }, + "SaleAddressID": { + "type": "text" + }, + "ArtistShowCount": { + "type": "text" + } + } + }, + "ArtExhibitionDetail": { + "type": "object", + "properties": { + "ShowUID": { + "type": "text" + }, + "ShowSeq": { + "type": "text" + }, + "ShowName": { + "type": "text" + }, + "ArtistName": { + "type": "text" + }, + "ArtistUID": { + "type": "text" + }, + "ArtworkNum": { + "type": "long" + }, + "Ruler": { + "type": "long" + }, + "Price": { + "type": "long" + }, + "Reward": { + "type": "long" + }, + "CreateTime": { + "type": "text" + }, + "Operator": { + "type": "text" + }, + "IsShow": { + "type": "long" + }, + "ShowTime": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "Agent": { + "type": "text" + }, + "ArtistShowCount": { + "type": "text" + }, + "ExhibitionType": { + "type": "integer" + }, + "IsInvite": { + "type": "integer" + } + } + }, + "TotalPrice": { + "type": "long" + } + } + }, + "Num": { + "type": "long" + }, + "ApplyID": { + "type": "text" + }, + "ExhibitionUID": { + "type": "text" + } + } + }, + "Bundle": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "ReturnAt": { + "type": "text" + }, + "ReceivedAt": { + "type": "text" + }, + "ApplicationsNum": { + "type": "long" + } + } + }, + "ApprovalUser": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "text" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + }, + "CanApproval": { + "type": "boolean" + }, + "WorkFlows": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "UserID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "text" + }, + "Status": { + "type": "long" + }, + "Tips": { + "type": "text" + }, + "Reply": { + "type": "text" + }, + "OperatedAt": { + "type": "text" + }, + "IsLive": { + "type": "long" + } + } + }, + "AllStatus": { + "type": "long" + }, + "NowUserId": { + "type": "long" + }, + "NowUserName": { + "type": "text" + }, + "Level": { + "type": "long" + }, + "NowLevel": { + "type": "long" + }, + "CreatedAt": { + "type": "text" + }, + "CustomizeInfo": { + "type": "nested", + "properties": { + "ApprovalKey": { + "type": "text" + }, + "ApprovalName": { + "type": "text" + }, + "ApprovalType": { + "type": "text" + }, + "ApprovalValue": { + "type": "text" + }, + "ApprovalMark": { + "type": "boolean" + }, + "ApprovalRequired": { + "type": "boolean" + }, + "ApprovalPlaceholder": { + "type": "text" + }, + "SelectList": { + "type": "text" + } + } + }, + "IsCustom": { + "type": "long" + }, + "TypeName": { + "type": "text" + }, + "GroupName": { + "type": "text" + }, + "BundlePayPrice": { + "properties": { + "ShowUid": { + "type": "text" + }, + "ApprovalID": { + "type": "long" + }, + "ShowName": { + "type": "text" + }, + "ReceivedAt": { + "type": "text" + }, + "ShowDate": { + "type": "text" + }, + "ShowLowPrice": { + "type": "text" + }, + "ArtworkNum": { + "type": "long" + }, + "ArtworkSize": { + "type": "text" + }, + "ShowAddress": { + "type": "text" + }, + "ID": { + "type": "long" + }, + "Status": { + "type": "long" + }, + "ArtistName": { + "type": "text" + }, + "Rollback": { + "type": "integer" + }, + "OperationTimes": { + "type": "integer" + }, + "ExhibitionType": { + "type": "long" + }, + "ArtistShowCount": { + "type": "text" + } + } + }, + "ApprovalOA": { + "type": "object", + "properties": { + "ID": { + "type": "long" + }, + "DeletedAt": { + "type": "long" + }, + "CreatedAt": { + "type": "text" + }, + "UpdatedAt": { + "type": "text" + }, + "ApprovalID": { + "type": "long" + }, + "LeaveApply": { + "type": "object", + "properties": { + "UUID": { + "type": "text" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "text" + }, + "StaffName": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "ApplyType": { + "type": "text" + }, + "ActionTime": { + "type": "text" + }, + "ApprovalID": { + "type": "text" + }, + "Status": { + "type": "integer" + }, + "Reason": { + "type": "text" + }, + "VerifyFile": { + "type": "text" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "text" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + }, + "LeaveBalance": { + "type": "float" + } + } + }, + "OutWork": { + "type": "object", + "properties": { + "UUID": { + "type": "text" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "text" + }, + "StaffName": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "ApplyType": { + "type": "text" + }, + "ActionTime": { + "type": "text" + }, + "ApprovalID": { + "type": "text" + }, + "Status": { + "type": "integer" + }, + "ApplyTimes": { + "type": "nested", + "properties": { + "Date": { + "type": "text" + }, + "Hour": { + "type": "text" + }, + "M": { + "type": "text" + } + } + }, + "Reason": { + "type": "text" + }, + "Hours": { + "type": "float" + }, + "OutWorkAddress": { + "type": "text" + }, + "Vehicle": { + "type": "text" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "text" + }, + "Status": { + "type": "integer" + }, + "Tips": { + "type": "text" + }, + "Reply": { + "type": "text" + }, + "OperatedAt": { + "type": "text" + }, + "IsLive": { + "type": "long" + } + } + } + } + }, + "MakeUp": { + "type": "object", + "properties": { + "UUID": { + "type": "keyword" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "keyword" + }, + "StaffName": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "ApplyType": { + "type": "keyword" + }, + "ActionTime": { + "type": "text" + }, + "ApprovalID": { + "type": "keyword" + }, + "Status": { + "type": "integer" + }, + "ApplyTimes": { + "type": "nested", + "properties": { + "Date": { + "type": "text" + }, + "Hour": { + "type": "text" + }, + "M": { + "type": "text" + } + } + }, + "Reason": { + "type": "text" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "keyword" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + } + } + }, + "Turnover": { + "type": "object", + "properties": { + "UUID": { + "type": "text" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "text" + }, + "StaffName": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "ApplyType": { + "type": "text" + }, + "ActionTime": { + "type": "text" + }, + "ApprovalID": { + "type": "text" + }, + "Status": { + "type": "integer" + }, + "HandoverUID": { + "type": "long" + }, + "HandoverName": { + "type": "text" + }, + "ApplyTimes": { + "type": "nested", + "properties": { + "Date": { + "type": "text" + }, + "Hour": { + "type": "text" + }, + "M": { + "type": "text" + } + } + }, + "Reason": { + "type": "text" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "text" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + }, + "Positions": { + "type": "nested", + "properties": { + "DepartmentName": { + "type": "text" + }, + "DepartmentID": { + "type": "long" + }, + "PositionName": { + "type": "text" + }, + "PositionID": { + "type": "long" + } + } + }, + "JoinTime": { + "type": "text" + }, + "LeftTime": { + "type": "text" + }, + "ContactInfo": { + "type": "text" + }, + "HandoverNum": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "SuperviseUID": { + "type": "long" + }, + "SuperviseName": { + "type": "text" + }, + "SuperviseNum": { + "type": "text" + }, + "WorkItems": { + "type": "text" + }, + "FinanceItems": { + "type": "text" + } + } + }, + "OverTime": { + "type": "object", + "properties": { + "UUID": { + "type": "keyword" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "keyword" + }, + "StaffName": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "ApplyType": { + "type": "keyword" + }, + "ActionTime": { + "type": "keyword" + }, + "ApprovalID": { + "type": "keyword" + }, + "Status": { + "type": "integer" + }, + "ApplyTimes": { + "type": "nested", + "properties": { + "Date": { + "type": "text" + }, + "Hour": { + "type": "text" + }, + "M": { + "type": "text" + } + } + }, + "Reason": { + "type": "text" + }, + "Hours": { + "type": "float" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "keyword" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + } + } + }, + "Leave": { + "type": "object", + "properties": { + "UUID": { + "type": "keyword" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "keyword" + }, + "StaffName": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "ApplyType": { + "type": "keyword" + }, + "ActionTime": { + "type": "keyword" + }, + "ApprovalID": { + "type": "keyword" + }, + "Status": { + "type": "integer" + }, + "ApplyTimes": { + "type": "nested", + "properties": { + "Date": { + "type": "text" + }, + "Hour": { + "type": "text" + }, + "M": { + "type": "text" + } + } + }, + "Reason": { + "type": "text" + }, + "Hours": { + "type": "float" + }, + "Days": { + "type": "float" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "keyword" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + }, + "VerifyFile": { + "type": "text" + }, + "DateOfBrith": { + "type": "text" + }, + "Children": { + "type": "integer" + }, + "Month": { + "type": "integer" + }, + "Dystocia": { + "type": "integer" + } + } + }, + "RevokeReason": { + "type": "text" + }, + "GoOut": { + "type": "object", + "properties": { + "UUID": { + "type": "keyword" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "keyword" + }, + "StaffName": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "ApplyType": { + "type": "keyword" + }, + "ActionTime": { + "type": "keyword" + }, + "ApprovalID": { + "type": "keyword" + }, + "Status": { + "type": "integer" + }, + "ApplyTimes": { + "type": "nested", + "properties": { + "Date": { + "type": "text" + }, + "Hour": { + "type": "text" + }, + "M": { + "type": "text" + } + } + }, + "Reason": { + "type": "text" + }, + "Hours": { + "type": "float" + }, + "Days": { + "type": "float" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "keyword" + }, + "DepartmentUID": { + "type": "keyword" + }, + "DepartmentName": { + "type": "keyword" + }, + "PositionUID": { + "type": "keyword" + }, + "PositionName": { + "type": "keyword" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "keyword" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "keyword" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + }, + "VerifyFile": { + "type": "text" + }, + "DateOfBrith": { + "type": "text" + }, + "Children": { + "type": "integer" + }, + "Month": { + "type": "integer" + }, + "Dystocia": { + "type": "integer" + } + } + }, + "BusinessTrip": { + "type": "object", + "properties": { + "UUID": { + "type": "text" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "text" + }, + "StaffName": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "ApplyType": { + "type": "text" + }, + "ActionTime": { + "type": "text" + }, + "ApprovalID": { + "type": "text" + }, + "ItineraryList": { + "type": "nested", + "properties": { + "Vehicle": { + "type": "text" + }, + "StartAddress": { + "type": "text" + }, + "EndAddress": { + "type": "text" + }, + "ApplyTimes": { + "type": "nested", + "properties": { + "Date": { + "type": "text" + }, + "Hour": { + "type": "text" + }, + "M": { + "type": "text" + } + } + }, + "Days": { + "type": "float" + } + } + }, + "TotalDays": { + "type": "float" + }, + "Reason": { + "type": "text" + }, + "Status": { + "type": "integer" + }, + "CopyUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "Level": { + "type": "long" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsViewed": { + "type": "boolean" + } + } + }, + "ApprovalUsers": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "Name": { + "type": "text" + }, + "DepartmentUID": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionUID": { + "type": "text" + }, + "PositionName": { + "type": "text" + }, + "IsDirect": { + "type": "long" + }, + "Level": { + "type": "long" + }, + "BalanceFillIn": { + "type": "long" + }, + "Signature": { + "type": "text" + }, + "IsLive": { + "type": "long" + }, + "Type": { + "type": "text" + }, + "IsDesignate": { + "type": "long" + }, + "Tier": { + "type": "long" + } + } + } + } + } + } + }, + "FinancialForm": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "DeletedAt": { + "type": "long" + }, + "CreatedAt": { + "type": "text" + }, + "UpdatedAt": { + "type": "text" + }, + "ApprovalID": { + "type": "long" + }, + "PaymentCompany": { + "type": "text" + }, + "TransactionDepartment": { + "type": "text" + }, + "Payee": { + "type": "text" + }, + "BeneficiaryBank": { + "type": "text" + }, + "BankNo": { + "type": "text" + }, + "CostInfo": { + "type": "nested", + "properties": { + "Description": { + "type": "text" + }, + "UnitPrice": { + "type": "text" + }, + "CostUnit": { + "type": "text" + }, + "CostNum": { + "type": "long" + }, + "TotalPrice": { + "type": "text" + }, + "UsedDepartment": { + "type": "text" + } + } + }, + "PaymentMethod": { + "type": "text" + }, + "InvoiceInfo": { + "type": "nested", + "properties": { + "InvoiceDate": { + "type": "text" + }, + "InvoiceNo": { + "type": "text" + }, + "InvoiceProvider": { + "type": "text" + }, + "Amount": { + "type": "text" + }, + "UseTo": { + "type": "text" + }, + "Applicant": { + "type": "text" + }, + "PaymentMethod": { + "type": "text" + }, + "PaymentObj": { + "type": "text" + }, + "InvoiceType": { + "type": "text" + }, + "Notes": { + "type": "text" + } + } + } + } + }, + "DepartmentID": { + "type": "long" + }, + "PositionID": { + "type": "long" + }, + "ExhibitionHis": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "ReceivedAt": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "PidApprovalID": { + "type": "long" + }, + "ApprovalExhibitionHiss": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "ExhibitionID": { + "type": "long" + }, + "ApprovalID": { + "type": "long" + }, + "PackageName": { + "type": "text" + }, + "PackageID": { + "type": "text" + }, + "PackageSize": { + "type": "long" + }, + "PackageNumber": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "ShowDate": { + "type": "text" + }, + "Artworks": { + "type": "nested", + "properties": { + "ArtworkPriceUID": { + "type": "text" + }, + "ShowUID": { + "type": "text" + }, + "ArtworkUID": { + "type": "text" + }, + "ArtworkName": { + "type": "text" + }, + "ArtistName": { + "type": "text" + }, + "Length": { + "type": "long" + }, + "Width": { + "type": "long" + }, + "Ruler": { + "type": "long" + }, + "SmallPic": { + "type": "text" + }, + "SaleAddress": { + "type": "text" + }, + "Reward": { + "type": "text" + }, + "Tfnum": { + "type": "text" + }, + "SaleAddressID": { + "type": "text" + }, + "ArtistShowCount": { + "type": "text" + } + } + }, + "ArtExhibitionDetail": { + "type": "nested", + "properties": { + "ShowUID": { + "type": "text" + }, + "ShowSeq": { + "type": "text" + }, + "ShowName": { + "type": "text" + }, + "ArtistName": { + "type": "text" + }, + "ArtistUID": { + "type": "text" + }, + "ArtworkNum": { + "type": "long" + }, + "Ruler": { + "type": "long" + }, + "Price": { + "type": "long" + }, + "Reward": { + "type": "long" + }, + "CreateTime": { + "type": "text" + }, + "Operator": { + "type": "text" + }, + "IsShow": { + "type": "long" + }, + "ShowTime": { + "type": "text" + }, + "Address": { + "type": "text" + }, + "Agent": { + "type": "text" + }, + "ArtistShowCount": { + "type": "text" + }, + "ExhibitionType": { + "type": "integer" + }, + "IsInvite": { + "type": "integer" + } + } + }, + "TotalPrice": { + "type": "long" + } + } + }, + "Num": { + "type": "long" + }, + "ApplyID": { + "type": "text" + } + } + }, + "Promotion": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "DeletedAt": { + "type": "long" + }, + "CreatedAt": { + "type": "text" + }, + "UpdatedAt": { + "type": "text" + }, + "ApprovalID": { + "type": "long" + }, + "StaffUID": { + "type": "long" + }, + "StaffNum": { + "type": "text" + }, + "StaffName": { + "type": "text" + }, + "FileUrl": { + "type": "text" + }, + "FileName": { + "type": "text" + }, + "RequestID": { + "type": "text" + }, + "TxId": { + "type": "text" + }, + "BlockId": { + "type": "text" + }, + "BaiduCertUrl": { + "type": "text" + }, + "OldJob": { + "type": "text" + }, + "NewJob": { + "type": "text" + }, + "EffectiveTime": { + "type": "text" + }, + "IsSend": { + "type": "long" + } + } + }, + "StaffSupply": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "DeletedAt": { + "type": "long" + }, + "CreatedAt": { + "type": "text" + }, + "UpdatedAt": { + "type": "text" + }, + "ApprovalID": { + "type": "long" + }, + "PositionName": { + "type": "text" + }, + "Num": { + "type": "long" + }, + "JobAsk": { + "type": "text" + }, + "JoinInTime": { + "type": "text" + }, + "DepartmentName": { + "type": "text" + }, + "PositionId": { + "type": "text" + }, + "DepartmentId": { + "type": "text" + } + } + }, + "Employ": { + "type": "nested", + "properties": { + "ID": { + "type": "long" + }, + "DeletedAt": { + "type": "long" + }, + "CreatedAt": { + "type": "text" + }, + "UpdatedAt": { + "type": "text" + }, + "ApprovalID": { + "type": "long" + }, + "ResumeID": { + "type": "text" + }, + "Post": { + "type": "text" + }, + "BelongDepartment": { + "type": "text" + }, + "Name": { + "type": "text" + }, + "Mobile": { + "type": "text" + }, + "ResumeFile": { + "type": "text" + }, + "InterviewFile": { + "type": "text" + }, + "EmployeeType": { + "type": "text" + }, + "EmployeeNo": { + "type": "text" + }, + "EntryTime": { + "type": "text" + }, + "CloseReason": { + "type": "text" + }, + "IsClosed": { + "type": "integer" + }, + "PositionId": { + "type": "text" + }, + "DepartmentId": { + "type": "text" + }, + "ConfirmDate": { + "type": "text" + }, + "Remark": { + "type": "text" + } + } + }, + "IsLeader": { + "type": "boolean" + }, + "CheckIn": { + "properties": { + "ApprovalID": { + "type": "long" + }, + "SaleAddress": { + "type": "text" + }, + "DetailAddress": { + "type": "text" + }, + "Longitude": { + "type": "text" + }, + "Latitude": { + "type": "text" + } + } + }, + "MenuType": { + "type": "integer" + } + } + } + } +}` +) + +// 备用 +/* + "ReturnArtworkInfo": { + "type": "object", + "properties": { + "ID": { + "type": "long" + }, + "DeletedAt": { + "type": "long" + }, + "CreatedAt": { + "type": "text" + }, + "UpdatedAt": { + "type": "text" + }, + "ApprovalID": { + "type": "long" + }, + "ReturnInfos": { + "type": "nested", + "properties": { + "ArtistName": { + "type": "text" + }, + "PackageName": { + "type": "text" + }, + "PackageID": { + "type": "keyword" + }, + "ReturnType": { + "type": "long" + }, + "PostNum": { + "type": "text" + }, + "ReturnTime": { + "type": "text" + }, + "ReturnReason": { + "type": "text" + }, + "Artworks": { + "type": "nested", + "properties": { + "Tfnum": { + "type": "text" + }, + "ArtworkUID": { + "type": "text" + }, + "ArtworkName": { + "type": "text" + }, + "ArtistName": { + "type": "text" + }, + "Length": { + "type": "long" + }, + "Width": { + "type": "long" + }, + "Ruler": { + "type": "long" + }, + "SmallPic": { + "type": "text" + } + } + }, + "ArtistNum": { + "type": "text" + } + } + }, + "ExhibitionUID": { + "type": "text" + }, + "ReturnStatus": { + "type": "integer" + } + }, +*/ diff --git a/pkg/service/es_service/approval/model/approvalModel.go b/pkg/service/es_service/approval/model/approvalModel.go new file mode 100644 index 0000000..42b9820 --- /dev/null +++ b/pkg/service/es_service/approval/model/approvalModel.go @@ -0,0 +1,612 @@ +package model + +type EsApproval struct { + ID uint64 `json:"ID"` // Assuming the field names in JSON are the same as in the mapping + Domain string `json:"Domain"` + Status uint64 `json:"Status"` + Type string `json:"Type"` + SubmitterID uint64 `json:"SubmitterID"` + SubmitterName string `json:"SubmitterName"` + CopyUsers []CopyUser `json:"CopyUsers"` + Content string `json:"Content"` + Reply string `json:"Reply"` + CanView bool `json:"CanView"` + Work Work `json:"Work"` + Show []ShowDetail `json:"Show"` + Exhibition Exhibition `json:"Exhibition"` + Bundle Bundle `json:"Bundle"` + ApprovalUsers []ApprovalUser `json:"ApprovalUsers"` + CanApproval bool `json:"CanApproval"` + WorkFlows []WorkFlow `json:"WorkFlows"` + AllStatus uint64 `json:"AllStatus"` + NowUserId uint64 `json:"NowUserId"` + NowUserName string `json:"NowUserName"` + Level uint64 `json:"Level"` + NowLevel uint64 `json:"NowLevel"` + CreatedAt string `json:"CreatedAt"` + CustomizeInfo []KeyInfo `json:"CustomizeInfo"` + IsCustom uint64 `json:"IsCustom"` + TypeName string `json:"TypeName"` + GroupName string `json:"GroupName"` + BundlePayPrice BundlePayPrice `json:"BundlePayPrice"` + ApprovalOA ApprovalOA `json:"ApprovalOA"` + FinancialForm FinancialForm `json:"FinancialForm"` + DepartmentID int64 `json:"DepartmentID"` + PositionID int64 `json:"PositionID"` + ExhibitionHis ExhibitionHis `json:"ExhibitionHis"` + Promotion Promotion `json:"Promotion"` + StaffSupply StaffSupply `json:"StaffSupply"` + Employ Employ `json:"Employ"` + IsLeader bool `json:"IsLeader"` + CheckIn CheckIn `json:"CheckIn"` + //ReturnArtworkInfo []ReturnArtworkInfos `json:"ReturnArtworkInfo"` // Assuming it's a slice based on the mapping + MenuType int32 `json:"MenuType"` + Object string `json:"Object"` +} + +type KeyInfo struct { + ApprovalKey string + ApprovalName string + ApprovalType string + ApprovalValue string + ApprovalMark bool + ApprovalRequired bool + ApprovalPlaceholder string + SelectList []string +} + +type Bundle struct { + ID uint64 + ReturnAt string + ReceivedAt string + ApplicationsNum uint64 +} + +type ShowDetail struct { + ID uint64 + ArtistNum uint64 + ShowAt string + Address string + Show Show +} + +type Show struct { + ID uint64 + ArtistNum uint64 + ShowAt string +} + +type ApprovalWork struct { + ID uint64 + WorkID uint64 + ApprovalID uint64 + ArtworkID uint64 + ArtworkName string + ArtistName string + ArtworkCover string + ArtworkNumber uint64 + ArtistUID string + ShowSeq string + ArtistShowCount string +} + +type Work struct { + ID uint64 + ReturnAt string + ReceivedAt string + ApprovalWorks []ApprovalWork + ArtistUID string +} + +type ApprovalExhibition struct { + ID uint64 + ExhibitionID uint64 + ApprovalID uint64 + PackageName string + PackageID string + PackageSize uint64 + PackageNumber string + Address string + ShowDate string + Artworks []Artwork + ArtExhibitionDetail ArtExhibitionDetail + TotalPrice int64 +} + +type Exhibition struct { + ID uint64 + ReceivedAt string + Address string + PidApprovalID uint64 + ApprovalExhibitions []ApprovalExhibition + Num uint64 + ApplyID string + ExhibitionUID string +} + +type Artwork struct { + ArtworkPriceUID string + ShowUID string + ArtworkUID string + ArtworkName string + ArtistName string + Length uint64 + Width uint64 + Ruler uint64 + SmallPic string + SaleAddress string + Reward string + Tfnum string + SaleAddressID string + ArtistShowCount string +} + +type ArtExhibitionDetail struct { + ShowUID string + ShowSeq string + ShowName string + ArtistName string + ArtistUID string + ArtworkNum uint64 + Ruler uint64 + Price uint64 + Reward uint64 + CreateTime string + Operator string + IsShow uint64 + ShowTime string + Address string + Agent string + ArtistShowCount string + ExhibitionType int32 + IsInvite int32 +} + +type BundlePayPrice struct { + ShowUid string + ApprovalID uint64 + ShowName string + ReceivedAt string + ShowDate string + ShowLowPrice string + ArtworkNum uint64 + ArtworkSize string + ShowAddress string + ID uint64 + Status uint64 + ArtistName string + Rollback int32 + OperationTimes int32 + ExhibitionType uint64 + ArtistShowCount string +} + +type WorkFlow struct { + ID uint64 + UserID uint64 + Name string + DepartmentUID string + DepartmentName string + PositionUID string + PositionName string + IsDirect uint64 + Level uint64 + BalanceFillIn uint64 + Signature string + Status uint64 + Tips string + Reply string + OperatedAt string + IsLive uint64 +} + +type CopyUser struct { + ID uint64 + Name string + DepartmentUID string + DepartmentName string + PositionUID string + PositionName string + Level uint64 + IsLive uint64 + Type string + IsViewed bool +} + +type ApprovalUser struct { + ID uint64 + Name string + DepartmentUID string + DepartmentName string + PositionUID string + PositionName string + IsDirect uint64 + Level uint64 + BalanceFillIn uint64 + Signature string + IsLive uint64 + Type string + IsDesignate uint64 + Tier uint64 +} + +type ApplyTime struct { + Date string + Hour string + M string +} + +type ApprovalOA struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + ApprovalID uint64 + LeaveApply LeaveApply + OutWork OutWorkApply + MakeUp MakeUpApply + Turnover TurnoverApply + OverTime OverTimeApply + Leave Leave + RevokeReason string + GoOut Leave + BusinessTrip BusinessTripApply +} + +type LeaveApply struct { + UUID string + StaffUID uint64 + StaffNum string + StaffName string + DepartmentUID string + ApplyType string + ActionTime string + ApprovalID string + Status int32 + Reason string + VerifyFile []string + CopyUsers []CopyUser + ApprovalUsers []ApprovalUser + LeaveBalance float32 +} + +type OutWorkApply struct { + UUID string + StaffUID uint64 + StaffNum string + StaffName string + DepartmentUID string + ApplyType string + ActionTime string + ApprovalID string + Status int32 + ApplyTimes []ApplyTime + Reason string + Hours float32 + OutWorkAddress string + Vehicle string + CopyUsers []CopyUser + ApprovalUsers []ApprovalUser +} + +type MakeUpApply struct { + UUID string + StaffUID uint64 + StaffNum string + StaffName string + DepartmentUID string + ApplyType string + ActionTime string + ApprovalID string + Status int32 + ApplyTimes []ApplyTime + Reason string + CopyUsers []CopyUser + ApprovalUsers []ApprovalUser +} + +type TurnoverApply struct { + UUID string + StaffUID uint64 + StaffNum string + StaffName string + DepartmentUID string + ApplyType string + ActionTime string + ApprovalID string + Status int32 + HandoverUID uint64 + HandoverName string + ApplyTimes []ApplyTime + Reason string + CopyUsers []CopyUser + ApprovalUsers []ApprovalUser + Positions []Position + JoinTime string + LeftTime string + ContactInfo string + HandoverNum string + Address string + SuperviseUID uint64 + SuperviseName string + SuperviseNum string + WorkItems string + FinanceItems string +} + +type Position struct { + DepartmentName string + DepartmentID int64 + PositionName string + PositionID int64 +} + +type OverTimeApply struct { + UUID string + StaffUID uint64 + StaffNum string + StaffName string + DepartmentUID string + ApplyType string + ActionTime string + ApprovalID string + Status int32 + ApplyTimes []ApplyTime + Reason string + Hours float32 + CopyUsers []CopyUser + ApprovalUsers []ApprovalUser +} + +type Leave struct { + UUID string + StaffUID uint64 + StaffNum string + StaffName string + DepartmentUID string + ApplyType string + ActionTime string + ApprovalID string + Status int32 + ApplyTimes []ApplyTime + Reason string + Hours float32 + Days float32 + CopyUsers []CopyUser + ApprovalUsers []ApprovalUser + VerifyFile []string + DateOfBrith string + Children int32 + Month int32 + Dystocia int32 +} + +type FinancialForm struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + ApprovalID uint64 + PaymentCompany string + TransactionDepartment string + Payee string + BeneficiaryBank string + BankNo string + CostInfo []CostInfo + PaymentMethod string + InvoiceInfo []InvoiceInfo +} + +type InvoiceInfo struct { + InvoiceDate string + InvoiceNo string + InvoiceProvider string + Amount string + UseTo string + Applicant string + PaymentMethod string + PaymentObj string + InvoiceType string + Notes string +} + +type CostInfo struct { + Description string + UnitPrice string + CostUnit string + CostNum int64 + TotalPrice string + UsedDepartment string +} + +type ExhibitionHis struct { + ID uint64 + ReceivedAt string + Address string + PidApprovalID uint64 + ApprovalExhibitionHiss []ApprovalExhibitionHis + Num uint64 + ApplyID string +} + +type ApprovalExhibitionHis struct { + ID uint64 + ExhibitionHisID uint64 + ApprovalID uint64 + PackageName string + PackageID string + PackageSize uint64 + PackageNumber string + Address string + ShowDate string + Artworks []Artwork + ArtExhibitionDetail ArtExhibitionDetail + TotalPrice int64 +} + +type Promotion struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + ApprovalID uint64 + StaffUID uint64 + StaffNum string + StaffName string + FileUrl string + FileName string + RequestID string + TxId string + BlockId string + BaiduCertUrl string + OldJob string + NewJob string + EffectiveTime string + IsSend uint64 +} + +type StaffSupply struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + ApprovalID uint64 + PositionName string + Num uint64 + JobAsk string + JoinInTime string + DepartmentName string + PositionId string + DepartmentId string +} + +type Employ struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + ApprovalID uint64 + ResumeID string + Post string + BelongDepartment string + Name string + Mobile string + ResumeFile string + InterviewFile string + EmployeeType string + EmployeeNo string + EntryTime string + CloseReason string + IsClosed int32 + PositionId string + DepartmentId string + ConfirmDate string + Remark string +} + +type Job struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + ApprovalID uint64 + PositionName string + Num int64 + JobAsk string + JoinInTime string + Poster string + PosterRule string + DepartmentName string + ResidueNum int64 + InitiationTime string + Status int64 + Interviewers []Interviewer +} + +type Interviewer struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + JobID uint64 + Seq string + Resume string + Name string + Tel string + Type string + InterviewTime string + ExpectEntryTime string + JobNum string + InfoTable string + Status int64 + UpdateTime string + DepartmentName string + PositionName string +} + +type CheckIn struct { + ApprovalID uint64 + SaleAddress string + DetailAddress string + Longitude string + Latitude string +} + +type ReturnInfo struct { + ArtistName string + PackageName string + PackageID string + ReturnType uint64 + PostNum string + ReturnTime string + ReturnReason string + Artworks []ArtworkReturns + ArtistNum string +} + +type ArtworkReturns struct { + Tfnum string + ArtworkUID string + ArtworkName string + ArtistName string + Length uint64 + Width uint64 + Ruler uint64 + SmallPic string +} + +type ReturnArtworkInfos struct { + ID uint64 + DeletedAt uint64 + CreatedAt string + UpdatedAt string + ApprovalID uint64 + ReturnInfos []ReturnInfo + ExhibitionUID string + ReturnStatus int32 +} + +type BusinessTripApply struct { + UUID string + StaffUID uint64 + StaffNum string + StaffName string + DepartmentUID string + ApplyType string + ActionTime string + ApprovalID string + ItineraryList []Itinerary + TotalDays float32 + Reason string + Status int32 + CopyUsers []CopyUser + ApprovalUsers []ApprovalUser +} + +type Itinerary struct { + Vehicle string + StartAddress string + EndAddress string + ApplyTimes []ApplyTime + Days float32 +} diff --git a/pkg/service/es_service/approval/model/index.go b/pkg/service/es_service/approval/model/index.go new file mode 100644 index 0000000..41a5d16 --- /dev/null +++ b/pkg/service/es_service/approval/model/index.go @@ -0,0 +1,5 @@ +package model + +const ( + IndexApproval = "approval" +) diff --git a/pkg/service/es_service/approval/model/search.go b/pkg/service/es_service/approval/model/search.go new file mode 100644 index 0000000..f5c6509 --- /dev/null +++ b/pkg/service/es_service/approval/model/search.go @@ -0,0 +1,15 @@ +package model + +type SearchApproval struct { + UserID uint64 `json:"userID"` + Value interface{} `json:"value"` + Page int `json:"Page"` + PageSize int `json:"PageSize"` + QueryType int `json:"queryType"` // 1 你已提交 2 待你审批 3 你已审批 4 抄送查看 5 全部审批 + MenuType int `json:"menuType"` // 1 考勤 2 其他 +} + +type SearchApprovalRes struct { + Count int64 `json:"Count"` + Data []*EsApproval `json:"data"` +} diff --git a/pkg/service/exam/exam.go b/pkg/service/exam/exam.go new file mode 100644 index 0000000..8045f66 --- /dev/null +++ b/pkg/service/exam/exam.go @@ -0,0 +1,88 @@ +package exam + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func SaveExam(c *gin.Context) { + req := new(exam.ExamInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveExam ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _, err := service.GrpcExamClientImpl.SaveExam(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +func GetExamInfo(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetExamInfo ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetExamInfo(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func GetExamInfos(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetExamInfos ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetExamInfos(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} diff --git a/pkg/service/exam/examCertDto.go b/pkg/service/exam/examCertDto.go new file mode 100644 index 0000000..8740045 --- /dev/null +++ b/pkg/service/exam/examCertDto.go @@ -0,0 +1,29 @@ +package exam + +import "github.com/fonchain_enterprise/fonchain-main/api/exam" + +type GetCertListRequest struct { + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` + exam.CertData + EnableStatic bool `json:"enableStatic"` + Status int64 `json:"status"` +} + +type GetCertListType struct { + ID int64 `json:"id"` + CreatedAt string `json:"createdAt"` + UpdatedAt string `json:"updatedAt"` + DeletedAt int64 `json:"deletedAt"` + Name string `json:"name"` + SampleUrl string `json:"sampleUrl"` + Thumbnail string `json:"thumbnail"` + Desc string `json:"desc"` + ValidTime int64 `json:"validTime"` + CreatedBy string `json:"createdBy"` + CreatorId int64 `json:"creatorId"` + UpdatedBy string `json:"updatedBy"` + UpdaterId int64 `json:"updaterId"` + OwnerNum int64 `json:"ownerNum"` + Status int64 `json:"status"` +} diff --git a/pkg/service/exam/examCertHandler.go b/pkg/service/exam/examCertHandler.go new file mode 100644 index 0000000..44366e3 --- /dev/null +++ b/pkg/service/exam/examCertHandler.go @@ -0,0 +1,199 @@ +package exam + +import ( + "errors" + + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/artistInfo/asUtil" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" +) + +// 证书管理模块 +var CertHandler = &certHandler{} + +type certHandler struct { +} + +// 创建Cert +func (a *certHandler) CreateCert(c *gin.Context) { + var req exam.CertData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if err := CetParamsValidate(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + loginInfoInterface, exist := c.Get("mLoginInfo") + if !exist { + service.Error(c, e.NotLogin, nil, "未登录") + return + } + logininfo := loginInfoInterface.(model.LoginInfo) + req.CreatorId = int64(logininfo.ID) + req.CreatedBy = utils.IfGec(logininfo.NickName != "", logininfo.NickName, logininfo.Account) + _, err := service.GrpcExamClientImpl.CreateCert(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcExamClientImpl.CreateCert Err", "创建失败") + return + } + service.Success(c) +} + +// 删除Cert +func (a *certHandler) DeleteCert(c *gin.Context) { + var req exam.DeleteCertRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + loginInfoInterface, exist := c.Get("mLoginInfo") + if !exist { + service.Error(c, e.NotLogin, nil, "未登录") + return + } + logininfo := loginInfoInterface.(model.LoginInfo) + req.UpdaterId = int64(logininfo.ID) + req.UpdatedBy = utils.IfGec(logininfo.NickName != "", logininfo.NickName, logininfo.Account) + resp, err := service.GrpcExamClientImpl.DeleteCert(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "DeleteCert Err", utils.IfGec(resp.Msg == "", "更新失败", resp.Msg)) + return + } + service.Success(c) +} + +// 更新Cert +func (a *certHandler) UpdateCert(c *gin.Context) { + var req exam.CertData + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + if err := CetParamsValidate(&req); err != nil { + service.Error(c, e.InvalidParams, err, err.Error()) + return + } + loginInfoInterface, exist := c.Get("mLoginInfo") + if !exist { + service.Error(c, e.NotLogin, nil, "未登录") + return + } + logininfo := loginInfoInterface.(model.LoginInfo) + req.UpdaterId = int64(logininfo.ID) + req.UpdatedBy = utils.IfGec(logininfo.NickName != "", logininfo.NickName, logininfo.Account) + resp, err := service.GrpcExamClientImpl.UpdateCert(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcExamClientImpl.UpdateCert Err", utils.IfGec(resp.Msg == "", "更新失败", resp.Msg)) + return + } + service.Success(c) +} + +// 使用id查询Cert +func (a *certHandler) GetCertDetail(c *gin.Context) { + var req exam.GetCertByIdRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcExamClientImpl.GetCertDetail(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcExamClientImpl.GetCertDetail Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 批量查询Cert +func (a *certHandler) GetCertList(c *gin.Context) { + var req GetCertListRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + var protoReq = exam.GetCertListRequest{Query: &exam.CertData{}, EnableStatic: true} + asUtil.RequestDataConvert(&req, &protoReq) + resp, err := service.GrpcExamClientImpl.GetCertList(c, &protoReq) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GetCertList Err", "查询失败") + return + } + var data []GetCertListType + for _, v := range resp.List { + v := v + data = append(data, GetCertListType{ + ID: v.ID, + CreatedAt: v.CreatedAt, + UpdatedAt: v.UpdatedAt, + DeletedAt: v.DeletedAt, + Name: v.Name, + SampleUrl: v.SampleUrl, + Thumbnail: v.Thumbnail, + Desc: v.Desc, + ValidTime: v.ValidTime, + CreatedBy: v.CreatedBy, + CreatorId: v.CreatorId, + UpdatedBy: v.UpdatedBy, + UpdaterId: v.UpdaterId, + OwnerNum: v.StaticData.OwnerNum, + Status: v.StaticData.Status, + }) + } + service.ResponseList(c, data, service.OptionPage(resp.Page, resp.PageSize, resp.Total), service.OptionMsg("查询成功")) +} +func CetParamsValidate(data *exam.CertData) error { + if len([]rune(data.Name)) > 50 { + return errors.New("名称最多50个字符") + } + if len([]rune(data.Desc)) > 200 { + return errors.New("说明最多200个字符") + } + if data.SampleUrl == "" { + return errors.New("请上传证书样本") + } + if data.Thumbnail == "" { + return errors.New("请上传证书缩略图") + } + return nil +} + +// 查看我得证书 +func (a *certHandler) GetMyCert(c *gin.Context) { + var req exam.GetMyCertRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = int64(userInfo.ID) + + resp, err := service.GrpcExamClientImpl.GetMyCert(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcExamClientImpl.GetMyCert Err", "查询失败") + return + } + service.Success(c, resp) +} + +// 使用id查询Cert +func (a *certHandler) CheckCert(c *gin.Context) { + var req exam.ExamTaskCheckPageRequest + if err := c.ShouldBindJSON(&req); err != nil { + service.Error(c, e.InvalidParams, err, "无效参数") + return + } + resp, err := service.GrpcExamClientImpl.CheckCert(c, &req) + if err != nil { + service.ErrorWithMark(c, e.Failed, err, "GrpcExamClientImpl.CheckCert Err", "查询失败") + return + } + service.Success(c, resp) +} diff --git a/pkg/service/exam/exam_paper.go b/pkg/service/exam/exam_paper.go new file mode 100644 index 0000000..871e6ca --- /dev/null +++ b/pkg/service/exam/exam_paper.go @@ -0,0 +1,131 @@ +package exam + +import ( + "context" + "strconv" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func SaveExamPaper(c *gin.Context) { + req := new(exam.ExamPaperInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveExamPaper ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.CreaterName = userInfo.NickName + req.CreaterId = strconv.FormatUint(userInfo.ID, 10) + + res, err := service.GrpcExamClientImpl.SaveExamPaper(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdateExamPaper(c *gin.Context) { + req := new(exam.ExamPaperInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UpdateExamPaper ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.UpdaterName = userInfo.NickName + req.UpdaterID = int32(userInfo.ID) + + res, err := service.GrpcExamClientImpl.UpdateExamPaper(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DeleteExamPaper(c *gin.Context) { + req := new(exam.ExamPaperInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DeleteExamPaper ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DeleteExamPaper(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GetExamPapers(c *gin.Context) { + req := new(exam.ExamPaperListRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetExamPapers ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetExamPapers(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DetailExamPaper(c *gin.Context) { + req := new(exam.ExamPaperIdRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DetailExamPaper ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DetailExamPaper(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/exam/exam_task.go b/pkg/service/exam/exam_task.go new file mode 100644 index 0000000..aa8b40c --- /dev/null +++ b/pkg/service/exam/exam_task.go @@ -0,0 +1,242 @@ +package exam + +import ( + "context" + + "fmt" + + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func SaveExamTask(c *gin.Context) { + req := new(exam.ExamTaskInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveExamTask ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.CreaterName = userInfo.NickName + req.CreaterID = int32(userInfo.ID) + + res, err := service.GrpcExamClientImpl.SaveExamTask(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdateExamTask(c *gin.Context) { + req := new(exam.ExamTaskInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UpdateExamTask ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.UpdateExamTask(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DeleteExamTask(c *gin.Context) { + req := new(exam.ExamTaskInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DeleteExamTask ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DeleteExamTask(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GetExamTasks(c *gin.Context) { + req := new(exam.ExamTaskPageRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetExamTasks ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetExamTasks(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + if res != nil && len(res.ExamTaskInfo) > 0 { + for _, examTaskInfo := range res.ExamTaskInfo { + positionIds := make([]uint32, 0) + if examTaskInfo.Examinee != nil { + for _, value := range examTaskInfo.Examinee { + if value.PositionId != 0 { + positionIds = append(positionIds, uint32(value.PositionId)) + } + } + } + // 查询部门下人数 + accountReq := account.ListV2Request{ + Page: 1, + PageSize: 9999, + PositionIds: positionIds, + } + fmt.Println("========== 部门下请求:", accountReq.PositionIds) + timer := time.Now() // 记录开始时间 + accountRes, accountErr := service.AccountProvider.ListV2(context.Background(), &accountReq) + if accountErr != nil { + service.Error(c, e.Error, accountErr) + return + } + elapsed := time.Since(timer) // 计算自开始时间以来经过的时间 + fmt.Printf("ListV2 耗时 %v milliseconds\n", elapsed.Milliseconds()) + + examTaskInfo.TotalNum = int32(accountRes.Count) + examTaskInfo.UnexamNum = examTaskInfo.TotalNum - examTaskInfo.PassNum - examTaskInfo.FailNum + + updateNumInfo := exam.ExamTaskInfo{ + ID: examTaskInfo.ID, + TotalNum: examTaskInfo.TotalNum, + PassNum: examTaskInfo.PassNum, + FailNum: examTaskInfo.FailNum, + UnexamNum: examTaskInfo.UnexamNum, + } + _, updateErr := service.GrpcExamClientImpl.UpdateExamTaskNum(context.Background(), &updateNumInfo) + if updateErr != nil { + service.Error(c, e.Error, updateErr) + return + } + } + } + + service.Success(c, res) +} + +func DetailExamTask(c *gin.Context) { + req := new(exam.ExamTaskIdRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DetailExamTask ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DetailExamTask(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func CheckExamTask(c *gin.Context) { + req := new(exam.ExamTaskCheckPageRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("CheckExamTask ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.CheckExamTask(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func PublishExamTask(c *gin.Context) { + req := new(exam.ExamTaskPublishRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("PublishExamTask ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.PublishExamTask(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdateExamTaskRange(c *gin.Context) { + req := new(exam.UpdateExamTaskRangeRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UpdateExamTaskRange ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.UpdaterName = userInfo.NickName + req.UpdaterID = int32(userInfo.ID) + + res, err := service.GrpcExamClientImpl.UpdateExamTaskRange(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/exam/gift.go b/pkg/service/exam/gift.go new file mode 100644 index 0000000..ddba7a5 --- /dev/null +++ b/pkg/service/exam/gift.go @@ -0,0 +1,62 @@ +package exam + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func SaveGift(c *gin.Context) { + req := new(exam.GiftInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveGift ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _, err := service.GrpcExamClientImpl.SaveGift(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +func GetGiftInfo(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetGiftInfo ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetGiftInfo(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} diff --git a/pkg/service/exam/question.go b/pkg/service/exam/question.go new file mode 100644 index 0000000..b646602 --- /dev/null +++ b/pkg/service/exam/question.go @@ -0,0 +1,377 @@ +package exam + +import ( + "context" + "fmt" + "io" + "os" + + "strconv" + + "net/http" + + "strings" + + "errors" + + "sort" + "unicode" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/360EntSecGroup-Skylar/excelize" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func SaveQuestion(c *gin.Context) { + req := new(exam.QuestionInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveQuestion ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.CreaterName = userInfo.NickName + req.CreaterId = strconv.FormatUint(userInfo.ID, 10) + + _, err := service.GrpcExamClientImpl.SaveQuestion(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c) +} + +func GetQuestionInfo(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetQuestionInfo ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // userInfo := login.GetUserInfoFromC(c) + // logger.Info("-------------------------------") + // logger.Info("userInfo:", userInfo) + // req.UserUUID = strconv.FormatUint(userInfo.ID, 10) + + res, err := service.GrpcExamClientImpl.GetQuestionInfo(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func CheckQuestion(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("CheckQuestion ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.CheckQuestion(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func UpdateQuestion(c *gin.Context) { + req := new(exam.QuestionInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UpdateQuestion ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.UpdaterName = userInfo.NickName + req.UpdaterID = int32(userInfo.ID) + + res, err := service.GrpcExamClientImpl.UpdateQuestion(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DeleteQuestion(c *gin.Context) { + req := new(exam.QuestionInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DeleteQuestion ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DeleteQuestion(context.Background(), req) + + logger.Info("=============", err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DetailQuestion(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DetailQuestion ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DetailQuestion(context.Background(), req) + + logger.Info("=============", err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ImportQuestions(c *gin.Context) { + + // 从请求中获取上传的文件 + file, header, err := c.Request.FormFile("file") + if err != nil { + c.JSON(http.StatusBadRequest, gin.H{"error": "Failed to get uploaded file"}) + return + } + fmt.Println("=========================") + fmt.Println(header.Filename) + if !strings.HasSuffix(header.Filename, ".xlsx") { + c.JSON(http.StatusBadRequest, gin.H{"error": "Wrong file to upload"}) + return + } + defer file.Close() + + // 创建一个临时文件来存储上传的文件 + tmpFile, err := os.CreateTemp("", "imported_data_person_monitor_*.xlsx") + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": "Failed to create temporary file"}) + return + } + defer tmpFile.Close() + defer os.Remove(tmpFile.Name()) + + // 将上传的文件复制到临时文件 + _, err = io.Copy(tmpFile, file) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": "Failed to copy file to temporary location"}) + return + } + + // 使用 excelize 打开临时文件 + xlsxFile, err := excelize.OpenFile(tmpFile.Name()) + if err != nil { + c.JSON(http.StatusInternalServerError, gin.H{"error": "Failed to open Excel file"}) + return + } + + // 获取第一个工作表 + sheetName := xlsxFile.GetSheetName(1) + rows := xlsxFile.GetRows(sheetName) + + req := new(exam.ImportQuestionRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("ImportQuestions ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.FileName = header.Filename + req.CreaterName = userInfo.NickName + req.CreaterID = int64(userInfo.ID) + req.QuestionInfos = make([]*exam.QuestionInfo, 0) + questionTypeList := []string{"单选题", "多选题", "判断题", "填空题", "简答题"} + selectTypeList := []string{"单选题", "多选题", "判断题"} + for i, row := range rows { + line := strconv.FormatInt(int64(i+1), 10) + // 忽略表头行 + if i <= 1 { + continue + } + if !IsInSlice(row[0], questionTypeList) { + service.Error(c, e.Error, errors.New("第"+line+"行题型不合法")) + return + } + if row[2] == "" { + service.Error(c, e.Error, errors.New("第"+line+"行题目名称不能为空")) + return + } + if row[4] == "" { + service.Error(c, e.Error, errors.New("第"+line+"行正确答案不能为空")) + return + } + var answer = make([]string, 0) + if IsInSlice(row[0], selectTypeList) { + if !strings.HasSuffix(row[3], "。") { + service.Error(c, e.Error, errors.New("第"+line+"行答案选项没有以中文句号结尾")) + return + } + if !CheckIfAllUpperCaseLetters(row[4]) { + service.Error(c, e.Error, errors.New("第"+line+"行正确答案中不是全部大写的字母")) + return + } + if row[0] == "多选题" { + tempAnswer := CleanAndSortString(row[4]) + if len(tempAnswer) > 1 { + for _, v := range tempAnswer { + answer = append(answer, string(v)) + } + } else { + service.Error(c, e.Error, errors.New("第"+line+"行多选题,答案不是多个")) + return + } + } else { + tempAnswer := CleanAndSortString(row[4]) + for _, v := range tempAnswer { + answer = append(answer, string(v)) + } + } + } else { + if row[0] == "填空题" { + if strings.Contains(row[4], "、") { + fillParts := strings.Split(row[4], "、") + for _, part := range fillParts { + answer = append(answer, part) + } + } else { + answer = append(answer, row[4]) + } + } else { + answer = append(answer, row[4]) + } + } + options := make([]*exam.QuestionOptionInfo, 0) + if !IsInSlice(row[0], selectTypeList) { + if row[0] == "填空题" { + fillParts := strings.Split(row[4], "、") + for i, _ := range fillParts { + questionOptionInfo := new(exam.QuestionOptionInfo) + questionOptionInfo.OptionId = fmt.Sprintf("%d", i+1) + questionOptionInfo.OptionName = "" + options = append(options, questionOptionInfo) + } + } else { + options = nil + } + } else { + parts := strings.Split(row[3], "。") + // 最后一个没有,例子:A.北京市。B.上海市。C.天津市。D重庆市。 + for i := 0; i < len(parts)-1; i++ { + moreParts := strings.Split(parts[i], ".") + if len(moreParts) != 2 { + service.Error(c, e.Error, errors.New("第"+line+"行答案选项不合法")) + return + } + questionOptionInfo := new(exam.QuestionOptionInfo) + questionOptionInfo.OptionId = moreParts[0] + questionOptionInfo.OptionName = moreParts[1] + options = append(options, questionOptionInfo) + } + } + questionInfo := exam.QuestionInfo{ + QuestionType: row[0], + ClassifyName: row[1], + Topic: row[2], + Option: options, + Answer: answer, + } + req.QuestionInfos = append(req.QuestionInfos, &questionInfo) + } + res, err := service.GrpcExamClientImpl.ImportQuestions(context.Background(), req) + + logger.Info("=============", err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func IsInSlice(needle string, haystack []string) bool { + for _, item := range haystack { + if item == needle { + return true + } + } + return false +} + +func CheckIfAllUpperCaseLetters(s string) bool { + for _, r := range s { + if !unicode.IsUpper(r) { + return false + } + } + return true +} + +func CleanAndSortString(s string) string { + charMap := make(map[rune]bool) + var result []rune + + for _, r := range s { + if _, exists := charMap[r]; !exists { + charMap[r] = true + result = append(result, r) + } + } + + sort.Slice(result, func(i, j int) bool { + return result[i] < result[j] + }) + + return string(result) +} diff --git a/pkg/service/exam/question_classify.go b/pkg/service/exam/question_classify.go new file mode 100644 index 0000000..73e6166 --- /dev/null +++ b/pkg/service/exam/question_classify.go @@ -0,0 +1,33 @@ +package exam + +import ( + "context" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func GetQuestionClassifies(c *gin.Context) { + req := new(exam.QuestionClassifyRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetQuestionClassifies ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetQuestionClassifies(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} diff --git a/pkg/service/exam/train.go b/pkg/service/exam/train.go new file mode 100644 index 0000000..eb51b89 --- /dev/null +++ b/pkg/service/exam/train.go @@ -0,0 +1,151 @@ +package exam + +import ( + "context" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func SaveTrain(c *gin.Context) { + req := new(exam.TrainInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveTrain ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.CreaterName = userInfo.NickName + req.CreaterID = int32(userInfo.ID) + + _, err := service.GrpcExamClientImpl.SaveTrain(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +func GetTrainInfo(c *gin.Context) { + req := new(exam.TrainQueryRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetTrainInfo ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetTrainInfo(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func GetTrainInfos(c *gin.Context) { + req := new(exam.TrainQueryRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetTrainInfos ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetTrainInfos(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func UpdateTrain(c *gin.Context) { + req := new(exam.TrainInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UpdateTrain ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.UpdaterName = userInfo.NickName + req.UpdaterID = int32(userInfo.ID) + + _, err := service.GrpcExamClientImpl.UpdateTrain(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +func DeleteTrain(c *gin.Context) { + req := new(exam.TrainInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DeleteTrain ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _, err := service.GrpcExamClientImpl.DeleteTrain(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} diff --git a/pkg/service/exam/user.go b/pkg/service/exam/user.go new file mode 100644 index 0000000..13973b0 --- /dev/null +++ b/pkg/service/exam/user.go @@ -0,0 +1,1183 @@ +package exam + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + examModel "github.com/fonchain_enterprise/fonchain-main/pkg/model/exam" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + accountService "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + shopService "github.com/fonchain_enterprise/fonchain-main/pkg/service/shop" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/jinzhu/copier" + "strconv" + "time" +) + +func SendExamMsg(c *gin.Context) { + var req account.SendMsgRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Domain = "fontree" + req.SignNo = 199306 + + isExist, err := IsRegister(req.TelNum) + if isExist == true { + _, err = service.AccountProvider.SendMsg(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + } else { + _, err = service.AccountProvider.SendMsgRegister(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) + return +} + +func IsRegister(telNum string) (bool, error) { + userByTelReq := account.UserByTelRequest{ + Tel: telNum, + } + // 查询是否有账号 + userByTelRes, err := service.AccountProvider.UserByTel(context.Background(), &userByTelReq) + if err != nil { + return false, err + } + return userByTelRes.IsExist, err +} +func isRegisterErr(err error, request *account.RequestStatus) bool { + if err != nil && (request == nil || request.ID == 0) { + return true + } + return false +} + +func UserExamRegister(c *gin.Context) { + req := new(examModel.UserExamLogin) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UserExamRegister ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 验证验证码 + //onlyCheckMsgReq := account.CheckMsgRequest{ + // TelNum: req.TelNum, + // Code: req.MsgCode, + //} + // + //_, err := service.AccountProvider.OnlyCheckMsg(context.Background(), &onlyCheckMsgReq) + //if err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: "注册信息缺失", + // Status: e.Failed, + // }) + // return + //} + + userInfo := new(exam.UserInfo) + + _ = copier.CopyWithOption(&userInfo, req, copier.Option{IgnoreEmpty: false}) + + if userInfo.Avatar == "" { + req.Avatar = "https://dci-file-new.bj.bcebos.com/fonchain-main/test/runtime/image/avatar/40/b8ed6fea-6662-416d-8bb3-1fd8a8197061.jpg" + } + + if userInfo.Name == "" || userInfo.TelNum == "" || userInfo.JoinInTime == "" || userInfo.JobNum == "" || userInfo.DepartmentName == "" || userInfo.PositionName == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "注册信息缺失", + Status: e.Failed, + }) + return + } + + tempNick := req.Name + //账号服务 + registerRequest := account.RegistRequest{ + NickName: "访客" + tempNick, + TelNum: req.TelNum, + Password: tempNick + "fontree", + Extend: &account.Extend{}, + } + + res, err := service.AccountProvider.RegisterOrExist(c, ®isterRequest) + fmt.Println("============== Register ==============") + fmt.Printf("Register = %+v\n", res.ID, res.Status) + fmt.Printf("Register err = %+v\n", err) + fmt.Println("============== Register ==============") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "管理系统信息注册失败", + Status: e.Failed, + Mark: err.Error(), + }) + return + } + + userInfo.ErpUserId = strconv.FormatUint(res.ID, 10) + + shopUserInfoRes, err := accountService.ShopRegisterOnlyTel(c, userInfo) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo.ShopUserId = strconv.FormatUint(shopUserInfoRes.ID, 10) + + _, err = service.GrpcExamClientImpl.SaveUser(context.Background(), userInfo) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfoRequest := new(exam.UserInfoRequest) + userInfoRequest.TelNum = req.TelNum + + retUserInfo, err := service.GrpcExamClientImpl.GetUserInfo(context.Background(), userInfoRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + _ = retUserInfo + + loginRequest := account.LoginRequest{ + TelNum: req.TelNum, + Domain: "fontree", + Code: req.MsgCode, + } + + erpUser, err := service.AccountProvider.Login(context.Background(), &loginRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if erpUser.AccountInfo.ID == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "验证码校验失败", + Status: e.Failed, + }) + return + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: erpUser.AccountInfo.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + accountInfo := &union.AccountInfo{ + ID: erpUser.AccountInfo.ID, + Account: erpUser.AccountInfo.Account, + NickName: erpUser.AccountInfo.NickName, + Domain: erpUser.AccountInfo.Domain, + TelNum: erpUser.AccountInfo.TelNum, + Status: erpUser.AccountInfo.Status, + Avatar: erpUser.AccountInfo.Avatar, + CreatedAt: erpUser.AccountInfo.CreateAt, + IsNeedChange: erpUser.AccountInfo.IsNeedChange, + EnterDate: erpUser.AccountInfo.EnterDate, + WorkYear: erpUser.AccountInfo.WorkYear, + IsAdmin: qres.IsAdmin, + PositionUsers: qres.PositionUsers, + JumpTo: erpUser.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: erpUser.AccountInfo.JobNum, + BirthDate: erpUser.AccountInfo.BirthDate, + Age: erpUser.AccountInfo.Age, + Sex: erpUser.AccountInfo.Sex, + Title: erpUser.AccountInfo.Title, + IDNum: erpUser.AccountInfo.IDNum, + MailAccount: erpUser.AccountInfo.MailAccount, + Train: erpUser.AccountInfo.Train, + Certificate: erpUser.AccountInfo.Certificate, + } + + if accountInfo.DepartmentName == "" { + accountInfo.DepartmentName = retUserInfo.DepartmentName + } + + if accountInfo.JobNum == "" { + accountInfo.JobNum = retUserInfo.JobNum + } + + if accountInfo.EnterDate == "" { + accountInfo.EnterDate = retUserInfo.JoinInTime + } + + code := "xxx" + if len(qres.PositionUsers) >= 1 { + accountInfo.DepartmentName = qres.PositionUsers[0].DepartmentName + code = secret.GetPositionCode(qres.PositionUsers[0].PositionName) + } + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, erpUser.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: erpUser.RefreshToken, + AccountInfo: accountInfo, + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resInfo, + Status: e.Ok, + }) +} + +func UserExamRegisterV1(c *gin.Context) { + req := new(examModel.UserExamLogin) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UserExamRegister ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 验证验证码 + + onlyCheckMsgReq := account.CheckMsgRequest{ + TelNum: req.TelNum, + Code: req.MsgCode, + } + + _, err := service.AccountProvider.OnlyCheckMsg(context.Background(), &onlyCheckMsgReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "注册信息缺失", + Status: e.Failed, + }) + return + } + + userInfo := new(exam.UserInfo) + + _ = copier.CopyWithOption(&userInfo, req, copier.Option{IgnoreEmpty: false}) + + if userInfo.Avatar == "" { + req.Avatar = "https://dci-file-new.bj.bcebos.com/fonchain-main/test/runtime/image/avatar/40/b8ed6fea-6662-416d-8bb3-1fd8a8197061.jpg" + } + + if userInfo.Name == "" || userInfo.TelNum == "" || userInfo.JoinInTime == "" || userInfo.JobNum == "" || userInfo.DepartmentName == "" || userInfo.PositionName == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "注册信息缺失", + Status: e.Failed, + }) + return + } + + userByTelReq := account.UserByTelRequest{ + Tel: req.TelNum, + } + + userByTelRes, err := service.AccountProvider.UserByTel(context.Background(), &userByTelReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if userByTelRes.IsExist == false { + tempNick := req.Name + //账号服务 + registerRequest := account.RegistRequest{ + NickName: "访客" + tempNick, + TelNum: req.TelNum, + Password: tempNick + "fontree", + Extend: &account.Extend{}, + } + + res, err := service.AccountProvider.Register(c, ®isterRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo.ErpUserId = strconv.FormatUint(res.ID, 10) + } else { + userInfo.ErpUserId = strconv.FormatUint(userByTelRes.Info.ID, 10) + } + + shopUserInfoRes, err := accountService.ShopRegisterOnlyTel(c, userInfo) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo.ShopUserId = strconv.FormatUint(shopUserInfoRes.ID, 10) + + _, err = service.GrpcExamClientImpl.SaveUser(context.Background(), userInfo) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + loginRequest := account.LoginRequest{ + TelNum: req.TelNum, + Domain: "fontree", + Code: req.MsgCode, + } + + erpUser, err := service.AccountProvider.Login(context.Background(), &loginRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if erpUser.AccountInfo.ID == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "验证码校验失败", + Status: e.Failed, + }) + return + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: erpUser.AccountInfo.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + accountInfo := &union.AccountInfo{ + ID: erpUser.AccountInfo.ID, + Account: erpUser.AccountInfo.Account, + NickName: erpUser.AccountInfo.NickName, + Domain: erpUser.AccountInfo.Domain, + TelNum: erpUser.AccountInfo.TelNum, + Status: erpUser.AccountInfo.Status, + Avatar: erpUser.AccountInfo.Avatar, + CreatedAt: erpUser.AccountInfo.CreateAt, + IsNeedChange: erpUser.AccountInfo.IsNeedChange, + EnterDate: erpUser.AccountInfo.EnterDate, + WorkYear: erpUser.AccountInfo.WorkYear, + IsAdmin: qres.IsAdmin, + PositionUsers: qres.PositionUsers, + JumpTo: erpUser.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: erpUser.AccountInfo.JobNum, + BirthDate: erpUser.AccountInfo.BirthDate, + Age: erpUser.AccountInfo.Age, + Sex: erpUser.AccountInfo.Sex, + Title: erpUser.AccountInfo.Title, + IDNum: erpUser.AccountInfo.IDNum, + MailAccount: erpUser.AccountInfo.MailAccount, + Train: erpUser.AccountInfo.Train, + Certificate: erpUser.AccountInfo.Certificate, + } + + code := "xxx" + if len(qres.PositionUsers) >= 1 { + accountInfo.DepartmentName = qres.PositionUsers[0].DepartmentName + code = secret.GetPositionCode(qres.PositionUsers[0].PositionName) + } + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, erpUser.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: erpUser.RefreshToken, + AccountInfo: accountInfo, + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resInfo, + Status: e.Ok, + }) +} + +func UserExamLogin(c *gin.Context) { + req := new(examModel.UserExamLogin) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UserExamLogin ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfoRequest := new(exam.UserInfoRequest) + userInfoRequest.TelNum = req.TelNum + + //examUser, examErr := service.GrpcExamClientImpl.GetUserInfo(context.Background(), userInfoRequest) + //if examErr != nil { + // fmt.Println("[==================== examErr ==============================}") + // fmt.Println("UserExamLogin GetUserInfo err := ", examErr) + // fmt.Println("[==================== examErr ==============================}") + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: examErr.Error(), + // Status: e.Failed, + // }) + // return + //} + + loginRequest := account.LoginRequest{ + TelNum: req.TelNum, + Domain: "fontree", + Code: req.MsgCode, + } + + erpUser, err := service.AccountProvider.Login(context.Background(), &loginRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if erpUser.AccountInfo.ID == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "验证码校验失败", + Status: e.Failed, + }) + return + } + + //获取用户的岗位信息 + uReq := rule.RulesRequest{ + AccountID: erpUser.AccountInfo.ID, + } + + qres, err1 := service.RuleProvider.UserInfo(c, &uReq) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + accountInfo := &union.AccountInfo{ + ID: erpUser.AccountInfo.ID, + Account: erpUser.AccountInfo.Account, + NickName: erpUser.AccountInfo.NickName, + Domain: erpUser.AccountInfo.Domain, + TelNum: erpUser.AccountInfo.TelNum, + Status: erpUser.AccountInfo.Status, + Avatar: erpUser.AccountInfo.Avatar, + CreatedAt: erpUser.AccountInfo.CreateAt, + IsNeedChange: erpUser.AccountInfo.IsNeedChange, + EnterDate: erpUser.AccountInfo.EnterDate, + WorkYear: erpUser.AccountInfo.WorkYear, + IsAdmin: qres.IsAdmin, + PositionUsers: qres.PositionUsers, + JumpTo: erpUser.AccountInfo.Extend.JumpTo, + DepartmentName: "", + JobNum: erpUser.AccountInfo.JobNum, + BirthDate: erpUser.AccountInfo.BirthDate, + Age: erpUser.AccountInfo.Age, + Sex: erpUser.AccountInfo.Sex, + Title: erpUser.AccountInfo.Title, + IDNum: erpUser.AccountInfo.IDNum, + MailAccount: erpUser.AccountInfo.MailAccount, + Train: erpUser.AccountInfo.Train, + Certificate: erpUser.AccountInfo.Certificate, + } + + //if accountInfo.PositionUsers == nil { + // accountInfo.PositionUsers = make([]*rule.PositionUser, 0) + // accountInfo.PositionUsers = append(accountInfo.PositionUsers, &rule.PositionUser{ + // PositionName: examUser.PositionName, + // DepartmentName: examUser.DepartmentName, + // }) + //} + // + //if accountInfo.DepartmentName == "" { + // accountInfo.DepartmentName = examUser.DepartmentName + //} + // + //if accountInfo.JobNum == "" { + // accountInfo.JobNum = examUser.JobNum + //} + // + //if accountInfo.EnterDate == "" { + // accountInfo.EnterDate = examUser.JoinInTime + //} + + code := "xxx" + if len(qres.PositionUsers) >= 1 { + accountInfo.DepartmentName = qres.PositionUsers[0].DepartmentName + code = secret.GetPositionCode(qres.PositionUsers[0].PositionName) + } + + token, err := secret.CombineSecret(code, accountInfo.DepartmentName, erpUser.Token) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + resInfo := &union.Login{ + Token: token, + RefreshToken: erpUser.RefreshToken, + AccountInfo: accountInfo, + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resInfo, + Status: e.Ok, + }) +} + +func GetAllUserInfo(c *gin.Context) { + req := new(exam.AllUserInfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetAllUserInfo ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetAllUserInfo(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func SaveUserAnswerHis(c *gin.Context) { + req := new(exam.UserExamInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveUserAnswerHis ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.UserUUID == "" { + userInfo := login.GetUserInfoFromC(c) + + req.UserUUID = strconv.FormatUint(userInfo.ID, 10) + } + + lockKey := fmt.Sprintf("save_answer_his_%v_%v", req.UserUUID, req.ExamUUID) + reply := cache.RedisClient.SetNX(lockKey, 0, 3*time.Second) + if !reply.Val() { + service.Error(c, e.Error, nil, e.ErrorCreateApproval) + return + } + + res, err := service.GrpcExamClientImpl.SaveUserAnswerHis(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + updateErpUser := new(account.UpdateRequest) + isUpdateErpUser := false + if res.Collections != nil { + updateGift := new(exam.SaveUserGiftHisRequest) + for i := 0; i < len(res.Collections); i++ { + //_, _ = shopService.AutoWipedOutPosition(c, res.Collections[i].TelNum) + //_, _ = shopService.AutoWipedOut(c, res.Collections[i].TelNum) + // + //updateGift.SaveUserGiftHis = append(updateGift.SaveUserGiftHis, &exam.SaveUserGiftHis{ + // CollectionID: res.Collections[i].CollectionID, + // UserGiftHisUUID: res.Collections[i].UserGiftHisUUID, + // GiftCode: "https://common.szjixun.cn/api/image/qr/url?url=123123123", + //}) + } + + if len(updateGift.SaveUserGiftHis) > 0 { + // 更新考试系统 礼品状态 + _, err = service.GrpcExamClientImpl.SaveUserGiftHis(context.Background(), updateGift) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + } + + } + + if res.Video != nil { + isUpdateErpUser = true + updateErpUser.TrainVideos = append(updateErpUser.TrainVideos, &account.TrainVideo{ + TrainUUID: res.Video.TrainUUID, + Video: res.Video.Video, + TrainDesc: res.Video.TrainDesc, + }) + id, _ := strconv.Atoi(res.ErpUserId) + updateErpUser.ID = uint64(id) + } + + // 更新管理系统用户信息 + if isUpdateErpUser { + updateErpUser.Operator = &account.Operator{Name: "考试系统"} + _, err = service.AccountProvider.Update(context.Background(), updateErpUser) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func SaveUserTrainHis(c *gin.Context) { + req := new(exam.UserExamInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveUserTrainHis ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.UserUUID == "" { + userInfo := login.GetUserInfoFromC(c) + + req.UserUUID = strconv.FormatUint(userInfo.ID, 10) + } + + res, err := service.GrpcExamClientImpl.SaveUserTrainHis(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func UserHisInfo(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UserHisInfo ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.UserUUID == "" { + userInfo := login.GetUserInfoFromC(c) + + req.UserUUID = strconv.FormatUint(userInfo.ID, 10) + } + + res, err := service.GrpcExamClientImpl.UserHisInfo(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.Failed, serializer.Response{ + Msg: "获取考试失败", + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func SaveUserHis(c *gin.Context) { + req := new(exam.UserExamInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveUserAnswerHis ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.UserUUID == "" { + userInfo := login.GetUserInfoFromC(c) + + req.UserUUID = strconv.FormatUint(userInfo.ID, 10) + } + + lockKey := fmt.Sprintf("save_answer_his_%v_%v", req.UserUUID, req.ExamUUID) + reply := cache.RedisClient.SetNX(lockKey, 0, 3*time.Second) + if !reply.Val() { + service.Error(c, e.Error, nil, e.ErrorCreateApproval) + return + } + + res, err := service.GrpcExamClientImpl.SaveUserHis(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("-======== ======= SaveUserHis ===================================") + if res.Collections != nil { + for i := 0; i < len(res.Collections); i++ { + fmt.Printf("Collections %+v\n", res.Collections) + } + } + + fmt.Printf("res.Video %+v\n", res.Video) + fmt.Printf("res.ErpUserId %+v\n", res.ErpUserId) + + fmt.Println("-======== ======= SaveUserHis ===================================") + + updateErpUser := new(account.UpdateRequest) + isUpdateErpUser := false + if res.Collections != nil { + updateGift := new(exam.SaveUserGiftHisRequest) + for i := 0; i < len(res.Collections); i++ { + // TODO 礼品发放 以及 用户证书更新 + if res.Collections[i].Name == "持岗证" { + pic, _ := shopService.ExamAutoWipedOutPosition(c, res.Collections[len(res.Collections)-len(res.Collections)].TelNum) + updateGift.SaveUserGiftHis = append(updateGift.SaveUserGiftHis, &exam.SaveUserGiftHis{ + CollectionID: res.Collections[len(res.Collections)-len(res.Collections)].CollectionID, + UserGiftHisUUID: res.Collections[len(res.Collections)-len(res.Collections)].UserGiftHisUUID, + GiftCode: pic, + }) + } + + if res.Collections[i].Name == "年货" { + code, _ := shopService.ExamAutoWipedOut(c, res.Collections[len(res.Collections)-1].TelNum) + updateGift.SaveUserGiftHis = append(updateGift.SaveUserGiftHis, &exam.SaveUserGiftHis{ + CollectionID: res.Collections[len(res.Collections)-1].CollectionID, + UserGiftHisUUID: res.Collections[len(res.Collections)-1].UserGiftHisUUID, + GiftCode: code, + }) + } + } + + if len(updateGift.SaveUserGiftHis) > 0 { + // 更新考试系统 礼品状态 + _, err = service.GrpcExamClientImpl.SaveUserGiftHis(context.Background(), updateGift) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res.UserExamInfo, + Msg: err.Error() + " 保存礼品信息", + Status: e.Failed, + }) + return + } + } + + updateErpUser.Certificate = "https://cdns.fontree.cn/fonchain-main/prod/image/127/avatar/24c62aa7-73ae-4d53-a9cf-adc93df0e1d5.png" + + } + + if res.Video != nil || updateErpUser.Certificate != "" { + isUpdateErpUser = true + updateErpUser.TrainVideos = append(updateErpUser.TrainVideos, &account.TrainVideo{ + TrainUUID: res.Video.TrainUUID, + Video: res.Video.Video, + TrainDesc: res.Video.TrainDesc, + }) + id, _ := strconv.Atoi(res.ErpUserId) + updateErpUser.ID = uint64(id) + } + + // 更新管理系统用户信息 + if isUpdateErpUser { + + updateErpUser.Operator = &account.Operator{Name: "考试系统"} + _, err = service.AccountProvider.Update(context.Background(), updateErpUser) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res.UserExamInfo, + Msg: err.Error() + " 更新ERP用户", + Status: e.Ok, + }) + return + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res.UserExamInfo, + Status: e.Ok, + }) +} + +func GetExamUserInfo(c *gin.Context) { + req := new(exam.InfoRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("UserHisInfo ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.GetExamUserInfo(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + for i := 0; i < len(res.ExamUserInfo); i++ { + if res.ExamUserInfo[i].Name == "" { + erpUserInfoReq := new(account.InfoRequest) + erpUserId, _ := strconv.Atoi(res.ExamUserInfo[i].ErpUserId) + erpUserInfoReq.ID = uint64(erpUserId) + erpUserInfoReq.Domain = "fontree" + + logger.Info(" GetExamUserInfo 获取用户信息 : ", res.ExamUserInfo[i].ErpUserId) + logger.Info(" GetExamUserInfo 获取用户信息 : ", erpUserInfoReq.Domain) + + erpUserInfoRes, err := service.AccountProvider.Info(context.Background(), erpUserInfoReq) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: "获取用户信息失败", + // Status: e.Failed, + //}) + //return + logger.Infof(" GetExamUserInfo 获取用户信息 : %+v\n", erpUserInfoRes.Info) + } + + res.ExamUserInfo[i].Name = erpUserInfoRes.Info.NickName + } + + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func FuzzyQueryUser(c *gin.Context) { + + req := new(exam.FuzzyQueryUserRequest) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.NickName != "" { + //var queryOaUser oa_model.QueryOaUser + //queryOaUser.NickName = req.NickName + //queryOaUser.TelNum = req.NickName + //queryOaUser.JobNum = req.NickName + //queryOaUser.Page = 1 + //queryOaUser.PageSize = 100 + // + //oaUsers, _, err := es.QueryAccountInfoEs(es.OaIndex, queryOaUser) + //if err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + // }) + // return + //} + + var accountReq account.ListRequest + accountReq.Key = req.NickName + + users, err := service.AccountProvider.List(context.Background(), &accountReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //获取所有的用户id + var id []int64 + for _, v := range users.Data { + id = append(id, int64(v.ID)) + } + + if len(id) == 0 { + res := new(exam.FuzzyQueryUserResponse) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + return + } + fmt.Println("id值为:", id) + + req.Id = id + } + + res, err := service.GrpcExamClientImpl.FuzzyQueryUser(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + for i := 0; i < len(res.ExamUserInfo); i++ { + if res.ExamUserInfo[i].Name == "" { + erpUserInfoReq := new(account.InfoRequest) + erpUserId, _ := strconv.Atoi(res.ExamUserInfo[i].ErpUserId) + erpUserInfoReq.ID = uint64(erpUserId) + erpUserInfoReq.Domain = "fontree" + + logger.Info(" GetExamUserInfo 获取用户信息 : ", res.ExamUserInfo[i].ErpUserId) + logger.Info(" GetExamUserInfo 获取用户信息 : ", erpUserInfoReq.Domain) + + erpUserInfoRes, err := service.AccountProvider.Info(context.Background(), erpUserInfoReq) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: "获取用户信息失败", + // Status: e.Failed, + //}) + //return + logger.Infof(" GetExamUserInfo 获取用户信息 : %+v\n", erpUserInfoRes.Info) + } + + if erpUserInfoRes != nil { + if erpUserInfoRes.Info != nil { + res.ExamUserInfo[i].Name = erpUserInfoRes.Info.NickName + } + } + } + + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func ExportExcel(c *gin.Context) { + req := new(exam.FuzzyQueryUserRequest) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.NickName != "" { + var accountReq account.ListRequest + accountReq.Key = req.NickName + + users, err := service.AccountProvider.List(context.Background(), &accountReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //获取所有的用户id + var id []int64 + for _, v := range users.Data { + id = append(id, int64(v.ID)) + } + + if len(id) == 0 { + res := new(exam.FuzzyQueryUserResponse) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + return + } + fmt.Println("id值为:", id) + + req.Id = id + } + + req.ExportNo = 1 + + res, err := service.GrpcExamClientImpl.FuzzyQueryUser(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + for i := 0; i < len(res.ExamUserInfo); i++ { + if res.ExamUserInfo[i].Name == "" { + erpUserInfoReq := new(account.InfoRequest) + erpUserId, _ := strconv.Atoi(res.ExamUserInfo[i].ErpUserId) + erpUserInfoReq.ID = uint64(erpUserId) + erpUserInfoReq.Domain = "fontree" + + logger.Info(" GetExamUserInfo 获取用户信息 : ", res.ExamUserInfo[i].ErpUserId) + logger.Info(" GetExamUserInfo 获取用户信息 : ", erpUserInfoReq.Domain) + + erpUserInfoRes, err := service.AccountProvider.Info(context.Background(), erpUserInfoReq) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: "获取用户信息失败", + // Status: e.Failed, + //}) + //return + logger.Infof(" GetExamUserInfo 获取用户信息 : %+v\n", erpUserInfoRes.Info) + } + + if erpUserInfoRes != nil { + if erpUserInfoRes.Info != nil { + res.ExamUserInfo[i].Name = erpUserInfoRes.Info.NickName + } + } + } + } + + if len(res.ExamUserInfo) == 0 { + service.ResponseQuickMsg(c, e.Failed, errors.New("无可导出数据").Error(), nil) + return + } + + columns := []string{"姓名", "考试时间", "视频时长(秒)", "考试结果"} + var data []interface{} + // 添加数据行 + for _, examUserInfo := range res.ExamUserInfo { + var info []string + info = append(info, examUserInfo.Name) + info = append(info, examUserInfo.ExamFinishAt) + info = append(info, strconv.FormatFloat(float64(examUserInfo.VideoDuration), 'f', -1, 32)) + if examUserInfo.IsPass == 1 { + info = append(info, "未完成") + } else if examUserInfo.IsPass == 2 { + info = append(info, "未通过") + } else if examUserInfo.IsPass == 3 { + info = append(info, "通过") + } else { + info = append(info, "出错") + } + + data = append(data, &info) + } + + // 获取当前日期 + timeFormat := time.Now().Format("20060102") + + filePath := "./runtime/" + res.ExamName + timeFormat + ".xlsx" + _, err = utils.ToExcelByType(columns, data, "slice", filePath) + if err != nil { + fmt.Println("err", err) + service.ResponseQuickMsg(c, e.Failed, errors.New("转换为excel类型出错").Error(), nil) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + path := "%s%s/static/" + res.ExamName + timeFormat + ".xlsx" + var exportUrl string = fmt.Sprintf(path, httpType, c.Request.Host) + fmt.Println("exportUrl", exportUrl) + + res.ExportUrl = exportUrl + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} diff --git a/pkg/service/exam/user_exam_task_record.go b/pkg/service/exam/user_exam_task_record.go new file mode 100644 index 0000000..daf0ab3 --- /dev/null +++ b/pkg/service/exam/user_exam_task_record.go @@ -0,0 +1,595 @@ +package exam + +import ( + "context" + "fmt" + "net/url" + "os" + + "strconv" + + "io/ioutil" + + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/position" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/v2/user" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/tealeg/xlsx" +) + +func SaveUserExam(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.UserExamTaskRecordInfo) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("SaveUserExam ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + logger.Info("-------------------------------") + logger.Info("userInfo:", userInfo) + req.UserName = userInfo.NickName + req.UserID = strconv.FormatUint(userInfo.ID, 10) + + infoReq := &account.InfoRequest{ + ID: userInfo.ID, + } + infoRes, err := service.AccountProvider.Info(c, infoReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.JobNumber = infoRes.Info.JobNum + req.Phone = infoRes.Info.TelNum + + depPosReq := &rule.RulesRequest{ + AccountID: userInfo.ID, + } + depPosRes, err := service.RuleProvider.UserInfo(c, depPosReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Println("-------------------------------") + fmt.Println("部门岗位:", depPosRes.PositionUsers) + + // req.UserName = "李娟测试" + // req.UserID = "3729" + // req.JobNumber = "FL043" + // req.Phone = "15250470713" + req.PositionIds = make([]int64, 0) + req.PositionNames = make([]string, 0) + req.DepartmentIds = make([]int64, 0) + req.DepartmentNames = make([]string, 0) + // req.PositionIds = append(req.PositionIds, 99) + // req.PositionNames = append(req.PositionNames, "运维") + // req.DepartmentIds = append(req.DepartmentIds, 3) + // req.DepartmentIds = append(req.DepartmentIds, 71) + // req.DepartmentNames = append(req.DepartmentNames, "总经理室") + // req.DepartmentNames = append(req.DepartmentNames, "开发测试用部门") + positionIdsMap := make(map[uint64]bool) + positionNamesMap := make(map[string]bool) + departmentIdsMap := make(map[uint64]bool) + departmentNamesMap := make(map[string]bool) + for _, value := range depPosRes.PositionUsers { + if _, exists := positionIdsMap[value.PositionID]; !exists { + req.PositionIds = append(req.PositionIds, int64(value.PositionID)) + positionIdsMap[value.PositionID] = true + } + + if _, exists := positionNamesMap[value.PositionName]; !exists { + req.PositionNames = append(req.PositionNames, value.PositionName) + positionNamesMap[value.PositionName] = true + } + + if _, exists := departmentIdsMap[value.DepartmentId]; !exists { + req.DepartmentIds = append(req.DepartmentIds, int64(value.DepartmentId)) + departmentIdsMap[value.DepartmentId] = true + } + + if _, exists := departmentNamesMap[value.DepartmentName]; !exists { + req.DepartmentNames = append(req.DepartmentNames, value.DepartmentName) + departmentNamesMap[value.DepartmentName] = true + } + } + + res, err := service.GrpcExamClientImpl.SaveUserExam(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GetPersonUserExamTaskRecords(c *gin.Context) { + req := new(exam.PersonUserExamTaskRecordsRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetPersonUserExamTaskRecords ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = strconv.FormatUint(userInfo.ID, 10) + + infoReq := &rule.RulesRequest{ + AccountID: userInfo.ID, + } + infoRes, err := service.RuleProvider.UserInfo(c, infoReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Println("-------------------------------") + fmt.Println("部门岗位:", infoRes) + fmt.Println("部门岗位:", infoRes.PositionUsers) + + req.PositionIds = make([]int64, 0) + req.DepartmentIds = make([]int64, 0) + for _, value := range infoRes.PositionUsers { + req.PositionIds = append(req.PositionIds, int64(value.PositionID)) + req.DepartmentIds = append(req.DepartmentIds, int64(value.DepartmentId)) + } + + res, err := service.GrpcExamClientImpl.GetPersonUserExamTaskRecords(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GetPersonUserExamSubTaskRecords(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.PersonUserExamSubTaskRecordsRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetPersonUserExamSubTaskRecords ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = strconv.FormatUint(userInfo.ID, 10) + + res, err := service.GrpcExamClientImpl.GetPersonUserExamSubTaskRecords(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GetPersonScore(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.PersonScoreRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GetPersonScore ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.UserID == "" { + userInfo := login.GetUserInfoFromC(c) + req.UserID = strconv.FormatUint(userInfo.ID, 10) + } + + res, err := service.GrpcExamClientImpl.GetPersonScore(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func GradingPaper(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.GradingPaperRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("GradingPaper ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.GradeID = int64(userInfo.ID) + req.GradeName = userInfo.NickName + + infoReq := &account.InfoRequest{ + ID: userInfo.ID, + } + infoRes, err := service.AccountProvider.Info(c, infoReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + req.GradeJobNum = infoRes.Info.JobNum + + res, err := service.GrpcExamClientImpl.GradingPaper(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DataUserTaskDetails(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.DataUserTaskDetailsRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DataUserTaskDetails ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DataUserTaskDetails(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DataPersonMonitor(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.DataPersonMonitorRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DataPersonMonitorRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + positionIds := make([]uint32, 0) + for _, value := range req.ExamPositionIds { + positionIds = append(positionIds, uint32(value)) + } + // 查询部门下人数 + accountReq := account.ListV2Request{ + Page: 1, + PageSize: 9999, + PositionIds: positionIds, + } + fmt.Println("========== 部门下请求:", accountReq.PositionIds) + timer := time.Now() // 记录开始时间 + accountRes, accountErr := callAccountForUser(&accountReq) + if accountErr != nil { + service.Error(c, e.Error, accountErr) + return + } + // 组装用户数据 + req.AuthUserInfos = make([]*exam.AuthUserInfo, 0) + if data, ok := accountRes.Data.([]*user.BaseUserResponse); ok { + for _, jobData := range data { + userInfo := new(exam.AuthUserInfo) + userInfo.UserID = int64(jobData.ID) + userInfo.UserName = jobData.NickName + userInfo.JobNum = jobData.JobNum + userInfo.Phone = jobData.TelNum + userInfo.DepartmentIds = make([]int64, 0) + userInfo.DepartmentNames = make([]string, 0) + userInfo.PositionIds = make([]int64, 0) + userInfo.PositionNames = make([]string, 0) + for _, depPos := range jobData.DepPositions { + userInfo.DepartmentIds = append(userInfo.DepartmentIds, int64(depPos.ID)) + userInfo.DepartmentNames = append(userInfo.DepartmentNames, depPos.Name) + } + for _, pos := range jobData.Positions { + userInfo.PositionIds = append(userInfo.PositionIds, int64(pos.ID)) + userInfo.PositionNames = append(userInfo.PositionNames, pos.Name) + } + req.AuthUserInfos = append(req.AuthUserInfos, userInfo) + } + } else { + fmt.Println("Data 不是预期的 []*user.BaseUserResponse 类型") + } + elapsed := time.Since(timer) // 计算自开始时间以来经过的时间 + fmt.Printf("ListV2 耗时 %v milliseconds\n", elapsed.Milliseconds()) + + res, err := service.GrpcExamClientImpl.DataPersonMonitor(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func DataHearMonitor(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.DataHearMonitorRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DataHearMonitorRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcExamClientImpl.DataHearMonitor(context.Background(), req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func ExportExcelDataPersonMonitor(c *gin.Context) { + fmt.Println("=============================================") + req := new(exam.DataPersonMonitorRequest) + if err := c.ShouldBind(req); err != nil { + logger.Errorf("DataPersonMonitorRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + positionIds := make([]uint32, 0) + for _, value := range req.ExamPositionIds { + positionIds = append(positionIds, uint32(value)) + } + // 查询部门下人数 + accountReq := account.ListV2Request{ + Page: 1, + PageSize: 9999, + PositionIds: positionIds, + } + fmt.Println("========== 部门下请求:", accountReq.PositionIds) + timer := time.Now() // 记录开始时间 + accountRes, accountErr := callAccountForUser(&accountReq) + if accountErr != nil { + service.Error(c, e.Error, accountErr) + return + } + // 组装用户数据 + req.AuthUserInfos = make([]*exam.AuthUserInfo, 0) + if data, ok := accountRes.Data.([]*user.BaseUserResponse); ok { + for _, jobData := range data { + userInfo := new(exam.AuthUserInfo) + userInfo.UserID = int64(jobData.ID) + userInfo.UserName = jobData.NickName + userInfo.Phone = jobData.TelNum + userInfo.DepartmentIds = make([]int64, 0) + userInfo.DepartmentNames = make([]string, 0) + userInfo.PositionIds = make([]int64, 0) + userInfo.PositionNames = make([]string, 0) + for _, depPos := range jobData.DepPositions { + userInfo.DepartmentIds = append(userInfo.DepartmentIds, int64(depPos.ID)) + userInfo.DepartmentNames = append(userInfo.DepartmentNames, depPos.Name) + } + for _, pos := range jobData.Positions { + userInfo.PositionIds = append(userInfo.PositionIds, int64(pos.ID)) + userInfo.PositionNames = append(userInfo.PositionNames, pos.Name) + } + req.AuthUserInfos = append(req.AuthUserInfos, userInfo) + } + } else { + fmt.Println("Data 不是预期的 []*user.BaseUserResponse 类型") + } + elapsed := time.Since(timer) // 计算自开始时间以来经过的时间 + fmt.Printf("ListV2 耗时 %v milliseconds\n", elapsed.Milliseconds()) + + res, err := service.GrpcExamClientImpl.DataPersonMonitor(context.Background(), req) + fmt.Println("=========================") + fmt.Println(res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + // 创建临时文件 + tmpfile, err := ioutil.TempFile("", "DataPersonMonitor_*.xlsx") + if err != nil { + service.Error(c, e.Error, err) + return + } + // 将数据写入 Excel + if req.Type == "monitor" { + err = CreateDataPersonMonitorExcel(res, tmpfile) + if err != nil { + service.Error(c, e.Error, err) + return + } + } else { + err = CreateDataPersonMonitorSignExcel(res, tmpfile) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + defer os.Remove(tmpfile.Name()) // 删除临时文件 + + // 返回文件流 + formattedDate := time.Now().Format("20060102") + fileName := req.ExamTaskName + formattedDate + ".xlsx" + escapedFileName := url.QueryEscape(fileName) + c.Header("Content-Disposition", "attachment; filename*=UTF-8''"+escapedFileName) + c.Header("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") + c.File(tmpfile.Name()) +} + +// 将数据写入 Excel 文件,人员考试导出 +func CreateDataPersonMonitorExcel(data *exam.DataPersonMonitorListResponse, file *os.File) error { + // 创建 Excel 文件 + xlsFile := xlsx.NewFile() + sheet, err := xlsFile.AddSheet("考培数据") + if err != nil { + return err + } + // 添加表头 + row := sheet.AddRow() + row.AddCell().SetValue("姓名") + row.AddCell().SetValue("部门") + row.AddCell().SetValue("岗位") + row.AddCell().SetValue("手机号") + row.AddCell().SetValue("结果") + row.AddCell().SetValue("获得证书") + row.AddCell().SetValue("开始时间") + row.AddCell().SetValue("完成时间") + // 将数据写入 Excel + for _, req := range data.DataPersonMonitorResponses { + row := sheet.AddRow() + row.AddCell().SetValue(req.UserName) + row.AddCell().SetValue(req.DepartmentNames) + row.AddCell().SetValue(req.PositionNames) + row.AddCell().SetValue(req.Phone) + row.AddCell().SetValue(changeResultStatus(req.ResultStatus)) + row.AddCell().SetValue(changeCert(req.IsCert)) + row.AddCell().SetValue(req.StartAt) + row.AddCell().SetValue(req.FinishAt) + } + // 保存 Excel 文件 + err = xlsFile.Write(file) + if err != nil { + return err + } + + return nil +} + +// 将数据写入 Excel 文件,签到导出 +func CreateDataPersonMonitorSignExcel(data *exam.DataPersonMonitorListResponse, file *os.File) error { + // 创建 Excel 文件 + xlsFile := xlsx.NewFile() + sheet, err := xlsFile.AddSheet("考培数据") + if err != nil { + return err + } + // 添加表头 + row := sheet.AddRow() + row.AddCell().SetValue("姓名") + row.AddCell().SetValue("部门") + row.AddCell().SetValue("岗位") + row.AddCell().SetValue("手机号") + row.AddCell().SetValue("是否签到") + row.AddCell().SetValue("实际签到时间") + row.AddCell().SetValue("实际签到地点") + // 将数据写入 Excel + for _, req := range data.DataPersonMonitorResponses { + row := sheet.AddRow() + row.AddCell().SetValue(req.UserName) + row.AddCell().SetValue(req.DepartmentNames) + row.AddCell().SetValue(req.PositionNames) + row.AddCell().SetValue(req.Phone) + row.AddCell().SetValue(changeCert(req.IsSignIn)) + row.AddCell().SetValue(req.SignInTime) + row.AddCell().SetValue(req.SignInAddress) + } + // 保存 Excel 文件 + err = xlsFile.Write(file) + if err != nil { + return err + } + + return nil +} + +func changeResultStatus(in int32) (out string) { + out = "" + if in == 1 { + out = "待评定" + } else if in == 2 { + out = "通过" + } else if in == 3 { + out = "未通过" + } + return out +} + +func changeCert(in int32) (out string) { + out = "" + if in == 2 { + out = "是" + } else { + out = "否" + } + return out +} + +func callAccountForUser(req *account.ListV2Request) (response vo.PageResponseV2, err error) { + var userIds []uint32 + + if req.EndEnterDate != "" { + req.EndEnterDate += " 23:59:59" + } + + response = vo.PageResponseV2{ + Count: 0, + } + + res, err := service.AccountProvider.ListV2(context.Background(), req) + if err != nil { + return response, err + } + + if res.Count <= 0 { + return response, nil + } + response.Count = res.Count + + for _, v := range res.Data { + userIds = append(userIds, uint32(v.ID)) + } + + //查询部门 + puRequest := &position.UserInfosV2Request{IDs: userIds} + puRes, err := service.PositionProvider.UserInfosV2(context.Background(), puRequest) + + if err != nil { + return response, err + } + + response.Data = serializer.UserV2(res, puRes, 0) + + return +} diff --git a/pkg/service/exhibition_f.go b/pkg/service/exhibition_f.go new file mode 100644 index 0000000..1eeda7b --- /dev/null +++ b/pkg/service/exhibition_f.go @@ -0,0 +1,110 @@ +package service + +// +//import ( +// "context" +// "github.com/fonchain_enterprise/fonchain-main/api/exhibition_f" +// "github.com/fonchain_enterprise/fonchain-main/pkg/e" +// "github.com/gin-gonic/gin" +// "go.uber.org/zap" +//) +// +//func SaveExhibition(ctx *gin.Context) { +// var ( +// saveReq *exhibition_f.SaveExhibitionReq +// saveRes *exhibition_f.SaveExhibitionRes +// err error +// ) +// if err = ctx.ShouldBind(&saveReq); err != nil { +// zap.L().Error("SaveExhibitionF err ShouldBind", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) +// return +// } +// if saveRes, err = GrpcExhibitionFClientImpl.SaveExhibition(context.Background(), saveReq); err != nil { +// zap.L().Error("SaveExhibitionF err Save", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) +// return +// } +// ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), saveRes) +// return +//} +// +//func ExhibitionList(ctx *gin.Context) { +// var ( +// listReq *exhibition_f.ExhibitionListReq +// listRes *exhibition_f.ExhibitionListRes +// err error +// ) +// if err = ctx.ShouldBind(&listReq); err != nil { +// zap.L().Error("ExhibitionList err ShouldBind", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) +// return +// } +// if listRes, err = GrpcExhibitionFClientImpl.ExhibitionList(context.Background(), listReq); err != nil { +// zap.L().Error("ExhibitionList err query", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) +// return +// } +// ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), listRes) +// return +//} +// +//func ExhibitionNodeList(ctx *gin.Context) { +// var ( +// nodeListReq *exhibition_f.ExhibitionNodeInfo +// nodeListRes *exhibition_f.ExhibitionNodeListRes +// err error +// ) +// if err = ctx.ShouldBind(&nodeListReq); err != nil { +// zap.L().Error("ExhibitionNodeList err ShouldBind", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) +// return +// } +// if nodeListRes, err = GrpcExhibitionFClientImpl.ExhibitionNodeList(context.Background(), nodeListReq); err != nil { +// zap.L().Error("ExhibitionNodeList err query", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) +// return +// } +// ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), nodeListRes) +// return +//} +// +//func ChoseCompere(ctx *gin.Context) { +// var ( +// compereReq *exhibition_f.ChoseCompereReq +// compereRes *exhibition_f.ChoseCompereRes +// err error +// ) +// if err = ctx.ShouldBind(&compereReq); err != nil { +// zap.L().Error("ChoseCompere err ShouldBind", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) +// return +// } +// if compereRes, err = GrpcExhibitionFClientImpl.ChoseCompere(context.Background(), compereReq); err != nil { +// zap.L().Error("ChoseCompere err update", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) +// return +// } +// ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), compereRes) +// return +//} +// +//func ChangeStatus(ctx *gin.Context) { +// var ( +// changeReq *exhibition_f.ExhibitionInfo +// changeRes *exhibition_f.SaveExhibitionRes +// err error +// ) +// if err = ctx.ShouldBind(&changeReq); err != nil { +// zap.L().Error("ChangeStatus err ShouldBind", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) +// return +// } +// if changeRes, err = GrpcExhibitionFClientImpl.ChangeStatus(context.Background(), changeReq); err != nil { +// zap.L().Error("ChangeStatus err update", zap.Error(err)) +// ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) +// return +// } +// ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), changeRes) +// return +//} diff --git a/pkg/service/express.go b/pkg/service/express.go new file mode 100644 index 0000000..44609ff --- /dev/null +++ b/pkg/service/express.go @@ -0,0 +1,258 @@ +package service + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/express" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + + "github.com/gin-gonic/gin" +) + +//修改开发板信息 单个 +func EditSinglechip(c *gin.Context) { + //声明一个变量 + var req express.SinglechipRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Update ShouldBind err", err) + Error(c, e.Error, err) + return + } + resp, err := GrpcExpressImpl.Update(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + } + Success(c, resp) + return +} + +//BatchEditSinglechip 修改开发板信息 单个 +func BatchEditSinglechip(c *gin.Context) { + //声明一个变量 + var req vo.BatchSingle + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Update ShouldBind err", err) + Error(c, e.Error, err) + return + } + + var resp *express.SinglechipResponse + for i, _ := range req.Data { + var err error + resp, err = GrpcExpressImpl.Update(context.Background(), req.Data[i]) + if err != nil { + Error(c, e.Error, err) + return + } + } + + Success(c, resp) + return +} + +//更新快递柜 +func EditCircuit(c *gin.Context) { + var req express.CircuitRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Updatecircuit ShouldBind err", err) + Error(c, e.Error, err) + return + } + + resp, err := GrpcExpressImpl.UpdateCircuit(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + } + Success(c, resp) + return +} + +//柜门修改开闭状态 +func SetCircuitStatus(c *gin.Context) { + Success(c, nil) + return +} + +//快递柜列表 +func ListCircuit(c *gin.Context) { + var req express.CircuitList + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CircuitList ShouldBind err", err) + Error(c, e.Error, err) + return + } + + resp, err := GrpcExpressImpl.ListCircuit(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + } + Success(c, resp) + return +} + +//寄件历史明细 +func HistoryList(c *gin.Context) { + + var req express.CircuitHistoryList + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("HistoryList ShouldBind err", err) + Error(c, e.Error, err) + return + } + + resp, err := GrpcExpressImpl.ListCircuitHistory(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + } + Success(c, resp) + return +} + +//开发板开启关闭状态 +func Open(c *gin.Context) { + + var req express.CircuitOpen + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Open ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcExpressImpl.OpenCircuit(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + } + Success(c, resp) + return +} + +//创建生成开发板 +func Create(c *gin.Context) { + var req express.SinglechipRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Create ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcExpressImpl.Create(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + } + Success(c, resp) + return +} + +//开发板一键删除 +func Remove(c *gin.Context) { + + var req express.SinglechipDetail + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Remove ShouldBind err", err) + Error(c, e.Error, err) + return + } + + resp, err := GrpcExpressImpl.Remove(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + } + Success(c, resp) + return +} + +//列表 +func ExpressList(c *gin.Context) { + + var req express.SinglechipList + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Remove ShouldBind err", err) + Error(c, e.Error, err) + return + } + + resp, err := GrpcExpressImpl.List(context.Background(), &req) + if err != nil { + Error(c, e.Error, err) + return + + } + Success(c, resp) + return +} + +//寄件 +func Send(c *gin.Context) { + var req express.BatchCircuitHistoryRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Send ShouldBind err", err) + Error(c, e.Error, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + + //获取所有的ArtworkNum + var artworkNum []string + for _, temp := range req.List { + artworkNum = append(artworkNum, temp.ArtworkNum) + } + + baseReq := order.OrdersByArtworkNumRequest{ArtworkNums: artworkNum} + baseRes, baseErr := OrderProvider.OrdersByArtworkNum(c, &baseReq) + if baseErr != nil { + Error(c, e.Error, baseErr) + return + } + + if len(baseRes.Bases) <= 0 { + Error(c, e.Error, errors.New("当前选中作品并没有销售记录")) + return + } + + baseInfoMap := make(map[string]*order.OrderBaseInfo) + for _, temp := range baseRes.Bases { + baseInfoMap[temp.ArtworkNum] = temp + } + + fmt.Println("map:", baseInfoMap) + + for index, temp := range req.List { + + req.List[index].Operation = "寄件" + req.List[index].OperatorID = userInfo.ID + req.List[index].OperatorName = userInfo.NickName + if _, ok := baseInfoMap[temp.ArtworkNum]; ok != true { + continue + } + req.List[index].SellerID = baseInfoMap[temp.ArtworkNum].SellerID + req.List[index].SellerName = baseInfoMap[temp.ArtworkNum].SellerName + req.List[index].BuyerName = baseInfoMap[temp.ArtworkNum].BuyerName + } + + fmt.Println("插入数据", req.List) + + resp, err := GrpcExpressImpl.BatchCreateCircuitHistory(context.Background(), &req) + if err != nil { + Error(c, e.Error, baseErr) + return + } + Success(c, resp) + return +} diff --git a/pkg/service/goods_management/goods_management.go b/pkg/service/goods_management/goods_management.go new file mode 100644 index 0000000..d3177e5 --- /dev/null +++ b/pkg/service/goods_management/goods_management.go @@ -0,0 +1,220 @@ +package goods_management + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/goods_management" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/gin-gonic/gin" + "net/http" +) + +func AddBorrowGoods(c *gin.Context) { + var addBorrowGoodsRequest goods_management.AddBorrowGoodsRequest + if err := c.ShouldBind(&addBorrowGoodsRequest); err != nil { + logger.Errorf("addBorrowGoodsRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 获取操作人员姓名 + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + addBorrowGoodsRequest.OperatorName = userInfo.NickName + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + //addBorrowGoodsRequest.OperatorName = "大志" + + rep, err := service.GrpcGoodsManagementImpl.AddBorrowGoods(context.Background(), &addBorrowGoodsRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func BorrowGoodsList(c *gin.Context) { + var borrowGoodsListRequest goods_management.BorrowGoodsListRequest + if err := c.ShouldBind(&borrowGoodsListRequest); err != nil { + logger.Errorf("borrowGoodsListRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcGoodsManagementImpl.BorrowGoodsList(context.Background(), &borrowGoodsListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func GenerateBorrowQrCode(c *gin.Context) { + var generateBorrowQrCodeRequest goods_management.GenerateBorrowQrCodeRequest + if err := c.ShouldBind(&generateBorrowQrCodeRequest); err != nil { + logger.Errorf("generateBorrowQrCodeRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + qrContent := config.MaterialHost + "/#/pages/borrow/index?uid=" + generateBorrowQrCodeRequest.BorrowInfoUid + fmt.Println("AppointUrl", config.MaterialHost) + fmt.Println("qrcontent", qrContent) + qrBytes, err := utils.CreateQr(qrContent, "") // Assuming CreateQr returns []byte + // fmt.Println("qrBytes 是:", qrBytes) + + if err != nil { + fmt.Println("创建二维码失败:", err) + service.ResponseQuickMsg(c, e.Failed, "创建二维码失败", nil) + return + } + + qrbytess := []byte(qrBytes) + + objectName := fmt.Sprintf("%s/%s/%s.jpg", config.ConfigData.Oss.BaseDir, config.Env, generateBorrowQrCodeRequest.BorrowInfoUid) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, qrbytess) + fmt.Println("err", err) + if err != nil { + logger.Errorf("quickBos err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + url := fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + fmt.Println("url", url) + generateBorrowQrCodeRequest.QrUrl = url + rep, err := service.GrpcGoodsManagementImpl.GenerateBorrowQrCode(context.Background(), &generateBorrowQrCodeRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PutDownBorrowGoods(c *gin.Context) { + var putDownBorrowGoodsRequest goods_management.PutDownBorrowGoodsRequest + if err := c.ShouldBind(&putDownBorrowGoodsRequest); err != nil { + logger.Errorf("putDownBorrowGoodsRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcGoodsManagementImpl.PutDownBorrowGoods(context.Background(), &putDownBorrowGoodsRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func DeleteBorrowGoods(c *gin.Context) { + var deleteBorrowGoodsRequest goods_management.DeleteBorrowGoodsRequest + if err := c.ShouldBind(&deleteBorrowGoodsRequest); err != nil { + logger.Errorf("deleteBorrowGoodsRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcGoodsManagementImpl.DeleteBorrowGoods(context.Background(), &deleteBorrowGoodsRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func SpecificBorrowRecord(c *gin.Context) { + var specificBorrowRecordRequest goods_management.SpecificBorrowRecordRequest + if err := c.ShouldBind(&specificBorrowRecordRequest); err != nil { + logger.Errorf("SpecificBorrowRecord ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcGoodsManagementImpl.SpecificBorrowRecord(context.Background(), &specificBorrowRecordRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} diff --git a/pkg/service/health.go b/pkg/service/health.go new file mode 100644 index 0000000..3d30364 --- /dev/null +++ b/pkg/service/health.go @@ -0,0 +1,472 @@ +package service + +import ( + "context" + "fmt" + "sync" + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/health" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/utils/feie" + "github.com/gin-gonic/gin" +) + +//DelHealthAppoint 基础预约 +func DelHealthAppoint(c *gin.Context) { + var req health.DelAppointReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.DelAppoint(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, "", resp) + return +} + +//UpdateHealthAppoint 基础预约 +func UpdateHealthAppoint(c *gin.Context) { + var req health.Appoint + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.UpdateAppoint(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, "", resp) + return +} + +//HealthAppointList 基础预约 +func HealthAppointList(c *gin.Context) { + var req health.AppointListReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.AppointList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, "", resp) + return +} + +//医生信息列表 +func DoctorList(c *gin.Context) { + var req health.DoctorListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.DoctorList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 预约列表 +func PreList(c *gin.Context) { + var req health.PreListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.PreList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 预约详情 +func PreInfo(c *gin.Context) { + var req health.PreInforeq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.PreInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 更新预约 +func UpdatePre(c *gin.Context) { + var req health.UpdatePrereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.UpdatePre(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func UpdateStreet(c *gin.Context) { + var req health.UpdateStreetreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.UpdateStreet(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 发送电子病历给咨询的人 +func SendMedical(c *gin.Context) { + + var req health.PreInforeq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.PreInfo(context.Background(), &req) + fmt.Println("返回的结果:", resp) + fmt.Println("发送电子病历错误:", err) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 发送电子病历的短信给预约人 + url1 := fmt.Sprintf("https://yiyijian.szjixun.cn/#/pages/doctor/medicalrecord?uuid=%s", resp.Uuid) + fmt.Println("url1", url1) + //todo 拉取了dev分支后,这个方法没有 + // shortUrl, err := utils.CreateShortUrl(url1) + // if err == nil { + // url1 = shortUrl + // } + _, err1 := AccountProvider.SendExCustomMsg(c, &account.SendCustomMsgRequest{ + TelNum: resp.TelNum, + Url: url1, + MId: 143940, //模板Id + SigNo: 185579, //签名id + }) + if err1 != nil { + fmt.Println("err1是:", err1) + return + } + + // 更新发送短信的接口 + var msgreq health.UpdateMsgreq + + msgreq.Uuid = resp.Uuid + fmt.Println(msgreq.Uuid) + _, err2 := GrpcHealthImpl.UpdateMsg(context.Background(), &msgreq) + if err2 != nil { + ResponseQuickMsg(c, e.Ok, err.Error(), "更新失败") + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 发送预约相关信息 +func SendPremsg(c *gin.Context) { + var req health.PreInforeq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.PreInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 发送电子病历的短信给预约人 + // url1 := fmt.Sprintf("https://yiyijian.szjixun.cn/#/pages/doctor/medicalrecord?uuid=%s", req.Uuid) + url2 := resp.Name + "||" + resp.VisitNum + "||" + resp.ChatTime + "||" + "9点~12点" + "||" + resp.ChatLoca + "||" + resp.BelongDepartment + "||" + resp.DrName + "||" + "https://yiyijian.szjixun.cn/#/pages/navigation/navigation?id=0" + fmt.Println("url2", url2) + //todo 拉取了dev分支后,这个方法没有 + // shortUrl, err := utils.CreateShortUrl(url1) + // if err == nil { + // url1 = shortUrl + // } + _, err1 := AccountProvider.SendExCustomMsg(c, &account.SendCustomMsgRequest{ + TelNum: resp.TelNum, + Url: url2, + MId: 144205, //模板Id + SigNo: 185579, //签名id + }) + if err1 != nil { + return + } + + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + + return +} + +// 一个预约增加科室 +func AddDr(c *gin.Context) { + + // 使用互斥锁来保证并发控制 + callSignMutex.Lock() + defer callSignMutex.Unlock() + + // 获取当前时间 + currentTime := time.Now() + + // 计算与上次调用的时间间隔 + timeDiff := currentTime.Sub(lastCallTime) + + // 如果时间间隔小于2秒,则拒绝调用 + if timeDiff < 2*time.Second { + ResponseQuickMsg(c, e.Failed, "叫号太频繁,请等待打票机打票后再叫号。", nil) + return + } + + // 更新上次调用时间为当前时间 + lastCallTime = currentTime + + var req health.AddDrreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.AddDr(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +var callSignMutex sync.Mutex +var lastCallTime time.Time + +// 叫号 +func CallSign(c *gin.Context) { + + // 使用互斥锁来保证并发控制 + callSignMutex.Lock() + defer callSignMutex.Unlock() + + // 获取当前时间 + currentTime := time.Now() + + // 计算与上次调用的时间间隔 + timeDiff := currentTime.Sub(lastCallTime) + + // 如果时间间隔小于2秒,则拒绝调用 + if timeDiff < 2*time.Second { + ResponseQuickMsg(c, e.Failed, "叫号太频繁,请等待打票机打票后再叫号。", nil) + return + } + + // 更新上次调用时间为当前时间 + lastCallTime = currentTime + + var req health.CallSignreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.CallSign(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 得到预约人姓名 + var namereq health.PreInforeq + namereq.Uuid = req.Uuid + namereq.BelongDepartment = DrDepartment[req.DrName] + fmt.Println("详情uuid:", namereq.Uuid) + fmt.Println("所属科室:", namereq.BelongDepartment) + + nameresp, err1 := GrpcHealthImpl.PreInfo(context.Background(), &namereq) + if err1 != nil { + ResponseQuickMsg(c, e.Failed, err1.Error(), nil) + return + } + + feie := &feie.Feie{ + + User: "chenyao@taifeng.ltd", + Ukey: "8mxyRrjhCKzB4Pde", + Url: "http://api.feieyun.cn/Api/Open/", + } + + t := time.Now() + formattedTime := t.Format("2006-01-02 15:04:05") + fmt.Println(formattedTime) + + content := "" + resp.VisitNum + "

" + + "预约人 :" + nameresp.Name + "

" + + "取号时间: " + formattedTime + "

" + + "地点 : 苏州市姑苏区十梓街116-3号

" + + fmt.Println(feie.PrintNativeContent("922455004", content)) + + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 医生和对应科室 +var DrDepartment = map[string]string{ + "包肇华": "骨科", + "李纲": "泌尿外科", + "田力平": "普外科(甲状腺乳腺外科门诊)", + "温晓持": "消化内科", +} + +// 插队 +func QueueUp(c *gin.Context) { + // 使用互斥锁来保证并发控制 + callSignMutex.Lock() + defer callSignMutex.Unlock() + + // 获取当前时间 + currentTime := time.Now() + + // 计算与上次调用的时间间隔 + timeDiff := currentTime.Sub(lastCallTime) + + // 如果时间间隔小于2秒,则拒绝调用 + if timeDiff < 2*time.Second { + ResponseQuickMsg(c, e.Failed, "插队太频繁,请在打票机打票之后重试。", nil) + return + } + + // 更新上次调用时间为当前时间 + lastCallTime = currentTime + + var req health.QueueUpreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.QueueUp(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 得到预约人姓名 + var namereq health.PreInforeq + namereq.Uuid = req.Uuid + namereq.BelongDepartment = DrDepartment[req.DrName] + fmt.Println("详情uuid:", namereq.Uuid) + fmt.Println("所属科室:", namereq.BelongDepartment) + nameresp, err1 := GrpcHealthImpl.PreInfo(context.Background(), &namereq) + if err1 != nil { + ResponseQuickMsg(c, e.Failed, err1.Error(), nil) + return + } + + // 插队的打印 + feie := &feie.Feie{ + + User: "chenyao@taifeng.ltd", + Ukey: "8mxyRrjhCKzB4Pde", + Url: "http://api.feieyun.cn/Api/Open/", + } + + t := time.Now() + formattedTime := t.Format("2006-01-02 15:04:05") + fmt.Println(formattedTime) + + content := "" + resp.VisitNum + "

" + + "预约人 :" + nameresp.Name + "

" + + "取号时间: " + formattedTime + "

" + + "地点 : 苏州市姑苏区十梓街116-3号

" + + fmt.Println(feie.PrintNativeContent("922455004", content)) + + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//医生和对应科室 +func DrDe(c *gin.Context) { + var req health.DrDereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.DrDe(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, "", resp) + return +} + +// 删除科室 +func DelExAdd(c *gin.Context) { + var req health.DelExAddreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcHealthImpl.DelExAdd(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, "", resp) + return +} diff --git a/pkg/service/holidayInfo.go b/pkg/service/holidayInfo.go new file mode 100644 index 0000000..0f81909 --- /dev/null +++ b/pkg/service/holidayInfo.go @@ -0,0 +1,71 @@ +package service + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" +) + +func SingleHolidayInfo(c *gin.Context) { + var holidayInfoReq holiday.HolidayInfoReq + if err := c.ShouldBind(&holidayInfoReq); err != nil { + logger.Errorf("SingleHolidayInfo ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + holidayInfoReq.BeginDate = holiday.ConvertTime(holidayInfoReq.BeginDate) + + resp, err := holiday.GetSingleData(holidayInfoReq.BeginDate, true) + if err != nil { + logger.Errorf("GetSingleData err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp, + Status: e.Ok, + }) +} + +func MultiHolidayInfo(c *gin.Context) { + var holidayInfoReq holiday.HolidayInfoReq + if err := c.ShouldBind(&holidayInfoReq); err != nil { + logger.Errorf("SingleHolidayInfo ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + holidayInfoReq.BeginDate = holiday.ConvertTime(holidayInfoReq.BeginDate) + holidayInfoReq.EndDate = holiday.ConvertTime(holidayInfoReq.EndDate) + fmt.Println("holidayInfoReq.BeginDate = : ", holidayInfoReq.BeginDate) + fmt.Println("holidayInfoReq.EndDate = : ", holidayInfoReq.EndDate) + + resp, err := holiday.GetMultiData(holidayInfoReq.BeginDate, holidayInfoReq.EndDate, true) + if err != nil { + logger.Errorf("GetMultiData err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp, + Status: e.Ok, + }) +} diff --git a/pkg/service/home_page/home_page.go b/pkg/service/home_page/home_page.go new file mode 100644 index 0000000..afd0dc9 --- /dev/null +++ b/pkg/service/home_page/home_page.go @@ -0,0 +1,949 @@ +/** + * @Author: sun + * @Company: 苏州泰丰文化 + * @Description: + * @File: home_page + * @Version: 1.0.0 + * @Date: 2024/12/2 10:11:00 + */ + +package home_page + +import ( + "fmt" + api "github.com/fonchain_enterprise/fonchain-main/api/approval" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + homePage "github.com/fonchain_enterprise/fonchain-main/pkg/model/home_page" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "strings" +) + +func ApplyCount(c *gin.Context) { + var ( + reqPendApproval api.ListRequest + reqSubmitApproval api.ListRequest + reqPendClockIn api.ListRequest + reqSubmitClockIn api.ListRequest + ) + + reqPendApproval.Status = 1 + reqPendApproval.MenuType = 2 + reqPendApproval.Domain = "all" + paData, e1 := pendingApproval(c, &reqPendApproval) + if e1 != nil { + service.Error(c, e.Error, e1) + } + reqSubmitApproval.Status = 1 + reqSubmitApproval.MenuType = 2 + reqSubmitApproval.Domain = "all" + caData, e2 := commitApproval(c, &reqSubmitApproval) + if e2 != nil { + service.Error(c, e.Error, e1) + } + + reqPendClockIn.Status = 1 + reqPendClockIn.MenuType = 1 + reqPendClockIn.Domain = "all" + cdData, e3 := pendingApproval(c, &reqPendClockIn) + if e3 != nil { + service.Error(c, e.Error, e1) + } + + reqSubmitClockIn.Status = 1 + reqSubmitClockIn.MenuType = 1 + reqSubmitClockIn.Domain = "all" + ccData, e4 := commitApproval(c, &reqSubmitClockIn) + if e4 != nil { + service.Error(c, e.Error, e1) + } + + res := &homePage.ApplyCountRes{} + + res.PendingApprovalCount = paData.Count + res.SubmitApprovalCount = caData.Count + res.PendingClockInCount = cdData.Count + res.SubmitClockInCount = ccData.Count + service.Success(c, res) +} + +func ClockingIn(c *gin.Context) { + req := new(model.CollectionDetailReq) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res := new(model.CollectionDetailRes) + var ( + err error + userInfo login.Info + ) + + if req.StaffUID != 0 { + userResponse, getUserInfoByIdErr := account.GetUserInfoById(c, req.StaffUID, "") + if getUserInfoByIdErr != nil { + msg := "" + if getUserInfoByIdErr.Error() == "record not found" { + msg = "查询当前人员信息不存在" + } else { + msg = getUserInfoByIdErr.Error() + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: msg, + Status: e.Failed, + }) + return + } + userInfo.PositionUsers = userResponse.PositionUsers + } else { + userInfo = login.GetUserInfoFromC(c) + } + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + if req.Month == "" { + req.Month = holiday.CurrentMonth() + } + + req.Dates = holiday.SplitMonthV1(req.Month+"-25", common.YYMMDD) + + res, err = oa_logic.AllRecord(req, workingTime) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + month := common.Add25ForMonth(req.Month) + dates := holiday.SplitMonthV1(month, common.YYMMDD) + + resp := &homePage.ClockInRes{} + resp.AverageHourNum = res.AverageHourNum + resp.AttendanceDayNum = res.AttendanceDayNum + resp.AbnormalClock = res.MissNum + res.CommonLateNum + res.ExtremeLateNum + res.BeforeNum + res.MissDayNum + resp.NeedAttendanceDayNum = res.NeedAttendanceDayNum + resp.OverWorkHour = res.OverTime.OverWorkHour + resp.ClockInCycle = fmt.Sprintf("%s-%s", dates[0], dates[len(dates)-1]) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp, + Status: e.Ok, + }) +} + +func ClockRecord(c *gin.Context) { + req := new(model.CollectionDetailReq) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("================ StaffCollectionDetailDate =======================") + res := new(model.WorkDayDetail) + var err error + + if req.Date == "" { + req.Date = common.CheckIsBeforeFour() + } + + var userInfo login.Info + + if req.StaffUID != 0 { + userResponse, getUserInfoByIdErr := account.GetUserInfoById(c, req.StaffUID, "") + if getUserInfoByIdErr != nil { + msg := "" + if getUserInfoByIdErr.Error() == "record not found" { + msg = "查询当前人员信息不存在" + } else { + msg = getUserInfoByIdErr.Error() + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: msg, + Status: e.Failed, + }) + return + } + userInfo.PositionUsers = userResponse.PositionUsers + } else { + userInfo = login.GetUserInfoFromC(c) + } + + if req.StaffUID == 0 { + req.StaffUID = userInfo.ID + } + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + res, err = oa_logic.WorkDayDate(req, workingTime) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res.Records, + Status: e.Ok, + }) + +} + +func pendingApproval(c *gin.Context, req *api.ListRequest) (res *api.ListResponse, err error) { + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + req.Domain = "all" + if req.OrderBy == "" { + req.OrderBy = "desc" + } + + //if req.StartTime != "" && req.EndTime != "" { + // req.StartTime = req.StartTime + " 00:00:00" + // req.EndTime = req.EndTime + " 23:59:59" + // req.OrderBy = "desc" + //} + res = &api.ListResponse{} + res, err = service.ApprovalProvider.MyWorkV2(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //全局搜索过滤 + if len(res.Data) > 0 && req.AllQuery != "" { + fmt.Println("========================全局搜索过滤==============================") + filterData := make([]*api.CreateRequest, 0) + for _, approvalItem := range res.Data { + flag := 0 + if strings.Contains(approvalItem.Content, req.AllQuery) || + strings.Contains(approvalItem.Reply, req.AllQuery) || + strings.Contains(approvalItem.SubmitterName, req.AllQuery) || + strings.Contains(approvalItem.NowUserName, req.AllQuery) || + strings.Contains(approvalItem.CreatedAt, req.AllQuery) || + strings.Contains(approvalItem.TypeName, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.Work != nil { + if len(approvalItem.Work.ApprovalWorks) > 0 { + for _, work := range approvalItem.Work.ApprovalWorks { + if strings.Contains(work.ArtworkName, req.AllQuery) || + strings.Contains(work.ArtistShowCount, req.AllQuery) || + strings.Contains(work.ArtworkCover, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if len(approvalItem.Show) > 0 { + for _, show := range approvalItem.Show { + if strings.Contains(show.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.Exhibition != nil { + if strings.Contains(approvalItem.Exhibition.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.Exhibition.ApprovalExhibitions) > 0 { + + for _, exhibition := range approvalItem.Exhibition.ApprovalExhibitions { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if len(approvalItem.WorkFlows) > 0 { + for _, user := range approvalItem.WorkFlows { + if strings.Contains(user.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CopyUsers) > 0 { + for _, copyUser := range approvalItem.CopyUsers { + if strings.Contains(copyUser.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CustomizeInfo) > 0 { + for _, keyInfo := range approvalItem.CustomizeInfo { + if strings.Contains(keyInfo.ApprovalValue, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.BundlePayPrice != nil { + if strings.Contains(approvalItem.BundlePayPrice.ShowName, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtistShowCount, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowLowPrice, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtworkSize, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowAddress, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowDate, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA != nil { + if strings.Contains(approvalItem.ApprovalOA.RevokeReason, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.ApprovalOA.LeaveApply != nil { + if strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.ActionTime, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA.OutWork != nil { + + if strings.Contains(approvalItem.ApprovalOA.OutWork.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.OutWorkAddress, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Vehicle, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OutWork.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.MakeUp != nil { + if strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.MakeUp.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Turnover != nil { + fmt.Println("=====================turnover=====================") + fmt.Println(approvalItem.ApprovalOA.Turnover) + if strings.Contains(approvalItem.ApprovalOA.Turnover.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.JoinTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.LeftTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ContactInfo, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Address, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.WorkItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.FinanceItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Turnover.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + fmt.Println("=====================flag=====================") + fmt.Println(flag) + } + if approvalItem.ApprovalOA.OverTime != nil { + if strings.Contains(approvalItem.ApprovalOA.OverTime.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OverTime.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Leave != nil { + if strings.Contains(approvalItem.ApprovalOA.Leave.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Leave.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.GoOut != nil { + if strings.Contains(approvalItem.ApprovalOA.GoOut.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.GoOut.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.BusinessTrip != nil { + if strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, itinerary := range approvalItem.ApprovalOA.BusinessTrip.ItineraryList { + if strings.Contains(itinerary.Vehicle, req.AllQuery) || + strings.Contains(itinerary.EndAddress, req.AllQuery) || + strings.Contains(itinerary.StartAddress, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if approvalItem.FinancialForm != nil { + if strings.Contains(approvalItem.FinancialForm.PaymentCompany, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.TransactionDepartment, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.Payee, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BeneficiaryBank, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BankNo, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.PaymentMethod, req.AllQuery) { + flag = flag + 1 + } + for _, costInfo := range approvalItem.FinancialForm.CostInfo { + if strings.Contains(costInfo.Description, req.AllQuery) || + strings.Contains(costInfo.UnitPrice, req.AllQuery) || + strings.Contains(costInfo.CostUnit, req.AllQuery) || + strings.Contains(costInfo.UsedDepartment, req.AllQuery) || + strings.Contains(costInfo.TotalPrice, req.AllQuery) { + flag = flag + 1 + break + } + } + for _, invoiceInfo := range approvalItem.FinancialForm.InvoiceInfo { + if strings.Contains(invoiceInfo.InvoiceDate, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceNo, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceProvider, req.AllQuery) || + strings.Contains(invoiceInfo.Amount, req.AllQuery) || + strings.Contains(invoiceInfo.Applicant, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentMethod, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentObj, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceType, req.AllQuery) || + strings.Contains(invoiceInfo.Notes, req.AllQuery) || + strings.Contains(invoiceInfo.UseTo, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ExhibitionHis != nil { + if strings.Contains(approvalItem.ExhibitionHis.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.ExhibitionHis.ApprovalExhibitionHiss) > 0 { + for _, exhibition := range approvalItem.ExhibitionHis.ApprovalExhibitionHiss { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if approvalItem.Promotion != nil { + if strings.Contains(approvalItem.Promotion.StaffName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.Promotion.FileName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.NewJob, req.AllQuery) || + strings.Contains(approvalItem.Promotion.EffectiveTime, req.AllQuery) || + strings.Contains(approvalItem.Promotion.OldJob, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.StaffSupply != nil { + if strings.Contains(approvalItem.StaffSupply.PositionName, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JobAsk, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JoinInTime, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.DepartmentName, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.Employ != nil { + if strings.Contains(approvalItem.Employ.Post, req.AllQuery) || + strings.Contains(approvalItem.Employ.BelongDepartment, req.AllQuery) || + strings.Contains(approvalItem.Employ.Name, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeType, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeNo, req.AllQuery) || + strings.Contains(approvalItem.Employ.EntryTime, req.AllQuery) || + strings.Contains(approvalItem.Employ.CloseReason, req.AllQuery) || + strings.Contains(approvalItem.Employ.ConfirmDate, req.AllQuery) || + strings.Contains(approvalItem.Employ.Remark, req.AllQuery) || + strings.Contains(approvalItem.Employ.Mobile, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.CheckIn != nil { + if strings.Contains(approvalItem.CheckIn.SaleAddress, req.AllQuery) || + strings.Contains(approvalItem.CheckIn.DetailAddress, req.AllQuery) { + flag = flag + 1 + } + + } + if flag > 0 { + filterData = append(filterData, approvalItem) + } + } + fmt.Println("========================匹配所有字段结束,匹配结果==============================") + fmt.Println(filterData) + res.Data = filterData + } + return +} + +func commitApproval(c *gin.Context, req *api.ListRequest) (res *api.ListResponse, err error) { + userInfo := login.GetUserInfoFromC(c) + req.UserID = userInfo.ID + + if req.OrderBy == "" { + req.OrderBy = "desc" + } + res = &api.ListResponse{} + res, err = service.ApprovalProvider.MySubmit(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //全局搜索过滤 + if len(res.Data) > 0 && req.AllQuery != "" { + filterData := make([]*api.CreateRequest, 0) + for _, approvalItem := range res.Data { + flag := 0 + if strings.Contains(approvalItem.Content, req.AllQuery) || + strings.Contains(approvalItem.Reply, req.AllQuery) || + strings.Contains(approvalItem.SubmitterName, req.AllQuery) || + strings.Contains(approvalItem.NowUserName, req.AllQuery) || + strings.Contains(approvalItem.CreatedAt, req.AllQuery) || + strings.Contains(approvalItem.TypeName, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.Work != nil { + if len(approvalItem.Work.ApprovalWorks) > 0 { + for _, work := range approvalItem.Work.ApprovalWorks { + if strings.Contains(work.ArtworkName, req.AllQuery) || + strings.Contains(work.ArtistShowCount, req.AllQuery) || + strings.Contains(work.ArtworkCover, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if len(approvalItem.Show) > 0 { + for _, show := range approvalItem.Show { + if strings.Contains(show.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.Exhibition != nil { + if strings.Contains(approvalItem.Exhibition.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.Exhibition.ApprovalExhibitions) > 0 { + + for _, exhibition := range approvalItem.Exhibition.ApprovalExhibitions { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if len(approvalItem.WorkFlows) > 0 { + for _, user := range approvalItem.WorkFlows { + if strings.Contains(user.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CopyUsers) > 0 { + for _, copyUser := range approvalItem.CopyUsers { + if strings.Contains(copyUser.Name, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if len(approvalItem.CustomizeInfo) > 0 { + for _, keyInfo := range approvalItem.CustomizeInfo { + if strings.Contains(keyInfo.ApprovalValue, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.BundlePayPrice != nil { + if strings.Contains(approvalItem.BundlePayPrice.ShowName, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtistShowCount, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowLowPrice, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ArtworkSize, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowAddress, req.AllQuery) || + strings.Contains(approvalItem.BundlePayPrice.ShowDate, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA != nil { + if strings.Contains(approvalItem.ApprovalOA.RevokeReason, req.AllQuery) { + flag = flag + 1 + } + if approvalItem.ApprovalOA.LeaveApply != nil { + if strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.LeaveApply.ActionTime, req.AllQuery) { + flag = flag + 1 + } + } + if approvalItem.ApprovalOA.OutWork != nil { + + if strings.Contains(approvalItem.ApprovalOA.OutWork.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.OutWorkAddress, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.Vehicle, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OutWork.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OutWork.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.MakeUp != nil { + if strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.MakeUp.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.MakeUp.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Turnover != nil { + if strings.Contains(approvalItem.ApprovalOA.Turnover.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.JoinTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.LeftTime, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ContactInfo, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.HandoverNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.Address, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.SuperviseNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.WorkItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.FinanceItems, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Turnover.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Turnover.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.OverTime != nil { + if strings.Contains(approvalItem.ApprovalOA.OverTime.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.OverTime.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.OverTime.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.Leave != nil { + if strings.Contains(approvalItem.ApprovalOA.Leave.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.Leave.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.Leave.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.GoOut != nil { + if strings.Contains(approvalItem.ApprovalOA.GoOut.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.DateOfBrith, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.GoOut.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, applyTime := range approvalItem.ApprovalOA.GoOut.ApplyTimes { + if strings.Contains(applyTime.Date, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ApprovalOA.BusinessTrip != nil { + if strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffName, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.Reason, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.ApprovalOA.BusinessTrip.ActionTime, req.AllQuery) { + flag = flag + 1 + } + for _, itinerary := range approvalItem.ApprovalOA.BusinessTrip.ItineraryList { + if strings.Contains(itinerary.Vehicle, req.AllQuery) || + strings.Contains(itinerary.EndAddress, req.AllQuery) || + strings.Contains(itinerary.StartAddress, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + if approvalItem.FinancialForm != nil { + if strings.Contains(approvalItem.FinancialForm.PaymentCompany, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.TransactionDepartment, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.Payee, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BeneficiaryBank, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.BankNo, req.AllQuery) || + strings.Contains(approvalItem.FinancialForm.PaymentMethod, req.AllQuery) { + flag = flag + 1 + } + for _, costInfo := range approvalItem.FinancialForm.CostInfo { + if strings.Contains(costInfo.Description, req.AllQuery) || + strings.Contains(costInfo.UnitPrice, req.AllQuery) || + strings.Contains(costInfo.CostUnit, req.AllQuery) || + strings.Contains(costInfo.UsedDepartment, req.AllQuery) || + strings.Contains(costInfo.TotalPrice, req.AllQuery) { + flag = flag + 1 + break + } + } + for _, invoiceInfo := range approvalItem.FinancialForm.InvoiceInfo { + if strings.Contains(invoiceInfo.InvoiceDate, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceNo, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceProvider, req.AllQuery) || + strings.Contains(invoiceInfo.Amount, req.AllQuery) || + strings.Contains(invoiceInfo.Applicant, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentMethod, req.AllQuery) || + strings.Contains(invoiceInfo.PaymentObj, req.AllQuery) || + strings.Contains(invoiceInfo.InvoiceType, req.AllQuery) || + strings.Contains(invoiceInfo.Notes, req.AllQuery) || + strings.Contains(invoiceInfo.UseTo, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if approvalItem.ExhibitionHis != nil { + if strings.Contains(approvalItem.ExhibitionHis.Address, req.AllQuery) { + flag = flag + 1 + } + if len(approvalItem.ExhibitionHis.ApprovalExhibitionHiss) > 0 { + for _, exhibition := range approvalItem.ExhibitionHis.ApprovalExhibitionHiss { + if len(exhibition.Artworks) > 0 { + for _, artwork := range exhibition.Artworks { + if strings.Contains(artwork.ArtworkName, req.AllQuery) || + strings.Contains(artwork.ArtistShowCount, req.AllQuery) || + strings.Contains(artwork.SaleAddress, req.AllQuery) || + strings.Contains(artwork.Reward, req.AllQuery) || + strings.Contains(artwork.Tfnum, req.AllQuery) { + flag = flag + 1 + break + } + } + } + if exhibition.ArtExhibitionDetail != nil { + if strings.Contains(exhibition.ArtExhibitionDetail.ArtistShowCount, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowTime, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.ShowName, req.AllQuery) || + strings.Contains(exhibition.ArtExhibitionDetail.Address, req.AllQuery) { + flag = flag + 1 + break + } + } + } + } + } + if approvalItem.Promotion != nil { + if strings.Contains(approvalItem.Promotion.StaffName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.StaffNum, req.AllQuery) || + strings.Contains(approvalItem.Promotion.FileName, req.AllQuery) || + strings.Contains(approvalItem.Promotion.NewJob, req.AllQuery) || + strings.Contains(approvalItem.Promotion.EffectiveTime, req.AllQuery) || + strings.Contains(approvalItem.Promotion.OldJob, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.StaffSupply != nil { + if strings.Contains(approvalItem.StaffSupply.PositionName, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JobAsk, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.JoinInTime, req.AllQuery) || + strings.Contains(approvalItem.StaffSupply.DepartmentName, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.Employ != nil { + if strings.Contains(approvalItem.Employ.Post, req.AllQuery) || + strings.Contains(approvalItem.Employ.BelongDepartment, req.AllQuery) || + strings.Contains(approvalItem.Employ.Name, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeType, req.AllQuery) || + strings.Contains(approvalItem.Employ.EmployeeNo, req.AllQuery) || + strings.Contains(approvalItem.Employ.EntryTime, req.AllQuery) || + strings.Contains(approvalItem.Employ.CloseReason, req.AllQuery) || + strings.Contains(approvalItem.Employ.ConfirmDate, req.AllQuery) || + strings.Contains(approvalItem.Employ.Remark, req.AllQuery) || + strings.Contains(approvalItem.Employ.Mobile, req.AllQuery) { + flag = flag + 1 + } + + } + if approvalItem.CheckIn != nil { + if strings.Contains(approvalItem.CheckIn.SaleAddress, req.AllQuery) || + strings.Contains(approvalItem.CheckIn.DetailAddress, req.AllQuery) { + flag = flag + 1 + } + + } + if flag > 0 { + filterData = append(filterData, approvalItem) + } + } + res.Data = filterData + } + return +} diff --git a/pkg/service/init.go b/pkg/service/init.go new file mode 100644 index 0000000..90e7826 --- /dev/null +++ b/pkg/service/init.go @@ -0,0 +1,297 @@ +package service + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/appointment" + "github.com/fonchain_enterprise/fonchain-main/api/blockchain" + "github.com/fonchain_enterprise/fonchain-main/api/buy" + "github.com/fonchain_enterprise/fonchain-main/api/chainbrowser" + "github.com/fonchain_enterprise/fonchain-main/api/children_competition" + "github.com/fonchain_enterprise/fonchain-main/api/coin" + "github.com/fonchain_enterprise/fonchain-main/api/collection_record" + "github.com/fonchain_enterprise/fonchain-main/api/conference" + "github.com/fonchain_enterprise/fonchain-main/api/contract" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/api/domain_name" + "github.com/fonchain_enterprise/fonchain-main/api/e_card" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/equity" + "github.com/fonchain_enterprise/fonchain-main/api/exam" + "github.com/fonchain_enterprise/fonchain-main/api/goods_management" + "github.com/fonchain_enterprise/fonchain-main/api/inventory" + "github.com/fonchain_enterprise/fonchain-main/api/invoice" + "github.com/fonchain_enterprise/fonchain-main/api/loanbill" + "github.com/fonchain_enterprise/fonchain-main/api/meeting" + "github.com/fonchain_enterprise/fonchain-main/api/patent" + "github.com/fonchain_enterprise/fonchain-main/api/recruit" + site "github.com/fonchain_enterprise/fonchain-main/api/site_sign_in" + "github.com/fonchain_enterprise/fonchain-main/api/software_copyright" + "github.com/fonchain_enterprise/fonchain-main/api/trademark" + "github.com/fonchain_enterprise/fonchain-main/api/warehouse" + "os" + + "github.com/fonchain_enterprise/fonchain-main/api/dci" + meal_backend_account "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/account" + meal_backend_goods "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/goods" + indent "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/indent" + meal_backend_order "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/order" + "github.com/fonchain_enterprise/fonchain-main/api/payment" + + "github.com/fonchain_enterprise/fonchain-main/api/oa" + + "github.com/fonchain_enterprise/fonchain-main/api/artwork_shop" + "github.com/fonchain_enterprise/fonchain-main/api/preorder" + + "github.com/fonchain_enterprise/fonchain-main/api/artist_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/chain" + "github.com/fonchain_enterprise/fonchain-main/api/collections" + "github.com/fonchain_enterprise/fonchain-main/api/documentContract" + "github.com/fonchain_enterprise/fonchain-main/api/health" + "github.com/fonchain_enterprise/fonchain-main/api/orderproduct" + "github.com/fonchain_enterprise/fonchain-main/api/prebook" + + "github.com/fonchain_enterprise/fonchain-main/api/express" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + + "github.com/fonchain_enterprise/fonchain-main/api/artartwork" + + "github.com/fonchain_enterprise/fonchain-main/api/shopbrand" + + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/push" + backendSeries "github.com/fonchain_enterprise/fonchain-main/api/series" + + "github.com/fonchain_enterprise/fonchain-main/api/backup" + "github.com/fonchain_enterprise/fonchain-main/api/draw" + "github.com/fonchain_enterprise/fonchain-main/api/task" + "github.com/fonchain_enterprise/fonchain-main/api/workbench" + + "dubbo.apache.org/dubbo-go/v3/common/constant" + "dubbo.apache.org/dubbo-go/v3/config" + _ "dubbo.apache.org/dubbo-go/v3/imports" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/approval" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_chain" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/feedback" + "github.com/fonchain_enterprise/fonchain-main/api/journal" + "github.com/fonchain_enterprise/fonchain-main/api/log" + "github.com/fonchain_enterprise/fonchain-main/api/note" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/api/rule_log" + pkConfig "github.com/fonchain_enterprise/fonchain-main/pkg/config" +) + +var DepartmentProvider = new(department.DepartmentClientImpl) +var PositionProvider = new(position.PositionClientImpl) +var RuleProvider = new(rule.RuleClientImpl) +var RuleLogProvider = new(rule_log.RuleLogClientImpl) +var AccountProvider = new(account.AccountClientImpl) +var ApprovalProvider = new(approval.ApprovalClientImpl) +var AppointmentProvider = new(appointment.AppointmentClientImpl) +var BuyProvider = new(buy.BuyClientImpl) +var OrderProvider = new(order.OrderClientImpl) +var GrpcArtistImpl = new(artist.ArtistClientImpl) +var ArtArtworkImpl = new(artartwork.ArtartworkClientImpl) + +var GrpcArtworkImpl = new(artwork.ArtworkClientImpl) +var GrpcArtworkQueryImpl = new(artwork_query.ArtworkQueryClientImpl) +var GrpcArtworkChainImpl = new(artwork_chain.ArtworkChainClientImpl) +var GrpcArtworkThirdPartyImpl = new(artwork_third_party.ArtworkThirdPartyClientImpl) +var GrpcLogImpl = new(log.LogClientImpl) +var GrpcNoteImpl = new(note.NoteClientImpl) +var GrpcArtShowImpl = new(artShow.ArtShowClientImpl) +var TaskProvider = new(task.TaskClientImpl) +var GrpcWorkbenchImpl = new(workbench.WorkbenchClientImpl) +var GrpcDrawImpl = new(draw.DrawClientImpl) +var GrpcBackupImpl = new(backup.BackupClientImpl) +var GrpcPushImpl = new(push.PushClientImpl) +var GrpcBackendSeriesImpl = new(backendSeries.SeriesClientImpl) +var GrpcShopBrandImpl = new(shopbrand.BrandClientImpl) +var GrpcPayBillImpl = new(paybill.PaybillClientImpl) +var ChainProvider = new(chain.ChainClientImpl) +var GrpcArtistThirdPartyImpl = new(artist_third_party.ArtistThirdPartyClientImpl) +var ContractImpl = new(contract.ContractClientImpl) +var GrpcCollectionImpl = new(collections.CollectionsClientImpl) +var GrpcPrebookImpl = new(prebook.PrebookClientImpl) +var GrpcExpressImpl = new(express.ExpressClientImpl) //快递柜微服务 +var GrpcProductImpl = new(orderproduct.OrderproductClientImpl) //顾廷龙预约商品 +var GrpcArtworkShopImpl = new(artwork_shop.ArtworkShopClientImpl) +var GrpcHealthImpl = new(health.HealthClientImpl) +var GrpcPreorderImpl = new(preorder.PreorderClientImpl) +var GrpcJournalImpl = new(journal.JournalClientImpl) +var GrpcIndentImpl = new(indent.IndentClientImpl) +var GrpcChainBrowserImpl = new(chainbrowser.ChainBrowserClientImpl) + +// 点餐 +var GrpcMealAccountImpl = new(meal_backend_account.MealAccountClientImpl) +var GrpcMealGoodsImpl = new(meal_backend_goods.MealGoodsClientImpl) +var GrpcMealOrderImpl = new(meal_backend_order.MealOrderClientImpl) + +// 库管 +var InventoryProvider = new(inventory.InventoryClientImpl) + +// oa +var GrpcOAImpl = new(oa.OAClientImpl) +var GrpcMeetingImpl = new(meeting.MeetingClientImpl) + +var GrpcPaymentImpl = new(payment.PaymentClientImpl) +var GrpcCollectionRecordImpl = new(collection_record.CollectionRecordClientImpl) +var WarehouseProvider = new(warehouse.WarehouseClientImpl) + +// 招聘 +var GrpcRecruitClientImpl = new(recruit.RecruitClientImpl) + +// 物资管理 +var GrpcGoodsManagementImpl = new(goods_management.GoodsManagementClientImpl) + +var GrpcExamClientImpl = new(exam.ExamClientImpl) +var GrpcSiteSignInImpl = new(site.SiteSignInClientImpl) + +// 签到 + +// 版权 +var GrpcCopyrightImpl = new(digital_copyright.CopyrightClientImpl) +var GrpcDciImpl = new(dci.DciClientImpl) +var GrpcSoftwareCopyrightImpl = new(software_copyright.SoftwareCopyrightClientImpl) +var GrpcTrademarkImpl = new(trademark.TrademarkClientImpl) + +// 专利申请 +var GrpcPatentClientImpl = new(patent.PatentClientImpl) + +var CoinProvider = new(coin.CoinClientImpl) + +// 反馈审核 +var FeedbackProvider = new(feedback.FeedbackClientImpl) + +//画展管理 +//var GrpcExhibitionFClientImpl = new(exhibition_f.ExhibitionFClientImpl) + +// 儿童画展比赛 +var ChildrenCompetitionProvider = new(children_competition.ChildrenCompetitionClientImpl) + +// 区块链浏览器 +var InvoiceProvider = new(invoice.InvoiceClientImpl) +var BlockchainImpl = new(blockchain.BlockchainClientImpl) +var EquityProvider = new(equity.EquityClientImpl) +var GrpcConferenceImpl = new(conference.ConferenceClientImpl) +var GrpcDocumentContractImpl = new(documentContract.DocumentContractClientImpl) + +var GrpcLoanBillClientImpl = new(loanbill.LoanBillClientImpl) //借款单申请 +var GrpcEmployeeProvider = new(employee.EmployeeClientImpl) //员工档案 +var ECardProvider = new(e_card.ECardClientImpl) // 员工电子名片 +var DomainNameProvider = new(domain_name.DomainNameClientImpl) // 域名管理 + +func init() { + config.SetConsumerService(AppointmentProvider) + config.SetConsumerService(ChainProvider) + config.SetConsumerService(BuyProvider) + config.SetConsumerService(DepartmentProvider) + config.SetConsumerService(PositionProvider) + config.SetConsumerService(RuleProvider) + config.SetConsumerService(RuleLogProvider) + config.SetConsumerService(AccountProvider) + config.SetConsumerService(OrderProvider) + config.SetConsumerService(ApprovalProvider) + config.SetConsumerService(GrpcArtistImpl) + config.SetConsumerService(GrpcArtistThirdPartyImpl) + config.SetConsumerService(GrpcArtworkImpl) + config.SetConsumerService(GrpcArtworkQueryImpl) + config.SetConsumerService(GrpcArtworkChainImpl) + config.SetConsumerService(GrpcArtworkThirdPartyImpl) + config.SetConsumerService(GrpcWorkbenchImpl) + config.SetConsumerService(GrpcArtworkShopImpl) + config.SetConsumerService(GrpcLogImpl) + config.SetConsumerService(GrpcNoteImpl) + config.SetConsumerService(TaskProvider) + //config.SetConsumerService(GrpcDrawImpl) + config.SetConsumerService(GrpcBackupImpl) + config.SetConsumerService(GrpcPushImpl) + config.SetConsumerService(GrpcBackendSeriesImpl) + config.SetConsumerService(GrpcShopBrandImpl) + config.SetConsumerService(GrpcCollectionImpl) + config.SetConsumerService(GrpcPayBillImpl) + config.SetConsumerService(ContractImpl) + config.SetConsumerService(GrpcArtShowImpl) + config.SetConsumerService(ArtArtworkImpl) + config.SetConsumerService(GrpcPrebookImpl) + config.SetConsumerService(GrpcProductImpl) + config.SetConsumerService(GrpcHealthImpl) + config.SetConsumerService(GrpcPreorderImpl) + config.SetConsumerService(GrpcExpressImpl) + config.SetConsumerService(GrpcJournalImpl) + + // 画家宝 + initArtistinfoClients() + config.SetConsumerService(GrpcRecruitClientImpl) + + /**/ + //物资管理 + config.SetConsumerService(GrpcGoodsManagementImpl) //有 + config.SetConsumerService(GrpcMeetingImpl) //会议 + /***/ + + //oa + config.SetConsumerService(GrpcOAImpl) + + config.SetConsumerService(GrpcMealAccountImpl) + config.SetConsumerService(GrpcMealGoodsImpl) + config.SetConsumerService(GrpcMealOrderImpl) + config.SetConsumerService(GrpcIndentImpl) + + //库管 + config.SetConsumerService(InventoryProvider) + config.SetConsumerService(GrpcPaymentImpl) + config.SetConsumerService(GrpcCollectionRecordImpl) + config.SetConsumerService(WarehouseProvider) + + //区块链浏览器网页版 + config.SetConsumerService(EquityProvider) + + config.SetConsumerService(BlockchainImpl) + config.SetConsumerService(InvoiceProvider) + + config.SetConsumerService(GrpcExamClientImpl) // 考试 + config.SetConsumerService(GrpcSiteSignInImpl) + + config.SetConsumerService(GrpcChainBrowserImpl) //区块链浏览器 + config.SetConsumerService(GrpcDciImpl) //dci + config.SetConsumerService(GrpcCopyrightImpl) //版权登记 + config.SetConsumerService(GrpcSoftwareCopyrightImpl) //软件版权登记 + config.SetConsumerService(GrpcTrademarkImpl) //商标登记 + + //ai生图部分 + config.SetConsumerService(CoinProvider) //商标登记 + config.SetConsumerService(FeedbackProvider) //反馈审核 + + //儿童画展包 + config.SetConsumerService(ChildrenCompetitionProvider) + + //专利申请 + config.SetConsumerService(GrpcPatentClientImpl) + config.SetConsumerService(GrpcLoanBillClientImpl) + // + //config.SetConsumerService(GrpcExhibitionFClientImpl) // 画展管理 + //上市文件管理 + config.SetConsumerService(GrpcConferenceImpl) + config.SetConsumerService(GrpcDocumentContractImpl) + config.SetConsumerService(GrpcEmployeeProvider) + config.SetConsumerService(ECardProvider) + config.SetConsumerService(DomainNameProvider) + + // 判断是不是单元测试 + if os.Args[len(os.Args)-1] == "unit-test" { + _ = os.Setenv(constant.ConfigFileEnvKey, "../../conf/dubbogo.yaml") + } + pkConfig.GetOptions() + fmt.Println(os.Getenv(constant.ConfigFileEnvKey)) + if err := config.Load(); err != nil { + panic(err) + } +} diff --git a/pkg/service/init_artistinfo.go b/pkg/service/init_artistinfo.go new file mode 100644 index 0000000..b03b0c9 --- /dev/null +++ b/pkg/service/init_artistinfo.go @@ -0,0 +1,44 @@ +// Package service ----------------------------- +// @file : init_artistinfo.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/9/8 16:12 +// ------------------------------------------- +package service + +import ( + "dubbo.apache.org/dubbo-go/v3/config" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoContract" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoStatement" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/api/artistinfoArtshow" + "github.com/fonchain_enterprise/fonchain-main/api/inCircleArticle" + "github.com/fonchain_enterprise/fonchain-main/api/mailArtwork" + "github.com/fonchain_enterprise/fonchain-main/api/operationRecord" + "github.com/fonchain_enterprise/fonchain-main/api/unipush" +) + +// 画家宝 +var GrpcArtistInfoArtshowImpl = new(artistinfoArtshow.ArtistInfoArtshowClientImpl) +var GrpcArtistInfoUserImpl = new(artistInfoUser.ArtistInfoUserClientImpl) +var GrpcArtistInfoArtworkImpl = new(artistInfoArtwork.ArtistInfoArtworkClientImpl) +var GrpcArtistInfoContracImpl = new(artistInfoContract.ArtistInfoContractClientImpl) +var GrpcInCircleArticleImpl = new(inCircleArticle.InCircleArticleClientImpl) +var GrpcArtistInfoStatementsImpl = new(artistInfoStatement.ArtistInfoStatementClientImpl) +var GrpcMailArtworkImpl = new(mailArtwork.MailArtworkClientImpl) +var GrpcUnipushImpl = new(unipush.UnipushClientImpl) +var GrpcOperationRecordImpl = new(operationRecord.OperationRecordClientImpl) + +func initArtistinfoClients() { + // 画家宝 + config.SetConsumerService(GrpcArtistInfoUserImpl) + config.SetConsumerService(GrpcArtistInfoArtworkImpl) + config.SetConsumerService(GrpcArtistInfoArtshowImpl) + config.SetConsumerService(GrpcArtistInfoContracImpl) + config.SetConsumerService(GrpcArtistInfoStatementsImpl) + config.SetConsumerService(GrpcInCircleArticleImpl) + config.SetConsumerService(GrpcMailArtworkImpl) + config.SetConsumerService(GrpcUnipushImpl) + config.SetConsumerService(GrpcOperationRecordImpl) +} diff --git a/pkg/service/inventory/inventory.go b/pkg/service/inventory/inventory.go new file mode 100644 index 0000000..81c8442 --- /dev/null +++ b/pkg/service/inventory/inventory.go @@ -0,0 +1,233 @@ +package inventory + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/inventory" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Remove(c *gin.Context) { + req := inventory.RemoveRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = uint32(userInfo.ID) + req.UserName = userInfo.NickName + + res, err := service.InventoryProvider.Remove(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func List(c *gin.Context) { + req := inventory.ProductList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + fmt.Println("1----------", req) + fmt.Println("1----------", service.InventoryProvider) + + res, err := service.InventoryProvider.List(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func DetailBarCode(c *gin.Context) { + req := inventory.ProductDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.InventoryProvider.DetailByBarCode(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Detail(c *gin.Context) { + req := inventory.ProductDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.InventoryProvider.Detail(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Create(c *gin.Context) { + req := inventory.ProductRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfo := login.GetUserInfoFromC(c) + req.UserId = uint32(userInfo.ID) + req.UserName = userInfo.NickName + + res, err := service.InventoryProvider.Create(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Update(c *gin.Context) { + req := inventory.ProductRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = uint32(userInfo.ID) + req.UserName = userInfo.NickName + + res, err := service.InventoryProvider.Update(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func ChangeStock(c *gin.Context) { + req := inventory.ChangeStockRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = uint32(userInfo.ID) + req.UserName = userInfo.NickName + + res, err := service.InventoryProvider.ChangeStock(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func RemoveProductLog(c *gin.Context) { + req := inventory.ProductLogDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.InventoryProvider.RemoveProductLog(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func ListProductLog(c *gin.Context) { + req := inventory.ProductLogList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.InventoryProvider.ListProductLog(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func DetailProductLog(c *gin.Context) { + req := inventory.ProductLogDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.InventoryProvider.DetailProductLog(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func CreateProductLog(c *gin.Context) { + req := inventory.ProductLogRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.InventoryProvider.CreateProductLog(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func UpdateProductLog(c *gin.Context) { + req := inventory.ProductLogRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.InventoryProvider.UpdateProductLog(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} diff --git a/pkg/service/inventory/wareshouse.go b/pkg/service/inventory/wareshouse.go new file mode 100644 index 0000000..2cfd40e --- /dev/null +++ b/pkg/service/inventory/wareshouse.go @@ -0,0 +1,307 @@ +package inventory + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/warehouse" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/google/uuid" + "time" +) + +const ( + Status_Not_In_House = iota + 1 //未入库 + Status_In_House //已入库 + Status_Near_Time_House //即将到期 + Status_Over_House //超时 延期中 + Status_Out_House //已取货 + Status_Not_Pay //没支付 + Status_Over_House_Paid //延期已补款 +) + +func WareHousePayBill(c *gin.Context) { + req := warehouse.TransactionListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.WarehouseProvider.TransactionList(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func CountPickUpWareHouse(c *gin.Context) { + req := warehouse.WarehouseOrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + fmt.Println(req.PageSize) + fmt.Println(req.Page) + + res, err := service.WarehouseProvider.CountPickUp(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func ListWareHouse(c *gin.Context) { + req := warehouse.WarehouseOrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + fmt.Println(req.PageSize) + fmt.Println(req.Page) + + res, err := service.WarehouseProvider.List(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func DownWareHouse(c *gin.Context) { + + req := warehouse.WarehouseOrderList{} + if err := c.ShouldBindQuery(&req); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Page = 1 + req.PageSize = 999999 + fmt.Println("1-------", req) + + res, err := service.WarehouseProvider.List(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //下载 + if len(res.Data) == 0 { + service.Error(c, e.Error, errors.New("所选条件无可导出数据")) + return + } + + columns := []string{"ID", "画作编号", "画作名称", "画家姓名", "画作平尺数", "寄存人", "联系方式", "寄存地点", "下单时间", "状态", + "寄存周期", "支付金额", "寄存开始日期", "寄存结束日期", "入库时间", "出库时间", "库位类型", "库位号"} + var data []interface{} + // 添加数据行 + for _, collectionRecord := range res.Data { + var info []string + info = append(info, fmt.Sprintf("%d", collectionRecord.ID)) + info = append(info, collectionRecord.ArtworkNum) + info = append(info, collectionRecord.ArtworkName) + info = append(info, collectionRecord.ArtistName) + info = append(info, fmt.Sprintf("%d", collectionRecord.ArtworkSquareSize)) + info = append(info, collectionRecord.SubmitterName) + info = append(info, collectionRecord.SubmitterTelnum) + info = append(info, collectionRecord.WarehouseName) + info = append(info, collectionRecord.CreatedAt) + + if collectionRecord.ArtworkStatus == Status_Not_In_House { + info = append(info, "未入库") + } else if collectionRecord.ArtworkStatus == Status_In_House { + info = append(info, "已入库") + } else if collectionRecord.ArtworkStatus == Status_Near_Time_House { + info = append(info, "即将到期") + } else if collectionRecord.ArtworkStatus == Status_Over_House { + info = append(info, "延期未补款") + } else if collectionRecord.ArtworkStatus == Status_Out_House { + info = append(info, "已取货") + } else if collectionRecord.ArtworkStatus == Status_Over_House_Paid { + info = append(info, "延期已补款") + } else { + info = append(info, "其他") + } + + info = append(info, collectionRecord.CycleName) + info = append(info, collectionRecord.Money) + info = append(info, collectionRecord.StartAt) + info = append(info, collectionRecord.EndAt) + info = append(info, collectionRecord.InTime) + info = append(info, collectionRecord.PickupTime) + shelvesName := "其他" + if collectionRecord.ShelvesType == 1 { + shelvesName = "货架" + } + info = append(info, shelvesName) + info = append(info, collectionRecord.ShelvesNum) + + data = append(data, &info) + } + + content := utils.ToExcel(columns, data, "slice") + utils.ResponseXls(c, content, "集保订单下载"+time.Now().Format(model.DateFormat)) + return +} + +func ExportWareHouse(c *gin.Context) { + req := warehouse.WarehouseOrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Page = 1 + req.PageSize = 999999 + + res, err := service.WarehouseProvider.List(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //下载 + if len(res.Data) == 0 { + service.Error(c, e.Error, errors.New("所选条件无可导出数据")) + return + } + + httpType := model.HttpType + if config.IsHttps { + httpType = model.HttpsType + } + + var exportUrl = fmt.Sprintf("%s%s/api/warehouse/down?uuid=%s&Key=%s&Status=%d&MobileKey=%s&StartCreatedAt=%s&EndCreatedAt=%s&StartEndAt=%s&EndEndAt=%s&OnlyPickUp=%t&ArtworkNum=%s", + httpType, c.Request.Host, uuid.New().String(), req.Key, req.Status, req.MobileKey, req.StartCreatedAt, req.EndCreatedAt, req.StartEndAt, req.EndEndAt, req.OnlyPickUp, req.ArtworkNum) + + service.Success(c, map[string]string{"exportUrl": exportUrl}) + return +} + +func EditWareHouse(c *gin.Context) { + req := warehouse.WarehouseOrderRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.WarehouseProvider.Update(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func GetEndAtYmd(c *gin.Context) { + + req := vo.WareHouseDataYmd{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + cycleReq := warehouse.WarehouseCycleDetail{ID: req.CycleID} + + res, err := service.WarehouseProvider.DetailWarehouseCycle(context.Background(), &cycleReq) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + t, err := time.Parse(`2006-01-02`, req.StartAt) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, vo.WareHouseDataYmdRes{EndAt: t.AddDate(0, 0, int(res.Days)).Format("2006-01-02")}) + return +} + +func DetailWareHouse(c *gin.Context) { + req := warehouse.WarehouseOrderDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.WarehouseProvider.Detail(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func RemoveWareHouse(c *gin.Context) { + req := warehouse.WarehouseOrderDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.WarehouseProvider.Remove(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +//GetProductPreInfo 取货前信息 +func GetProductPreInfo(c *gin.Context) { + req := warehouse.WarehouseOrderDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.WarehouseProvider.PreInfoBeforePickUp(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +//PickUp 取货 +func PickUp(c *gin.Context) { + req := warehouse.WarehouseOrderDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.WarehouseProvider.PickUp(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} diff --git a/pkg/service/invitationLetter.go b/pkg/service/invitationLetter.go new file mode 100644 index 0000000..c3d0715 --- /dev/null +++ b/pkg/service/invitationLetter.go @@ -0,0 +1,192 @@ +// Package service ----------------------------- +// @file : invitationLetter.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/3/27 11:30 +// ------------------------------------------- +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoUser" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" + "time" +) + +func InvitationUpdate2(c *gin.Context) { + var req artist.UpdateInvitationLetterReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationUpdate ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if req.LetterUid == "" { + ResponseQuickMsg(c, e.Failed, "letterUid不能为空", nil) + return + } + //如果取消邀请,webPath为"/pages/invite/notcome" + if req.IsCome == 2 && req.WebPath == "" { + req.WebPath = "/pages/invite/notcome" + } + _, err := GrpcArtistImpl.UpdateInvitationLetter(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, "ok", nil) + return +} + +func InvitationReAdd(c *gin.Context) { + var req artist.InvitationAddRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("InvitationAdd ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + // 徐嘉鸿撤销修改 update by xjj 2024-05-28 + ////修改逻辑 其它画展包的邀请状态= [待回复 或 已同意](使用邀请函状态判断) 且 其它画展包的画展时间为未来时间,则邀请函状态变为不可邀约 updated by xjj 2024-05-27 + ////徐嘉鸿新增逻辑,如果存在待回复的邀请函则不发送邀请 updated by xjj 2024-05-22 + //artistLetters, errs := GrpcArtistImpl.GetInvitationLetterList(context.Background(), &artist.GetInvitationLetterListRequest{Page: 1, PageSize: -1, Query: &artist.InvitationLetterData{ArtistUuid: req.ArtistUuids[0]}}) + //if errs != nil { + // ErrorWithMark(c, e.Failed, errs, "GetInvitationLetterList Err") + // return + //} + //if artistLetters.Total > 0 { + // currentTime := stime.Currentime(stime.Format_Normal_YMDhm) + // for _, artistLetter := range artistLetters.List { + // if artistLetter.ShowUid != req.ShowUid { + // if artistLetter.IsCome == 0 { //待回复 + // ShowDetailRes, err := GrpcArtShowImpl.ShowDetail(context.Background(), &artShow.ShowDetailReq{ShowUID: []string{artistLetter.ShowUid}}) + // if err != nil { + // fmt.Println("Err 查询画展包失败 err", err) + // continue + // } + // var otherShow *artShow.ShowDetail + // if len(ShowDetailRes.Data) > 0 { + // otherShow = ShowDetailRes.Data[0] + // } + // if otherShow != nil { + // var otherPackageTime string + // if otherShow.ShowTime != "" { + // otherPackageTime = otherShow.ShowTime + // } else if otherShow.PreTime != "" { + // otherPackageTime = otherShow.PreTime + // } + // if otherPackageTime > currentTime { //其它画展的画展时间为未来时间 + // fmt.Println("对比showUid:" + otherShow.ShowUID + " 画展时间:" + otherShow.ShowName + " otherPackageTime:" + otherPackageTime) + // ErrorWithMark(c, e.Failed, nil, fmt.Sprintf("比较showuid:%s isCome:%d", artistLetter.ShowUid, artistLetter.IsCome), "该画家存在其它待回复邀请函,当前操作无法执行!") + // return + // } else { + // fmt.Println("showUid:" + req.ShowUid + " 画展时间超过当前时间,可以邀约") + // } + // } + // } + // } + // } + //} + //徐嘉鸿新增逻辑,查询画展包的画展时间如果小于今天则不发送邀请 updated by xjj 2024-05-22 + showListRes, err := GrpcArtShowImpl.ShowDetail(c, &artShow.ShowDetailReq{ + ShowUID: []string{req.ShowUid}, + }) + if err != nil { + ErrorWithMark(c, e.Failed, err, "", "查询画展包信息失败!") + return + } + if len(showListRes.Data) > 0 { + var packageShowTime string + if showListRes.Data[0].ShowTime != "" { + packageShowTime = showListRes.Data[0].ShowTime + } else if showListRes.Data[0].PreTime != "" { + packageShowTime = showListRes.Data[0].PreTime + } + var now = time.Now().Format(stime.Format_Normal_YMD) + if packageShowTime < now { + ResponseQuickMsg(c, e.Failed, "画展时间已过,无法发送邀请函!", nil) + return + } + } else { + ResponseQuickMsg(c, e.Failed, "画展包信息不存在!,无法发送邀请函", nil) + return + } + + //默认未预发起邀请函 + if req.IsPreload == 0 { + req.IsPreload = 1 + } + //查询邀请函 + invitationListResp, err := GrpcArtistImpl.InvitationList(c, &artist.InvitationListRequest{ArtistUuid: req.ArtistUuids[0]}) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var thisInvitation *artist.InvitationUpdateRequest + if invitationListResp.Data != nil && len(invitationListResp.Data) > 0 { + for _, v := range invitationListResp.Data { + if v.ShowUid == req.ShowUid { + v := v + thisInvitation = v + break + } + } + } + if thisInvitation == nil { + ResponseQuickMsg(c, e.Failed, "邀请函不存在", nil) + return + } + //删除邀请函 + _, err = GrpcArtistImpl.InvitationDel(c, &artist.InvitationDelRequest{Uuid: thisInvitation.Uuid}) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + //发送邀请函 + resp, err := SendInvitationLetter(&req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +// 通过外部调用来解决 邀请函app通知 循环引包问题 +var invitationLetterAppNoticeFunc func(userId int64) error + +func SetInvitationLetterAppNoticeFunc(function func(userId int64) error) { + invitationLetterAppNoticeFunc = function +} + +// SendInvitationLetter 发送邀请函 +func SendInvitationLetter(req *artist.InvitationAddRequest) (resp *artist.InvitationAddResponse, err error) { + var c = context.Background() + req.Address = "苏州" //默认为苏州 + fmt.Println("req.ShowUid", req.ShowUid) + resp, err = GrpcArtistImpl.InvitationAdd(c, req) + if err != nil { + return + } + //发送app推送通知 + go func() { + var theseArtists, err = GrpcArtistInfoUserImpl.FindUsers(c, &artistInfoUser.FindUsersRequest{MgmtArtistUids: req.ArtistUuids}) + if err != nil { + fmt.Printf("app通知发送失败。获取画家信息失败:%s\n", err.Error()) + return + } + for _, thisUser := range theseArtists.Data { + //errs := asPush.NewPusher().InvitationLetterWaitToBeConfirmedNotice(thisUser.Id) + errs := invitationLetterAppNoticeFunc(thisUser.Id) + if errs != nil { + fmt.Printf("邀请函app推送失败,artistUid:%v ,err:%v", thisUser.MgmtArtistUid, errs) + } + } + }() + return +} diff --git a/pkg/service/invoice/invoice.go b/pkg/service/invoice/invoice.go new file mode 100644 index 0000000..5748274 --- /dev/null +++ b/pkg/service/invoice/invoice.go @@ -0,0 +1,101 @@ +package invoice + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/invoice" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +// FindInvoice 发票列表 +func FindInvoice(ctx *gin.Context) { + req := &invoice.FindInvoiceReq{} + resp := &invoice.FindInvoiceResp{} + userList := &account.ListResponse{} + uniqueUserIds := make(map[uint64]bool) + var err error + var userIds []uint64 + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if req.ApplicantName != "" { + userList, err = service.AccountProvider.List(ctx, &account.ListRequest{ + Domain: "blockchain", + Key: req.ApplicantName, + }) + if err != nil || len(userList.Data) == 0 { + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.NOTDATA), resp) + return + } + for _, i := range userList.Data { + req.UserIds = append(req.UserIds, i.ID) + } + } + resp, err = service.InvoiceProvider.FindInvoice(ctx, req) + + if err != nil || len(resp.List) == 0 { + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.NOTDATA), resp) + return + } + for _, i := range resp.List { + uniqueUserIds[i.ApplicantId] = true + uniqueUserIds[i.ProcessorId] = true + } + for id := range uniqueUserIds { + userIds = append(userIds, id) + } + users, err := service.AccountProvider.ListByIDs(ctx, &account.ListByIDsRequest{ + Domain: "blockchain", + IDs: userIds, + }) + for _, user := range users.Data { + for _, inv := range resp.List { + if user.ID == inv.ApplicantId { + inv.ApplicantName = user.NickName + inv.ApplicantTel = user.TelNum + } + if user.ID == inv.ProcessorId { + inv.ProcessorName = user.NickName + } + } + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} + +// HandelInvoice 发票处理 +func HandelInvoice(ctx *gin.Context) { + req := &request.InvoiceHandleReq{} + var err error + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + userInfo := login.GetUserInfoFromC(ctx) + info, err := service.InvoiceProvider.FindInvoice(ctx, &invoice.FindInvoiceReq{Id: req.Id}) + if err != nil || len(info.List) == 0 { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if info.List[0].Status != 1 { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.ErrStatus), nil) + return + } + resp, err := service.InvoiceProvider.UpdateInvoice(ctx, &invoice.UpdateInvoiceReq{ + Id: req.Id, + AttachmentsUrl: req.Url, + ProcessorId: userInfo.ID, + Status: 2, //已完成 + Instructions: req.Remark, + }) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.Success), resp) + return +} diff --git a/pkg/service/journal.go b/pkg/service/journal.go new file mode 100644 index 0000000..a2528b5 --- /dev/null +++ b/pkg/service/journal.go @@ -0,0 +1,135 @@ +package service + +import ( + "context" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/journal" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/gin-gonic/gin" +) + +//添加日志 +func AddJournal(c *gin.Context) { + //声明一个变量 + var req journal.AddJournalreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Add ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcJournalImpl.AddJournal(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(resp.Data) > 0 { + //获取第一个元素的唯一标识 + uuid := resp.Data[0].Uuid + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]interface{}{ + "Uuid": uuid, + }) + } else { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + } + return +} + +//自己写的日志列表 +func SelfList(c *gin.Context) { + + //声明一个变量 + var req journal.SelfListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcJournalImpl.SelfList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//日志接收列表 +func AcceptList(c *gin.Context) { + + //声明一个变量 + var req journal.AcceptListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcJournalImpl.AcceptList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//日志详情 +func JournalInfo(c *gin.Context) { + //声明一个变量 + var req journal.JournalInforeq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Info ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcJournalImpl.JournalInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//日志已读 +func ReadJournal(c *gin.Context) { + //声明一个变量 + var req journal.ReadJournalreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Update ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcJournalImpl.ReadJournal(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +//日志撤回 +func UndoJournal(c *gin.Context) { + + //声明一个变量 + var req journal.UndoJournalreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Update ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcJournalImpl.UndoJournal(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, "有人已经阅读日志,不可撤回", nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} diff --git a/pkg/service/launch/conference.go b/pkg/service/launch/conference.go new file mode 100644 index 0000000..87ba619 --- /dev/null +++ b/pkg/service/launch/conference.go @@ -0,0 +1,80 @@ +package launch + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/conference" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func CreateConference(c *gin.Context) { + req := &conference.CreateConferenceRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + infoReq := &account.InfoRequest{ + ID: userInfo.ID, + } + infoRes, err := service.AccountProvider.Info(c, infoReq) + req.CreatedUid = infoRes.Info.ID + req.JobNum = infoRes.Info.JobNum + req.Creator = infoRes.Info.NickName + res, err := service.GrpcConferenceImpl.CreateConference(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} +func UpdateConference(c *gin.Context) { + req := &conference.UpdateConferenceRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcConferenceImpl.UpdateConference(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} +func DeletedConference(c *gin.Context) { + req := &conference.DeletedConferenceRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcConferenceImpl.DeletedConference(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} +func FindConference(c *gin.Context) { + req := &conference.FindConferenceRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcConferenceImpl.FindConference(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return + +} diff --git a/pkg/service/launch/contract.go b/pkg/service/launch/contract.go new file mode 100644 index 0000000..ce3c4dd --- /dev/null +++ b/pkg/service/launch/contract.go @@ -0,0 +1,173 @@ +package launch + +import ( + "errors" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/conference" + "github.com/fonchain_enterprise/fonchain-main/api/documentContract" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/request" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/launch" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func CreateContract(c *gin.Context) { + req := &documentContract.CreateContractRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + infoReq := &account.InfoRequest{ + ID: userInfo.ID, + } + infoRes, err := service.AccountProvider.Info(c, infoReq) + req.CreatedUid = infoRes.Info.ID + req.JobNum = infoRes.Info.JobNum + req.Creator = infoRes.Info.NickName + res, err := service.GrpcDocumentContractImpl.CreateContract(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} +func UpdateContract(c *gin.Context) { + req := &documentContract.UpdateContractRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcDocumentContractImpl.UpdateContract(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} +func DeletedContract(c *gin.Context) { + req := &documentContract.DeletedContractRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcDocumentContractImpl.DeletedContract(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} +func FindContract(c *gin.Context) { + req := &documentContract.FindContractRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcDocumentContractImpl.FindContract(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} +func CreateSort(c *gin.Context) { + req := &documentContract.SortCreateRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcDocumentContractImpl.CreateSort(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func FindSort(c *gin.Context) { + req := &documentContract.SortFindRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcDocumentContractImpl.FindSort(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} +func DownloadPackaged(c *gin.Context) { + var reqData request.Response + var fileType string + req := &request.DownloadPackaged{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if req.Type == "conference" { + conferenceReq := &conference.FindConferenceRequest{ + Ids: req.Ids, + } + res, err := service.GrpcConferenceImpl.FindConference(c, conferenceReq) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + fileType = "会议录" + for _, i := range res.Conference { + var attachments []request.Attachment + for _, att := range i.Attachment { + attachments = append(attachments, request.Attachment{ + URL: att.Url, + Name: att.Name, + }) + } + reqData.Contracts = append(reqData.Contracts, request.Contract{ + Theme: i.Theme, + Attachment: attachments, + }) + } + } else if req.Type == "contract" { + contractReq := &documentContract.FindContractRequest{ + Ids: req.Ids, + } + res, err := service.GrpcDocumentContractImpl.FindContract(c, contractReq) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + fileType = "合同" + for _, i := range res.Contract { + var attachments []request.Attachment + for _, att := range i.Attachment { + attachments = append(attachments, request.Attachment{ + URL: att.Url, + Name: att.Name, + }) + } + reqData.Contracts = append(reqData.Contracts, request.Contract{ + Theme: i.Theme, + Attachment: attachments, + }) + } + } else { + service.Error(c, e.InvalidParams, errors.New(e.GetMsg(e.InvalidParams))) + return + } + + launch.DownloadAndZip(reqData, fileType, c.Writer) + +} diff --git a/pkg/service/loanbill/loanbill.go b/pkg/service/loanbill/loanbill.go new file mode 100644 index 0000000..1d2c938 --- /dev/null +++ b/pkg/service/loanbill/loanbill.go @@ -0,0 +1,386 @@ +package loanbill + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/digital_copyright" + "github.com/fonchain_enterprise/fonchain-main/api/loanbill" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + logic_loanbill "github.com/fonchain_enterprise/fonchain-main/pkg/logic/loanbill" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + model_loanbill "github.com/fonchain_enterprise/fonchain-main/pkg/model/loanbill" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "strings" + "time" +) + +func ProjectList(ctx *gin.Context) { + resp, _err := service.GrpcLoanBillClientImpl.ProjectList(ctx, &loanbill.ProjectListReq{}) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func UpdateBill(ctx *gin.Context) { + var ( + err error + req *loanbill.UpdateBillReq + copyrightResp *digital_copyright.CopyrightListResp + ) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + zap.L().Info("mLoginInfoAny", zap.Any("mLoginInfoAny", mLoginInfoAny)) + userInfo := mLoginInfoAny.(model.LoginInfo) + req.LoanUserId = fmt.Sprint(userInfo.ID) + req.LoanUsername = fmt.Sprint(userInfo.NickName) + accountReq := account.ListV2Request{ + TelNum: userInfo.Phone, + } + accountResp, _ := service.AccountProvider.ListV2(ctx, &accountReq) + if accountResp.Data != nil && len(accountResp.Data) > 0 { + req.LoanUserNo = accountResp.Data[0].JobNum + } + //req.LoanUserDepartmentId = fmt.Sprint(userInfo.PositionUsers[0].DepartmentId) + //req.LoanUserDepartmentName = userInfo.PositionUsers[0].DepartmentName + var departmentKv map[string]string = map[string]string{} + zap.L().Info("mLoginInfoAny", zap.Any("userInfo.PositionUsers", userInfo.PositionUsers)) + if len(userInfo.PositionUsers) > 0 { + for _, v := range userInfo.PositionUsers { + if _, ok := departmentKv[fmt.Sprint(v.DepartmentId)]; !ok { + departmentKv[fmt.Sprint(v.DepartmentId)] = v.DepartmentName + } + } + zap.L().Info("mLoginInfoAny", zap.Any("departmentKv", departmentKv)) + for k, v := range departmentKv { + req.LoanUserDepartmentId = fmt.Sprintf("%s,%s", req.LoanUserDepartmentId, k) + req.LoanUserDepartmentName = fmt.Sprintf("%s,%s", req.LoanUserDepartmentName, v) + } + req.LoanUserDepartmentId = strings.Trim(req.LoanUserDepartmentId, ",") + req.LoanUserDepartmentName = strings.Trim(req.LoanUserDepartmentName, ",") + } + + } + if len(req.CopyrightIds) == 0 || req.LoanMoney == 0 { + service.ResponseQuickMsg(ctx, e.Failed, e.ErrorLoanMoney, nil) + return + } + // 根据版权ID查询版权信息 + if len(req.CopyrightIds) > 0 { + if copyrightResp, err = service.GrpcCopyrightImpl.CopyrightList(ctx, &digital_copyright.CopyrightListReq{ + Page: 1, + PageSize: 9999, + CopyrightIds: req.CopyrightIds, + }); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if copyrightResp.Data == nil { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + // 查询画作的画家编号 + var artistUuids []string + for _, v := range copyrightResp.Data { + artistUuids = append(artistUuids, v.ArtistUuid) + } + var artistInfoKv map[string]string = map[string]string{} + if len(artistUuids) > 0 { + artistDataResp, _err := service.GrpcArtistImpl.ArtistData(context.Background(), &artist.ArtistDataRequest{Uids: artistUuids}) + if _err == nil { + for _, v := range artistDataResp.Data { + artistInfoKv[v.ProfileInfo.Uid] = v.ProfileInfo.Tnum + } + } + } + for _, v := range copyrightResp.Data { + var tnum string + if _, ok := artistInfoKv[v.ArtistUuid]; ok { + tnum = artistInfoKv[v.ArtistUuid] + } + var temp loanbill.CopyrightDetailInfo = loanbill.CopyrightDetailInfo{ + ArtworkName: v.WorkName, + ArtworkUuid: v.ArtworkUuid, + Tfnum: v.Tfnum, + ArtistName: v.ArtistName, + ArtistUuid: v.ArtistUuid, + Amount: v.Amount, + AgentName: v.AgentName, + CopyrightId: v.CopyrightId, + Tnum: tnum, + } + + req.CopyrightDetailData = append(req.CopyrightDetailData, &temp) + } + } + zap.L().Info("loanbill-list", zap.Any("req", req)) + resp, _err := service.GrpcLoanBillClientImpl.UpdateBill(ctx, req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func BillDetail(ctx *gin.Context) { + var ( + err error + req *loanbill.BillDetailReq + ) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, _err := service.GrpcLoanBillClientImpl.BillDetail(ctx, req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func BillList(ctx *gin.Context) { + var ( + err error + req *loanbill.BillListReq + ) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, _err := service.GrpcLoanBillClientImpl.BillList(ctx, req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func BillListExport(ctx *gin.Context) { + var ( + err error + req *loanbill.BillListReq + ) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + req.Page = 1 + req.PageSize = 999 + resp, _err := service.GrpcLoanBillClientImpl.BillList(ctx, req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + var adminId uint64 + if config.Env != "dev" { + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + } + if resp.Data == nil { + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + columns := []string{"项目名称", "借款人", "借款人部门", "借款日期", "借款总额", "状态", "更新时间"} + columnStruct := []string{"ProjectName", "LoanUsername", "LoanUserDepartmentName", "LoanDate", "Money", "Status", "UpdateTime"} // struct 字段 + data, _ := logic_loanbill.LoanbillkExcelData(resp.Data, columnStruct) + exportFileName := fmt.Sprintf("借款单%s.xlsx", time.Now().Format("20060102")) + filePath := fmt.Sprintf("./runtime/%d/%s", adminId, exportFileName) + _, _ = utils.CheckDirPath("./runtime/"+fmt.Sprint(adminId), true) + _, _ = utils.ToExcelByType(columns, data, "slice", filePath) + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/static/%s", httpType, ctx.Request.Host, strings.Replace(filePath, "./runtime/", "", 1)) + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), map[string]string{ + "ExportUrl": exportUrl, + }) + return +} + +func BillStatusUpdate(ctx *gin.Context) { + var ( + err error + req *loanbill.BillStatusUpdateReq + ) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, _err := service.GrpcLoanBillClientImpl.BillStatusUpdate(ctx, req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func VoucherUpdate(ctx *gin.Context) { + var ( + err error + req *loanbill.VoucherUpdateReq + ) + if err = ctx.ShouldBind(&req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + resp, _err := service.GrpcLoanBillClientImpl.VoucherUpdate(ctx, req) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func CopyrightArtworkList(ctx *gin.Context) { + var ( + listReq *digital_copyright.CopyrightFilterListReq + listResp *digital_copyright.CopyrightFilterListResp + err error + ) + if err = ctx.ShouldBind(&listReq); err != nil { + zap.L().Error("CopyrightArtworkList err ShouldBind", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + loadEndResp, _err := service.GrpcLoanBillClientImpl.LoadEndCopyright(ctx, &loanbill.LoadEndCopyrightReq{}) + if loadEndResp != nil { + for _, v := range loadEndResp.Data { + listReq.CopyrightIdsNotIn = append(listReq.CopyrightIdsNotIn, v.CopyrightId) + } + } + + listReq.Status = "DIGITAL_WAIT_PAY" + if listResp, err = service.GrpcCopyrightImpl.CopyrightFilterList(ctx, listReq); err != nil { + zap.L().Error("loanbill err CopyrightArtworkList", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + var resp model_loanbill.CopyrightArtworkResp + var data []*model_loanbill.CopyrightArtworkInfo + _ = copier.Copy(&data, listResp.Data) + //for _, vv := range listResp.Data { + // var temp model_loanbill.CopyrightArtworkInfo + // _ = copier.Copy(&temp, vv) + // temp.Amount = vv.Amount + // data = append(data, &temp) + //} + + var copyrightIds []string + for _, v := range data { + copyrightIds = append(copyrightIds, v.CopyrightId) + v.ArtworkName = v.WorkName + v.LoanBillStatus = 1 + } + infoResp, _err := service.GrpcLoanBillClientImpl.ArtworkLoanInfo(ctx, &loanbill.ArtworkLoanInfoReq{CopyrightIds: copyrightIds}) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + set := make(map[int32]bool) + nums := []int32{1, 2, 3} + for _, num := range nums { + set[num] = true + } + var artistUuids []string + for _, v := range data { + artistUuids = append(artistUuids, v.ArtistUuid) + for _, vv := range infoResp.Data { + if vv.CopyrightId == v.CopyrightId { + if _, ok := set[vv.Status]; ok { + v.LoanBillStatus = 2 + v.BillUuid = vv.BillUuid + } + } + } + } + if len(artistUuids) > 0 { + artistData, errS := service.GrpcArtistImpl.ArtistData(context.Background(), &artist.ArtistDataRequest{Uids: artistUuids}) + if errS == nil { + for _, v := range data { + for _, vv := range artistData.Data { + if v.ArtistUuid == vv.ProfileInfo.Uid { + v.Tnum = vv.ProfileInfo.Tnum + } + } + } + } + } + resp.Count = int(listResp.Count) + resp.Page = int(listReq.Page) + resp.PageSize = int(listReq.PageSize) + resp.Data = data + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} + +func BillDel(ctx *gin.Context) { + var ( + req *loanbill.DeleteBillReq + err error + ) + if err = ctx.ShouldBind(&req); err != nil { + zap.L().Error("loanbill err BillDel", zap.Error(err)) + service.ResponseQuickMsg(ctx, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if _, err = service.GrpcLoanBillClientImpl.DeleteBill(ctx, req); err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), nil) + return +} + +func Test(ctx *gin.Context) { + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + zap.L().Info("mLoginInfoAny", zap.Any("mLoginInfoAny", mLoginInfoAny)) + userInfo := mLoginInfoAny.(model.LoginInfo) + var LoanUserDepartmentId string + var LoanUserDepartmentName string + var departmentKv map[string]string + if len(userInfo.PositionUsers) > 0 { + for _, v := range userInfo.PositionUsers { + if _, ok := departmentKv[fmt.Sprint(v.DepartmentId)]; !ok { + departmentKv[fmt.Sprint(v.DepartmentId)] = v.DepartmentName + } + } + for k, v := range departmentKv { + LoanUserDepartmentId = fmt.Sprintf("%s,%s", LoanUserDepartmentId, k) + LoanUserDepartmentName = fmt.Sprintf("%s,%s", LoanUserDepartmentName, v) + } + LoanUserDepartmentId = strings.Trim(LoanUserDepartmentId, ",") + LoanUserDepartmentName = strings.Trim(LoanUserDepartmentName, ",") + } + + service.ResponseQuickMsg(ctx, 0, "ok", map[string]string{ + "LoanUserDepartmentId": LoanUserDepartmentId, + "LoanUserDepartmentName": LoanUserDepartmentName, + }) + return + } + service.ResponseQuickMsg(ctx, 1, "fail", nil) + return +} diff --git a/pkg/service/log.go b/pkg/service/log.go new file mode 100644 index 0000000..d191a6b --- /dev/null +++ b/pkg/service/log.go @@ -0,0 +1,91 @@ +package service + +import ( + "context" + + "github.com/fonchain_enterprise/fonchain-main/api/log" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" + "github.com/nacos-group/nacos-sdk-go/common/logger" +) + +func LogList(c *gin.Context) { + //声明一个对象 + var LogListService log.LogListreq + + if err := c.ShouldBind(&LogListService); err != nil { + logger.Errorf("LogList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcLogImpl.LogList(context.Background(), &LogListService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func LogListByAwId(c *gin.Context) { + //声明一个对象 + var LogListByAwIdService log.LogListreq + + if err := c.ShouldBind(&LogListByAwIdService); err != nil { + logger.Errorf("LogListByAwId ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcLogImpl.LogListByAwId(context.Background(), &LogListByAwIdService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func LogInfo(c *gin.Context) { + //声明一个对象 + var LogInfoService log.LogInforeq + if err := c.ShouldBind(&LogInfoService); err != nil { + logger.Errorf("LogInfo ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcLogImpl.LogInfo(context.Background(), &LogInfoService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.UpdatePasswordSuccess, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} diff --git a/pkg/service/meal/goods.go b/pkg/service/meal/goods.go new file mode 100644 index 0000000..b33deb1 --- /dev/null +++ b/pkg/service/meal/goods.go @@ -0,0 +1,100 @@ +package service_meal + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + meal_backend_goods "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/goods" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func CategoryPlateList(c *gin.Context) { + var req meal_backend_goods.CategoryPlateListReq + //if err := c.ShouldBind(&req); err != nil { + // logger.Errorf("CategoryPlateListReq ShouldBind err", err) + // service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + //} + resp, err := service.GrpcMealGoodsImpl.CategoryPlateList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp.Data) +} + +func CategoryGoodsList(c *gin.Context) { + var req meal_backend_goods.CategoryGoodsListReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CategoryPlateListReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcMealGoodsImpl.CategoryGoodsList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp.Data) +} + +func UpdateCategoryGoods(c *gin.Context) { + var req meal_backend_goods.UpdateCategoryGoodsReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CategoryPlateListReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcMealGoodsImpl.UpdateCategoryGoods(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp) +} + +func UpdateFeast(c *gin.Context) { + var req meal_backend_goods.UpdateFeastReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CategoryPlateListReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcMealGoodsImpl.UpdateFeast(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp) +} + +func UpdateBoxMeal(c *gin.Context) { + var req meal_backend_goods.UpdateBoxMealReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateBoxMeal ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcMealGoodsImpl.UpdateBoxMeal(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp) +} + +func UpdateDrink(c *gin.Context) { + var req meal_backend_goods.UpdateDrinkReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateDrinkReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcMealGoodsImpl.UpdateDrink(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp) +} diff --git a/pkg/service/meal/indent.go b/pkg/service/meal/indent.go new file mode 100644 index 0000000..3f4aef6 --- /dev/null +++ b/pkg/service/meal/indent.go @@ -0,0 +1,130 @@ +package service_meal + +import ( + "context" + "fmt" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + indent "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/indent" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/api/prebook" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +//用户管理列表 +func UserListMtgt(c *gin.Context) { + var req indent.UserListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcIndentImpl.UserList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for i := 0; i < len(resp.Data); i++ { + if resp.Data[i].Info == nil || len(resp.Data[i].Info) == 0 { + resp.Data[i].Info = make([]*indent.UserListres_Info_Ticketinfo, 0) + } + } + for b := 0; b < len(resp.Data); b++ { + if resp.Data[b].List == nil || len(resp.Data[b].Info) == 0 { + resp.Data[b].List = make([]*indent.UserListres_Info_OrderInfo, 0) + } + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//商品订单列表 +func IndentList(c *gin.Context) { + var req indent.IndentListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err: %s", err.Error()) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcIndentImpl.IndentList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, "", resp) + return + } + + // 遍历订单列表 + for x, info := range resp.Data { + if info.Source == 2 { + var req1 prebook.PreInforeq + fmt.Println("现在是第几个:", x) + req1.OrderUid = resp.Data[x].AppointmentUid + fmt.Println("=========================================") + fmt.Println(req1) + res, _ := service.GrpcPrebookImpl.PreInfo(context.Background(), &req1) + + // 检查 res 是否为空 + if res != nil { + info.PreName = res.PreName + info.PrePhone = res.PrePhone + info.PreTime = res.PreTime + info.PreId = res.PreId + // 处理 bringman + var bringman []*indent.IndentListres_Info_Note + if res.Bringman == nil || len(res.Bringman) == 0 { + bringman = make([]*indent.IndentListres_Info_Note, 0) + } else { + bringman = make([]*indent.IndentListres_Info_Note, len(res.Bringman)) + for i, note := range res.Bringman { + bringman[i] = &indent.IndentListres_Info_Note{ + IdCard: note.IdCard, + UserName: note.UserName, + } + } + } + info.Bringman = bringman // 将 bringman 赋值给 info.Bringman + } + } + for b := 0; b < len(resp.Data); b++ { + if resp.Data[b].Data == nil || len(resp.Data[b].Data) == 0 { + resp.Data[b].Data = make([]*indent.IndentListres_Info_Goodsinfo, 0) + } + } + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//退款 +func Orderback(c *gin.Context) { + var req order.WechatJsApiRefundsRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.WechatJsApiRefunds(c, &req) + fmt.Println(res) + if err != nil { + service.Error(c, e.Error, err) + return + } + + var req1 indent.UpdateBackreq + req1.OrderNo = req.OutTradeNo + _, err1 := service.GrpcIndentImpl.UpdateBack(context.Background(), &req1) + if err1 != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), "更新失败") + return + } + + service.Success(c, "退款成功") + + return + //log.Printf("status=%d resp=%s", result.Response.StatusCode, resp) +} diff --git a/pkg/service/meal/order.go b/pkg/service/meal/order.go new file mode 100644 index 0000000..573cfc3 --- /dev/null +++ b/pkg/service/meal/order.go @@ -0,0 +1,25 @@ +package service_meal + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + meal_backend_order "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/order" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func OrderDataH5(c *gin.Context) { + var req meal_backend_order.OrderDataH5Req + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OrderDataH5 ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcMealOrderImpl.OrderDataH5(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp.Data) +} diff --git a/pkg/service/meal/user.go b/pkg/service/meal/user.go new file mode 100644 index 0000000..193ec00 --- /dev/null +++ b/pkg/service/meal/user.go @@ -0,0 +1,61 @@ +package service_meal + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + meal_backend_account "github.com/fonchain_enterprise/fonchain-main/api/meal/backend/account" + appConfig "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "io/ioutil" +) + +func UserList(c *gin.Context) { + var pmInfoRequest meal_backend_account.UserListReq + if err := c.ShouldBind(&pmInfoRequest); err != nil { + logger.Errorf("UpdateAwProfile ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcMealAccountImpl.UserList(context.Background(), &pmInfoRequest) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp.Data) +} + +func InfoPhone(c *gin.Context) { + body, err := ioutil.ReadAll(c.Request.Body) + if err != nil || len(body) == 0 { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var mm map[string]interface{} = make(map[string]interface{}) + _ = json.Unmarshal(body, &mm) + if mm == nil || len(mm) == 0 { + service.ResponseQuickMsg(c, e.Failed, "", nil) + return + } + if mm["phone"] == nil { + service.ResponseQuickMsg(c, e.Failed, "", nil) + return + } + req := account.UserByTelRequest{Domain: appConfig.Domain, Tel: fmt.Sprintf("%v", mm["phone"])} + fmt.Println("InfoPhonereq", &req) + resp, err := service.AccountProvider.UserByTel(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if resp.IsExist { + service.ResponseQuickMsg(c, e.Ok, "", resp.Info) + } else { + service.ResponseQuickMsg(c, e.Failed, "", nil) + } + return +} diff --git a/pkg/service/meeting.go b/pkg/service/meeting.go new file mode 100644 index 0000000..38a17ba --- /dev/null +++ b/pkg/service/meeting.go @@ -0,0 +1,47 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/meeting" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" + "io" + "time" +) + +func AuthInfo(c *gin.Context) { + resp, err := GrpcMeetingImpl.AuthInfo(context.Background(), &meeting.AuthInfoReq{UserId: "123"}) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseQuickMsg(c, e.Ok, "", resp) + return +} + +func SubscribeCallback(c *gin.Context) { + logger.Error("SubscribeCallback time", time.Now().Format("2006-01-02 15:04:05")) + //var err error + //var data model_meeting.SubscribeMessage + //if err = c.Bind(&data); err != nil { + // ResponseQuickMsg(c, e.Failed, err.Error(), "Bind") + // return + //} + //if data.SubscribeID != "" { + // logger.Error("Bind--", data) + // ResponseQuickMsg(c, e.Ok, "bind", data) + // return + //} + dataBody, _ := io.ReadAll(c.Request.Body) + dataStr := string(dataBody) + fmt.Println(dataStr) + _, _ = GrpcMeetingImpl.SubscribeEvent(context.Background(), &meeting.SubscribeEventReq{Body: dataStr}) + // TODO 将数据传给微服务 + ResponseQuickMsg(c, e.Ok, "", nil) +} diff --git a/pkg/service/note.go b/pkg/service/note.go new file mode 100644 index 0000000..7c26b42 --- /dev/null +++ b/pkg/service/note.go @@ -0,0 +1,143 @@ +package service + +import ( + "context" + + "github.com/fonchain_enterprise/fonchain-main/api/note" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" + "github.com/nacos-group/nacos-sdk-go/common/logger" +) + +func CreateNote(c *gin.Context) { + //声明一个变量 + var CreateNoteService note.CreateNotereq + if err := c.ShouldBind(&CreateNoteService); err != nil { + logger.Errorf("CreateNote ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcNoteImpl.CreateNote(context.Background(), &CreateNoteService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.UpdatePasswordSuccess, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func NoteInfo(c *gin.Context) { + //声明一个对象 + var NoteInfoService note.NoteInforeq + + if err := c.ShouldBind(&NoteInfoService); err != nil { + logger.Errorf("NoteInfo ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcNoteImpl.NoteInfo(context.Background(), &NoteInfoService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.UpdatePasswordSuccess, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func NoteList(c *gin.Context) { + //声明一个对象 + var NoteListService note.NoteListreq + + if err := c.ShouldBind(&NoteListService); err != nil { + logger.Errorf("NoteList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcNoteImpl.NoteList(context.Background(), &NoteListService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func NoteListByAwId(c *gin.Context) { + //声明一个对象 + var NoteListByAwIdService note.NoteListreq + + if err := c.ShouldBind(&NoteListByAwIdService); err != nil { + logger.Errorf("NoteListByAwId ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcNoteImpl.NoteListByAwId(context.Background(), &NoteListByAwIdService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +// func DeleteNote(c *gin.Context) { +// //声明一个对象 +// var DeleteNoteService note.DeleteNotereq +// if err := c.ShouldBind(&DeleteNoteService); err != nil { +// logger.Errorf("DeleteNote ShouldBind err", err) +// ResponseMsg(c, e.InvalidParams, serializer.Response{ +// Msg: err.Error(), +// Code: e.Failed, +// }) +// return +// } +// resp, err := GrpcNoteImpl.DeleteNote(context.Background(), &DeleteNoteService) +// if err != nil { +// ResponseMsg(c, e.InvalidParams, serializer.Response{ +// Msg: err.Error(), +// Code: e.Failed, +// }) +// return +// } +// ResponseMsg(c, e.DeleteSuccess, serializer.Response{ +// Msg: resp.Msg, +// Code: e.Ok, +// }) +// } diff --git a/pkg/service/oa/clock_in.go b/pkg/service/oa/clock_in.go new file mode 100644 index 0000000..7d07996 --- /dev/null +++ b/pkg/service/oa/clock_in.go @@ -0,0 +1,1900 @@ +package oa + +import ( + "bytes" + "context" + "encoding/base64" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + account2 "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/utils/objstorage" + uuid "github.com/satori/go.uuid" + "io" + "net/http" + "net/url" + "sort" + "strconv" + "strings" + "time" + + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" +) + +// ClockIn +// 打卡 (包含 正常打卡 外勤打卡 迟到打卡 早退打卡) +func ClockIn(c *gin.Context) { + req := oa_model.ClockInReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ClockIn ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + /*//检查打卡 是否合规 前端 操作 + ip := c.ClientIP() + if ip == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ERR_GETIP, + Status: e.Failed, + }) + return + } + + isWifi, err := service.CheckWifi(ip) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if !isWifi { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ERR_WIFI_IS_NOT_IN, + Data: ip, + Status: e.Failed, + }) + return + }*/ + + // 经纬度限制 + if (req.Latitude != "" && req.Longitude != "") && req.CheckAddress == "" { + in, err := service.ConfirmIsInCompany(req.Longitude, req.Latitude) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if !in { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrNotInChickInMap, + Status: e.Failed, + }) + return + } + } + + oaProfile := new(oa.OAProfile) + + err := copier.CopyWithOption(&oaProfile, req, copier.Option{DeepCopy: true}) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 组装 考勤班次信息 + userInfo := login.GetUserInfoFromC(c) + departmentUUIDs := make([]string, 0) + //for i := 0; i < len(userInfo.PositionUsers); i++ { + // departmentUUIDs = append(departmentUUIDs, strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10)) + //} + //listByDidReq := new(position.ListByDidRequest) + //listByDidReq.UserId = userInfo.ID + //listByDidRes, err := service.PositionProvider.ListByDid(context.Background(), listByDidReq) + //if err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Ok, + // }) + // return + //} + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + departmentUUIDs = append(departmentUUIDs, strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10)) + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + nowTime := time.Now() + + oaProfile.StaffUID = userInfo.ID + oaProfile.Domain = userInfo.Domain + oaProfile.StaffName = userInfo.NickName + oaProfile.DepartmentUID = strings.Join(departmentUUIDs, ",") + oaProfile.Week = oa_model.Week[time.Now().Weekday().String()] + oaProfile.WorkDate = nowTime.Format("2006-01-02") + oaProfile.ActionTime = nowTime.Format("2006-01-02 15:04") + oaProfile.IsWork = oa_model.IsFree + + timesOptionBest, err := service.WorkingTimeAndWeekBest(0, queryTimeOptions) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 将 考勤班次 记录到 打卡 记录中 + err = copier.CopyWithOption(&oaProfile.Time, timesOptionBest.Times, copier.Option{DeepCopy: true}) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + //oaProfile.Time = times + + // 记录 打卡 周期 + isWork := service.ConfirmIsWork(timesOptionBest.Week, oaProfile.WorkDate) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrConfirmweek, + Status: e.Failed, + }) + return + } + // 工作日 打卡 + commonRes := new(oa.CommonRes) + + if isWork { + oaProfile.IsWork = oa_model.IsWork + // 计算 考勤时间点 + oaProfile.ActionType, oaProfile.WorkTime, oaProfile.OnOff, err = service.ConfirmActionTypeWithOaRecord(userInfo, nowTime, timesOptionBest.Times) + if oaProfile.ActionType == "" || oaProfile.WorkTime == "" || err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrConfirmactiontype, + Status: e.Failed, + }) + return + } + + fmt.Println("===================================================") + fmt.Println(oaProfile) + fmt.Println("===================================================") + + commonRes, err = service.GrpcOAImpl.CreateOARecordWithMiss(context.Background(), oaProfile) + } else { + // 休息日打卡 考勤类型 均为 正常打卡 workTime 则记为 当前打卡时间 + oaProfile.ActionType, oaProfile.WorkTime, oaProfile.IsWork = oa_model.TypeCommon, strings.Split(oaProfile.ActionTime, " ")[1], oa_model.IsFree + oaProfile.OnOff, err = service.OneRoundConfirmCurrentClickInTime(userInfo) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if oaProfile.OnOff == "" { + oaProfile.OnOff = oa_model.OnWork + } + fmt.Println("===================================================") + fmt.Println(oaProfile) + fmt.Println("===================================================") + + commonRes, err = service.GrpcOAImpl.UseFaceCreateOARecord(context.Background(), oaProfile) + } + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: commonRes.Msg, + Status: e.Ok, + }) + +} + +func Stranger(c *gin.Context) { + var data oa_model.ClockInUseFace + if err := c.ShouldBind(&data); err != nil { + logger.Errorf("ClockIn ShouldBind err", err) + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: err.Error(), + }) + return + } + logger.Errorf("打卡失败记录==========> %+v", data) + if data.Logs[0].UserID == "F1000001" { + if data.Logs[0].Photo == "" { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + Url, err := Base64ToUrl(data.Logs[0].Photo) + if err != nil { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + log := account.ClockLogInfo{ + Sn: data.Sn, + UserId: data.Logs[0].UserID, + RecogType: data.Logs[0].RecogType, + RecogTime: data.Logs[0].RecogTime, + Gender: float32(data.Logs[0].Gender), + Photo: Url, + PassStatus: float32(data.Logs[0].PassStatus), + UserName: data.Logs[0].UserName, + UserType: float32(data.Logs[0].UserType), + Confidence: data.Logs[0].Confidence, + Reflectivity: float32(data.Logs[0].Reflectivity), + CardNumber: data.Logs[0].CardNumber, + PassWord: data.Logs[0].Password, + QrCode: data.Logs[0].QrCode, + } + _, err = service.AccountProvider.CreateClockLog(c, &log) + if err != nil { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + } + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: data.Logs[0].CardNumber, + }) + return +} +func CallPhone3(c *gin.Context) { + var requestData map[string]interface{} + + decoder := json.NewDecoder(c.Request.Body) + if err := decoder.Decode(&requestData); err != nil { + // 如果解码JSON数据时出错,返回错误 + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + + // requestData 现在包含了请求的 JSON 数据,是一个 map[string]interface{} + + // 在这里执行其他操作 + // 例如:输出 requestData + fmt.Printf("Received JSON data: %v\n", requestData) + + // 响应客户端 + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return +} +func CallPhone2(c *gin.Context) { + var requestData map[string]interface{} + + decoder := json.NewDecoder(c.Request.Body) + if err := decoder.Decode(&requestData); err != nil { + // 如果解码JSON数据时出错,返回错误 + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + + // requestData 现在包含了请求的 JSON 数据,是一个 map[string]interface{} + + // 在这里执行其他操作 + // 例如:输出 requestData + fmt.Printf("Received JSON data: %v\n", requestData) + + // 响应客户端 + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return +} +func ClockFaceLog(c *gin.Context) { + req := oa_model.ClockInUseFace{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ClockIn ShouldBind err", err) + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + //体制外 + isOut := strings.Contains(req.Logs[0].UserID, "out") + if config.IsOut == false && config.Env == "prod" && isOut { + if strings.HasSuffix(req.Logs[0].UserID, "out") { + req.Logs[0].UserID = strings.TrimSuffix(req.Logs[0].UserID, "out") + fmt.Println("user_id 的 'out' 后缀已删除,新的 user_id 为:", req.Logs[0].UserID) + } + // 将请求转发到另一个 URL + err := forwardRequest(c, req) + if err != nil { + logger.Errorf("转发请求失败: %v", err) + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: "请求转发失败", + }) + return + } + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + var Url string + var err error + + for i := 0; i < len(req.Logs); i++ { + Url, err = Base64ToUrl(req.Logs[i].Photo) + logger.Errorf("打卡人脸照片url==========> %+v", Url) + if err != nil { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + req.Logs[i].Photo = Url + } + + logger.Errorf("打卡成功记录==========> %+v", req) + err = ClockInUseFace(req) + if err != nil { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + if len(req.Logs) == 0 { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + for _, i := range req.Logs { + if i.Photo == "" { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return + } + //Url, err := Base64ToUrl(i.Photo) + //logger.Errorf("打卡人脸照片url==========> %+v", Url) + //if err != nil { + // c.JSON(200, serializer.UseFaceClockIn{ + // Result: 0, + // Msg: e.GetMsg(e.ErrorGetUserInfo), + // }) + // return + //} + log := &account.ClockLogInfo{ + Sn: req.Sn, + UserId: i.UserID, + RecogType: i.RecogType, + RecogTime: i.RecogTime, + Gender: float32(i.Gender), + Photo: Url, + PassStatus: float32(i.PassStatus), + UserName: i.UserName, + UserType: float32(i.UserType), + Confidence: i.Confidence, + Reflectivity: float32(i.Reflectivity), + CardNumber: i.CardNumber, + PassWord: i.Password, + QrCode: i.QrCode, + } + logger.Errorf("打卡人脸纪录log==========> %+v", log) + logRes, err := service.AccountProvider.CreateClockLog(c, log) + if err != nil { + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + } + logger.Errorf("打卡机日志创建成功==========> %+v", logRes) + } + c.JSON(200, serializer.UseFaceClockIn{ + Result: 0, + Msg: e.GetMsg(e.ErrorGetUserInfo), + }) + return +} +func forwardRequest(c *gin.Context, req oa_model.ClockInUseFace) error { + client := &http.Client{} + + // 将请求对象序列化为 JSON + jsonData, err := json.Marshal(req) + if err != nil { + return fmt.Errorf("序列化请求数据失败: %v", err) + } + + // 创建一个新的 POST 请求,URL 替换为你想转发的目标 URL + targetURL := config.OutUrl + "/api/v1/record/face" // 替换为实际的转发地址 + reqBody := bytes.NewBuffer(jsonData) + newReq, err := http.NewRequest("POST", targetURL, reqBody) + if err != nil { + return fmt.Errorf("创建转发请求失败: %v", err) + } + + // 设置请求头部,与原请求保持一致 + newReq.Header.Set("Content-Type", "application/json") + newReq.Header.Set("Authorization", c.Request.Header.Get("Authorization")) // 如果有需要转发的头部信息 + + // 发送请求 + resp, err := client.Do(newReq) + if err != nil { + return fmt.Errorf("发送转发请求失败: %v", err) + } + defer resp.Body.Close() + + // 检查响应状态 + if resp.StatusCode != http.StatusOK { + body, _ := io.ReadAll(resp.Body) + return fmt.Errorf("转发请求返回错误: %v - %s", resp.Status, string(body)) + } + + return nil +} +func Base64ToUrl(req string) (string, error) { + uuids, _ := uuid.NewV4() + var objectName = fmt.Sprintf("%s/%s/%s.jpeg", config.ConfigData.Oss.BaseDir, config.Env, uuids) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + decodedData, err := url.QueryUnescape(req) + index := strings.Index(decodedData, ",") + if index == -1 { + return "", errors.New("图片格式错误") + } + imageBytes, err := base64.StdEncoding.DecodeString(decodedData[index+1:]) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, imageBytes) + Url := fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + return Url, err +} + +// ClockInUseFace +// 打卡机打卡 ( 工作期间不做处理, 周末 加班 只记录 一个完整的周期 <上班卡只记录 第一次 下班卡 时间点做 更新>) +func ClockInUseFace(req oa_model.ClockInUseFace) error { + if req.Logs == nil { + return errors.New(e.GetMsg(e.ErrNoID)) + } + jsonString, _ := json.Marshal(req) + //if err != nil { + // fmt.Println("JSON serialization error:", err) + // return + //} + + // 将JSON字符串打印到控制台 + fmt.Println(string(jsonString)) + /* 检查打卡 是否合规 前端 操作*/ + + oaProfile := new(oa.OAProfile) + + err := copier.CopyWithOption(&oaProfile, req, copier.Option{DeepCopy: true}) + if err != nil { + //c.JSON(200, serializer.UseFaceClockIn{ + // Result: 0, + // Msg: err.Error(), + //}) + return errors.New("考勤信息错误") + } + + userIDStr := "" + facePhoto := "" + for i := 0; i < len(req.Logs); i++ { + userIDStr = req.Logs[i].UserID + facePhoto = req.Logs[i].Photo + } + + if userIDStr == "" || userIDStr == "0" { + return errors.New(e.GetMsg(e.ErrorGetUserInfo)) + } + + userID, _ := strconv.ParseUint(userIDStr, 0, 64) + infoReq := account.InfoRequest{ID: userID} + + fmt.Println("======== infoReq 1 ==============") + fmt.Printf("infoReq %+v\n", infoReq) + + infoRes, err := service.AccountProvider.Info(context.Background(), &infoReq) + if err != nil { + fmt.Println("======== AccountProvider.Info 2.1 ==============") + fmt.Printf("err %+v\n", err) + fmt.Printf("infoRes %+v\n", infoRes) + return errors.New(e.GetMsg(e.ErrorGetUserInfo)) + } + + fmt.Println("======== userInfo 2 ==============") + fmt.Printf("userInfo %+v\n", infoRes) + + if infoRes.Info.ID == 0 || infoRes.Info.NickName == "" || infoRes.Info.Domain == "" { + return errors.New(e.GetMsg(e.ErrorGetUserInfo)) + } + + // 组装 考勤班次信息 + //userInfo := login.GetUserInfoFromC(c) + departmentUUIDs := make([]string, 0) + departmentAndPositionReq := new(rule.RulesRequest) + departmentAndPositionReq.AccountID = infoRes.Info.ID + departmentAndPositionRes, err := service.RuleProvider.UserInfo(context.Background(), departmentAndPositionReq) + if err != nil { + return err + } + + userInfo := login.Info{ + ID: infoRes.Info.ID, + NickName: infoRes.Info.NickName, + Domain: infoRes.Info.Domain, + } + + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(departmentAndPositionRes.PositionUsers); i++ { + departmentUUIDs = append(departmentUUIDs, strconv.FormatUint(departmentAndPositionRes.PositionUsers[i].DepartmentId, 10)) + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(departmentAndPositionRes.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(departmentAndPositionRes.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + fmt.Println("======== queryTimeOptions 3 ==============") + fmt.Printf("queryTimeOptions %+v\n", queryTimeOptions) + + var nowTime time.Time + // 给默认值 + nowTime = time.Now() + if len(req.Logs) == 1 { + nowTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.Logs[0].RecogTime, time.Local) + } + + oaProfile.StaffUID = userInfo.ID + oaProfile.Domain = userInfo.Domain + oaProfile.StaffName = userInfo.NickName + oaProfile.DepartmentUID = strings.Join(departmentUUIDs, ",") + oaProfile.Week = oa_model.Week[time.Now().Weekday().String()] + oaProfile.WorkDate = nowTime.Format("2006-01-02") + oaProfile.ActionTime = nowTime.Format("2006-01-02 15:04") + oaProfile.IsWork = oa_model.IsFree + oaProfile.FacePhoto = facePhoto + oaProfile.CheckAddress = req.Sn + oaProfile.CheckMethod = oa_model.CheckMethodPunchClock + + timesOptionBest, err := service.WorkingTimeAndWeekBest(0, queryTimeOptions) + if err != nil { + return err + } + + fmt.Println("======== times 4 ==============") + fmt.Printf("times %+v\n", timesOptionBest) + + // 将 考勤班次 记录到 打卡 记录中 + err = copier.CopyWithOption(&oaProfile.Time, timesOptionBest.Times, copier.Option{DeepCopy: true}) + if err != nil { + return errors.New("考勤信息错误") + } + + // 记录 打卡 周期 + isWork := service.ConfirmIsWork(timesOptionBest.Week, oaProfile.WorkDate) + if err != nil { + return errors.New(e.ErrConfirmweek) + } + + fmt.Println("======== oaProfile 5 ==============") + fmt.Printf("oaProfile %+v\n", oaProfile) + + // 工作日 打卡 + commonRes := new(oa.CommonRes) + + if isWork { + oaProfile.IsWork = oa_model.IsWork + // 计算 考勤时间点 + oaProfile.ActionType, oaProfile.WorkTime, oaProfile.OnOff, err = service.ConfirmActionTypeWithOaRecord(userInfo, nowTime, timesOptionBest.Times) + if oaProfile.ActionType == "" || oaProfile.WorkTime == "" || err != nil { + return errors.New(e.ErrConfirmactiontype) + } + + fmt.Println("===================================================") + fmt.Println(oaProfile) + fmt.Println("===================================================") + + if oaProfile.ActionType == oa_model.TypeCommon { + commonRes, err = service.GrpcOAImpl.CreateOARecordWithMiss(context.Background(), oaProfile) + logger.Errorf("模版消息---1") + templateMsgReq := account.SendClockInWechatRequest{ + OperatedAt: nowTime.Format(model.DateTimeFormat), + ClockType: oaProfile.OnOff, + UserId: uint32(userID), + GhId: "gh_d838598b1a23", + Address: req.Sn, + } + + go service.AccountProvider.SendClockInWechat(context.Background(), &templateMsgReq) + + fmt.Println("================模版发送完毕=============================") + } + + commonRes, err = service.GrpcOAImpl.CreateOtherRecord(context.Background(), oaProfile) + + } else { + // 休息日打卡 考勤类型 均为 正常打卡 workTime 则记为 当前打卡时间 + oaProfile.ActionType, oaProfile.WorkTime, oaProfile.IsWork = oa_model.TypeCommon, strings.Split(oaProfile.ActionTime, " ")[1], oa_model.IsFree + oaProfile.OnOff, err = service.OneRoundConfirmCurrentClickInTime(userInfo) + if err != nil { + return err + } + if oaProfile.OnOff == "" { + oaProfile.OnOff = oa_model.OnWork + } + fmt.Println("===================================================") + fmt.Println(oaProfile) + fmt.Println("===================================================") + + commonRes, err = service.GrpcOAImpl.UseFaceCreateOARecord(context.Background(), oaProfile) + // 加 消息通知 + } + _ = commonRes + return err +} + +func OARecord(c *gin.Context) { + req := oa_model.OARecordReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OARecord ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + + if req.StaffUID == 0 { + + req.StaffUID = userInfo.ID + } + + microReq := new(oa.OARecordReq) + + err := copier.CopyWithOption(µReq, req, copier.Option{DeepCopy: true}) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + microReq.Dates = holiday.SplitDates(req.StartDate, req.EndDate, "2006-01-02") + + microRes, err := service.GrpcOAImpl.OARecord(context.Background(), microReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + departmentUUIDs := make([]string, 0) + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + departmentUUIDs = append(departmentUUIDs, strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10)) + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + timesOptionBest, err := service.WorkingTimeAndWeekBest(0, queryTimeOptions) + if err != nil { + return + } + + // 处理 打卡记录 + /* + 除 正常打卡外 action_time 均为 空 + 除 正常、迟到、早退、缺卡 还需要 添加 请假 + */ + + oaRecordRes, err := MakeRecord(microRes, req.StaffUID, timesOptionBest.Week) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: oaRecordRes, + Status: e.Ok, + }) +} + +// MakeRecord +// 查询 异常 及其他 +func MakeRecord(microRecord *oa.OARecordRes, staffUID uint64, cycle string) (oaRecordRes *oa_model.OARecordRes, err error) { + basicReq := new(oa.ApplyRecordReq) + basicReq.StaffUID = staffUID + basicReq.Page = 1 + basicReq.PageSize = 10 + basicReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + + oaRecordRes = new(oa_model.OARecordRes) + oaRecordRes.Records = make([]oa_model.OARecord, 0) + + currentDate, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" 00:00:00", time.Local) + + var lastCycle string + + for i := 0; i < len(microRecord.Data); i++ { + + fmt.Println(" microRecord.Data[i].Cycle is == ", microRecord.Data[i].Cycle) + fmt.Println(" microRecord.Data[i].WorkDate is == ", microRecord.Data[i].WorkDate) + fmt.Println(" lastCycle is == ", lastCycle) + + // 如果 考勤 中的 打卡周期 不为空 则将 此次 打卡周期记录 为 之后 考勤记录为 空的 提供 判断依据 + if microRecord.Data[i].Cycle != "" { + lastCycle = microRecord.Data[i].Cycle + } + + if lastCycle == "" { + lastCycle = cycle + } + + // 全天考勤正常 与否 + oaRecord := oa_model.OARecord{} + var isWork bool + + // 如果 考勤记录不为 空 则将 记录中的 IsWork 赋值给 统计中的 IsWork (不用) + // 无论记录是否存在 都将 记录中的 IsWork 赋值给 统计中的 IsWork + isWork = service.ConfirmIsWork(lastCycle, microRecord.Data[i].WorkDate) + + if isWork { + oaRecord.IsWork = oa_model.IsWork + } else { + oaRecord.IsWork = int8(microRecord.Data[i].IsWork) + } + workDate, _ := time.ParseInLocation("2006-01-02 15:04:05", microRecord.Data[i].WorkDate+" 00:00:00", time.Local) + if workDate.Before(currentDate) && len(microRecord.Data[i].Records) == 0 && oaRecord.IsWork == oa_model.IsWork { + oaRecord.Abnormal = true + } + + isRight := 0 + + oaRecord.WorkDate = microRecord.Data[i].WorkDate + for j := 0; j < len(microRecord.Data[i].Records); j++ { + record := oa_model.Record{ + ActionType: microRecord.Data[i].Records[j].ActionType, + WorkTime: microRecord.Data[i].Records[j].WorkTime, + ActionTime: microRecord.Data[i].Records[j].ActionTime, + OnOff: microRecord.Data[i].Records[j].OnOff, + CheckAddress: microRecord.Data[i].Records[j].CheckAddress, + } + //if microRecord.Data[i].Records[j].ActionType != oa_model.TypeMiss { + // record.ActionTime = microRecord.Data[i].Records[j].ActionTime + //} + if microRecord.Data[i].Records[j].ActionType == oa_model.TypeCommon || microRecord.Data[i].Records[j].ActionType == oa_model.TypeOverTime || microRecord.Data[i].Records[j].ActionType == oa_model.TypeOutWork { + isRight += 1 + } else { + oaRecord.Abnormal = true + } + oaRecord.Records = append(oaRecord.Records, record) + } + + if isRight == len(microRecord.Data[i].Records) && len(microRecord.Data[i].Records) != 0 && isRight != 0 { + oaRecord.Right = true + } + + fmt.Println(" oaRecord.IsWork === ", oaRecord.IsWork) + if oaRecord.IsWork == oa_model.IsWork || len(oaRecord.Records) > 0 { + + basicReq.BeginTime = oaRecord.WorkDate + basicReq.EndTime = oaRecord.WorkDate + + oaRecord.LeaveRecord, err = LeaveRecord(basicReq) + if err != nil { + return nil, err + } + if len(oaRecord.LeaveRecord) > 0 { + oaRecord.Leave = true + } + + oaRecord.MakeUpRecord, err = MakeUpRecord(basicReq) + if err != nil { + return nil, err + } + if len(oaRecord.MakeUpRecord) > 0 { + oaRecord.Leave = true + } + + oaRecord.OverTimeRecord, err = OverTimeRecord(basicReq) + if err != nil { + return nil, err + } + if len(oaRecord.OverTimeRecord) > 0 { + oaRecord.Leave = true + } + + oaRecord.DayOffRecord, err = DayOffRecord(basicReq) + if err != nil { + return nil, err + } + if len(oaRecord.DayOffRecord) > 0 { + oaRecord.Leave = true + } + + oaRecord.OutWorkRecord, err = OutWorkRecord(basicReq) + if err != nil { + return nil, err + } + if len(oaRecord.OutWorkRecord) > 0 { + oaRecord.Leave = true + } + } + + oaRecordRes.Records = append(oaRecordRes.Records, oaRecord) + } + + return +} + +func OARecordSingle(c *gin.Context) { + req := oa_model.OARecordSingleReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OARecord ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.Info{} + + if req.StaffUID == 0 { + userInfo = login.GetUserInfoFromC(c) + req.StaffUID = userInfo.ID + } else { + res, err := account2.GetUserInfoById(c, req.StaffUID, "") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo.ID = res.ID + userInfo.PositionUsers = res.PositionUsers + userInfo.NickName = res.NickName + } + + // 获取 工作周期 + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + startDay, endDay, err := service.WorkingTimeWeekBest(queryTimeOptions) + if err != nil { + fmt.Println("WorkingTimeWeekBest err is :", err.Error()) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "获取工作周期失败", + Status: e.Failed, + }) + return + } + + isWork := service.ConfirmIsWork(strings.Join([]string{strconv.Itoa(startDay), strconv.Itoa(endDay)}, ","), req.WorkDate) + + microReq := new(oa.OARecordReq) + + microReq.StaffUID = req.StaffUID + microReq.Dates = append(microReq.Dates, req.WorkDate) + + //copier.CopyWithOption(µReq, req, copier.Option{DeepCopy: true}) + + oaRecordSingleRes := new(oa_model.OARecord) + + fmt.Println("===================================================") + fmt.Printf("oaRecordSingleRes ==== %+v\n", oaRecordSingleRes) + fmt.Println("oaRecordSingleRes isWork ==== ", isWork) + fmt.Println("===================================================") + + mircoRes, err := service.GrpcOAImpl.OARecord(context.Background(), microReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("打卡记录 ======================================") + fmt.Printf("%+v\n", mircoRes) + fmt.Println("打卡记录 ======================================") + + oaRecordSingleRes.Records = make([]oa_model.Record, 0) + for i := 0; i < len(mircoRes.Data); i++ { + oaRecordSingleRes.WorkDate = mircoRes.Data[i].WorkDate + if mircoRes.Data[i].Records == nil && mircoRes.Data[i].IsWork == oa_model.IsWork { + oaRecordSingleRes.Abnormal = true + oaRecordSingleRes.Right = false + } + // 将 记录中的 IsWork 赋值给 统计中的 IsWork + oaRecordSingleRes.IsWork = int8(mircoRes.Data[i].IsWork) + + currentMap := make(map[string]*oa_model.Record, 0) // 剔除重复考勤记录数据 + for j := 0; j < len(mircoRes.Data[i].Records); j++ { + if mircoRes.Data[i].Records[j].ActionType == oa_model.TypeMiss || mircoRes.Data[i].Records[j].ActionType == oa_model.TypeLate || mircoRes.Data[i].Records[j].ActionType == oa_model.TypeBefore { + oaRecordSingleRes.Abnormal = true + oaRecordSingleRes.Right = false + } + //if currentMap[mircoRes.Data[i].Records[j].WorkTime] != "" { + // continue + //} + record := new(oa_model.Record) + err = copier.CopyWithOption(&record, mircoRes.Data[i].Records[j], copier.Option{DeepCopy: true}) + record.IsWork = mircoRes.Data[i].IsWork + if err != nil { + return + } + if mircoRes.Data[i].IsWork == oa_model.IsWork { + if _, ok := currentMap[mircoRes.Data[i].Records[j].WorkTime]; ok { + oaRecordSingleRes.Records = oaRecordSingleRes.Records[:len(oaRecordSingleRes.Records)-1] + } + currentMap[mircoRes.Data[i].Records[j].WorkTime] = record + } + oaRecordSingleRes.Records = append(oaRecordSingleRes.Records, *record) + } + } + + if isWork { + oaRecordSingleRes.IsWork = oa_model.IsWork + } + + //if len(mircoRes.Data) > 0 || mircoRes.Data[len(mircoRes.Data)-len(mircoRes.Data)].IsWork == oa_model.IsWork || isWeek { + if len(mircoRes.Data) > 0 || isWork { + // 处理 打卡记录 + /* + 除 正常打卡外 action_time 均为 空 + 除 正常、迟到、早退、缺卡 还需要 添加 请假 + */ + + basicReq := new(oa.ApplyRecordReq) + basicReq.StaffUID = req.StaffUID + basicReq.Page = 1 + basicReq.PageSize = 9999 + basicReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + + basicReq.BeginTime = req.WorkDate + basicReq.EndTime = req.WorkDate + + oaRecordSingleRes.LeaveRecord, err = LeaveRecord(basicReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + oaRecordSingleRes.MakeUpRecord, err = MakeUpRecord(basicReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + oaRecordSingleRes.OverTimeRecord, err = OverTimeRecord(basicReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + oaRecordSingleRes.DayOffRecord, err = DayOffRecord(basicReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + oaRecordSingleRes.OutWorkRecord, err = OutWorkRecord(basicReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if oaRecordSingleRes.OutWorkRecord != nil { + for i := 0; i < len(oaRecordSingleRes.OutWorkRecord); i++ { + outWorkCheckReq := new(oa.OutWorkCheckReq) + outWorkCheckReq.StaffUID = oaRecordSingleRes.OutWorkRecord[i].StaffUID + outWorkCheckReq.ApplyUUID = oaRecordSingleRes.OutWorkRecord[i].UUID + outWorkCheckRes, err := service.GrpcOAImpl.QueryCheckRecord(context.Background(), outWorkCheckReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if outWorkCheckRes.Data != nil { + for j := 0; j < len(outWorkCheckRes.Data); j++ { + oaRecordSingleRes.Records = append(oaRecordSingleRes.Records, oa_model.Record{ + OnOff: outWorkCheckRes.Data[j].ActionType, + ActionTime: outWorkCheckRes.Data[j].ActionTime, + }) + } + } + } + } + } + + oaRecordSingleRes.Records = service.OrderByRecord(oaRecordSingleRes.Records) + + for i := 0; i < len(oaRecordSingleRes.Records)-1; i++ { + curr := oaRecordSingleRes.Records[i] + next := oaRecordSingleRes.Records[i+1] + currDate := "" + nextDate := "" + + if curr.ActionTime != "" { + currDate = strings.Split(curr.ActionTime, " ")[0] + } + if next.ActionTime != "" { + nextDate = strings.Split(next.ActionTime, " ")[0] + } + + if currDate != "" && nextDate != "" && currDate != nextDate { + if curr.ActionTime > next.ActionTime { + oaRecordSingleRes.Records[i], oaRecordSingleRes.Records[i+1] = oaRecordSingleRes.Records[i+1], oaRecordSingleRes.Records[i] + i = -1 + } + } + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: oaRecordSingleRes, + Status: e.Ok, + }) +} + +func MakeRecordSingle(microRecord *oa.OARecord, staffUID uint64) (oaRecord *oa_model.OARecord, err error) { + basicReq := oa.ApplyRecordReq{} + basicReq.StaffUID = staffUID + basicReq.Page = 1 + basicReq.PageSize = 10 + basicReq.ApplyStatus = []int32{1, 2, 3} + + //oaRecordRes = new(oa_model.OARecord) + //for i := 0; i < len(microRecord.Data); i++ { + + // 全天考勤正常 与否 + oaRecord = new(oa_model.OARecord) + oaRecord.WorkDate = "2023-05-31" + + oaRecord.Records = append(oaRecord.Records, oa_model.Record{ + ActionType: "common", + WorkTime: "09:00", + }) + + oaRecord.Records = append(oaRecord.Records, oa_model.Record{ + ActionType: oa_model.TypeLeave, + WorkTime: "10:00", + }) + + oaRecord.Records = append(oaRecord.Records, oa_model.Record{ + ActionType: oa_model.TypeLeave, + WorkTime: "11:00", + }) + + oaRecord.Records = append(oaRecord.Records, oa_model.Record{ + ActionType: "common", + WorkTime: "12:00", + }) + + oaRecord.Records = append(oaRecord.Records, oa_model.Record{ + ActionType: "common", + WorkTime: "13:00", + }) + + //for j := 0; j < len(microRecord.Records); j++ { + // record := oa_model.Record{ + // ActionType: microRecord.Records[j].ActionType, + // WorkTime: microRecord.Records[j].WorkTime, + // } + // if microRecord.Records[j].ActionType != oa_model.TypeMiss { + // record.ActionTime = microRecord.Records[j].ActionTime + // } + // oaRecord.Records = append(oaRecord.Records, record) + // if record.WorkTime == "09:00" { + // oaRecord.Records = append(oaRecord.Records, oa_model.Record{ + // ActionType: oa_model.TypeLeave, + // WorkTime: "10:00", + // }) + // + // oaRecord.Records = append(oaRecord.Records, oa_model.Record{ + // ActionType: oa_model.TypeLeave, + // WorkTime: "11:00", + // }) + // } + //} + + //req := basicReq + //req.ApplyStartTime = oaRecord.WorkDate + " 00:00:00" + //req.ApplyEndTime = oaRecord.WorkDate + " 23:59:59" + //req.ApplyType = []string{ + // oa_model.TypeLeave, + // oa_model.TypeSick, + // oa_model.TypeDayOff, + // oa_model.TypeAnnualLeave, + // oa_model.TypeMaritalLeave, + // oa_model.TypeMatingCheckLeave, + // oa_model.TypeMaternityLeave, + // oa_model.TypePaternityLeave, + // oa_model.TypeParentalLeave, + // oa_model.TypeNursingLeave, + // oa_model.TypeFuneralLeave, + // oa_model.TypeMakeUp, + // oa_model.TypeOverTime, + // oa_model.TypeOutwork, + //} + //applyInfo := new(oa.ApplyRecordRes) + //applyInfo, err = service.GrpcOAImpl.QueryOaApply(context.Background(), &req) + //if err != nil { + // return nil, err + //} + //if applyInfo.Total > 0 { + // oaRecord.Leave = true + //} else { + // oaRecord.Leave = false + //} + //oaRecordRes.Records = append(oaRecordRes.Records, oaRecord) + //} + + return +} + +func LeaveRecord(basicReq *oa.ApplyRecordReq) (oaApplys []oa_model.OaApply, err error) { + + leaveReq := new(oa.ApplyRecordReq) + err = copier.CopyWithOption(&leaveReq, basicReq, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + leaveReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeAbortLeave, + oa_model.TypeBreastFeedingLeave, + } + leaveApplyInfo := new(oa.ApplyRecordRes) + leaveApplyInfo, err = service.GrpcOAImpl.QueryOaApply(context.Background(), leaveReq) + if err != nil { + return nil, err + } + + oaApplys = make([]oa_model.OaApply, 0) + + err = copier.CopyWithOption(&oaApplys, leaveApplyInfo.Data, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + fmt.Println("请假记录 ======================================") + fmt.Printf("%+v\n", oaApplys) + fmt.Println("请假记录 ======================================") + + return +} + +func MakeUpRecord(basicReq *oa.ApplyRecordReq) (oaApplys []oa_model.OaApply, err error) { + + makeUpReq := new(oa.ApplyRecordReq) + err = copier.CopyWithOption(&makeUpReq, basicReq, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + makeUpReq.ApplyType = []string{ + oa_model.TypeMakeUp, // 补卡 + } + makeUpApplyInfo := new(oa.ApplyRecordRes) + makeUpApplyInfo, err = service.GrpcOAImpl.QueryOaApply(context.Background(), makeUpReq) + if err != nil { + return nil, err + } + + oaApplys = make([]oa_model.OaApply, 0) + + err = copier.CopyWithOption(&oaApplys, makeUpApplyInfo.Data, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + fmt.Println("补卡记录 ======================================") + fmt.Printf("%+v\n", oaApplys) + fmt.Println("补卡记录 ======================================") + + return +} + +func OverTimeRecord(basicReq *oa.ApplyRecordReq) (oaApplys []oa_model.OaApply, err error) { + + overTimeReq := new(oa.ApplyRecordReq) + err = copier.CopyWithOption(&overTimeReq, basicReq, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + overTimeReq.ApplyType = []string{ + oa_model.TypeOverTime, // 加班 + } + overTimeApplyInfo := new(oa.ApplyRecordRes) + overTimeApplyInfo, err = service.GrpcOAImpl.QueryOaApply(context.Background(), overTimeReq) + if err != nil { + return nil, err + } + + oaApplys = make([]oa_model.OaApply, 0) + + err = copier.CopyWithOption(&oaApplys, overTimeApplyInfo.Data, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + fmt.Println("加班记录 ======================================") + fmt.Printf("%+v\n", oaApplys) + fmt.Println("加班记录 ======================================") + + return +} + +func DayOffRecord(basicReq *oa.ApplyRecordReq) (oaApplys []oa_model.OaApply, err error) { + + dayOffReq := new(oa.ApplyRecordReq) + err = copier.CopyWithOption(&dayOffReq, basicReq, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + dayOffReq.ApplyType = []string{ + oa_model.TypeDayOff, //调休 + } + dayOffApplyInfo := new(oa.ApplyRecordRes) + dayOffApplyInfo, err = service.GrpcOAImpl.QueryOaApply(context.Background(), dayOffReq) + if err != nil { + return nil, err + } + + oaApplys = make([]oa_model.OaApply, 0) + + err = copier.CopyWithOption(&oaApplys, dayOffApplyInfo.Data, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + fmt.Println("调休记录 ======================================") + fmt.Printf("%+v\n", oaApplys) + fmt.Println("调休记录 ======================================") + + return +} + +func OutWorkRecord(basicReq *oa.ApplyRecordReq) (oaApplys []oa_model.OaApply, err error) { + + outWorkReq := new(oa.ApplyRecordReq) + err = copier.CopyWithOption(&outWorkReq, basicReq, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + outWorkReq.ApplyType = []string{ + oa_model.TypeOutWork, // 外勤 + } + outWorkReq.ApplyStatus = append(outWorkReq.ApplyStatus, e.ApprovalWorkStatusDoing) + outWorkApplyInfo := new(oa.ApplyRecordRes) + outWorkApplyInfo, err = service.GrpcOAImpl.QueryOaApply(context.Background(), outWorkReq) + if err != nil { + return nil, err + } + + oaApplys = make([]oa_model.OaApply, 0) + + err = copier.CopyWithOption(&oaApplys, outWorkApplyInfo.Data, copier.Option{DeepCopy: true}) + if err != nil { + return nil, err + } + + fmt.Println("外勤记录 ======================================") + fmt.Printf("%+v\n", oaApplys) + fmt.Println("外勤记录 ======================================") + + return +} + +func ConfirmActionType(c *gin.Context) { + + req := oa_model.ClockInReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ClockIn ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //in, err := service.ConfirmIsInCompany(req.Longitude, req.Latitude) + //if err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + // }) + // return + //} + + confirm := new(oa_model.ConfirmActionType) + // 组装 考勤班次信息 + userInfo := login.GetUserInfoFromC(c) + + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + nowTime := time.Now() + + times, err := service.WorkingTimeBest(0, queryTimeOptions) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrAttendanceMiss, + Status: e.Ok, + }) + return + } + + confirm.ActionType, confirm.WorkTime, confirm.OnOff, err = service.ConfirmActionTypeWithOaRecord(userInfo, nowTime, times) + + workTimeFull, _ := time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02")+" "+confirm.WorkTime+":00", time.Local) + + // 在 确认 打卡类型 之后 确认 申请类型 + //if !in { + // confirm.ActionType = oa_model.TypeOutWork + //} + + confirm.ApplyType, confirm.ApplyWorkTime, err = service.ConfirmApplyType(userInfo, workTimeFull, times) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: confirm, + Status: e.Ok, + }) +} + +func ConfirmActionTypeV1(c *gin.Context) { + + // 组装 考勤班次信息 + userInfo := login.GetUserInfoFromC(c) + //departmentUUIDs := make([]string, 0) + //for i := 0; i < len(userInfo.PositionUsers); i++ { + // departmentUUIDs = append(departmentUUIDs, strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10)) + //} + //listByDidReq := new(position.ListByDidRequest) + //listByDidReq.UserId = userInfo.ID + //listByDidRes, err := service.PositionProvider.ListByDid(context.Background(), listByDidReq) + //if err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Ok, + // }) + // return + //} + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + nowTime := time.Now() + var actionType string + var workTime string + + times, err := service.WorkingTimeBest(0, queryTimeOptions) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + // 查询 员工 当天的 考勤 记录 + oaRecordReq := new(oa.OARecordReq) + oaRecordReq.StaffUID = userInfo.ID + oaRecordReq.Dates = []string{time.Now().Format("2006-01-02")} + oaRecordReq.Page = 1 + oaRecordReq.PageSize = 9999 + oaRecordRes, err := service.GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var currentClickInTime time.Time + + if len(oaRecordRes.Data[len(oaRecordRes.Data)-len(oaRecordRes.Data)].Records) > 0 { // 获取 当天 最后一次打卡点 + hour := oaRecordRes.Data[len(oaRecordRes.Data)-len(oaRecordRes.Data)].Records[len(oaRecordRes.Data[len(oaRecordRes.Data)-len(oaRecordRes.Data)].Records)-1].WorkTime + currentClickInTime, _ = time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" "+hour+":00", time.Local) + } + + // 确认 打卡类型 考勤时间 注: 考勤规则 是 选择 最优的 考勤规则 会与 设置的考勤规则 有出入 + actionType, workTime = oa_logic.ConfirmActionTypeV2(nowTime, currentClickInTime, times) + + // 查询 oa 申请 请假 调休 + // 计算 考勤时间点 + applyReq := new(oa.ApplyRecordReq) + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeAbortLeave, + oa_model.TypeBreastFeedingLeave, + oa_model.TypeDayOff, // 调休 + oa_model.TypeOverTime, // 加班 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = time.Now().Format("2006-01-02") + applyReq.EndTime = time.Now().Format("2006-01-02") + applyReq.Page = 1 + applyReq.PageSize = 9999 + applyReq.StaffUID = userInfo.ID + applyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + workTimeFull, _ := time.ParseInLocation("2006-01-02 15:04:05", nowTime.Format("2006-01-02")+" "+workTime+":00", time.Local) + + if len(applyRes.Data) > 0 { + for i := 0; i < len(applyRes.Data); i++ { + var ( + applyStartTimeStr string + applyEndTimeStr string + applyStartTime time.Time + applyEndTime time.Time + ) + + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, applyRes.Data[i].ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTimeV2(applyTimes, times) + + applyStartTime, _ = time.ParseInLocation("2006-01-02 15:04:05", applyStartTimeStr, time.Local) + applyEndTime, _ = time.ParseInLocation("2006-01-02 15:04:05", applyEndTimeStr, time.Local) + + if !workTimeFull.Before(applyStartTime) && !workTimeFull.After(applyEndTime) { + actionType = applyRes.Data[i].ApplyType + break + } + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: actionType + " " + workTime, + Status: e.Ok, + }) +} + +func MissRecordForMakeUpV1(c *gin.Context) { + req := new(oa.MissRecordReq) + + userInfo := login.GetUserInfoFromC(c) + req.StaffUID = userInfo.ID + + req.Date = time.Now().Format("2006-01-02") + + res, err := service.GrpcOAImpl.MissRecordForMakeUp(context.Background(), req) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = userInfo.ID + applyReq.ApplyType = []string{ + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk} + now, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02 15:04:05"), time.Local) + applyReq.BeginTime = now.AddDate(0, 0, -1).Format("2006-01-02") + applyReq.EndTime = now.Format("2006-01-02") + applyReq.Page = 1 + applyReq.PageSize = 1000 + apply, err := service.GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(apply.Data) == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Data: res, + Status: e.Ok, + }) + return + } + + missMap := make(map[string]string, 0) + + for j := 0; j < len(apply.Data); j++ { + missMap[strings.Join([]string{apply.Data[j].ApplyTimes[0].Date, apply.Data[j].ApplyTimes[0].Hour}, " ")] = strings.Join([]string{apply.Data[j].ApplyTimes[0].Date, apply.Data[j].ApplyTimes[0].Hour}, " ") + } + + newRes := new(oa.MissRecordForMakeUpRes) + newRes.MissRecord = make([]string, 0) + newRes.Msg = res.Msg + for i := 0; i < len(res.MissRecord); i++ { + + if _, ok := missMap[res.MissRecord[i]]; ok { + continue + } + + newRes.MissRecord = append(newRes.MissRecord, res.MissRecord[i]) + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: newRes.Msg, + Data: newRes, + Status: e.Ok, + }) + +} + +func MissRecordForMakeUpV2(c *gin.Context) { + req := new(oa.OtherRecordReq) + + userInfo := login.GetUserInfoFromC(c) + req.StaffUID = userInfo.ID + + now, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02 15:04:05"), time.Local) + // 0318 之前的逻辑 + //req.StartDate = now.AddDate(0, 0, -1).Format("2006-01-02") + //req.EndDate = now.Format("2006-01-02") + + // 0318 当月的缺卡记录 + var month string + if now.Day() > 25 { + month = now.AddDate(0, 1, 0).Format("2006-01") + month = month + "-25" + } else { + month = now.Format("2006-01") + month = month + "-25" + } + + dates := holiday.SplitMonthV1(month, "2006-01-02") + req.StartDate = dates[len(dates)-len(dates)] + req.EndDate = dates[len(dates)-1] + + req.ActionType = []string{oa_model.TypeMiss} + req.Page = 1 + req.PageSize = 9999 + + res, err := service.GrpcOAImpl.OtherRecord(context.Background(), req) // 查询 缺卡记录 + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + miss := make([]string, 0) + missMap := make(map[string]string, 0) + timeOptionsMap := make(map[string][]*oa.TimeOption, 0) + // 整理 缺卡 记录 + records := make([]*oa.OAProfile, 0) + for i := 0; i < len(res.Data); i++ { + // 0318 不需要再对比了 + //if res.Data[i].WorkDate == req.StartDate { // workDate 是 前一天 那么就比对 workTime 是不是 最后一次 下班打卡 时间 是就添加 不是就 跳过 + // if res.Data[i].WorkTime != res.Data[i].Time[len(res.Data[i].Time)-1].OffWorkTime { + // continue + // } + //} + + miss = append(miss, strings.Join([]string{res.Data[i].WorkDate, res.Data[i].WorkTime}, " ")) + records = append(records, res.Data[i]) + missMap[strings.Join([]string{res.Data[i].WorkDate, res.Data[i].WorkTime}, " ")] = strings.Join([]string{res.Data[i].WorkDate, res.Data[i].WorkTime}, " ") + timeOptionsMap[res.Data[i].WorkDate] = res.Data[i].Time + } + + sort.Strings(miss) + + fmt.Println("================================ miss for makeUp =======================================") + fmt.Printf("missMap : %+v \n", missMap) + fmt.Printf("timeOptionsMap : %+v \n", timeOptionsMap) + fmt.Printf("records : %+v \n", records) + fmt.Println("================================ miss for makeUp =======================================") + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = userInfo.ID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeDayOff, // 调休 + //oa_model.TypeOverTime, // 加班 + //oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk} + //applyReq.BeginTime = now.AddDate(0, 0, -1).Format("2006-01-02") + //applyReq.EndTime = now.Format("2006-01-02") + applyReq.BeginTime = dates[len(dates)-len(dates)] + applyReq.EndTime = dates[len(dates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + apply, err := service.GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(apply.Data) == 0 { + goto end + } + + for i := 0; i < len(records); i++ { + missTime, _ := time.ParseInLocation("2006-01-02 15:04:05", records[i].WorkDate+" "+records[i].WorkTime+":00", time.Local) + for j := 0; j < len(apply.Data); j++ { + // 判断 缺卡的 日期 在 申请的 日期内 + if apply.Data[j].ApplyType == oa_model.TypeMakeUp { + if apply.Data[j].ApplyTimes[len(apply.Data[j].ApplyTimes)-len(apply.Data[j].ApplyTimes)].Date == records[i].WorkDate && apply.Data[j].ApplyTimes[len(apply.Data[j].ApplyTimes)-len(apply.Data[j].ApplyTimes)].Hour == records[i].WorkTime { + missMap[strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ")] = "" + } + } else { + if len(apply.Data[j].ApplyTimes) == 2 { + var ( + startTime time.Time + endTime time.Time + ) + if apply.Data[j].ApplyTimes[0].Hour != "" { + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[0].Date+" "+apply.Data[j].ApplyTimes[0].Hour+":00", time.Local) + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[1].Date+" "+apply.Data[j].ApplyTimes[1].Hour+":00", time.Local) + if !startTime.After(missTime) && !endTime.Before(missTime) { + missMap[strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ")] = "" + } + } else { + var ( + startHour string + endHour string + applyStartDate string + applyEndDate string + ) + if timeOptionsMap[apply.Data[j].ApplyTimes[0].Date] == nil { + applyStartDate = req.StartDate + } else { + applyStartDate = apply.Data[j].ApplyTimes[0].Date + } + + if timeOptionsMap[apply.Data[j].ApplyTimes[1].Date] == nil { + applyEndDate = req.EndDate + } else { + applyEndDate = apply.Data[j].ApplyTimes[1].Date + } + if apply.Data[j].ApplyTimes[0].M == "上午" { + startHour = timeOptionsMap[applyStartDate][0].OnWorkTime + } else { + if len(timeOptionsMap[applyStartDate]) == 1 { + startHour = "12:00" + } else if len(timeOptionsMap[applyStartDate]) == 2 { + startHour = timeOptionsMap[applyStartDate][1].OnWorkTime + } + } + + if apply.Data[j].ApplyTimes[1].M == "上午" { + if len(timeOptionsMap[applyStartDate]) == 1 { + endHour = "12:00" + } else if len(timeOptionsMap[applyStartDate]) == 2 { + endHour = timeOptionsMap[applyStartDate][0].OffWorkTime + } + } else { + if len(timeOptionsMap[applyEndDate]) == 1 { + endHour = timeOptionsMap[applyEndDate][0].OffWorkTime + } else if len(timeOptionsMap[applyEndDate]) == 2 { + endHour = timeOptionsMap[applyEndDate][1].OffWorkTime + } + } + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[0].Date+" "+startHour+":00", time.Local) + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[1].Date+" "+endHour+":00", time.Local) + if !startTime.After(missTime) && !endTime.Before(missTime) { + missMap[strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ")] = "" + } + } + } + } + } + } + +end: + + newRes := new(oa.MissRecordForMakeUpRes) + newRes.MissRecord = make([]string, 0) + //for k, v := range missMap { + // if v != "" { + // newRes.MissRecord = append(newRes.MissRecord, k) + // } + //} + + // 排序 + for i := 0; i < len(miss); i++ { + if missMap[miss[i]] != "" { + newRes.MissRecord = append(newRes.MissRecord, missMap[miss[i]]) + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: newRes.Msg, + Data: newRes, + Status: e.Ok, + }) + +} + +func SystemMakeUp(c *gin.Context) { + req := new(oa.SystemMakeUpReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SystemMakeUp ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.StaffUID == 0 || req.WorkTime == "" || req.WorkDate == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrMissSystemMakeUpParam, + Status: e.Failed, + }) + return + } + + if req.ActionTime != req.WorkTime { + if common.ConvertWorkDateAndWorkTime(req.ActionDate, req.ActionTime).Before(common.ConvertWorkDateAndWorkTime(req.ActionDate, common.NotWorkDayWorkTimeOn())) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrActionTimeNotBeforeNextDateFour, + Status: e.Failed, + }) + return + } + } + + res, err := service.GrpcOAImpl.SystemMakeUp(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa/oa_apply.go b/pkg/service/oa/oa_apply.go new file mode 100644 index 0000000..88b7b88 --- /dev/null +++ b/pkg/service/oa/oa_apply.go @@ -0,0 +1,123 @@ +package oa + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" +) + +func QueryLeaveApplyInfo(c *gin.Context) { + req := oaApi.LeaveApplyInfoReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("LeaveApplyInfoReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.StaffUID == 0 { + userInfo := login.GetUserInfoFromC(c) + + //提交人 + req.StaffUID = userInfo.ID + } + + //req.SubmitterID = userInfo.ID + + req.LeaveApplyType = e.CheckLeaveApplyMap[req.LeaveApplyType] + if req.LeaveApplyType == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.NotNeedUseLeave, + Status: e.Ok, + }) + return + } + + leaveApplyInfo, err := service.GrpcOAImpl.QueryLeaveApplyInfo(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: leaveApplyInfo.Msg, + Data: leaveApplyInfo, + Status: e.Ok, + }) + +} + +func QueryOaApply(c *gin.Context) { + req := new(oaApi.ApplyRecordReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("QueryOaApply ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //if req.StaffUID == 0 { + // userInfo := login.GetUserInfoFromC(c) + // + // //提交人 + // req.StaffUID = userInfo.ID + //} + + queryOaApplyRes := new(oaApi.ApplyRecordRes) + + queryOaApplyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Data: queryOaApplyRes, + Status: e.Ok, + }) + return + } + // + //fmt.Println() + //fmt.Println("============================= queryOaApplyRes =============================") + //fmt.Printf("%+v\n", queryOaApplyRes) + //fmt.Println("============================= queryOaApplyRes =============================") + //fmt.Println() + + oaApply := new(oa_model.OaApplyRes) + oaApply.Data = make([]*oa_model.OaApply, 0) + copier.CopyWithOption(&oaApply, queryOaApplyRes, copier.Option{DeepCopy: true}) + for i := 0; i < len(oaApply.Data); i++ { + oaApply.Data[i].ApplyTypeZhCN = oa_model.TypeZhCN[oaApply.Data[i].ApplyType] + rulesRequest := new(rule.RulesRequest) + rulesRequest.AccountID = oaApply.Data[i].StaffUID + rulesRes, err := service.RuleProvider.UserInfo(context.Background(), rulesRequest) + if err == nil { + for j := 0; j < len(rulesRes.PositionUsers); j++ { + if j == 0 { + oaApply.Data[i].PositionName = rulesRes.PositionUsers[j].PositionName + } else { + oaApply.Data[i].PositionName = oaApply.Data[i].PositionName + "," + rulesRes.PositionUsers[j].PositionName + } + } + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: queryOaApplyRes.Msg, + Data: oaApply, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa/oa_collection.go b/pkg/service/oa/oa_collection.go new file mode 100644 index 0000000..b7a9848 --- /dev/null +++ b/pkg/service/oa/oa_collection.go @@ -0,0 +1,1493 @@ +package oa + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + account2 "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "math" + "strconv" + "strings" + "time" +) + +/* + 考勤状态 出勤天数(实际打卡天数,有迟到、早退、正常打卡的,都算) 平均工时 休息( 总天数 - 出勤天数) 缺卡次数 补卡次数 迟到次数 早退次数 旷工 外勤 加班时长 请假次数 + 参数 : 月份 ( 2023-01 ) +*/ + +func AttendanceCollectionV1(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + /* ES 操作 */ + //go es.BulkIndexAccountInfo(es.OaIndex) + /* ES 操作 */ + + collectionRes := new(oa_model.AttendanceCollectionRes) + collectionRes.Staffs = make([]oa_model.StaffCollection, 0) + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-25" + } + + // 查询 月份在 当前 月之后 则返回空 + if service.CheckMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionRes, + Status: e.Ok, + }) + return + } + + dates := make([]string, 0) + //if req.Month == time.Now().Format("2006-01") { + // dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + //} else { + dates = holiday.SplitMonthV1(month, "2006-01-02") + //} + + var err error + + if req.DepartmentName != "" || req.StaffName != "" || req.Status != 0 { + oaMonthReq := new(oa.OaMonthReq) + _ = copier.CopyWithOption(&oaMonthReq, req, copier.Option{DeepCopy: true}) + oaMonthReq.Page = 1 + oaMonthReq.PageSize = 99999 + oaMonthRes, err := service.GrpcOAImpl.QueryOaMonthInfoIsBatch(context.Background(), oaMonthReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaMonth, + Status: e.Failed, + }) + } + for i := 0; i < len(oaMonthRes.OaMonths); i++ { + if oaMonthRes.OaMonths[i].Status == true { + collectionRes.FullAttendance += 1 + } else { + collectionRes.Abnormal += 1 + } + collectionRes.OutWorkTotal += oaMonthRes.OaMonths[i].OutWork + collectionRes.MakeUpTotal += oaMonthRes.OaMonths[i].MakeUp + + staffCollection := new(oa_model.StaffCollection) + _ = copier.CopyWithOption(&staffCollection, oaMonthRes.OaMonths[i], copier.Option{DeepCopy: true}) + collectionRes.Staffs = append(collectionRes.Staffs, *staffCollection) + } + + goto end + } + + err = service.AttendanceCollectionHandleV1(collectionRes, month, dates) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + +end: + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionRes, + Status: e.Ok, + }) +} + +func AttendanceCollectionV2(c *gin.Context) { + req := oa.OaMonthReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + /* ES 操作 */ + //go es.BulkIndexAccountInfo(es.OaIndex) + /* ES 操作 */ + + collectionRes := new(oa_model.AttendanceCollectionRes) + collectionRes.Staffs = make([]oa_model.StaffCollection, 0) + + oAMonth, err := service.GrpcOAImpl.QueryOaMonthInfoIsBatch(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaMonth, + Status: e.Failed, + }) + return + } + + oaMonthCollectionReq := new(oa.OaMonthReq) + oaMonthCollectionReq.Month = req.Month + oaMonthCollectionRes, err := service.GrpcOAImpl.QueryOaMonthInfoIsBatch(context.Background(), oaMonthCollectionReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaMonth, + Status: e.Failed, + }) + return + } + + for i := 0; i < len(oAMonth.OaMonths); i++ { + staffCollection := new(oa_model.StaffCollection) + _ = copier.CopyWithOption(&staffCollection, oAMonth.OaMonths[i], copier.Option{DeepCopy: true}) + collectionRes.Staffs = append(collectionRes.Staffs, *staffCollection) + } + + if oAMonth.Total != 0 { + collectionRes.Total = oAMonth.Total + } + + for i := 0; i < len(oaMonthCollectionRes.OaMonths); i++ { + if oaMonthCollectionRes.OaMonths[i].Status == true { + collectionRes.FullAttendance += 1 + } else { + collectionRes.Abnormal += 1 + } + collectionRes.OutWorkTotal += oaMonthCollectionRes.OaMonths[i].OutWork + collectionRes.MakeUpTotal += oaMonthCollectionRes.OaMonths[i].MakeUp + } + + //go func(month string) { + // saveCollectionRes := new(oa_model.AttendanceCollectionRes) + // saveCollectionRes.Staffs = make([]oa_model.StaffCollection, 0) + // err = service.AttendanceCollectionHandleV1(saveCollectionRes, month+"-25", holiday.SplitMonthV1(month+"-25", "2006-01-02")) + // if err != nil { + // logger.Errorf("AttendanceCollectionHandleV1 err is : %v", err.Error()) + // return + // } + // + // batch := new(oa.SaveOaMonthIsBatch) + // saveOaMonths := make([]*oa.OaMonth, 0) + // + // for i := 0; i < len(saveCollectionRes.Staffs); i++ { + // saveOaMonth := new(oa.OaMonth) + // err = copier.CopyWithOption(&saveOaMonth, saveCollectionRes.Staffs[i], copier.Option{DeepCopy: true}) + // if saveOaMonth.StaffUID == 89 { + // fmt.Println("================================================== saveOaMonth ================================================== ") + // fmt.Println("saveOaMonth.StaffUID is : ", saveOaMonth.StaffUID) + // fmt.Printf("saveOaMonth is : %+v", saveOaMonth) + // fmt.Println("================================================== saveOaMonth ================================================== ") + // } + // if err != nil { + // logger.Error(" copier.CopyWithOption(&saveOaMonth, collectionRes.Staffs[i], copier.Option{DeepCopy: true}) err", err.Error()) + // return + // } + // saveOaMonth.Date = time.Now().Format("2006-01-02 15:04:05") + // saveOaMonth.Month = month + // saveOaMonth.PositionName = saveCollectionRes.Staffs[i].PositionName + // saveOaMonth.DepartmentName = saveCollectionRes.Staffs[i].DepartmentName + // saveOaMonths = append(saveOaMonths, saveOaMonth) + // } + // batch.OaMonths = saveOaMonths + // saveRes, saveErr := service.GrpcOAImpl.SaveOaMonthInfoIsBatch(context.Background(), batch) + // if saveErr != nil { + // logger.Error(" SaveOaMonthInfoIsBatch interface err", saveErr.Error()) + // } + // + // if saveRes.Msg != "" { + // logger.Error(" SaveOaMonthInfoIsBatch return err", saveRes.Msg) + // } + // + //}(req.Month) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionRes, + Status: e.Ok, + }) +} + +func _AttendanceCollectionHandle(c *gin.Context, collectionRes *oa_model.AttendanceCollectionRes, month string) error { + dates := holiday.SplitMonth(month, "2006-01-02") + // 获取 员工 列表 + accountReq := new(account.ListRequest) + accountReq.Domain = "fontree" + accountReq.Page = 1 + accountReq.PageSize = 9999 + accountRes, err := service.AccountProvider.List(context.Background(), accountReq) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return err + } + + //查询部门 + puRequest := &rule.PositionUserListRequest{} + puRes, err := service.RuleProvider.PositionUserList(context.Background(), puRequest) + + if err != nil { + //service.Error(c, e.Error, err) + return err + } + + for i := 0; i < len(accountRes.Data); i++ { + for j := 0; j < len(puRes.Data); j++ { + if accountRes.Data[i].ID == puRes.Data[j].UserId { + accountRes.Data[i].Positions = append(accountRes.Data[i].Positions, &account.PositionUser{PositionName: puRes.Data[j].DepartmentName}) + } + } + } + + //holidayRes := make([]*holiday.RespData, 0) + + // 获取 休息天数 总天数 - 工作天数 (注:周一到周五 法定调休 均为 工作日) + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(dates[0]), holiday.ConvertTime(dates[len(dates)-1]), true) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return err + } + + // 获取 工作周期 + userInfo := login.GetUserInfoFromC(c) + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + startDay, endDay, err := service.WorkingTimeWeekBest(queryTimeOptions) + if err != nil { + fmt.Println("WorkDays err is :", err.Error()) + return err + } + + isWeek := make(map[int]int, 0) + + for i := startDay; i <= endDay; i++ { + isWeek[i] = i + } + + commonWorkDays := holiday.GetCommonWorkDays(holidayRes, isWeek) + + restDays := len(holidayRes) - len(commonWorkDays) + + fmt.Println("step ============================== 01 ============================== ") + + outWorkDates := holiday.SplitMonth(month, "2006-01-02") + + // 获取 每位员工的 信息 + for i := 0; i < len(accountRes.Data); i++ { + collection := new(oa_model.StaffCollection) + collection, err = service.StaffAttendanceCollectionHandleV2(accountRes.Data[i].ID, month, dates, restDays, []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusFail}, outWorkDates) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return err + } + + if collection.OutWork != 0 { + collectionRes.OutWorkTotal += collection.OutWork + } + + if collection.MakeUp != 0 { + collectionRes.MakeUpTotal += 1 + } + + if collection.Status { + collectionRes.FullAttendance += 1 + } else { + collectionRes.Abnormal += 1 + } + + // 算旷工时 会把 休息日算上 所以 要 减去 休息日(基础) + collection.MissDay = collection.MissDay - int32(restDays) + + collection.StaffName = accountRes.Data[i].NickName + + positionNames := make([]string, 0) + + for j := 0; j < len(accountRes.Data[i].Positions); j++ { + positionNames = append(positionNames, accountRes.Data[i].Positions[j].PositionName) + } + + collection.PositionName = strings.Join(positionNames, ",") + + fmt.Printf("前 判断 collection info 内容: %+v", collection) + fmt.Println() + + if collection.Miss == 0 && collection.Late == 0 && collection.Before == 0 && collection.MissDay == 0 { + fmt.Printf("后 判断 collection info 内容: %+v", collection) + fmt.Println() + collection.Status = true + } else { + collection.Status = false + } + + collectionRes.Staffs = append(collectionRes.Staffs, *collection) + fmt.Println("step ============================== 03 ============================== ") + fmt.Printf(" 请假 collection is : %+v \n", collection) + fmt.Println("step ============================== 03 ============================== ") + } + + fmt.Println("step ============================== 04 ============================== ") + + return nil +} + +// StaffAttendanceCollection +// 数量统计 +func StaffAttendanceCollectionV1(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.Info{} + + if req.StaffUID == 0 { + userInfo = login.GetUserInfoFromC(c) + req.StaffUID = userInfo.ID + } else { + res, err := account2.GetUserInfoById(c, req.StaffUID, "") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo.ID = res.ID + userInfo.PositionUsers = res.PositionUsers + userInfo.NickName = res.NickName + } + + collection := new(oa_model.StaffCollection) + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-25" + } + + fmt.Println("month is :== ", month) + + /*// 查询 月份在 当前 月之后 则返回空 + if checkMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collection, + Status: e.Ok, + }) + return + }*/ + + dates := make([]string, 0) + outWorkDates := make([]string, 0) + //if req.Month == time.Now().Format("2006-01") { + // dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + //} else { + dates = holiday.SplitMonthV1(month, "2006-01-02") + //} + + outWorkDates = holiday.SplitMonthV1(month, "2006-01-02") + + // 获取 休息天数 总天数 - 工作天数 (注:周一到周五 法定调休 均为 工作日) + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(dates[0]), holiday.ConvertTime(dates[len(dates)-1]), true) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryMultiData, + Status: e.Failed, + }) + return + } + + // 获取 工作周期 + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + startDay, endDay, err := service.WorkingTimeWeekBest(queryTimeOptions) + if err != nil { + fmt.Println("WorkingTimeWeekBest err is :", err.Error()) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + isWeek := make(map[int]int, 0) + + for i := startDay; i <= endDay; i++ { + isWeek[i] = i + } + + //commonWorkDays := holiday.GetCommonWorkDays(holidayRes, isWeek) + + restDays := 0 + + for j := 0; j < len(holidayRes); j++ { + if !holidayRes[j].IsToday { + if holidayRes[j].Type != 0 { + restDays++ + } + } else { + break + } + } + + collection, err = service.StaffAttendanceCollectionHandleV2(req.StaffUID, month, dates, restDays, []int32{e.ApprovalWorkStatusOk}, outWorkDates) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if service.CheckMonthIsAfter(month) { + collection.RestDays = 0 + } + + // 算旷工时 会把 休息日算上 所以 要 减去 休息日 + //collection.MissDay = collection.MissDay - int32(restDays) + + collection.StaffName = userInfo.NickName + + positionNames := make([]string, 0) + + for j := 0; j < len(userInfo.PositionUsers); j++ { + positionNames = append(positionNames, userInfo.PositionUsers[j].PositionName) + } + + collection.PositionName = strings.Join(positionNames, ",") + + //go func(saveCollection *oa_model.StaffCollection, saveMonth string) { + // + // if saveCollection == nil { + // return + // } + // + // batch := new(oa.SaveOaMonthIsBatch) + // saveOaMonths := make([]*oa.OaMonth, 0) + // saveOaMonth := new(oa.OaMonth) + // err = copier.CopyWithOption(&saveOaMonth, saveCollection, copier.Option{DeepCopy: true}) + // saveOaMonth.Date = time.Now().Format("2006-01-02 15:04:05") + // saveOaMonth.Month = saveMonth + // saveOaMonths = append(saveOaMonths, saveOaMonth) + // batch.OaMonths = saveOaMonths + // + // saveRes, saveErr := service.GrpcOAImpl.SaveOaMonthInfoIsBatch(context.Background(), batch) + // if saveErr != nil { + // logger.Error(" SaveOaMonthInfoIsBatch interface err", saveErr.Error()) + // } + // + // if saveRes.Msg != "" { + // logger.Error(" SaveOaMonthInfoIsBatch return err", saveRes.Msg) + // } + // + //}(collection, req.Month) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collection, + Status: e.Ok, + }) +} + +func _staffAttendanceCollectionHandle(staffUID uint64, month string, dates []string, restDays int) (collection *oa_model.StaffCollection, err error) { + collection = new(oa_model.StaffCollection) + collection, err = service.StaffCollectionClickInV2(staffUID, month, dates) + if err != nil { + return nil, err + } + + fmt.Println("step ============================== 02 ============================== ") + fmt.Printf(" 打卡 collection is : %+v \n", collection) + fmt.Println("step ============================== 02 ============================== ") + + collection.RestDays = int32(restDays) + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = collection.StaffUID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeDayOff, // 调休 + oa_model.TypeOverTime, // 加班 + oa_model.TypeOutWork, // 外勤 + //oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = dates[0] + applyReq.EndTime = dates[len(dates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + applyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return nil, err + } + + for i := 0; i < len(applyRes.Data); i++ { + if applyRes.Data[i].ApplyType == oa_model.TypeLeave || + applyRes.Data[i].ApplyType == oa_model.TypeSick || + applyRes.Data[i].ApplyType == oa_model.TypeAnnualLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaritalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMatingCheckLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypePaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypeParentalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeNursingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeFuneralLeave { + collection.Leave += 1 + } + + if applyRes.Data[i].ApplyType == oa_model.TypeDayOff { + collection.DayOff += 1 + } + if applyRes.Data[i].ApplyType == oa_model.TypeOverTime { + collection.OverWork += applyRes.Data[i].Hours + + // 判断 加班时间时候是 周末 如果是 则需要 在 工作日 +1 休息日 -1 + applyDate, err := holiday.GetSingleData(holiday.ConvertTime(applyRes.Data[i].ApplyTimes[0].Date), true) + if err != nil { + return nil, err + } + + if applyDate.Type != 0 { + collection.RestDays -= 1 + collection.WorkDays += 1 + } + } + if applyRes.Data[i].ApplyType == oa_model.TypeOutWork { + collection.OutWork += 1 + } + //if applyRes.Data[i].ApplyType == oa_model.TypeMakeUp { + // collection.MakeUp += 1 + //} + } + + fmt.Println("step ============================== 03 ============================== ") + fmt.Printf(" 审批 collection is : %+v \n", collection) + fmt.Println("step ============================== 03 ============================== ") + + return collection, nil +} + +// StaffAttendanceCollectionDetail +// 详情统计 +func StaffAttendanceCollectionDetailV1(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("StaffAttendanceCollectionDetail ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.StaffUID == 0 { + userInfo := login.GetUserInfoFromC(c) + + req.StaffUID = userInfo.ID + } + + collectionDetail := new(oa_model.CollectionDetailRes) + + fmt.Println("step : ================================= 1 =================================") + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-01" + } + + // 查询 月份在 当前 月之后 则返回空 + if service.CheckMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionDetail, + Status: e.Ok, + }) + return + } + + dates := make([]string, 0) + if req.Month == time.Now().Format("2006-01") { + dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + } else { + dates = holiday.SplitMonth(month, "2006-01-02") + } + + // 获取 休息天数 总天数 - 工作天数 (注:周一到周五 法定调休 均为 工作日) + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(dates[0]), holiday.ConvertTime(dates[len(dates)-1]), true) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryMultiData, + Status: e.Failed, + }) + return + } + holidayMap := make(map[string]*holiday.RespData, 0) + for i := 0; i < len(holidayRes); i++ { + var ( + yearStr string + dayStr string + monthStr string + ) + yearStr = strconv.Itoa(int(holidayRes[i].Year)) + if holidayRes[i].Day < 10 { + dayStr = "0" + strconv.Itoa(int(holidayRes[i].Day)) + } else { + dayStr = strconv.Itoa(int(holidayRes[i].Day)) + } + if holidayRes[i].Month < 10 { + monthStr = "0" + strconv.Itoa(int(holidayRes[i].Month)) + } else { + monthStr = strconv.Itoa(int(holidayRes[i].Month)) + } + holidayMap[yearStr+"-"+monthStr+"-"+dayStr] = holidayRes[i] + if holidayRes[i].Type > 0 { + collectionDetail.RestDays = append(collectionDetail.RestDays, oa_model.CommonInfo{ + Date: yearStr + "-" + monthStr + "-" + dayStr, + Weekly: oa_model.WeekZhCN[holidayRes[i].WeekDay], + }) + } + } + fmt.Println(holidayMap) + + fmt.Println("step : ================================= 2 =================================") + fmt.Println() + + // 获取 oa 申请 信息 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = req.StaffUID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeDayOff, // 调休 + oa_model.TypeOverTime, // 加班 + oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = dates[0] + applyReq.EndTime = dates[len(dates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + applyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaApply, + Status: e.Failed, + }) + return + } + + fmt.Println("applyRes ============================ start ======================================") + fmt.Printf("applyRes : %+v\n", applyRes) + fmt.Println("applyRes ============================ end ======================================") + fmt.Println() + + fmt.Println("step : ================================= 3 =================================") + fmt.Println() + + makeUp := make([]oa_model.CommonInfo, 0) + leave := make([]oa_model.CommonInfo, 0) + dayOff := make([]oa_model.CommonInfo, 0) + overWork := make([]oa_model.CommonInfo, 0) + outWork := make([]oa_model.CommonInfo, 0) + + for i := 0; i < len(applyRes.Data); i++ { + commonInfo := oa_model.CommonInfo{} + commonInfo.UUID = applyRes.Data[i].UUID + commonInfo.Hours = applyRes.Data[i].Hours + commonInfo.Days = applyRes.Data[i].Days + commonInfo.LeaveType = applyRes.Data[i].ApplyType + commonInfo.ApplyTimes = make([]*oa_model.ApplyTime, 0) + + weeklys := make([]string, 0) + for j := 0; j < len(applyRes.Data[i].ApplyTimes); j++ { + at := &oa_model.ApplyTime{ + Date: applyRes.Data[i].ApplyTimes[j].Date, + Hour: applyRes.Data[i].ApplyTimes[j].Hour, + M: applyRes.Data[i].ApplyTimes[j].M, + } + commonInfo.ApplyTimes = append(commonInfo.ApplyTimes, at) + fmt.Println("at.Date :", at.Date) + fmt.Println("holidayMap[at.Date] :", holidayMap[at.Date]) + //fmt.Println("holidayMap[at.Date].WeekDay :", holidayMap[at.Date].WeekDay) + if holidayMap[at.Date] != nil { + weeklys = append(weeklys, oa_model.WeekZhCN[holidayMap[at.Date].WeekDay]) + } else { + v, _ := holiday.GetCacheHolidayInfo([]string{strings.ReplaceAll(at.Date, "-", "")}) + if len(v) == 1 { + weeklys = append(weeklys, oa_model.WeekZhCN[v[0].WeekDay]) + } + } + } + if len(weeklys) == 1 { + commonInfo.Weekly = weeklys[0] + } else if len(weeklys) > 1 { + commonInfo.Weekly = strings.Join(weeklys, " - ") + } + + //copier.CopyWithOption(&commonInfo.ApplyTimes, applyRes.Data[i].ApplyTimes, copier.Option{DeepCopy: true}) + if applyRes.Data[i].ApplyType == oa_model.TypeMakeUp { + makeUp = append(makeUp, commonInfo) + } else if applyRes.Data[i].ApplyType == oa_model.TypeOverTime { + overWork = append(overWork, commonInfo) + } else if applyRes.Data[i].ApplyType == oa_model.TypeDayOff { + dayOff = append(dayOff, commonInfo) + } else if applyRes.Data[i].ApplyType == oa_model.TypeOutWork { + commonInfo.ApplyOutAddress = applyRes.Data[i].OutWorkAddress + outWork = append(outWork, commonInfo) + } else if applyRes.Data[i].ApplyType == oa_model.TypeLeave || + applyRes.Data[i].ApplyType == oa_model.TypeSick || + applyRes.Data[i].ApplyType == oa_model.TypeAnnualLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaritalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMatingCheckLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypePaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypeParentalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeNursingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeFuneralLeave { + leave = append(leave, commonInfo) + } + } + + fmt.Println("step : ================================= 4 =================================") + fmt.Println() + + collectionDetail.MakeUp = makeUp + collectionDetail.Leave = leave + collectionDetail.DayOff = dayOff + collectionDetail.OverWork = overWork + collectionDetail.OutWork = outWork + + fmt.Println("collectionDetail ============================ start ======================================") + fmt.Printf("collectionDetail : %+v\n", collectionDetail) + fmt.Println("collectionDetail ============================ end ======================================") + fmt.Println() + + // 打卡 记录 查询 统计 + recordReq := new(oa.OARecordReq) + recordReq.StaffUID = req.StaffUID + recordReq.Dates = dates + recordReq.Page = 1 + recordReq.PageSize = 9999 + recordRes, err := service.GrpcOAImpl.OARecord(context.Background(), recordReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("recordRes ============================ start ======================================") + fmt.Printf("recordRes : %+v\n", recordRes) + fmt.Println("recordRes ============================ end ======================================") + fmt.Println() + + averageHour := make([]oa_model.CommonInfo, 0) + workDays := make([]oa_model.CommonInfo, 0) + miss := make([]oa_model.CommonInfo, 0) + late := make([]oa_model.CommonInfo, 0) + before := make([]oa_model.CommonInfo, 0) + missDay := make([]oa_model.CommonInfo, 0) + + for i := 0; i < len(recordRes.Data); i++ { + var hours float64 + // 判断 是否是 旷工 + /* + 旷工: 考勤记录为空 且 workDate 为工作日 + 考勤记录不为空 且 考勤记录均为 miss + */ + if len(recordRes.Data[i].Records) == 0 { + res, err := holiday.GetSingleData(holiday.ConvertTime(recordRes.Data[i].WorkDate), true) + fmt.Println("recordRes.Data[i].Records == nil ============================ start ======================================") + fmt.Printf("recordRes.Data[i].Records == nil : %+v\n", res) + fmt.Println("recordRes.Data[i].Records == nil err :", err) + fmt.Println("recordRes.Data[i].Records == nil ============================ end ======================================") + fmt.Println() + if err == nil && res.Type == 0 { + missDay = append(missDay, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Days: 1, + }) + } + continue + } + + isMissDay := 0 + for k := 0; k < len(recordRes.Data[i].Records); k++ { + if recordRes.Data[i].Records[k].ActionType == oa_model.TypeMiss { + isMissDay += 1 + } + } + + if isMissDay == len(recordRes.Data[i].Records) { + missDay = append(missDay, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Days: 1, + }) + continue + } + // ========================= 旷工 ========================================== + + for j := 0; j < len(recordRes.Data[i].Records); j = j + 2 { + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeLate { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: strings.Split(recordRes.Data[i].Records[j].ActionTime, " ")[1], + } + late = append(late, commonInfo) + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeBefore { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: strings.Split(recordRes.Data[i].Records[j].ActionTime, " ")[1], + } + before = append(before, commonInfo) + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: recordRes.Data[i].Records[j].WorkTime, + } + miss = append(miss, commonInfo) + } + + if j+1 >= len(recordRes.Data[i].Records) { + break + } + + if recordRes.Data[i].Records[j+1].ActionType == oa_model.TypeMiss { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: recordRes.Data[i].Records[j+1].WorkTime, + } + miss = append(miss, commonInfo) + } + + fmt.Println("son step : ================================= 1 =================================") + fmt.Println() + + if recordRes.Data[i].Records[j+1].ActionType == oa_model.TypeLate { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: strings.Split(recordRes.Data[i].Records[j+1].ActionTime, " ")[1], + } + late = append(late, commonInfo) + } + + if recordRes.Data[i].Records[j+1].ActionType == oa_model.TypeBefore { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: strings.Split(recordRes.Data[i].Records[j+1].ActionTime, " ")[1], + } + before = append(before, commonInfo) + } + fmt.Println("son step : ================================= 2 =================================") + fmt.Println() + + // 判断是否是 缺卡 是 跳过 + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss || recordRes.Data[i].Records[j+1].ActionType == oa_model.TypeMiss { + continue + } + fmt.Println("son step : ================================= 3 =================================") + fmt.Println() + + // 成对 出现 + var startTime time.Time + var endTime time.Time + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j].ActionTime+":00", time.Local) + + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j+1].ActionTime+":00", time.Local) + + hours = hours + endTime.Sub(startTime).Hours() + fmt.Println("son step : ================================= 4 =================================") + fmt.Println("计算时长 : ", j, hours) + fmt.Println() + } + + if hours > 0 { + averageHour = append(averageHour, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Hours: service.HandleHourLeaveFive(hours), + }) + workDays = append(workDays, oa_model.CommonInfo{Date: recordRes.Data[i].WorkDate, Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay]}) + } + + if hours == 0 && isMissDay != len(recordRes.Data[i].Records) { + averageHour = append(averageHour, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Hours: 0, + }) + workDays = append(workDays, oa_model.CommonInfo{Date: recordRes.Data[i].WorkDate, Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay]}) + } + } + + fmt.Println("step : ================================= 5 =================================") + fmt.Println() + + collectionDetail.AverageHour = averageHour + collectionDetail.WorkDays = workDays + collectionDetail.Late = late + collectionDetail.Miss = miss + collectionDetail.Before = before + collectionDetail.MissDay = missDay + + fmt.Println("collectionDetail ============================ start ======================================") + fmt.Printf("collectionDetail : %+v\n", collectionDetail) + fmt.Println("collectionDetail ============================ end ======================================") + fmt.Println() + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionDetail, + Status: e.Ok, + }) +} + +func StaffAttendanceCollectionDetailV2(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("StaffAttendanceCollectionDetail ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.Info{} + + if req.StaffUID == 0 { + userInfo = login.GetUserInfoFromC(c) + req.StaffUID = userInfo.ID + } else { + res, err := account2.GetUserInfoById(c, req.StaffUID, "") + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryUser, + Status: e.Failed, + }) + return + } + userInfo.ID = res.ID + userInfo.PositionUsers = res.PositionUsers + userInfo.NickName = res.NickName + } + + collectionDetail := new(oa_model.CollectionDetailRes) + + fmt.Println("step : ================================= 1 =================================") + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-25" + } + + /*// 查询 月份在 当前 月之后 则返回空 + if checkMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionDetail, + Status: e.Ok, + }) + return + }*/ + + dates := make([]string, 0) + outWorkDates := make([]string, 0) + //if req.Month == time.Now().Format("2006-01") { + // dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + //} else { + dates = holiday.SplitMonthV1(month, "2006-01-02") + //} + outWorkDates = holiday.SplitMonthV1(month, "2006-01-02") + + fmt.Println("========================================== dates ========================================== ") + fmt.Printf("dates is :== %+v\n", dates) + fmt.Println("========================================== dates ========================================== ") + + var err error + collectionDetail, err = service.StaffCollectionDetail(dates, req.StaffUID, outWorkDates) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionDetail, + Status: e.Ok, + }) +} + +/* +出勤天数 平均工时 休息 缺卡 迟到 早退 旷工 外勤 +*/ +func _staffCollectionClickIn(staffUID uint64, month string, date []string) (collection *oa_model.StaffCollection, err error) { + collection = new(oa_model.StaffCollection) + + /* + // 查询 统计记录 + collection, err = findCollection(staffUID, month) + if err != nil { + return nil, err + } + */ + // 查询 考勤记录 + recordReq := new(oa.OARecordReq) + recordReq.StaffUID = staffUID + recordReq.Dates = date + recordReq.Page = 1 + recordReq.PageSize = 9999 + recordRes, err := service.GrpcOAImpl.OARecord(context.Background(), recordReq) + if err != nil { + return nil, err + } + + var ( + totalHour float64 // 时长 + hourDay float64 // 用于 计算 平均工时 + workDays int32 // 用于 统计 考勤天数 + missDay int32 // 旷工次数 + outWork int32 // 外勤次数 + late int32 // 迟到次数 + before int32 // 早退次数 + miss int32 // 缺卡次数 + makeUp int32 // 补卡次数 + ) + + // 不计入 totalHour 的 不参与 平均工时计算 + for i := 0; i < len(recordRes.Data); i++ { + // 缺卡 缺卡次数 和 考勤班次 次数一致 则 算旷工 + var ( + isMissDay bool = true + //isWork bool = false + //isOut bool = false + //isLate bool = false + //isBefore bool = false + hours float64 + ) + + for j := 0; j < len(recordRes.Data[i].Records); j++ { + // 用于 确认是否 旷工 + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss { + miss += 1 + isMissDay = true + //isWork = false + } else { + isMissDay = false + //isWork = true + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeOutWork { + outWork += 1 + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeLate { + late += 1 + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeBefore { + before += 1 + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMakeUp { + makeUp += 1 + } + } + + if isMissDay { + missDay += 1 + } else { + workDays += 1 + } + + //fmt.Println("========================================== recordRes.Data[i].Records ========================================== ") + //fmt.Printf("recordRes.Data[i].Records is : %+v \n", recordRes.Data[i].Records) + //fmt.Println("========================================== recordRes.Data[i].Records =========================================== ") + //fmt.Println() + + // 统计工时 没有 完整的 上下班 打卡 记录 则 不计算 平均工时 + for j := 0; j < len(recordRes.Data[i].Records); j = j + 2 { + + if j+1 >= len(recordRes.Data[i].Records) { + break + } + + // 判断是否是 缺卡 是 跳过 + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss || recordRes.Data[i].Records[j+1].ActionType == oa_model.TypeMiss { + continue + } + + // 成对 出现 + //now := time.Now().Format("2006-01-02") + var startTime time.Time + var endTime time.Time + //if recordRes.Data[i].Records[j].ActionType != oa_model.TypeCommon { + // startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", now+" "+recordRes.Data[i].Records[j].WorkTime+":00", time.Local) + //} else { + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j].ActionTime+":00", time.Local) + //} + + //if recordRes.Data[i].Records[j+1].ActionType != oa_model.TypeCommon { + // endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", now+" "+recordRes.Data[i].Records[j+1].WorkTime+":00", time.Local) + //} else { + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j+1].ActionTime+":00", time.Local) + //} + + //fmt.Println("========================================== startTime endTime ========================================== ") + //fmt.Println("startTime is : ", startTime) + //fmt.Println("endTime is : ", endTime) + //fmt.Println("========================================== startTime endTime ========================================== ") + //fmt.Println() + + hours = hours + endTime.Sub(startTime).Hours() + //fmt.Println("========================================== hours ========================================== ") + //fmt.Println("hours is : ", hours) + //fmt.Println("========================================== hours ========================================== ") + //fmt.Println() + //j = j + 2 + } + + if hours > 0 { + hourDay += 1 + totalHour += hours + } + } + + collection.StaffUID = staffUID + collection.WorkDays = workDays + collection.Miss = miss + collection.MakeUp = makeUp + collection.Late = late + collection.Before = before + collection.MissDay = missDay + collection.OutWork = outWork + + //fmt.Println("========================================== totalHour hourDay ========================================== ") + //fmt.Println("totalHour is : ", totalHour) + //fmt.Println("hourDay is : ", hourDay) + //fmt.Println("========================================== totalHour hourDay = ========================================== ") + //fmt.Println() + + if totalHour != 0 && hourDay != 0 { + averageHour, _ := strconv.ParseFloat(strconv.FormatFloat(math.Trunc(totalHour/hourDay*math.Pow10(1))/math.Pow10(1), 'f', -1, 64), 64) + //fmt.Println("========================================== averageHour ========================================== ") + //fmt.Println("averageHour is : ", averageHour) + //fmt.Println("========================================== averageHour ========================================== ") + //fmt.Println() + collection.AverageHour = float32(averageHour) + } + + if collection.Miss != 0 || collection.Late != 0 || collection.Before != 0 || collection.MissDay != 0 { + collection.Status = false + } + return +} + +func findCollection(staffUID uint64, month string) (collection *oa_model.StaffCollection, err error) { + req := new(oa.OaMonthReq) + req.StaffUID = append(req.StaffUID, staffUID) + // 将 month 由 2023-01-01 -> 2023-01 + m, _ := time.ParseInLocation("2006-01-02", month, time.Local) + req.Month = m.Format("2006-01") + res, err := service.GrpcOAImpl.QueryOaMonthInfo(context.Background(), req) + if err != nil { + return nil, err + } + collection = new(oa_model.StaffCollection) + copier.CopyWithOption(&collection, res, copier.Option{DeepCopy: true}) + return collection, nil +} + +// QueryAbnormal +// 查询 异常 (审批未通过的 缺卡、迟到、早退的考勤记录) +func QueryAbnormal(c *gin.Context) { + req := oa_model.AbnormalReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AbnormalReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.StaffUID == 0 { + userInfo := login.GetUserInfoFromC(c) + + //提交人 + req.StaffUID = userInfo.ID + } + + abnormals := make([]oa_model.AbnormalRes, 0) + + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = req.StaffUID + applyReq.ApplyStartTime = req.StartDate + " 00:00:00" + applyReq.ApplyEndTime = req.EndDate + " 23:59:59" + //applyReq.Page = req.Page + //applyReq.PageSize = req.PageSize + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusFail} + applyRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaApply, + Status: e.Failed, + }) + return + } + + for i := 0; i < len(applyRes.Data); i++ { + abnormals = append(abnormals, oa_model.AbnormalRes{ + UUID: applyRes.Data[i].UUID, + Date: applyRes.Data[i].ActionTime, + AbnormalType: applyRes.Data[i].ApplyType, + Description: "未通过", + }) + } + + abnormalRecordReq := new(oa.AbnormalRecordReq) + abnormalRecordReq.StaffUID = req.StaffUID + abnormalRecordReq.StartDate = req.StartDate + abnormalRecordReq.EndDate = req.EndDate + abnormalRecordReq.Page = 1 + abnormalRecordReq.PageSize = 9999 + abnormalRecordRes, err := service.GrpcOAImpl.AbnormalRecord(context.Background(), abnormalRecordReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryAbnormalOaRecord, + Status: e.Failed, + }) + return + } + + for i := 0; i < len(abnormalRecordRes.Data); i++ { + abnormals = append(abnormals, oa_model.AbnormalRes{ + UUID: abnormalRecordRes.Data[i].UUID, + Date: abnormalRecordRes.Data[i].WorkDate + " " + abnormalRecordRes.Data[i].WorkTime, + AbnormalType: abnormalRecordRes.Data[i].ActionType, + Description: oa_model.TypeZhCN[abnormalRecordRes.Data[i].ActionType], + }) + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: abnormals, + Status: e.Ok, + }) +} + +func QueryOther(c *gin.Context) { + req := oa.OtherRecordReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("QueryOther ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.Page == 0 { + req.Page = 1 + } + + if req.PageSize == 0 { + req.PageSize = 99999 + } + + res, err := service.GrpcOAImpl.OtherRecord(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaRecord, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: res, + Status: e.Ok, + }) +} + +/* + 用于 判断 oaMonth 中 生成数据时间 和 统计的月份 是否一致 + 如果 一致 则 更新 + 不一致 则 不更新 +*/ + +func checkMonthIsCurrent(month string) bool { + queryMonth, _ := time.ParseInLocation("2006-01-02 15:04:05", month+" 00:00:00", time.Local) + currentMonth, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01")+"-01"+" 00:00:00", time.Local) + return queryMonth.Equal(currentMonth) +} + +// MakeUpNum +// 查询 已补卡 及 剩余补卡次数 +func MakeUpNum(c *gin.Context) { + + req := oa_model.MakeUpNumReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("MakeUpNumReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 补卡总数 + makeUpNumReq := oa.OaSettingReq{} + makeUpNumReq.Keyword = e.MakeUpNum + + makeUpNumRes, err := service.GrpcOAImpl.QueryOaSetting(context.Background(), &makeUpNumReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaSetting, + Status: e.Failed, + }) + return + } + + totalNum := int64(makeUpNumRes.Data[len(makeUpNumRes.Data)-len(makeUpNumRes.Data)].Value.Num) + + // 已使用 补卡次数 + makeUpUsedReq := new(oa.ApplyRecordReq) + + userInfo := login.GetUserInfoFromC(c) + makeUpUsedReq.StaffUID = userInfo.ID + //makeUpUsedReq.StaffUID = 40 + + makeUpUsedReq.Page = 1 + makeUpUsedReq.Page = 9999 + makeUpUsedReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk} + + // 当前月 + dates := make([]string, 0) + if req.Month == "" { + dates = holiday.SplitMonthV1(holiday.CurrentMonth()+"-25", "2006-01-02") + } else { + dates = holiday.SplitMonthV1(req.Month+"-25", "2006-01-02") + } + + makeUpUsedReq.BeginTime = dates[0] + makeUpUsedReq.EndTime = dates[len(dates)-1] + makeUpUsedReq.ApplyType = []string{e.MakeUp} + + makeUpUsedRes, err := service.GrpcOAImpl.QueryOaApply(context.Background(), makeUpUsedReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaApply, + Status: e.Failed, + }) + return + } + + temp := "%s - %s 已申请 %v 次补卡,剩余 %v 次" + res := oa_model.MakeUpNumRes{} + res.Num = totalNum - makeUpUsedRes.Total + res.Title = fmt.Sprintf(temp, dates[0], dates[len(dates)-1], makeUpUsedRes.Total, totalNum-makeUpUsedRes.Total) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func AttendanceCollectionTest(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + saveCollectionRes := new(oa_model.AttendanceCollectionRes) + saveCollectionRes.Staffs = make([]oa_model.StaffCollection, 0) + err := service.AttendanceCollectionHandleV1(saveCollectionRes, req.Month, holiday.SplitMonthV1(req.Month+"-25", "2006-01-02")) + if err != nil { + logger.Errorf("AttendanceCollectionHandleV1 err is : %v", err.Error()) + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: saveCollectionRes, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa/oa_collectionV2.go b/pkg/service/oa/oa_collectionV2.go new file mode 100644 index 0000000..db6ea58 --- /dev/null +++ b/pkg/service/oa/oa_collectionV2.go @@ -0,0 +1,285 @@ +package oa + +/*func AttendanceCollectionV2(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + collectionRes := new(oa_model.AttendanceCollectionRes) + collectionRes.Staffs = make([]oa_model.StaffCollection, 0) + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-01" + } + + // 查询 月份在 当前 月之后 则返回空 + if checkMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionRes, + Status: e.Ok, + }) + return + } + + dates := make([]string, 0) + if req.Month == time.Now().Format("2006-01") { + dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + } else { + dates = holiday.SplitMonth(month, "2006-01-02") + } + + err := service.StaffAttendanceCollectionHandleV4(collectionRes, month, dates) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionRes, + Status: e.Ok, + }) +} + +func AttendanceCollectionV3(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + collectionRes := new(oa_model.AttendanceCollectionRes) + collectionRes.Staffs = make([]oa_model.StaffCollection, 0) + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-01" + } + + // 查询 月份在 当前 月之后 则返回空 + if checkMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionRes, + Status: e.Ok, + }) + return + } + + dates := make([]string, 0) + if req.Month == time.Now().Format("2006-01") { + dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + } else { + dates = holiday.SplitMonth(month, "2006-01-02") + } + + err := service.AttendanceCollectionHandleV3(collectionRes, month, dates) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collectionRes, + Status: e.Ok, + }) +} + +func StaffAttendanceCollectionV2(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + + if req.StaffUID == 0 { + req.StaffUID = userInfo.ID + } + collection := new(oa_model.StaffCollection) + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-01" + } + + // 查询 月份在 当前 月之后 则返回空 + if checkMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collection, + Status: e.Ok, + }) + return + } + + dates := make([]string, 0) + if req.Month == time.Now().Format("2006-01") { + dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + } else { + dates = holiday.SplitMonth(month, "2006-01-02") + } + + var err error + collection, err = service.StaffAttendanceCollectionHandleV3(req.StaffUID, month, dates) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + collection.StaffName = userInfo.NickName + + positionNames := make([]string, 0) + + for j := 0; j < len(userInfo.PositionUsers); j++ { + positionNames = append(positionNames, userInfo.PositionUsers[j].PositionName) + } + + collection.PositionName = strings.Join(positionNames, ",") + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collection, + Status: e.Ok, + }) +} + +func StaffAttendanceCollectionV3(c *gin.Context) { + req := oa_model.AttendanceCollectionReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AttendanceCollectionReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + + if req.StaffUID == 0 { + req.StaffUID = userInfo.ID + } + collection := new(oa_model.StaffCollection) + + // 获取 查询的 日期 列表 + month := req.Month + if len(strings.Split(month, "-")) == 2 { + month = month + "-01" + } + + // 查询 月份在 当前 月之后 则返回空 + if checkMonthIsAfter(month) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collection, + Status: e.Ok, + }) + return + } + + dates := make([]string, 0) + if req.Month == time.Now().Format("2006-01") { + dates = holiday.SplitDates(month, time.Now().Format("2006-01-02"), "2006-01-02") + } else { + dates = holiday.SplitMonth(month, "2006-01-02") + } + + // 获取 休息天数 总天数 - 工作天数 (注:周一到周五 法定调休 均为 工作日) + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(dates[0]), holiday.ConvertTime(dates[len(dates)-1]), false) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 获取 工作周期 + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + startDay, endDay, err := service.WorkingTimeWeekBest(queryTimeOptions) + if err != nil { + fmt.Println("WorkDays err is :", err.Error()) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "获取工作周期失败", + Status: e.Failed, + }) + return + } + + isWeek := make(map[int]int, 0) + + for i := startDay; i <= endDay; i++ { + isWeek[i] = i + } + + commonWorkDays := holiday.GetCommonWorkDays(holidayRes, isWeek) + + restDays := len(holidayRes) - len(commonWorkDays) + + collection, err = service.StaffAttendanceCollectionHandleV4(req.StaffUID, month, dates, restDays, []int32{e.ApprovalWorkStatusOk}) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 算旷工时 会把 休息日算上 所以 要 减去 休息日 + //collection.MissDay = collection.MissDay - int32(restDays) + + collection.StaffName = userInfo.NickName + + positionNames := make([]string, 0) + + for j := 0; j < len(userInfo.PositionUsers); j++ { + positionNames = append(positionNames, userInfo.PositionUsers[j].PositionName) + } + + collection.PositionName = strings.Join(positionNames, ",") + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: collection, + Status: e.Ok, + }) +} +*/ diff --git a/pkg/service/oa/oa_month.go b/pkg/service/oa/oa_month.go new file mode 100644 index 0000000..91b0799 --- /dev/null +++ b/pkg/service/oa/oa_month.go @@ -0,0 +1,19 @@ +package oa + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "time" +) + +func CheckOaMonth(c *gin.Context) { + now := time.Now().Format("2006-01-02 15:04:05") + month := holiday.CurrentMonth() + fmt.Println("===================================== CheckOaMonth ======================================") + fmt.Println("now: ", now) + fmt.Println("month: ", month) + fmt.Println("===================================== CheckOaMonth ======================================") + + //service.CheckOaMonth(month+"-25", now, month) +} diff --git a/pkg/service/oa/oa_rule.go b/pkg/service/oa/oa_rule.go new file mode 100644 index 0000000..ff6d7ef --- /dev/null +++ b/pkg/service/oa/oa_rule.go @@ -0,0 +1,1210 @@ +package oa + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + detpartmentApi "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "strconv" + "strings" + "time" +) + +// CreateWorkingTime +// 保存 考勤规则 +func CreateWorkingTime(c *gin.Context) { + req := new(oa.WorkingTime) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("WorkingTime ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 重新组装 week 字段 + if req.Week != "" { + weeks := strings.Split(req.Week, ",") + if len(weeks) != 2 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrAttendanceWeekMiss, + Status: e.Failed, + }) + return + } + startDay, _ := strconv.Atoi(weeks[len(weeks)-len(weeks)]) + endDay, _ := strconv.Atoi(weeks[len(weeks)-1]) + if startDay == 7 { + startDay = 0 + } + if endDay == 7 { + endDay = 0 + } + req.Week = strings.Join([]string{strconv.Itoa(startDay), strconv.Itoa(endDay)}, ",") + } + + fmt.Printf("保存的考勤规则 : %+v\n", req) + // 针对 全部门 设置 考勤班次 + if req.IsAll == oa_model.IsAll && (req.DepartmentUID == "" || req.DepartmentUID == "null") { + CreateTimeOptions(c, req) + } else if (req.DepartmentUID != "" && req.DepartmentUID != "null") && req.PositionUID == "-1" { + CreateTimeOptions(c, req) + } else { + CreateTimeOption(c, req) + } +} + +// CreateTimeOptions +// 保存 考勤规则 批量 +func CreateTimeOptions(c *gin.Context, req *oa.WorkingTime) { + + departmentListReq := new(detpartmentApi.BaseAllRequest) + departmentListRes, err := service.DepartmentProvider.BaseList(context.Background(), departmentListReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if departmentListRes.Data == nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "部门信息获取失败,无法设置班次信息", + Status: e.Failed, + }) + return + } + + departmentList := make([]*detpartmentApi.BaseDetailResponse, 0) + + if (req.DepartmentUID != "" && req.DepartmentUID != "null") && req.PositionUID == "-1" { + for i := 0; i < len(departmentListRes.Data); i++ { + if strconv.FormatUint(departmentListRes.Data[i].ID, 10) == req.DepartmentUID { + departmentList = append(departmentList, departmentListRes.Data[i]) + } + } + } else { + departmentList = departmentListRes.Data + } + + fmt.Println("================= Department list ========================") + fmt.Printf("data : %+v\n", departmentList) + //fmt.Printf("count:%+v\n", departmentListRes.Count) + fmt.Println("================= Department list ========================") + fmt.Println("") + + workingTimes := new(oa.WorkingTimes) + + for i := 0; i < len(departmentList); i++ { + workingTime := oa.WorkingTime{} + + copier.CopyWithOption(&workingTime, req, copier.Option{DeepCopy: true}) + + workingTime.DepartmentUID = strconv.FormatUint(departmentList[i].ID, 10) + workingTime.DepartmentName = departmentList[i].Name + + for j := 0; j < len(departmentList[i].AllPositions); j++ { + positionWorkingTime := workingTime + positionWorkingTime.PositionName = departmentList[i].AllPositions[j].Name + positionWorkingTime.PositionUID = strconv.FormatInt(departmentList[i].AllPositions[j].ID, 10) + workingTimes.Options = append(workingTimes.Options, &positionWorkingTime) + } + + } + + fmt.Println("================= workingTimes list ========================") + fmt.Printf("workingTimes : %+v\n", workingTimes.Options) + fmt.Println("================= workingTimes list ========================") + fmt.Println("") + + res, err := service.GrpcOAImpl.CreateWorkingTimeBatch(context.Background(), workingTimes) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} + +// CreateTimeOption +// 保存 考勤规则 单个 +func CreateTimeOption(c *gin.Context, req *oa.WorkingTime) { + res, err := service.GrpcOAImpl.CreateWorkingTime(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Data: res.ID, + Status: e.Ok, + }) +} + +// SaveTimeOption +// 更新 考勤规则 单个 +func SaveTimeOption(c *gin.Context) { + req := new(oa.WorkingTime) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("WorkingTime ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + res, err := service.GrpcOAImpl.SaveWorkingTime(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + //Data: res.ID, + Status: e.Ok, + }) +} + +// TimeOptionInUse +// 设置生效班次 +func TimeOptionInUse(c *gin.Context) { + req := new(oa.CommonReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CommonRes ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.WorkingTimeInUse(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} + +// CancelTimeOption +// 取消班次 +func CancelTimeOption(c *gin.Context) { + req := new(oa.CommonReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CommonRes ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.CancelWorkingTime(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} + +// TimeDuration +// 计算 工作时长 +func TimeDuration(c *gin.Context) { + req := new(oa_model.TimeOptions) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("TimeDuration ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(req.Times) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "错误的时间节点", + Status: e.Failed, + }) + return + } + + hours := timeDuration(req.Times) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "时长计算成功", + Data: service.HandleHourLeaveFive(hours), + Status: e.Ok, + }) +} + +// QueryNoSettingWorkingTimeNum +// 查询 未设置 生效的 考勤班次 的 部门数量 +func QueryNoSettingWorkingTimeNum(c *gin.Context) { + // 查询 已经设置生效的 考勤班次 的 部门 + req := new(oa.WorkingTimeListReq) + req.InUse = oa_model.InUse + req.Page = 1 + req.PageSize = 99999 + res, err := service.GrpcOAImpl.WorkingTimeList(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + departmentListReq := new(detpartmentApi.ListRequest) + departmentListRes, err := service.DepartmentProvider.List(context.Background(), departmentListReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + count := new(oa_model.Count) + count.NoSetting = len(departmentListRes.Data) - len(res.Data) + count.Setting = len(res.Data) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: count, + Status: e.Ok, + }) +} + +// WorkingTimeList +// 查询 考勤班次 列表 +func WorkingTimeList(c *gin.Context) { + req := new(oa.WorkingTimeListReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("WorkingTimeList ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.WorkingTimeList(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Data: res, + Status: e.Ok, + }) +} + +// LeaveDuration +// 计算 请假时长 <根据 设置的考勤班次> +func LeaveDuration(c *gin.Context) { + req := new(oa_model.DurationReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("LeaveDurationReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + var err error + + //if len(req.TimeOptions.Times) < 1 && (req.TimeOptions.Times == nil || len(req.TimeOptions.Times) > 0) { + times := make([]*oa_model.TimeOption, 0) + times, err = service.WorkingTimeBest(0, queryTimeOptions) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrAttendanceMiss, + Status: e.Failed, + }) + return + } + for i := 0; i < len(times); i++ { + req.TimeOptions.Times = append(req.TimeOptions.Times, &oa_model.TimeOption{ + OnWorkTime: times[i].OnWorkTime, + OffWorkTime: times[i].OffWorkTime, + }) + } + //} + + var freeTime float64 + if len(req.TimeOptions.Times) > 1 && (req.TimeOptions.Times != nil || len(req.TimeOptions.Times) != 0) { + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + if i+1 < len(req.TimeOptions.Times) { + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i+1].OnWorkTime+":00", time.Local) + } else { + break + } + + freeTime = freeTime + onWorkTime.Sub(offWorkTime).Hours() + } + } + + // 计算 请假时长 + if len(req.ApplyTimes) != 2 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrApplytimeDisagreement, + Status: e.Failed, + }) + return + } + + err = service.VerifyTimeOrder(req.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res := oa_model.DurationRes{} + + // 请假 日期 是 同一天 + // 那么只需要 拿出 hours 或者 m 做 计算 + // 请假 日期 是 同一天 + // 那么只需要 拿出 hours 或者 m 做 计算 + if req.ApplyTimes[0].Date == req.ApplyTimes[1].Date { + + if req.ApplyTimes[0].M != "" && req.ApplyTimes[1].M != "" { + if req.ApplyTimes[0].M == req.ApplyTimes[1].M { + res.TakeOut.Days = 0.5 + res.NotTakeOut.Days = 0.5 + } else { + res.TakeOut.Days = 1 + res.NotTakeOut.Days = 1 + } + } + + if req.ApplyTimes[0].Hour != "" { + + res = singleDateDurationHandle(req) + + } + + } else { + + basicDays := float64(len(holiday.SplitDates(req.ApplyTimes[0].Date, req.ApplyTimes[1].Date, "2006-01-02")) - 1) + + if req.ApplyTimes[0].M != "" && req.ApplyTimes[1].M != "" { + + if req.ApplyTimes[0].M == req.ApplyTimes[1].M { // 如果 同为 上午 或者 下午 则 记为 1.5 + res.TakeOut.Days = res.TakeOut.Days + 1.5 + res.NotTakeOut.Days = res.NotTakeOut.Days + 1.5 + } else { + if req.ApplyTimes[0].M == "上午" { // 如果 不相同 则 记为 1 + res.TakeOut.Days = res.TakeOut.Days + 2 + res.NotTakeOut.Days = res.NotTakeOut.Days + 2 + } else if req.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days + 1 + res.NotTakeOut.Days = res.NotTakeOut.Days + 1 + } + } + + isWeek, num, err := isWeekly(queryTimeOptions, req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + if isWeek { + basicDays = basicDays - num + } + + fmt.Println("===================== 打印 isWeek num info ===================================") + fmt.Printf("isWeek is : %+v\n", isWeek) + fmt.Printf("num is : %+v\n", num) + fmt.Printf("basicDays is : %+v\n", basicDays) + fmt.Println("===================== 打印 isWeek num info ===================================") + + res.TakeOut.Days = res.TakeOut.Days + float32(basicDays-1) + res.NotTakeOut.Days = res.NotTakeOut.Days + float32(basicDays-1) + } + + if req.ApplyTimes[0].Hour != "" { + + res = multiDateDurationHandle(queryTimeOptions, req, freeTime, basicDays) + + } + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrLeaveDurationIsZero, + //Data: res, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func singleDateDurationHandle(req *oa_model.DurationReq) oa_model.DurationRes { + res := oa_model.DurationRes{} + + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.ApplyTimes[0].Hour+":00", time.Local) + //hasChangeStartTime := false + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.ApplyTimes[1].Hour+":00", time.Local) + + var subHour float64 = 0 + var commonSubHour float64 = 0 + + for i := 0; i < len(req.TimeOptions.Times); i++ { // 由于 设置的 考勤班次规则 可能 会出现 上下班 打卡多次的 情况 所以 要遍历 考勤规则 + onWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 此处 应该是 进入到下一个 打卡区间 + if !endTime.Before(offWorkTime) { // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + + if !endTime.Before(offWorkTime) || endTime.Equal(offWorkTime) { // 开始时间在 下班之前 结束时间 在 下一个 上班时间 之后 subHour + 下一个上班时间 到 前一个 下班时间的 间隔 + if i > 0 { + preOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[i-1].OffWorkTime+":00", time.Local) + if startTime.Before(preOffWorkTime) { + subHour = subHour + onWorkTime.Sub(preOffWorkTime).Hours() + } + } + } + + if i+1 <= len(req.TimeOptions.Times)-1 { + nextOnWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[i+1].OnWorkTime+":00", time.Local) + if !startTime.Before(offWorkTime) && !startTime.After(nextOnWorkTime) { // 开始时间在 下班时间之后 在下一个上班时间之前 则 将 subHour + 下一个上班时间 到 开始时间的 间隔 + subHour = subHour + nextOnWorkTime.Sub(startTime).Hours() + } + continue + } + } + + if i == len(req.TimeOptions.Times)-1 { + break + } + + } + + // 单独 处理 结束时间 是否是在 最后一次打卡之后 + lastOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[len(req.TimeOptions.Times)-1].OffWorkTime+":00", time.Local) + if endTime.After(lastOffWorkTime) { + commonSubHour = commonSubHour + endTime.Sub(lastOffWorkTime).Hours() + } + + // 单独 处理 结束时间 是否是在 最后一次打卡之后 + firstOnWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[len(req.TimeOptions.Times)-len(req.TimeOptions.Times)].OnWorkTime+":00", time.Local) + if !startTime.After(firstOnWorkTime) { + commonSubHour = commonSubHour + firstOnWorkTime.Sub(startTime).Hours() + } + + res.NotTakeOut.Hours = service.HandleHourLeaveFive(endTime.Sub(startTime).Hours() - commonSubHour) + res.TakeOut.Hours = service.HandleHourLeaveFive(endTime.Sub(startTime).Hours() - subHour - commonSubHour) + + return res +} + +func multiDateDurationHandle(queryTimeOptions []oa_model.QueryTimeOption, req *oa_model.DurationReq, freeTime, basicDays float64) oa_model.DurationRes { + res := oa_model.DurationRes{} + + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.ApplyTimes[0].Hour+":00", time.Local) + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.ApplyTimes[1].Hour+":00", time.Local) + + var otherSubHour float64 = 0 + + var addHour float64 = 0 + + var wholeDurationHours float64 = 0 + + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + wholeDurationHours = wholeDurationHours + offWorkTime.Sub(onWorkTime).Hours() + } + + // 计算 开始 当天的 时长 + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !startTime.After(onWorkTime) { + //subHour = subHour + onWorkTime.Sub(startTime).Hours() + addHour = addHour + offWorkTime.Sub(onWorkTime).Hours() + continue + } + + if startTime.After(onWorkTime) && !startTime.After(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + addHour = addHour + offWorkTime.Sub(startTime).Hours() + //continue + } + + if startTime.After(offWorkTime) { + continue + } + } + + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !startTime.After(onWorkTime) { + otherSubHour = otherSubHour + freeTime + break + } + + if startTime.After(onWorkTime) && startTime.Before(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + if i == 0 { + otherSubHour = otherSubHour + freeTime + break + } + + if i > 0 { + preOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i-1].OffWorkTime+":00", time.Local) + otherSubHour = otherSubHour + onWorkTime.Sub(preOffWorkTime).Hours() + break + } + } + } + + // 计算 结束 当天的 时长 + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !endTime.After(onWorkTime) { + continue + } + + if endTime.After(onWorkTime) && endTime.Before(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + addHour = addHour + endTime.Sub(onWorkTime).Hours() + break + } + + if !endTime.Before(offWorkTime) { + addHour = addHour + offWorkTime.Sub(onWorkTime).Hours() + } + } + + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !endTime.After(onWorkTime) { + continue + } + + if endTime.After(onWorkTime) && endTime.Before(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + + if i > 0 { + preOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i-1].OffWorkTime+":00", time.Local) + otherSubHour = otherSubHour + onWorkTime.Sub(preOffWorkTime).Hours() + break + } + } + + if !endTime.Before(offWorkTime) { + if i == len(req.TimeOptions.Times)-1 { + otherSubHour = otherSubHour + freeTime + } + } + + } + + // TODO 判断 两个时间点 之间 是否超过一天 + // 处理 超过一天 需要 把 freeTime 加上 !!!!!!! + isWeek, num, err := isWeekly(queryTimeOptions, req) + if err != nil { + return res + } + if isWeek { + basicDays = basicDays - num + } + + fmt.Println("===================== 打印 isWeek num info ===================================") + fmt.Printf("isWeek is : %+v\n", isWeek) + fmt.Printf("num is : %+v\n", num) + fmt.Println("===================== 打印 isWeek num info ===================================") + + res.NotTakeOut.Hours = res.NotTakeOut.Hours + float32((wholeDurationHours+freeTime)*float64(basicDays-1)) + float32(addHour+otherSubHour) + res.TakeOut.Hours = res.TakeOut.Hours + float32(wholeDurationHours*float64(basicDays-1)) + float32(addHour) + res.NotTakeOut.Hours = service.HandleHourLeaveFive(float64(res.NotTakeOut.Hours)) + res.TakeOut.Hours = service.HandleHourLeaveFive(float64(res.TakeOut.Hours)) + + return res +} + +// 判断 请假 区间内 是否包含 休息日 +func isWeekly(queryTimeOptions []oa_model.QueryTimeOption, req *oa_model.DurationReq) (isWeek bool, num float64, err error) { + dates := holiday.SplitDates(holiday.ConvertTime(req.ApplyTimes[0].Date), holiday.ConvertTime(req.ApplyTimes[1].Date), "20060102") + respData, err := holiday.GetCacheHolidayInfo(dates) + if err != nil { + fmt.Println("获取 日期信息 错误:", err.Error()) + return false, 0, err + } + + var startDay, endDay int + if req.TimeOptions.Week == "" { + startDay, endDay, err = service.WorkingTimeWeekBest(queryTimeOptions) + if err != nil { + fmt.Println("获取 考勤 week 错误:", err.Error()) + return false, 0, err + } + } else { + startDay, _ = strconv.Atoi(strings.Split(req.TimeOptions.Week, ",")[0]) + endDay, _ = strconv.Atoi(strings.Split(req.TimeOptions.Week, ",")[1]) + } + + m := make(map[int]int, 0) + + for i := startDay; i <= endDay; i++ { + m[i] = i + } + + fmt.Println("===================== 打印 week info ===================================") + fmt.Printf("week info is : %+v\n", m) + fmt.Println("===================== 打印 week info ===================================") + + // 默认 (1,5) 现在根据 查询出来的 week 做判断 + for i := 0; i < len(respData); i++ { + weekDay := int(respData[i].WeekDay) + if weekDay == 0 { + weekDay = 7 + } + if m[weekDay] != weekDay && respData[i].Type != 0 { + num += 1 + isWeek = true + } + } + + if req.ApplyTimes[1].M == "上午" { + if respData[len(respData)-1].Type == 1 { + num = num - 0.5 + } + } + + return +} + +// TimeDuration +// 计算 时间区间 时长 +func timeDuration(times []*oa_model.TimeOption) float64 { + var hours float64 + for i := 0; i < len(times); i++ { + if times[i].OnWorkTime != "" && times[i].OffWorkTime != "" { + onWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", "2006-01-02 "+times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", "2006-01-02 "+times[i].OffWorkTime+":00", time.Local) + hours = hours + offWorkTime.Sub(onWorkTime).Hours() + } + } + return hours +} + +// QueryWorkingTimeBest +// 查询 最优考勤班次 +func QueryWorkingTimeBest(c *gin.Context) { + + userInfo := login.GetUserInfoFromC(c) + + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + fmt.Println("queryTimeOptions is = ==============================================") + fmt.Println("queryTimeOptions is :", queryTimeOptions) + fmt.Println("queryTimeOptions is = ==============================================") + + best, err := service.WorkingTimeAndWeekBest(0, queryTimeOptions) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrAttendanceMiss, + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: best, + Status: e.Ok, + }) +} + +// OverTimeDuration +// 计算 加班时长 +func OverTimeDuration(c *gin.Context) { + req := new(oa_model.DurationReq) + res := new(oa_model.DurationRes) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OverTimeDuration ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(req.ApplyTimes) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeDisagreement, + Status: e.Failed, + }) + return + } + + err := service.VerifyTimeOrder(req.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + now := time.Now().Format("2006-01-02") + for i := 0; i < len(req.ApplyTimes); i++ { + if req.ApplyTimes[i].Date == "" { + req.ApplyTimes[i].Date = now + } + } + + userInfo := login.GetUserInfoFromC(c) + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + best, err := service.WorkingTimeAndWeekBest(0, queryTimeOptions) + if err != nil || best == nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrAttendanceMiss, + Status: e.Ok, + }) + return + } + + // 记录 打卡 周期 + isWork := service.ConfirmIsWork(best.Week, req.ApplyTimes[0].Date) + + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.ApplyTimes[0].Hour+":00", time.Local) + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.ApplyTimes[1].Hour+":00", time.Local) + + if startTime.After(endTime) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrTimeOrder, + Status: e.Failed, + }) + return + } + + subStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+"12:00:00", time.Local) + subEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+"13:00:00", time.Local) + + var subHours float32 + if req.ApplyTimes[0].Date == req.ApplyTimes[1].Date { + if req.ApplyTimes[0].Hour == req.ApplyTimes[1].Hour { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeIsZero, + //Data: res, + Status: e.Failed, + }) + return + } + if isWork { + startWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+best.Times[0].OnWorkTime+":00", time.Local) + endWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+best.Times[len(best.Times)-1].OffWorkTime+":00", time.Local) + if startTime.Before(startWorkTime) && (!endTime.After(endWorkTime) && endTime.After(startWorkTime)) { + endTime = startWorkTime + } else if startTime.Before(startWorkTime) && endTime.After(endWorkTime) { + subHours = float32(endWorkTime.Sub(startWorkTime).Hours()) + if endTime.Sub(endWorkTime).Hours() <= 1 { + endTime = endWorkTime + } else if 1 < endTime.Sub(endWorkTime).Hours() && endTime.Sub(endWorkTime).Hours() < 2 { + subHours += 1 + } + } else if !startTime.Before(startWorkTime) && startTime.Before(endWorkTime) { + startTime = endWorkTime + if endTime.After(endWorkTime) { + if endTime.Sub(endWorkTime).Hours() <= 1 { + endTime = endWorkTime + } else if 1 < endTime.Sub(endWorkTime).Hours() && endTime.Sub(endWorkTime).Hours() < 2 { + subHours += 1 + } + } else { + endTime = endWorkTime + } + } else if !startTime.Before(endWorkTime) && !endTime.Before(endWorkTime) { + if !startTime.After(endWorkTime.Add(60 * 60 * time.Second)) { + if endTime.Sub(startTime).Hours() < 2 { + startTime = endWorkTime.Add(60 * 60 * time.Second) + } + } + /*if endTime.Sub(startTime).Hours() <= 1 { + startTime = endWorkTime + endTime = endWorkTime + } else if 1 < endTime.Sub(startTime).Hours() && endTime.Sub(startTime).Hours() < 2 { + if !startTime.After(endWorkTime.Add(60 * 60 * time.Second)) { + startTime = endWorkTime.Add(60 * 60 * time.Second) + } + }*/ + } + } else { + if startTime.Before(subStartTime) { + if endTime.After(subEndTime) { // 不包含 13:00 + subHours += 1 + } else if !endTime.After(subEndTime) && !endTime.Before(subStartTime) { // 包含 12:00 13:00 + endTime = subStartTime + } + } else if !startTime.Before(subStartTime) && !startTime.After(subEndTime) { + startTime = subEndTime + if !endTime.After(subEndTime) && !endTime.Before(subStartTime) { // 包含 12:00 13:00 + endTime = subEndTime + } + } + } + + } else { // 如果 加班 开始日期和结束日期 不是同一天 则 默认 会有 一小时 需要剔除 + if startTime.Before(subStartTime) { + if endTime.After(subEndTime) { + subHours += 2 + } else if !endTime.After(subEndTime) && endTime.After(subEndTime.Add(-60*60*time.Second)) { + subHours += 1 + endTime = subEndTime.Add(-60 * 60 * time.Second) + } + } else if !startTime.Before(subStartTime) && !startTime.After(subStartTime.Add(60*60*time.Second)) { + startTime = subStartTime.Add(60 * 60 * time.Second) + if endTime.After(subEndTime) { + subHours += 1 + } else if !endTime.After(subEndTime) && endTime.After(subEndTime.Add(-60*60*time.Second)) { + endTime = subEndTime.Add(-60 * 60 * time.Second) + } + } + + startDay, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+"00:00:00", time.Local) + endDay, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+"00:00:00", time.Local) + offsetDay := endDay.Sub(startDay).Hours() / 24 + if offsetDay >= 2 { + subHours += float32(offsetDay) - 1 + } + } + + originHour := endTime.Sub(startTime).Hours() + + //var hour float64 + //hour = math.Floor(originHour / 1) + //if math.Mod(originHour, 1) >= 0.5 { + // hour = hour + 0.5 + //} + + res.NotTakeOut.Hours = service.HandleHourLeaveFive(originHour) - subHours + res.TakeOut.Hours = service.HandleHourLeaveFive(originHour) - subHours + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: res, + Status: e.Ok, + }) +} + +/* + 病假: 需要查询剩余天数 + 规则 :工作年限 > 1 day : 3 工作年限 >= 3 day : 5 + 年假: 需要查询剩余天数 + 规则 :工作年限 < 1 在职天数/365 * 5 舍 小数点 + 1 <= 工作年限 < 5 day : 5 + 5 <= 工作年限 < 10 day : 7 + 10 <= 工作年限 < 20 day : 10 + 20 <= 工作年限 day : 15 + 注: 节假日 不算入 年假 + 调休: 需要查询 加班时长 + 规则 :总加班时长 >= 总调休时长 + 注: 单位: h + 婚假: + 规则 :包含周末、不可间隔休、结婚日期开始六个月内休完 + 前3天遇国假不顺延、后10天遇国假顺延 + 注: 总时长: 13天 + 产假: + 规则 :每多一个小孩 多 15 天, 难产 多 15 天 + 注: 基础时长 158天 + 孕检假: + 规则 :1~6 每月一次 7~8 每月两次 之后 每周两次 天 + 陪产假: + 规则 :15天 + 流产假: + 规则 :1~4 15天 4 以后 42天 + 育儿假: 需要查询剩余天数 + 规则 :三周岁前 每年 10天 + 独生子女护理假: 需要查询剩余天数 + 规则 :60岁之后 每年享有 5 天 + 哺乳假: + 规则 :一周岁之前 每半天可有 0.5h 一天 1h + 每多一婴儿 多 0.5h + + 加班: 完结 + 规则 :工作日加班 开始时间为 最后一次下班卡时间 结束时间在下班时间后两小时内, 时长从 下班卡后一小时开始 如果超过 两小时 则从 下班时间开始算 +*/ + +func CheckLeave(c *gin.Context) { + req := new(oa_model.CheckLeave) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("MaritalLeaveTime ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res := new(oa_model.CheckLeaveRes) + var err error + + userInfo := login.GetUserInfoFromC(c) + + _, forMoney, canDayOffErr := oa_logic.QueryCanDayOffUserWithWorkTimeTemplate(userInfo) + if canDayOffErr != nil { + lang := c.Request.Header.Get("Accept-Language") + errStr := model.GetLanguageType(lang, "考勤规则查询错误") + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: errStr, + Status: e.Failed, + }) + return + } + + res, err = service.CheckLeaveHandle(req, userInfo, forMoney) + if err != nil { + lang := c.Request.Header.Get("Accept-Language") + errStr := model.GetLanguageType(lang, err.Error()) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: errStr, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func AnnualLeaveDuration(c *gin.Context) { + req := new(oa_model.DurationReq) + res := new(oa_model.DurationRes) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AnnualLeaveDuration ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(req.ApplyTimes) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeDisagreement, + Status: e.Failed, + }) + return + } + + err := service.VerifyTimeOrder(req.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + now := time.Now().Format("2006-01-02") + for i := 0; i < len(req.ApplyTimes); i++ { + if req.ApplyTimes[i].Date == "" { + req.ApplyTimes[i].Date = now + } + } + + userInfo := login.GetUserInfoFromC(c) + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + // 记录 打卡 周期 + isWork, _, err := service.ConfirmIsWeek(oa_model.Week[time.Now().Weekday().String()], queryTimeOptions) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrConfirmweek, + Status: e.Failed, + }) + return + } + + //startTime,_ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+"00:00:00", time.Local) + //endTime,_ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+"00:00:00", time.Local) + + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(req.ApplyTimes[0].Date), holiday.ConvertTime(req.ApplyTimes[1].Date), true) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrHolidayMiss, + Status: e.Failed, + }) + return + } + + for i := 0; i < len(holidayRes); i++ { + if holidayRes[i].Type == 0 || isWork == oa_model.IsWork { + res.TakeOut.Days += 1 + res.NotTakeOut.Days += 1 + } + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrLeaveDurationIsZero, + //Data: res, + Status: e.Failed, + }) + return + } + + if req.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + if req.ApplyTimes[1].M == "上午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func CheckWifi(c *gin.Context) { + ip := c.ClientIP() + if ip == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrIpMiss, + Status: e.Failed, + }) + return + } + + isWifi, err := service.CheckWifi(ip) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if !isWifi { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrWifiIsNotIn, + Data: ip, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: ip, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa/oa_setting.go b/pkg/service/oa/oa_setting.go new file mode 100644 index 0000000..15a329d --- /dev/null +++ b/pkg/service/oa/oa_setting.go @@ -0,0 +1,108 @@ +package oa + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "golang.org/x/net/context" +) + +func SaveOaSetting(c *gin.Context) { + req := oaApi.OaSetting{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OaSetting ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.Value == nil || req.Keyword == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.InvalidParams), + Status: e.Ok, + }) + return + } + + res, err := service.GrpcOAImpl.CreateOaSetting(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Data: res, + Status: e.Ok, + }) + +} + +func QueryOaSetting(c *gin.Context) { + req := oaApi.OaSettingReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OaSettingReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.QueryOaSetting(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Data: res, + Status: e.Ok, + }) + +} + +func DeleteOaSetting(c *gin.Context) { + req := oaApi.DeleteOaSettingReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DeleteOaSettingReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if req.UUID == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.InvalidParams), + Status: e.Ok, + }) + return + } + + res, err := service.GrpcOAImpl.DeleteOaSetting(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa/oa_user.go b/pkg/service/oa/oa_user.go new file mode 100644 index 0000000..f4d09f9 --- /dev/null +++ b/pkg/service/oa/oa_user.go @@ -0,0 +1,46 @@ +package oa + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/es" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/jinzhu/copier" +) + +func OaUserList(c *gin.Context) { + var req oa_model.QueryOaUser + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + oaUsers, total, err := es.QueryAccountInfoEs(es.OaIndex, req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res := new(account.ListResponse) + + res.Data = make([]*account.AccountInfo, 0) + + _ = copier.CopyWithOption(&res.Data, oaUsers, copier.Option{DeepCopy: true}) + + res.Count = uint64(total) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa/out_work_check.go b/pkg/service/oa/out_work_check.go new file mode 100644 index 0000000..14461ca --- /dev/null +++ b/pkg/service/oa/out_work_check.go @@ -0,0 +1,172 @@ +package oa + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "time" +) + +// 检测是否需要记录 去外勤 和 回公司 +func OutWorkCheck(c *gin.Context) { + /* + 外勤时间包含 考勤时间 则无需记录 + 去外勤 和 回公司 单独判断 可能只会有一个 + */ + + req := new(oa.OutWorkCheckReq) + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OutWorkCheck ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo := login.GetUserInfoFromC(c) + + outWorkActionTypeRes, _, err := outWorkCheck(userInfo, req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: outWorkActionTypeRes, + Status: e.Ok, + }) + +} + +func outWorkCheck(userInfo login.Info, req *oa.OutWorkCheckReq) (outWorkActionTypeRes *oa_model.OutWorkActionType, applyTimes []*oa.ApplyTime, err error) { + outWorkActionTypeRes = new(oa_model.OutWorkActionType) + // 获取 记录 + checkRecordRes, err := service.GrpcOAImpl.QueryCheckRecord(context.Background(), req) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return outWorkActionTypeRes, nil, err + } + + applyTimes = make([]*oa.ApplyTime, 0) + currentOutOrBack := "" + + if checkRecordRes.Data != nil { + applyTimes = checkRecordRes.Data[len(checkRecordRes.Data)-len(checkRecordRes.Data)].ApplyTimes + + for i := 0; i < len(checkRecordRes.Data); i++ { + currentOutOrBack = checkRecordRes.Data[i].ActionType + } + + if currentOutOrBack == e.OutWorkBack { + outWorkActionTypeRes.IsNeed = false + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Data: outWorkActionTypeRes, + // Status: e.Ok, + //}) + return outWorkActionTypeRes, applyTimes, nil + } + } + fmt.Println("=== outWorkCheck 1 =================================================") + fmt.Printf("++ applyTime %+v \n", applyTimes) + fmt.Printf("++ userInfo %+v \n", userInfo) + fmt.Printf("++ currentOutOrBack %+v \n", currentOutOrBack) + fmt.Println("=== outWorkCheck 1 =================================================") + + if len(applyTimes) == 0 { + // 获取 外勤请假 + oaApplyByApplyUuidReq := new(oa.OaApplyByApplyUuidReq) + oaApplyByApplyUuidReq.ApplyUUID = req.ApplyUUID + apply, err := service.GrpcOAImpl.QueryOaApplyByApplyUuid(context.Background(), oaApplyByApplyUuidReq) + fmt.Println("=== outWorkCheck 2 =================================================") + fmt.Printf("++ apply %+v \n", apply) + fmt.Println("=== outWorkCheck 2 =================================================") + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return outWorkActionTypeRes, applyTimes, err + } + + applyTimes = apply.ApplyTimes + } + + fmt.Println("=== outWorkCheck 3 =================================================") + fmt.Printf("++ applyTime %+v \n", applyTimes) + fmt.Printf("++ userInfo %+v \n", userInfo) + fmt.Printf("++ currentOutOrBack %+v \n", currentOutOrBack) + fmt.Println("=== outWorkCheck 3 =================================================") + + outWorkActionTypeRes.CurrentActionType, outWorkActionTypeRes.IsNeed, err = service.OutWorkCheckVerify(applyTimes, userInfo, currentOutOrBack) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return outWorkActionTypeRes, applyTimes, err + } + return +} + +func CreateOutWorkCheck(c *gin.Context) { + req := new(oa.OutWorkCheckReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OutWorkCheck ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo := login.GetUserInfoFromC(c) + outWorkActionTypeRes, applyTimes, err := outWorkCheck(userInfo, req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + msg := "" + + if outWorkActionTypeRes.IsNeed == true { + createOutWorkCheckReq := new(oa.OutWorkCheck) + createOutWorkCheckReq.StaffUID = userInfo.ID + createOutWorkCheckReq.ActionType = outWorkActionTypeRes.CurrentActionType + createOutWorkCheckReq.ApplyUUID = req.ApplyUUID + createOutWorkCheckReq.ActionTime = time.Now().Format("2006-01-02 15:04") + createOutWorkCheckReq.ApplyTimes = applyTimes + + res, err := service.GrpcOAImpl.CreateOutWorkCheck(context.Background(), createOutWorkCheckReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + msg = res.Msg + } else { + msg = e.ErrNotNeedRecordOutworkcheck + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: msg, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa_apply_handle.go b/pkg/service/oa_apply_handle.go new file mode 100644 index 0000000..0a8c903 --- /dev/null +++ b/pkg/service/oa_apply_handle.go @@ -0,0 +1,10 @@ +package service + +import ( + oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" +) + +// 事假 +func LeaveBalance(req *oaApi.ApplyRecordReq) { + +} diff --git a/pkg/service/oa_collection_handle.go b/pkg/service/oa_collection_handle.go new file mode 100644 index 0000000..b889fe5 --- /dev/null +++ b/pkg/service/oa_collection_handle.go @@ -0,0 +1,1439 @@ +package service + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/jinzhu/copier" + "math" + "strconv" + "strings" + "time" +) + +func AttendanceCollectionHandleV1(collectionRes *oa_model.AttendanceCollectionRes, month string, dates []string) error { + // 获取 员工 列表 + accountReq := new(account.ListRequest) + accountReq.Domain = "fontree" + accountReq.Page = 1 + accountReq.PageSize = 9999 + accountRes, err := AccountProvider.List(context.Background(), accountReq) + if err != nil { + //ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return err + } + + //查询部门 + puRequest := &rule.PositionUserListRequest{} + puRes, err := RuleProvider.PositionUserList(context.Background(), puRequest) + + if err != nil { + //Error(c, e.Error, err) + return err + } + + for i := 0; i < len(accountRes.Data); i++ { + for j := 0; j < len(puRes.Data); j++ { + if accountRes.Data[i].ID == puRes.Data[j].UserId { + accountRes.Data[i].Positions = append(accountRes.Data[i].Positions, &account.PositionUser{ + PositionID: puRes.Data[j].PositionID, + PositionName: puRes.Data[j].PositionName, + DepartmentId: puRes.Data[j].DepartmentId, + DepartmentCode: puRes.Data[j].DepartmentCode, + DepartmentName: puRes.Data[j].DepartmentName, + UserId: puRes.Data[j].UserId, + UserName: puRes.Data[j].UserName, + }) + } + } + } + + //holidayRes := make([]*holiday.RespData, 0) + + // 获取 休息天数 总天数 - 工作天数 (注:周一到周五 法定调休 均为 工作日) + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(dates[0]), holiday.ConvertTime(dates[len(dates)-1]), true) + if err != nil { + return err + } + + fmt.Println("step ============================== 01 ============================== ") + + outWorkDates := holiday.SplitMonthV1(month, "2006-01-02") + + // 获取 每位员工的 信息 + for i := 0; i < len(accountRes.Data); i++ { + + // 计算 休息日 需要结合 考勤班次中的 week + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for k := 0; k < len(accountRes.Data[i].Positions); k++ { + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(accountRes.Data[i].Positions[k].PositionID, 10), + DepartmentUID: strconv.FormatUint(accountRes.Data[i].Positions[k].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + startDay, endDay, err := WorkingTimeWeekBest(queryTimeOptions) + if err != nil { + fmt.Println("WorkDays err is :", err.Error()) + return err + } + + isWeek := make(map[int]int, 0) + + for i := startDay; i <= endDay; i++ { + isWeek[i] = i + } + + //commonWorkDays := holiday.GetCommonWorkDays(holidayRes, isWeek) + + restDays := 0 + + for j := 0; j < len(holidayRes); j++ { + if !holidayRes[j].IsToday { + if holidayRes[j].Type != 0 { + restDays++ + } + } else { + break + } + } + + collection := new(oa_model.StaffCollection) + outWorkStatus := []int32{e.ApprovalWorkStatusOk} + collection, err = StaffAttendanceCollectionHandleV2(accountRes.Data[i].ID, month, dates, restDays, outWorkStatus, outWorkDates) + if err != nil { + return err + } + + if collection.OutWork != 0 { + collectionRes.OutWorkTotal += collection.OutWork + } + + if collection.MakeUp != 0 { + collectionRes.MakeUpTotal += collection.MakeUp + } + + // 放到 StaffAttendanceCollectionHandleV2 里面计算 + // 算旷工时 会把 休息日算上 所以 要 减去 休息日(基础) + //collection.MissDay = collection.MissDay - int32(restDays) + + collection.StaffName = accountRes.Data[i].NickName + + positionNames := make([]string, 0) + departmentNames := make([]string, 0) + + for j := 0; j < len(accountRes.Data[i].Positions); j++ { + positionNames = append(positionNames, accountRes.Data[i].Positions[j].PositionName) + } + + for j := 0; j < len(accountRes.Data[i].Positions); j++ { + departmentNames = append(departmentNames, accountRes.Data[i].Positions[j].DepartmentName) + } + + collection.PositionName = strings.Join(positionNames, ",") + collection.DepartmentName = strings.Join(departmentNames, ",") + + fmt.Printf("前 判断 collection info 内容: %+v", collection) + fmt.Println() + + if collection.Miss == 0 && collection.Late == 0 && collection.Before == 0 && collection.MissDay == 0 { + fmt.Printf("后 判断 collection info 内容: %+v", collection) + fmt.Println() + collection.Status = true + collectionRes.FullAttendance += 1 + } else { + collection.Status = false + collectionRes.Abnormal += 1 + } + + collectionRes.Staffs = append(collectionRes.Staffs, *collection) + fmt.Println("step ============================== 03 ============================== ") + fmt.Printf(" 请假 collection is : %+v \n", collection) + fmt.Println("step ============================== 03 ============================== ") + } + + fmt.Println("step ============================== 04 ============================== ") + + return nil +} + +func StaffAttendanceCollectionHandleV1(staffUID uint64, month string, dates []string, restDays int, outWorkStatus []int32) (collection *oa_model.StaffCollection, err error) { + collection = new(oa_model.StaffCollection) + collection, err = StaffCollectionClickInV2(staffUID, month, dates) + if err != nil { + return nil, err + } + + fmt.Println("step ============================== 02 ============================== ") + fmt.Printf(" 打卡 collection is : %+v \n", collection) + fmt.Println("step ============================== 02 ============================== ") + + collection.RestDays = int32(restDays) + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = collection.StaffUID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeBreastFeedingLeave, + oa_model.TypeAbortLeave, + oa_model.TypeDayOff, // 调休 + oa_model.TypeOverTime, // 加班 + //oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = dates[0] + applyReq.EndTime = dates[len(dates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + applyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return nil, err + } + + for i := 0; i < len(applyRes.Data); i++ { + if applyRes.Data[i].ApplyType == oa_model.TypeLeave || + applyRes.Data[i].ApplyType == oa_model.TypeSick || + applyRes.Data[i].ApplyType == oa_model.TypeAnnualLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaritalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMatingCheckLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypePaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypeParentalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeNursingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeBreastFeedingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeAbortLeave || + applyRes.Data[i].ApplyType == oa_model.TypeFuneralLeave { + collection.Leave += 1 + } + + if applyRes.Data[i].ApplyType == oa_model.TypeDayOff { + collection.DayOff += 1 + } + if applyRes.Data[i].ApplyType == oa_model.TypeOverTime { + if CheckDateInMonth(applyRes.Data[i].ApplyTimes[0].Date, dates) { + collection.OverWork += applyRes.Data[i].Hours + } + + // 判断 加班时间时候是 周末 如果是 则需要 在 工作日 +1 休息日 -1 + //applyDate, err := holiday.GetSingleData(holiday.ConvertTime(applyRes.Data[i].ApplyTimes[0].Date), false) + //if err != nil { + // return nil, err + //} + // + //if applyDate.Type != 0 { + // collection.RestDays -= 1 + // collection.WorkDays += 1 + //} + } + //if applyRes.Data[i].ApplyType == oa_model.TypeOutWork { + // collection.OutWork += 1 + //} + if applyRes.Data[i].ApplyType == oa_model.TypeMakeUp { + collection.MakeUp += 1 + } + } + + // 外勤申请 (e.ApprovalWorkStatusDoing , e.ApprovalWorkStatusOk , e.ApprovalWorkStatusFail) + outWorkApplyReq := new(oa.ApplyRecordReq) + outWorkApplyReq.StaffUID = collection.StaffUID + outWorkApplyReq.ApplyType = []string{ + oa_model.TypeOutWork, // 外勤 + //oa_model.TypeMakeUp, // 补卡 + } + outWorkApplyReq.ApplyStatus = outWorkStatus + outWorkApplyReq.BeginTime = dates[0] + outWorkApplyReq.EndTime = dates[len(dates)-1] + outWorkApplyReq.Page = 1 + outWorkApplyReq.PageSize = 1000 + outWorkApplyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), outWorkApplyReq) + if err != nil { + return nil, err + } + collection.OutWork = int32(outWorkApplyRes.Total) + + fmt.Println("step ============================== 03 ============================== ") + fmt.Printf(" 审批 collection is : %+v \n", collection) + fmt.Println("step ============================== 03 ============================== ") + + return collection, nil +} + +func StaffAttendanceCollectionHandleV2(staffUID uint64, month string, dates []string, restDays int, outWorkStatus []int32, outWorkDates []string) (collection *oa_model.StaffCollection, err error) { + collection = new(oa_model.StaffCollection) + collection, err = StaffCollectionClickInV2(staffUID, month, dates) + if err != nil { + return nil, err + } + + fmt.Println("step ============================== 02 ============================== ") + fmt.Printf(" 打卡 collection is : %+v \n", collection) + fmt.Println("step ============================== 02 ============================== ") + + // 休息日 处理 需要 去除 休息日加班 情况 + // restDays 是 根据 考勤规则的 week 和 实际的 假期 结合起来 算出来的 + collection.RestDays = int32(restDays) + collection.RestDays + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = collection.StaffUID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeBreastFeedingLeave, + oa_model.TypeAbortLeave, + oa_model.TypeDayOff, // 调休 + oa_model.TypeOverTime, // 加班 + oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = outWorkDates[0] + applyReq.EndTime = outWorkDates[len(outWorkDates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + applyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return nil, err + } + + for i := 0; i < len(applyRes.Data); i++ { + if applyRes.Data[i].ApplyType == oa_model.TypeLeave || + applyRes.Data[i].ApplyType == oa_model.TypeSick || + applyRes.Data[i].ApplyType == oa_model.TypeAnnualLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaritalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMatingCheckLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypePaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypeParentalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeNursingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeAbortLeave || + applyRes.Data[i].ApplyType == oa_model.TypeBreastFeedingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeFuneralLeave { + collection.Leave += 1 + } + + if applyRes.Data[i].ApplyType == oa_model.TypeDayOff { + collection.DayOff += 1 + } + if applyRes.Data[i].ApplyType == oa_model.TypeOutWork { + collection.OutWork += 1 + } + + // 加班 有考勤记录 无需 对 workDay 增减 + if applyRes.Data[i].ApplyType == oa_model.TypeOverTime { + if CheckDateInMonth(applyRes.Data[i].ApplyTimes[0].Date, dates) { + collection.OverWork += applyRes.Data[i].Hours + } + } + if applyRes.Data[i].ApplyType == oa_model.TypeMakeUp { + collection.MakeUp += 1 + } + } + + /* // 外勤申请 (e.ApprovalWorkStatusDoing , e.ApprovalWorkStatusOk , e.ApprovalWorkStatusFail) + outWorkApplyReq := new(oa.ApplyRecordReq) + outWorkApplyReq.StaffUID = collection.StaffUID + outWorkApplyReq.ApplyType = []string{ + oa_model.TypeOutWork, // 外勤 + //oa_model.TypeMakeUp, // 补卡 + } + outWorkApplyReq.ApplyStatus = outWorkStatus + outWorkApplyReq.BeginTime = outWorkDates[0] + outWorkApplyReq.EndTime = outWorkDates[len(outWorkDates)-1] + outWorkApplyReq.Page = 1 + outWorkApplyReq.PageSize = 1000 + outWorkApplyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), outWorkApplyReq) + if err != nil { + return nil, err + } + collection.OutWork = int32(outWorkApplyRes.Total) + + // 调休 + dayOffApplyReq := new(oa.ApplyRecordReq) + dayOffApplyReq.StaffUID = collection.StaffUID + dayOffApplyReq.ApplyType = []string{ + oa_model.TypeDayOff, // 外勤 + //oa_model.TypeMakeUp, // 补卡 + } + dayOffApplyReq.ApplyStatus = outWorkStatus + dayOffApplyReq.BeginTime = outWorkDates[0] + dayOffApplyReq.EndTime = outWorkDates[len(outWorkDates)-1] + dayOffApplyReq.Page = 1 + dayOffApplyReq.PageSize = 1000 + dayOffApplyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), dayOffApplyReq) + if err != nil { + return nil, err + } + collection.OutWork = int32(dayOffApplyRes.Total) + + // 补卡申请 (e.ApprovalWorkStatusDoing , e.ApprovalWorkStatusOk , e.ApprovalWorkStatusFail) + makeUpApplyReq := new(oa.ApplyRecordReq) + makeUpApplyReq.StaffUID = collection.StaffUID + makeUpApplyReq.ApplyType = []string{ + //oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + //makeUpApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusFail} + makeUpApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + makeUpApplyReq.BeginTime = dates[0] + makeUpApplyReq.EndTime = dates[len(dates)-1] + makeUpApplyReq.Page = 1 + makeUpApplyReq.PageSize = 1000 + makeUpApplyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), makeUpApplyReq) + if err != nil { + return nil, err + } + collection.MakeUp = int32(makeUpApplyRes.Total)*/ + + // 算旷工时 会把 休息日算上 所以 要 减去 休息日(基础) + //collection.MissDay = collection.MissDay - collection.RestDays + //collection.MissDay = collection.MissDay + + fmt.Println("step ============================== 03 ============================== ") + fmt.Printf(" 审批 collection is : %+v \n", collection) + fmt.Println("step ============================== 03 ============================== ") + + return collection, nil +} + +/* +出勤天数 平均工时 休息 缺卡 迟到 早退 旷工 外勤 +*/ +func StaffCollectionClickInV1(staffUID uint64, month string, dates []string) (collection *oa_model.StaffCollection, err error) { + collection = new(oa_model.StaffCollection) + + /* + // 查询 统计记录 + collection, err = findCollection(staffUID, month) + if err != nil { + return nil, err + } + */ + // 查询 考勤记录 + recordReq := new(oa.OARecordReq) + recordReq.StaffUID = staffUID + recordReq.Dates = dates + recordReq.Page = 1 + recordReq.PageSize = 9999 + recordRes, err := GrpcOAImpl.OARecord(context.Background(), recordReq) + if err != nil { + return nil, err + } + + var ( + totalHour float64 // 时长 + hourDay float64 // 用于 计算 平均工时 + workDays int32 // 用于 统计 考勤天数 + missDay int32 // 旷工次数 + outWork int32 // 外勤次数 + late int32 // 迟到次数 + before int32 // 早退次数 + miss int32 // 缺卡次数 + makeUp int32 // 补卡次数 + ) + + // 不计入 totalHour 的 不参与 平均工时计算 + for i := 0; i < len(recordRes.Data); i++ { + // 缺卡 缺卡次数 和 考勤班次 次数一致 则 算旷工 + var ( + isMissDay int + //isWork bool = false + //isOut bool = false + //isLate bool = false + //isBefore bool = false + hours float64 + ) + + for j := 0; j < len(recordRes.Data[i].Records); j++ { + // 用于 确认是否 旷工 + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss { + miss += 1 + isMissDay += 1 + //isWork = false + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeOutWork { + outWork += 1 + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeLate { + late += 1 + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeBefore { + before += 1 + } + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMakeUp { + makeUp += 1 + } + } + + if isMissDay == len(recordRes.Data[i].Records) { + missDay += 1 + } else { + workDays += 1 + } + + //fmt.Println("========================================== recordRes.Data[i].Records ========================================== ") + //fmt.Printf("recordRes.Data[i].Records is : %+v \n", recordRes.Data[i].Records) + //fmt.Println("========================================== recordRes.Data[i].Records =========================================== ") + //fmt.Println() + + // 统计工时 没有 完整的 上下班 打卡 记录 则 不计算 平均工时 + for j := 0; j < len(recordRes.Data[i].Records); j = j + 2 { + + if j+1 >= len(recordRes.Data[i].Records) { + break + } + + // 判断是否是 缺卡 是 跳过 + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss || recordRes.Data[i].Records[j+1].ActionType == oa_model.TypeMiss { + continue + } + + // 成对 出现 + //now := time.Now().Format("2006-01-02") + var startTime time.Time + var endTime time.Time + //if recordRes.Data[i].Records[j].ActionType != oa_model.TypeCommon { + // startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", now+" "+recordRes.Data[i].Records[j].WorkTime+":00", time.Local) + //} else { + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j].ActionTime+":00", time.Local) + //} + + //if recordRes.Data[i].Records[j+1].ActionType != oa_model.TypeCommon { + // endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", now+" "+recordRes.Data[i].Records[j+1].WorkTime+":00", time.Local) + //} else { + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j+1].ActionTime+":00", time.Local) + //} + + //fmt.Println("========================================== startTime endTime ========================================== ") + //fmt.Println("startTime is : ", startTime) + //fmt.Println("endTime is : ", endTime) + //fmt.Println("========================================== startTime endTime ========================================== ") + //fmt.Println() + + hours = hours + endTime.Sub(startTime).Hours() + //fmt.Println("========================================== hours ========================================== ") + //fmt.Println("hours is : ", hours) + //fmt.Println("========================================== hours ========================================== ") + //fmt.Println() + //j = j + 2 + } + + if hours > 0 { + hourDay += 1 + totalHour += hours + } + } + + collection.StaffUID = staffUID + collection.WorkDays = workDays + collection.Miss = miss + collection.MakeUp = makeUp + collection.Late = late + collection.Before = before + collection.MissDay = missDay + collection.OutWork = outWork + + //fmt.Println("========================================== totalHour hourDay ========================================== ") + //fmt.Println("totalHour is : ", totalHour) + //fmt.Println("hourDay is : ", hourDay) + //fmt.Println("========================================== totalHour hourDay = ========================================== ") + //fmt.Println() + + if totalHour != 0 && hourDay != 0 { + averageHour, _ := strconv.ParseFloat(strconv.FormatFloat(math.Trunc(totalHour/hourDay*math.Pow10(1))/math.Pow10(1), 'f', -1, 64), 64) + //fmt.Println("========================================== averageHour ========================================== ") + //fmt.Println("averageHour is : ", averageHour) + //fmt.Println("========================================== averageHour ========================================== ") + //fmt.Println() + collection.AverageHour = float32(averageHour) + } + + //if collection.Miss != 0 || collection.Late != 0 || collection.Before != 0 || collection.MissDay != 0 { + // collection.Status = false + //} else { + // collection.Status = true + //} + + return +} + +func StaffCollectionClickInV2(staffUID uint64, month string, dates []string) (collection *oa_model.StaffCollection, err error) { + collection = new(oa_model.StaffCollection) + + /* + // 查询 统计记录 + collection, err = findCollection(staffUID, month) + if err != nil { + return nil, err + } + */ + // 查询 考勤记录 + recordReq := new(oa.OARecordReq) + recordReq.StaffUID = staffUID + recordReq.Dates = dates + recordReq.Page = 1 + recordReq.PageSize = 9999 + recordRes, err := GrpcOAImpl.OARecord(context.Background(), recordReq) + if err != nil { + fmt.Println("查询 考勤记录 GrpcOAImpl.OARecord err :", err.Error()) + return nil, errors.New(e.ErrQueryOaRecord) + } + + var ( + totalHour float64 // 时长 + hourDay float64 // 用于 计算 平均工时 + workDays int32 // 用于 统计 考勤天数 + missDay int32 // 旷工次数 + outWork int32 // 外勤次数 + late int32 // 迟到次数 + before int32 // 早退次数 + miss int32 // 缺卡次数 + makeUp int32 // 补卡次数 + lastCycle string + ) + + // 不计入 totalHour 的 不参与 平均工时计算 + for i := 0; i < len(recordRes.Data); i++ { + // 缺卡 缺卡次数 和 考勤班次 次数一致 则 算旷工 + var ( + isMissDay int + hours float64 + ) + + fmt.Printf("========================================== recordRes.Data[%v].Records ========================================== \n", i+1) + fmt.Printf("recordRes.Data[i].Records is : %+v \n", recordRes.Data[i]) + fmt.Printf("========================================== recordRes.Data[%v].Records ========================================== \n", i+1) + fmt.Println() + + // 如果 考勤 中的 打卡周期 不为空 则将 此次 打卡周期记录 为 之后 考勤记录为 空的 提供 判断依据 + if recordRes.Data[i].Cycle != "" { + lastCycle = recordRes.Data[i].Cycle + } + + // 全天考勤正常 与否 + oaRecord := oa_model.OARecord{} + var isWork bool + + // 如果 考勤记录不为 空 则将 记录中的 IsWork 赋值给 统计中的 IsWork (不用) + // 无论记录是否存在 都将 记录中的 IsWork 赋值给 统计中的 IsWork + isWork = ConfirmIsWork(lastCycle, recordRes.Data[i].WorkDate) + + if isWork { + recordRes.Data[i].IsWork = oa_model.IsWork + } + + if len(recordRes.Data[i].Records) > 0 { + oaRecord.IsWork = oa_model.IsWork + } + + currentDate, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" 00:00:00", time.Local) + + if len(recordRes.Data[i].Records) == 0 { + workDate, _ := time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].WorkDate+" 00:00:00", time.Local) + if recordRes.Data[i].IsWork == oa_model.IsWork && workDate.Before(currentDate) { + //if len(recordRes.Data[i].Records) == 0 { + // if oaRecord.IsWork == oa_model.IsWork { // 特殊情况 工作日 没有考勤记录 + missDay += 1 + } + continue + } + + if oaRecord.IsWork == oa_model.IsWork && recordRes.Data[i].IsWork == oa_model.IsFree { + collection.RestDays += -1 + } + + records := make([]oa_model.Record, 0) + currentMap := make(map[string]*oa_model.Record, 0) // 剔除重复考勤记录数据 + for j := 0; j < len(recordRes.Data[i].Records); j++ { + record := new(oa_model.Record) + err = copier.CopyWithOption(&record, recordRes.Data[i].Records[j], copier.Option{DeepCopy: true}) + if err != nil { + fmt.Println("复制 考勤记录 err :", err.Error()) + return + } + if _, ok := currentMap[recordRes.Data[i].Records[j].WorkTime]; ok { + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeCommon || recordRes.Data[i].Records[j].ActionType == oa_model.TypeBefore { + records = records[:len(records)-1] + } else { + continue + } + } + currentMap[recordRes.Data[i].Records[j].WorkTime] = record + records = append(records, *record) + } + + timeOptions := make([]*oa_model.TimeOption, 0) + _ = copier.CopyWithOption(&timeOptions, recordRes.Data[i].TimeOptions, copier.Option{DeepCopy: true}) + fmt.Println("========================================== confirmLeaveType ========================================== ") + fmt.Println("confirmLeaveType req staffUID is : ", staffUID) + fmt.Printf("confirmLeaveType req timeOptions is %+v\n : ", timeOptions) + fmt.Printf("confirmLeaveType req dates is %+v\n : ", []string{recordRes.Data[i].WorkDate, recordRes.Data[i].WorkDate}) + fmt.Println("========================================== confirmLeaveType =========================================== ") + fmt.Println() + + leaveTypeMap := confirmLeaveType(staffUID, timeOptions, []string{recordRes.Data[i].WorkDate, recordRes.Data[i].WorkDate}) + + fmt.Println("========================================== confirmLeaveType ========================================== ") + fmt.Printf("confirmLeaveType is : %+v \n", leaveTypeMap) + fmt.Println("========================================== confirmLeaveType =========================================== ") + fmt.Println() + + for j := 0; j < len(records); j++ { + + // 判断 当前 打卡记录是否 在 某一次 请假 调休 中, 如果存在 则将 ActionType 置为 相应请假类型 ActionTime 置为 打卡时间 (计算工时使用) + // 会过滤掉 缺卡 迟到 早退情况 + if leaveTypeMap[records[j].WorkTime] != nil { + records[j].ActionType = leaveTypeMap[records[j].WorkTime].ActionType + records[j].ActionTime = recordRes.Data[i].WorkDate + " " + records[j].WorkTime + continue + } + + // 用于 确认是否 旷工 + if records[j].ActionType == oa_model.TypeMiss { + miss += 1 + isMissDay += 1 + } + if records[j].ActionType == oa_model.TypeLate { + late += 1 + } + if records[j].ActionType == oa_model.TypeBefore { + before += 1 + } + + } + + if isMissDay == len(records) { + missDay += 1 + } else { + workDays += 1 + } + + fmt.Printf("========================================== records %v ========================================== \n", i+1) + fmt.Printf("records is : %+v \n", records) + fmt.Printf("========================================== records %v ========================================== \n", i+1) + fmt.Println() + + // 统计工时 没有 完整的 上下班 打卡 记录 则 不计算 平均工时 + for j := 0; j < len(records); j = j + 2 { + + if j+1 >= len(records) { + break + } + + // 判断是否是 缺卡 是 跳过 + //if records[j].ActionType == oa_model.TypeMiss || records[j+1].ActionType == oa_model.TypeMiss { + // continue + //} + + if (records[j].ActionType != oa_model.TypeCommon && records[j].ActionType != oa_model.TypeBefore && records[j].ActionType != oa_model.TypeLate && records[j].ActionType != oa_model.TypeMakeUp && records[j].ActionType != oa_model.TypeOutWork && records[j].ActionType != oa_model.TypeOverTime) || + (records[j+1].ActionType != oa_model.TypeCommon && records[j+1].ActionType != oa_model.TypeBefore && records[j+1].ActionType != oa_model.TypeLate && records[j+1].ActionType != oa_model.TypeMakeUp && records[j+1].ActionType != oa_model.TypeOutWork && records[j+1].ActionType != oa_model.TypeOverTime) { + continue + } + + // 成对 出现 + var startTime time.Time + var endTime time.Time + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", records[j].ActionTime+":00", time.Local) + + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", records[j+1].ActionTime+":00", time.Local) + + //fmt.Println("========================================== startTime endTime ========================================== ") + //fmt.Println("startTime is : ", startTime) + //fmt.Println("endTime is : ", endTime) + //fmt.Println("========================================== startTime endTime ========================================== ") + //fmt.Println() + + hours = hours + endTime.Sub(startTime).Hours() + //fmt.Println("========================================== hours ========================================== ") + //fmt.Println("hours is : ", hours) + //fmt.Println("========================================== hours ========================================== ") + //fmt.Println() + //j = j + 2 + } + + //if hours > 0 { + // hourDay += 1 + // totalHour += float64(HandleHourLeaveASeat(hours)) + //} + if len(records) > 0 && (isMissDay != len(records)) { + hourDay += 1 + totalHour += float64(HandleHourLeaveASeat(hours)) + } + } + + collection.StaffUID = staffUID + collection.WorkDays = workDays + collection.Miss = miss + collection.MakeUp = makeUp + collection.Late = late + collection.Before = before + collection.MissDay = missDay + collection.OutWork = outWork + + //fmt.Println("========================================== totalHour hourDay ========================================== ") + //fmt.Println("totalHour is : ", totalHour) + //fmt.Println("hourDay is : ", hourDay) + //fmt.Println("========================================== totalHour hourDay = ========================================== ") + //fmt.Println() + + if totalHour != 0 && hourDay != 0 { + //averageHour, _ := strconv.ParseFloat(strconv.FormatFloat(math.Trunc(totalHour/hourDay*math.Pow10(1))/math.Pow10(1), 'f', -1, 64), 64) + collection.AverageHour = HandleHourLeaveASeat(totalHour / hourDay) + /*fmt.Println("========================================== averageHour ========================================== ") + fmt.Println("averageHour is : ", collection.AverageHour) + fmt.Println("totalHour is : ", totalHour) + fmt.Println("hourDay is : ", hourDay) + fmt.Println("========================================== averageHour ========================================== ") + fmt.Println()*/ + + } + + //if collection.Miss != 0 || collection.Late != 0 || collection.Before != 0 || collection.MissDay != 0 { + // collection.Status = false + //} else { + // collection.Status = true + //} + + return +} + +// 确认 当前 打卡 类型 根据 当天的 请假 调休 判断 并 在 考勤 记录 上 打上 相应的标签(leave, dayOff) +func confirmLeaveType(staffUUID uint64, times []*oa_model.TimeOption, dates []string) map[string]*oa_model.ConfirmActionType { + // 查询 请假记录 + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = staffUUID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeBreastFeedingLeave, + oa_model.TypeAbortLeave, + oa_model.TypeDayOff, // 调休 + //oa_model.TypeOverTime, // 加班 + oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = dates[0] + applyReq.EndTime = dates[len(dates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + apply, err := GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return nil + } + + fmt.Printf("========================================== apply ========================================== \n") + fmt.Printf("apply is : %+v \n", apply.Data) + fmt.Printf("========================================== apply ========================================== \n") + fmt.Println() + + fmt.Printf("========================================== times ========================================== \n") + fmt.Printf("times is : %+v \n", times) + fmt.Printf("========================================== times ========================================== \n") + fmt.Println() + + confirmTypes := make(map[string]*oa_model.ConfirmActionType, 0) + + for i := 0; i < len(apply.Data); i++ { + var ( + applyStartTimeStr string + applyEndTimeStr string + applyStartTime time.Time + applyEndTime time.Time + ) + + fmt.Printf("========================================== apply.Data %v ========================================== \n", i+1) + fmt.Printf("apply.Data is : %+v \n", apply.Data[i]) + fmt.Printf("========================================== apply.Data %v ========================================== \n", i+1) + fmt.Println() + + if len(apply.Data[i].ApplyTimes) == 1 { + applyStartTimeStr = apply.Data[i].ApplyTimes[0].Date + " " + times[0].OnWorkTime + ":00" + } else { + applyTimes := make([]oa_model.ApplyTime, 0) + _ = copier.CopyWithOption(&applyTimes, apply.Data[i].ApplyTimes, copier.Option{DeepCopy: true}) + applyStartTimeStr, applyEndTimeStr = oa_logic.ConvertApplyTimeV2(applyTimes, times) + } + + applyStartTime, _ = time.ParseInLocation("2006-01-02 15:04:05", applyStartTimeStr, time.Local) + applyEndTime, _ = time.ParseInLocation("2006-01-02 15:04:05", applyEndTimeStr, time.Local) + for j := 0; j < len(times); j++ { + + onWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyStartTime.Format("2006-01-02")+" "+times[j].OnWorkTime+":00", time.Local) + offWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyEndTime.Format("2006-01-02")+" "+times[j].OffWorkTime+":00", time.Local) + + /* + 开始时间 在 上班 之后 结束时间 在 下班之前 跳出 循环 + */ + if applyStartTime.After(onWorkTime) && applyEndTime.Before(offWorkTime) { + break + } + + if !applyStartTime.After(onWorkTime) { // 开始时间 不在 上班之后 + if applyEndTime.After(onWorkTime) { // 结束时间 在 上班之后 记 上班时间 为 请假 或者 调休 + makeActionTypeRecord(confirmTypes, apply.Data[i].ApplyType, "", times[j].OnWorkTime, apply.Data[i].UUID) + if applyEndTime.Before(offWorkTime) { // 结束时间 在 下班之前 跳出 循环 + break + } else { // 结束时间 不在 下班之前 记 下班时间 为 请假 或者 调休 + makeActionTypeRecord(confirmTypes, apply.Data[i].ApplyType, "", times[j].OffWorkTime, apply.Data[i].UUID) + } + } + } else { + if !applyEndTime.Before(offWorkTime) && applyStartTime.Before(offWorkTime) { + makeActionTypeRecord(confirmTypes, apply.Data[i].ApplyType, "", times[j].OffWorkTime, apply.Data[i].UUID) + } + } + } + } + return confirmTypes +} + +func confirmMakeUpType(staffUUID uint64, dates []string) map[string]*oa_model.ConfirmActionType { + // 查询 请假记录 + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = staffUUID + applyReq.ApplyType = []string{ + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = dates[0] + applyReq.EndTime = dates[len(dates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + apply, err := GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return nil + } + + confirmTypes := make(map[string]*oa_model.ConfirmActionType, 0) + + for i := 0; i < len(apply.Data); i++ { + makeActionTypeRecord(confirmTypes, apply.Data[i].ApplyType, apply.Data[i].ApplyTimes[0].Date, apply.Data[i].ApplyTimes[0].Hour, apply.Data[i].UUID) + } + return confirmTypes +} + +// 构建 打卡 类型 以及 添加 相关申请的UUID +func makeActionTypeRecord(confirmTypes map[string]*oa_model.ConfirmActionType, applyType, workDate, workTime, applyUUID string) { + confirm := &oa_model.ConfirmActionType{ + WorkTime: workTime, + ApplyUUID: applyUUID, + } + // actionType 为 相应的 请假类型 不做统一 处理( 请假 归总 为 leave [不使用]) + if oa_model.LeaveType[applyType] != "" || applyType == oa_model.TypeLeave || applyType == oa_model.TypeSick || applyType == oa_model.TypeDayOff || applyType == oa_model.TypeMakeUp || applyType == oa_model.TypeOutWork { + confirm.ActionType = applyType + } + + confirmTypes[workDate+workTime] = confirm +} + +func StaffCollectionDetail(dates []string, staffUID uint64, outWorkDates []string) (collectionDetail *oa_model.CollectionDetailRes, err error) { + + collectionDetail = new(oa_model.CollectionDetailRes) + + // 获取日历 + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(dates[0]), holiday.ConvertTime(dates[len(dates)-1]), true) + if err != nil { + return + } + holidayMap := make(map[string]*holiday.RespData, 0) + for i := 0; i < len(holidayRes); i++ { + var ( + yearStr string + dayStr string + monthStr string + ) + yearStr = strconv.Itoa(int(holidayRes[i].Year)) + if holidayRes[i].Day < 10 { + dayStr = "0" + strconv.Itoa(int(holidayRes[i].Day)) + } else { + dayStr = strconv.Itoa(int(holidayRes[i].Day)) + } + if holidayRes[i].Month < 10 { + monthStr = "0" + strconv.Itoa(int(holidayRes[i].Month)) + } else { + monthStr = strconv.Itoa(int(holidayRes[i].Month)) + } + holidayMap[yearStr+"-"+monthStr+"-"+dayStr] = holidayRes[i] + } + fmt.Println(holidayMap) + + fmt.Println("step : ================================= 2 =================================") + fmt.Println() + + // 获取 oa 申请 信息 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = staffUID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeBreastFeedingLeave, + oa_model.TypeAbortLeave, + oa_model.TypeDayOff, // 调休 + oa_model.TypeOverTime, // 加班 + oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + applyReq.BeginTime = outWorkDates[0] + applyReq.EndTime = outWorkDates[len(outWorkDates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + applyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return + } + + /*// 外勤 + outWorkApplyReq := new(oa.ApplyRecordReq) + outWorkApplyReq.StaffUID = staffUID + outWorkApplyReq.ApplyType = []string{ + oa_model.TypeOutWork, // 外勤 + } + outWorkApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + outWorkApplyReq.BeginTime = outWorkDates[0] + outWorkApplyReq.EndTime = outWorkDates[len(outWorkDates)-1] + outWorkApplyReq.Page = 1 + outWorkApplyReq.PageSize = 1000 + outWorkApplyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), outWorkApplyReq) + if err != nil { + return + } + if outWorkApplyRes.Data != nil || len(outWorkApplyRes.Data) != 0 { + if applyRes.Data != nil { + applyRes.Data = append(applyRes.Data, outWorkApplyRes.Data...) + } else if applyRes.Data == nil || len(applyRes.Data) == 0 { + applyRes.Data = outWorkApplyRes.Data + } + } + + // 调休 + dayOffApplyReq := new(oa.ApplyRecordReq) + dayOffApplyReq.StaffUID = staffUID + dayOffApplyReq.ApplyType = []string{ + oa_model.TypeDayOff, // 外勤 + //oa_model.TypeMakeUp, // 补卡 + } + dayOffApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + dayOffApplyReq.BeginTime = outWorkDates[0] + dayOffApplyReq.EndTime = outWorkDates[len(outWorkDates)-1] + dayOffApplyReq.Page = 1 + dayOffApplyReq.PageSize = 1000 + dayOffApplyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), dayOffApplyReq) + if err != nil { + return nil, err + } + + if dayOffApplyRes.Data != nil || len(dayOffApplyRes.Data) != 0 { + if applyRes.Data != nil { + applyRes.Data = append(applyRes.Data, dayOffApplyRes.Data...) + } else if applyRes.Data == nil || len(applyRes.Data) == 0 { + applyRes.Data = dayOffApplyRes.Data + } + }*/ + + /*fmt.Println("applyRes ============================ start ======================================") + fmt.Printf("applyRes : %+v\n", applyRes) + fmt.Println("applyRes ============================ end ======================================") + fmt.Println()*/ + + fmt.Println("step : ================================= 3 =================================") + fmt.Println() + + makeUp := make([]oa_model.CommonInfo, 0) + leave := make([]oa_model.CommonInfo, 0) + dayOff := make([]oa_model.CommonInfo, 0) + overWork := make([]oa_model.CommonInfo, 0) + outWork := make([]oa_model.CommonInfo, 0) + + for i := 0; i < len(applyRes.Data); i++ { + commonInfo := oa_model.CommonInfo{} + commonInfo.UUID = applyRes.Data[i].UUID + commonInfo.Hours = applyRes.Data[i].Hours + commonInfo.Days = applyRes.Data[i].Days + commonInfo.LeaveType = applyRes.Data[i].ApplyType + commonInfo.LeaveTypeZhCN = oa_model.TypeZhCN[applyRes.Data[i].ApplyType] + commonInfo.ApplyTimes = make([]*oa_model.ApplyTime, 0) + + weeklys := make([]string, 0) + for j := 0; j < len(applyRes.Data[i].ApplyTimes); j++ { + at := &oa_model.ApplyTime{ + Date: applyRes.Data[i].ApplyTimes[j].Date, + Hour: applyRes.Data[i].ApplyTimes[j].Hour, + M: applyRes.Data[i].ApplyTimes[j].M, + } + commonInfo.ApplyTimes = append(commonInfo.ApplyTimes, at) + fmt.Println("at.Date :", at.Date) + fmt.Println("holidayMap[at.Date] :", holidayMap[at.Date]) + //fmt.Println("holidayMap[at.Date].WeekDay :", holidayMap[at.Date].WeekDay) + if holidayMap[at.Date] != nil { + weeklys = append(weeklys, oa_model.WeekZhCN[holidayMap[at.Date].WeekDay]) + } else { + v, _ := holiday.GetCacheHolidayInfo([]string{strings.ReplaceAll(at.Date, "-", "")}) + if len(v) == 1 { + weeklys = append(weeklys, oa_model.WeekZhCN[v[0].WeekDay]) + } + } + } + if len(weeklys) == 1 { + commonInfo.Weekly = weeklys[0] + } else if len(weeklys) > 1 { + commonInfo.Weekly = strings.Join(weeklys, " - ") + } + + // 组装 申请 的数据 + if applyRes.Data[i].ApplyType == oa_model.TypeMakeUp { + makeUp = append(makeUp, commonInfo) + } else if applyRes.Data[i].ApplyType == oa_model.TypeOverTime { + if CheckDateInMonth(applyRes.Data[i].ApplyTimes[0].Date, dates) { + overWork = append(overWork, commonInfo) + } + } else if applyRes.Data[i].ApplyType == oa_model.TypeDayOff { + dayOff = append(dayOff, commonInfo) + } else if applyRes.Data[i].ApplyType == oa_model.TypeOutWork { + commonInfo.ApplyOutAddress = applyRes.Data[i].OutWorkAddress + outWork = append(outWork, commonInfo) + } else if applyRes.Data[i].ApplyType == oa_model.TypeLeave || + applyRes.Data[i].ApplyType == oa_model.TypeSick || + applyRes.Data[i].ApplyType == oa_model.TypeAnnualLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaritalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMatingCheckLeave || + applyRes.Data[i].ApplyType == oa_model.TypeMaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypePaternityLeave || + applyRes.Data[i].ApplyType == oa_model.TypeParentalLeave || + applyRes.Data[i].ApplyType == oa_model.TypeNursingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeAbortLeave || + applyRes.Data[i].ApplyType == oa_model.TypeBreastFeedingLeave || + applyRes.Data[i].ApplyType == oa_model.TypeFuneralLeave { + leave = append(leave, commonInfo) + } + } + + fmt.Println("step : ================================= 4 =================================") + fmt.Println() + + collectionDetail.MakeUp = makeUp + collectionDetail.Leave = leave + collectionDetail.DayOff = dayOff + collectionDetail.OverWork = overWork + collectionDetail.OutWork = outWork + + /*fmt.Println("collectionDetail ============================ start ======================================") + fmt.Printf("collectionDetail : %+v\n", collectionDetail) + fmt.Println("collectionDetail ============================ end ======================================") + fmt.Println()*/ + + // 打卡 记录 查询 统计 + recordReq := new(oa.OARecordReq) + recordReq.StaffUID = staffUID + recordReq.Dates = dates + recordReq.Page = 1 + recordReq.PageSize = 9999 + recordRes, err := GrpcOAImpl.OARecord(context.Background(), recordReq) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return + } + + /* fmt.Println("recordRes ============================ start ======================================") + fmt.Printf("recordRes : %+v\n", recordRes) + fmt.Println("recordRes ============================ end ======================================") + fmt.Println()*/ + + averageHour := make([]oa_model.CommonInfo, 0) + workDays := make([]oa_model.CommonInfo, 0) + miss := make([]oa_model.CommonInfo, 0) + late := make([]oa_model.CommonInfo, 0) + before := make([]oa_model.CommonInfo, 0) + missDay := make([]oa_model.CommonInfo, 0) + restDays := make([]oa_model.CommonInfo, 0) + + var lastCycle string + + for i := 0; i < len(recordRes.Data); i++ { + var hours float64 + // 判断 是否是 旷工 + /* + 旷工: 考勤记录为空 且 workDate 为工作日 + 考勤记录不为空 且 考勤记录均为 miss + */ + + if recordRes.Data[i].Cycle != "" { + lastCycle = recordRes.Data[i].Cycle + fmt.Println("lastCycle is == ", lastCycle) + } + + var isWork bool + + isWork = ConfirmIsWork(lastCycle, recordRes.Data[i].WorkDate) + + if isWork { + recordRes.Data[i].IsWork = oa_model.IsWork + } + + currentDate, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" 00:00:00", time.Local) + + if len(recordRes.Data[i].Records) == 0 { + workDate, _ := time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].WorkDate+" 00:00:00", time.Local) + if workDate.Before(currentDate) { + if recordRes.Data[i].IsWork == oa_model.IsWork { + missDay = append(missDay, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Days: 1, + }) + } + + if recordRes.Data[i].IsWork == oa_model.IsFree && lastCycle == "" && (holidayMap[recordRes.Data[i].WorkDate].Type == oa_model.HolidayDay || holidayMap[recordRes.Data[i].WorkDate].Type == oa_model.FestivalHoliday) { // 测试 从未有打卡记录的 休息日 数量问题 + restDays = append(restDays, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Days: 1, + }) + } + + if recordRes.Data[i].IsWork == oa_model.IsFree && lastCycle != "" { // 测试 从未有打卡记录的 休息日 数量问题 + restDays = append(restDays, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Days: 1, + }) + } + } + + continue + } + + timeOption := make([]*oa_model.TimeOption, 0) + _ = copier.CopyWithOption(&timeOption, recordRes.Data[i].TimeOptions, copier.Option{DeepCopy: true}) + + leaveTypeMap := confirmLeaveType(staffUID, timeOption, []string{recordRes.Data[i].WorkDate, recordRes.Data[i].WorkDate}) + + // ========================= 考勤记录 ========================================== + + records := make([]oa_model.Record, 0) + currentMap := make(map[string]*oa_model.Record, 0) // 剔除重复考勤记录数据 + for j := 0; j < len(recordRes.Data[i].Records); j++ { + record := new(oa_model.Record) + err = copier.CopyWithOption(&record, recordRes.Data[i].Records[j], copier.Option{DeepCopy: true}) + if err != nil { + fmt.Println("复制 考勤记录 err :", err.Error()) + return + } + if _, ok := currentMap[recordRes.Data[i].Records[j].WorkTime]; ok { + //records = records[:len(records)-1] + if recordRes.Data[i].Records[j].ActionType == oa_model.TypeCommon || recordRes.Data[i].Records[j].ActionType == oa_model.TypeBefore { + records = records[:len(records)-1] + } else { + continue + } + } + currentMap[recordRes.Data[i].Records[j].WorkTime] = record + records = append(records, *record) + } + + isMissDay := 0 + singleMiss := make([]oa_model.CommonInfo, 0) + for j := 0; j < len(records); j++ { + if leaveTypeMap[records[j].WorkTime] != nil { + records[j].ActionType = leaveTypeMap[records[j].WorkTime].ActionType + records[j].ActionTime = recordRes.Data[i].WorkDate + " " + records[j].WorkTime + continue + } + if records[j].ActionType == oa_model.TypeMiss { + singleMiss = append(singleMiss, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: records[j].WorkTime, + }) + isMissDay += 1 + } + } + + if isMissDay == len(records) { + missDay = append(missDay, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Days: 1, + }) + miss = append(miss, singleMiss...) + continue + } + + for j := 0; j < len(records); j++ { + if records[j].ActionType == oa_model.TypeLate { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: strings.Split(records[j].ActionTime, " ")[1], + } + late = append(late, commonInfo) + } + + if records[j].ActionType == oa_model.TypeMiss { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: records[j].WorkTime, + } + miss = append(miss, commonInfo) + } + + if records[j].ActionType == oa_model.TypeBefore { + commonInfo := oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Time: strings.Split(records[j].ActionTime, " ")[1], // 使用的 是 第一次打 早退卡 的 记录 + } + before = append(before, commonInfo) + } + + } + + fmt.Println("son step : ================================= 1 =================================") + fmt.Printf("restore records id %+v\n", records) + fmt.Println() + + // ========================= 旷工 ========================================== + + for j := 0; j < len(records); j = j + 2 { + + if j+1 >= len(records) { + break + } + fmt.Println("son step : ================================= 2 =================================") + fmt.Println() + + // 判断是否是 缺卡 是 跳过 + //if records[j].ActionType == oa_model.TypeMiss || records[j+1].ActionType == oa_model.TypeMiss { + // continue + //} + + if (records[j].ActionType != oa_model.TypeCommon && records[j].ActionType != oa_model.TypeBefore && records[j].ActionType != oa_model.TypeLate && records[j].ActionType != oa_model.TypeMakeUp && records[j].ActionType != oa_model.TypeOutWork && records[j].ActionType != oa_model.TypeOverTime) || + (records[j+1].ActionType != oa_model.TypeCommon && records[j+1].ActionType != oa_model.TypeBefore && records[j+1].ActionType != oa_model.TypeLate && records[j+1].ActionType != oa_model.TypeMakeUp && records[j+1].ActionType != oa_model.TypeOutWork && records[j+1].ActionType != oa_model.TypeOverTime) { + continue + } + fmt.Println("son step : ================================= 3 =================================") + fmt.Println() + + // 成对 出现 + var startTime time.Time + var endTime time.Time + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", records[j].ActionTime+":00", time.Local) + + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", records[j+1].ActionTime+":00", time.Local) + + hours = hours + endTime.Sub(startTime).Hours() + fmt.Println("son step : ================================= 4 =================================") + fmt.Println("计算时长 : ", j, hours) + fmt.Println() + } + + if hours > 0 { + averageHour = append(averageHour, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Hours: HandleHourLeaveASeat(hours), + }) + workDays = append(workDays, oa_model.CommonInfo{Date: recordRes.Data[i].WorkDate, Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay]}) + } + + if hours == 0 && isMissDay != len(records) { + averageHour = append(averageHour, oa_model.CommonInfo{ + Date: recordRes.Data[i].WorkDate, + Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay], + Hours: 0, + }) + workDays = append(workDays, oa_model.CommonInfo{Date: recordRes.Data[i].WorkDate, Weekly: oa_model.WeekZhCN[holidayMap[recordRes.Data[i].WorkDate].WeekDay]}) + } + } + + fmt.Println("step : ================================= 5 =================================") + fmt.Println() + + collectionDetail.AverageHour = averageHour + collectionDetail.WorkDays = workDays + collectionDetail.Late = late + collectionDetail.Miss = miss + collectionDetail.Before = before + collectionDetail.MissDay = missDay + collectionDetail.RestDays = restDays + + //fmt.Println("collectionDetail ============================ start ======================================") + //fmt.Printf("collectionDetail : %+v\n", collectionDetail) + //fmt.Println("collectionDetail ============================ end ======================================") + //fmt.Println() + return +} + +func CheckMonthIsAfter(month string) bool { + queryMonth, _ := time.ParseInLocation("2006-01-02 15:04:05", month+" 00:00:00", time.Local) + nowMonth, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01")+"-25"+" 00:00:00", time.Local) + return queryMonth.After(nowMonth) +} + +// 是否在周期内 +func CheckDateInMonth(date string, dates []string) bool { + dateMap := make(map[string]string) + for i := 0; i < len(dates); i++ { + dateMap[dates[i]] = dates[i] + } + + if _, ok := dateMap[date]; ok { + return true + } else { + return false + } +} diff --git a/pkg/service/oa_collection_handleV2.go b/pkg/service/oa_collection_handleV2.go new file mode 100644 index 0000000..a07de58 --- /dev/null +++ b/pkg/service/oa_collection_handleV2.go @@ -0,0 +1,773 @@ +package service + +// 使用 考勤详情的 数据返回 +//func AttendanceCollectionHandleV2(collectionRes *oa_model.AttendanceCollectionRes, month string, dates []string) error { +// // 获取 员工 列表 +// accountReq := new(account.ListRequest) +// accountReq.Domain = "fontree" +// accountReq.Page = 1 +// accountReq.PageSize = 9999 +// accountRes, err := AccountProvider.List(context.Background(), accountReq) +// if err != nil { +// //ResponseMsg(c, e.SUCCESS, serializer.Response{ +// // Msg: err.Error(), +// // Status: e.Failed, +// //}) +// return err +// } +// +// //查询部门 +// puRequest := &rule.PositionUserListRequest{} +// puRes, err := RuleProvider.PositionUserList(context.Background(), puRequest) +// +// if err != nil { +// //Error(c, e.Error, err) +// return err +// } +// +// for i := 0; i < len(accountRes.Data); i++ { +// for j := 0; j < len(puRes.Data); j++ { +// if accountRes.Data[i].ID == puRes.Data[j].UserId { +// accountRes.Data[i].Positions = append(accountRes.Data[i].Positions, &account.PositionUser{ +// PositionID: puRes.Data[j].PositionID, +// PositionName: puRes.Data[j].PositionName, +// DepartmentId: puRes.Data[j].DepartmentId, +// DepartmentCode: puRes.Data[j].DepartmentCode, +// DepartmentName: puRes.Data[j].DepartmentName, +// UserId: puRes.Data[j].UserId, +// UserName: puRes.Data[j].UserName, +// }) +// } +// } +// } +// +// fmt.Println("step ============================== 01 ============================== ") +// +// // 获取 每位员工的 信息 +// for i := 0; i < len(accountRes.Data); i++ { +// collectionDetail := new(oa_model.CollectionDetailRes) +// collectionDetail, err = StaffCollectionDetail(dates, accountRes.Data[i].ID) +// +// collection := new(oa_model.StaffCollection) +// collection.RestDays = int32(len(dates) - len(collectionDetail.WorkDays) - len(collectionDetail.MissDay)) +// collection.WorkDays = int32(len(collectionDetail.WorkDays)) +// collection.MissDay = int32(len(collectionDetail.MissDay)) +// collection.Miss = int32(len(collectionDetail.Miss)) +// collection.Late = int32(len(collectionDetail.Late)) +// collection.Before = int32(len(collectionDetail.Before)) +// collection.MakeUp = int32(len(collectionDetail.MakeUp)) +// collection.OutWork = int32(len(collectionDetail.OutWork)) +// collection.Leave = int32(len(collectionDetail.Leave)) +// +// var dayOff float32 +// for j := 0; j < len(collectionDetail.DayOff); j++ { +// dayOff += collectionDetail.DayOff[j].Hours +// } +// collection.DayOff = HandleHour(float64(dayOff)) +// +// var overWork float32 +// for j := 0; j < len(collectionDetail.OverWork); j++ { +// overWork += collectionDetail.OverWork[j].Hours +// } +// collection.OverWork = HandleHour(float64(overWork)) +// +// var averageHour float32 +// for j := 0; j < len(collectionDetail.AverageHour); j++ { +// averageHour += collectionDetail.AverageHour[j].Hours +// } +// collection.AverageHour = HandleHour(float64(averageHour)) +// +// collectionRes.Staffs = append(collectionRes.Staffs, *collection) +// fmt.Println("step ============================== 03 ============================== ") +// fmt.Printf(" 请假 collection is : %+v \n", collection) +// fmt.Println("step ============================== 03 ============================== ") +// } +// +// fmt.Println("step ============================== 04 ============================== ") +// +// return nil +//} + +//func AttendanceCollectionHandleV3(collectionRes *oa_model.AttendanceCollectionRes, month string, dates []string) error { +// // 获取 员工 列表 +// accountReq := new(account.ListRequest) +// accountReq.Domain = "fontree" +// accountReq.Page = 1 +// accountReq.PageSize = 9999 +// accountRes, err := AccountProvider.List(context.Background(), accountReq) +// if err != nil { +// //ResponseMsg(c, e.SUCCESS, serializer.Response{ +// // Msg: err.Error(), +// // Status: e.Failed, +// //}) +// return err +// } +// +// //查询部门 +// puRequest := &rule.PositionUserListRequest{} +// puRes, err := RuleProvider.PositionUserList(context.Background(), puRequest) +// +// if err != nil { +// //Error(c, e.Error, err) +// return err +// } +// +// for i := 0; i < len(accountRes.Data); i++ { +// for j := 0; j < len(puRes.Data); j++ { +// if accountRes.Data[i].ID == puRes.Data[j].UserId { +// accountRes.Data[i].Positions = append(accountRes.Data[i].Positions, &account.PositionUser{ +// PositionID: puRes.Data[j].PositionID, +// PositionName: puRes.Data[j].PositionName, +// DepartmentId: puRes.Data[j].DepartmentId, +// DepartmentCode: puRes.Data[j].DepartmentCode, +// DepartmentName: puRes.Data[j].DepartmentName, +// UserId: puRes.Data[j].UserId, +// UserName: puRes.Data[j].UserName, +// }) +// } +// } +// } +// +// //holidayRes := make([]*holiday.RespData, 0) +// +// // 获取 休息天数 总天数 - 工作天数 (注:周一到周五 法定调休 均为 工作日) +// holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(dates[0]), holiday.ConvertTime(dates[len(dates)-1]), false) +// if err != nil { +// return err +// } +// +// fmt.Println("step ============================== 01 ============================== ") +// +// // 获取 每位员工的 信息 +// for i := 0; i < len(accountRes.Data); i++ { +// +// // 计算 休息日 需要结合 考勤班次中的 week +// queryTimeOptions := make([]oa_model.QueryTimeOption, 0) +// for k := 0; k < len(accountRes.Data[i].Positions); k++ { +// queryTimeOption := oa_model.QueryTimeOption{ +// PositionUID: strconv.FormatUint(accountRes.Data[i].Positions[k].PositionID, 10), +// DepartmentUID: strconv.FormatUint(accountRes.Data[i].Positions[k].DepartmentId, 10), +// } +// queryTimeOptions = append(queryTimeOptions, queryTimeOption) +// } +// startDay, endDay, err := WorkingTimeWeekBest(queryTimeOptions) +// if err != nil { +// fmt.Println("WorkDays err is :", err.Error()) +// return err +// } +// +// isWeek := make(map[int]int, 0) +// +// for i := startDay; i <= endDay; i++ { +// isWeek[i] = i +// } +// +// commonWorkDays := holiday.GetCommonWorkDays(holidayRes, isWeek) +// +// restDays := len(holidayRes) - len(commonWorkDays) +// +// collection := new(oa_model.StaffCollection) +// outWorkStatus := []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusFail} +// collection, err = StaffAttendanceCollectionHandleV1(accountRes.Data[i].ID, month, dates, restDays, outWorkStatus) +// if err != nil { +// return err +// } +// +// if collection.OutWork != 0 { +// collectionRes.OutWorkTotal += collection.OutWork +// } +// +// if collection.MakeUp != 0 { +// collectionRes.MakeUpTotal += 1 +// } +// +// if collection.Status { +// collectionRes.FullAttendance += 1 +// } else { +// collectionRes.Abnormal += 1 +// } +// +// // 放到 StaffAttendanceCollectionHandleV2 里面计算 +// // 算旷工时 会把 休息日算上 所以 要 减去 休息日(基础) +// //collection.MissDay = collection.MissDay - int32(restDays) +// +// collection.StaffName = accountRes.Data[i].NickName +// +// positionNames := make([]string, 0) +// +// for j := 0; j < len(accountRes.Data[i].Positions); j++ { +// positionNames = append(positionNames, accountRes.Data[i].Positions[j].PositionName) +// } +// +// collection.PositionName = strings.Join(positionNames, ",") +// +// fmt.Printf("前 判断 collection info 内容: %+v", collection) +// fmt.Println() +// +// if collection.Miss == 0 && collection.Late == 0 && collection.Before == 0 && collection.MissDay == 0 { +// fmt.Printf("后 判断 collection info 内容: %+v", collection) +// fmt.Println() +// collection.Status = true +// } else { +// collection.Status = false +// } +// +// collectionRes.Staffs = append(collectionRes.Staffs, *collection) +// fmt.Println("step ============================== 03 ============================== ") +// fmt.Printf(" 请假 collection is : %+v \n", collection) +// fmt.Println("step ============================== 03 ============================== ") +// } +// +// fmt.Println("step ============================== 04 ============================== ") +// +// return nil +//} + +// 使用 考勤详情的 数据返回 +//func StaffAttendanceCollectionHandleV3(staffUID uint64, month string, dates []string) (collection *oa_model.StaffCollection, err error) { +// collection = new(oa_model.StaffCollection) +// +// collectionDetail := new(oa_model.CollectionDetailRes) +// collectionDetail, err = StaffCollectionDetail(dates, staffUID) +// +// collection.RestDays = int32(len(dates) - len(collectionDetail.WorkDays) - len(collectionDetail.MissDay)) +// collection.WorkDays = int32(len(collectionDetail.WorkDays)) +// collection.MissDay = int32(len(collectionDetail.MissDay)) +// collection.Miss = int32(len(collectionDetail.Miss)) +// collection.Late = int32(len(collectionDetail.Late)) +// collection.Before = int32(len(collectionDetail.Before)) +// collection.MakeUp = int32(len(collectionDetail.MakeUp)) +// collection.OutWork = int32(len(collectionDetail.OutWork)) +// collection.Leave = int32(len(collectionDetail.Leave)) +// +// var dayOff float32 +// for j := 0; j < len(collectionDetail.DayOff); j++ { +// dayOff += collectionDetail.DayOff[j].Hours +// } +// collection.DayOff = HandleHour(float64(dayOff)) +// +// var overWork float32 +// for j := 0; j < len(collectionDetail.OverWork); j++ { +// overWork += collectionDetail.OverWork[j].Hours +// } +// collection.OverWork = HandleHour(float64(overWork)) +// +// var averageHour float32 +// for j := 0; j < len(collectionDetail.AverageHour); j++ { +// averageHour += collectionDetail.AverageHour[j].Hours +// } +// collection.AverageHour = HandleHour(float64(averageHour)) +// +// fmt.Println("step ============================== 03 ============================== ") +// fmt.Printf(" 审批 collection is : %+v \n", collection) +// fmt.Println("step ============================== 03 ============================== ") +// +// return collection, nil +//} + +//func StaffAttendanceCollectionHandleV4(staffUID uint64, month string, dates []string, restDays int, outWorkStatus []int32) (collection *oa_model.StaffCollection, err error) { +// collection = new(oa_model.StaffCollection) +// collection, err = StaffCollectionClickInV4(staffUID, month, dates) +// if err != nil { +// return nil, err +// } +// +// fmt.Println("step ============================== 02 ============================== ") +// fmt.Printf(" 打卡 collection is : %+v \n", collection) +// fmt.Println("step ============================== 02 ============================== ") +// +// collection.RestDays = int32(restDays) +// +// // oa 申请 请假 加班 调休 +// applyReq := new(oa.ApplyRecordReq) +// applyReq.StaffUID = collection.StaffUID +// applyReq.ApplyType = []string{ +// oa_model.TypeLeave, // 请假 +// oa_model.TypeSick, +// oa_model.TypeAnnualLeave, +// oa_model.TypeMaritalLeave, +// oa_model.TypeMatingCheckLeave, +// oa_model.TypeMaternityLeave, +// oa_model.TypePaternityLeave, +// oa_model.TypeParentalLeave, +// oa_model.TypeNursingLeave, +// oa_model.TypeFuneralLeave, +// oa_model.TypeDayOff, // 调休 +// oa_model.TypeOverTime, // 加班 +// //oa_model.TypeOutWork, // 外勤 +// oa_model.TypeMakeUp, // 补卡 +// } +// applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} +// applyReq.BeginTime = dates[0] +// applyReq.EndTime = dates[len(dates)-1] +// applyReq.Page = 1 +// applyReq.PageSize = 1000 +// applyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), applyReq) +// if err != nil { +// return nil, err +// } +// +// for i := 0; i < len(applyRes.Data); i++ { +// if applyRes.Data[i].ApplyType == oa_model.TypeLeave || +// applyRes.Data[i].ApplyType == oa_model.TypeSick || +// applyRes.Data[i].ApplyType == oa_model.TypeAnnualLeave || +// applyRes.Data[i].ApplyType == oa_model.TypeMaritalLeave || +// applyRes.Data[i].ApplyType == oa_model.TypeMatingCheckLeave || +// applyRes.Data[i].ApplyType == oa_model.TypeMaternityLeave || +// applyRes.Data[i].ApplyType == oa_model.TypePaternityLeave || +// applyRes.Data[i].ApplyType == oa_model.TypeParentalLeave || +// applyRes.Data[i].ApplyType == oa_model.TypeNursingLeave || +// applyRes.Data[i].ApplyType == oa_model.TypeFuneralLeave { +// collection.Leave += 1 +// } +// +// if applyRes.Data[i].ApplyType == oa_model.TypeDayOff { +// collection.DayOff += 1 +// } +// if applyRes.Data[i].ApplyType == oa_model.TypeOverTime { +// collection.OverWork += applyRes.Data[i].Hours +// +// //// 判断 加班时间时候是 周末 如果是 则需要 在 工作日 +1 休息日 -1 +// //applyDate, err := holiday.GetSingleData(holiday.ConvertTime(applyRes.Data[i].ApplyTimes[0].Date), false) +// //if err != nil { +// // return nil, err +// //} +// +// //if applyDate.Type != 0 { +// // collection.RestDays -= 1 +// // collection.WorkDays += 1 +// //} +// } +// //if applyRes.Data[i].ApplyType == oa_model.TypeOutWork { +// // collection.OutWork += 1 +// //} +// if applyRes.Data[i].ApplyType == oa_model.TypeMakeUp { +// collection.MakeUp += 1 +// } +// } +// +// // 外勤申请 (e.ApprovalWorkStatusDoing , e.ApprovalWorkStatusOk , e.ApprovalWorkStatusFail) +// outWorkApplyReq := new(oa.ApplyRecordReq) +// outWorkApplyReq.StaffUID = collection.StaffUID +// outWorkApplyReq.ApplyType = []string{ +// oa_model.TypeOutWork, // 外勤 +// //oa_model.TypeMakeUp, // 补卡 +// } +// outWorkApplyReq.ApplyStatus = outWorkStatus +// outWorkApplyReq.BeginTime = dates[0] +// outWorkApplyReq.EndTime = dates[len(dates)-1] +// outWorkApplyReq.Page = 1 +// outWorkApplyReq.PageSize = 1000 +// outWorkApplyRes, err := GrpcOAImpl.QueryOaApply(context.Background(), outWorkApplyReq) +// if err != nil { +// return nil, err +// } +// collection.OutWork = int32(outWorkApplyRes.Total) +// +// fmt.Println("step ============================== 03 ============================== ") +// fmt.Printf(" 审批 collection is : %+v \n", collection) +// fmt.Println("step ============================== 03 ============================== ") +// +// return collection, nil +//} + +/* +出勤天数 平均工时 休息 缺卡 迟到 早退 旷工 外勤 +*/ + +//func StaffCollectionClickInV3(staffUID uint64, month string, dates []string) (collection *oa_model.StaffCollection, err error) { +// collection = new(oa_model.StaffCollection) +// +// /* +// // 查询 统计记录 +// collection, err = findCollection(staffUID, month) +// if err != nil { +// return nil, err +// } +// */ +// // 查询 考勤记录 +// recordReq := new(oa.OARecordReq) +// recordReq.StaffUID = staffUID +// recordReq.Dates = dates +// recordReq.Page = 1 +// recordReq.PageSize = 9999 +// recordRes, err := GrpcOAImpl.OARecord(context.Background(), recordReq) +// if err != nil { +// return nil, err +// } +// +// // 不使用 查询出来的考勤班次 使用 打卡记录中的 考勤规则 +// /*queryTimeOptions, err := MakeQueryTimeOption(staffUID) +// if err != nil { +// return collection, err +// } +// +// timeOptions, err := WorkingTimeBest(0, queryTimeOptions) +// if err != nil { +// return collection, err +// }*/ +// +// var ( +// totalHour float64 // 时长 +// hourDay float64 // 用于 计算 平均工时 +// workDays int32 // 用于 统计 考勤天数 +// missDay int32 // 旷工次数 +// late int32 // 迟到次数 +// before int32 // 早退次数 +// miss int32 // 缺卡次数 +// ) +// +// // 不计入 totalHour 的 不参与 平均工时计算 +// for i := 0; i < len(recordRes.Data); i++ { +// // 缺卡 缺卡次数 和 考勤班次 次数一致 则 算旷工 +// var ( +// isMissDay int +// hours float64 +// ) +// +// // 如果 考勤记录 为空 next +// if len(recordRes.Data[i].Records) < 1 { +// missDay += 1 +// continue +// } +// +// // 休息日 有考勤记录 则 休息日 -1 +// if recordRes.Data[i].IsWork == oa_model.IsFree { +// collection.RestDays += -1 +// } +// +// date := recordRes.Data[i].WorkDate +// +// // 组装 +// timeOptions := make([]*oa_model.TimeOption, 0) +// /*for j := 0; j < len(recordRes.Data[i].Records); { +// +// if j+1 >= len(recordRes.Data[i].Records) { +// break +// } +// timeOption := &oa_model.TimeOption{ +// OnWorkTime: recordRes.Data[i].Records[j].WorkTime, +// OffWorkTime: recordRes.Data[i].Records[j+1].WorkTime} +// timeOptions = append(timeOptions, timeOption) +// j = j + 2 +// }*/ +// +// _ = copier.CopyWithOption(&timeOptions, recordRes.Data[i].TimeOptions, copier.Option{DeepCopy: true}) +// +// leaveTypeMap := confirmLeaveType(staffUID, timeOptions, []string{date, date}) +// makeUpTypeMap := confirmMakeUpType(staffUID, []string{date, date}) +// +// for j := 0; j < len(recordRes.Data[i].Records); j++ { +// // 判断 当前 打卡记录是否 在 某一次 请假 调休 中, 如果存在 则将 ActionType 置为 相应请假类型 ActionTime 置为 打卡时间 (计算工时使用) +// if leaveTypeMap[recordRes.Data[i].Records[j].WorkTime] != nil { +// recordRes.Data[i].Records[j].ActionType = leaveTypeMap[recordRes.Data[i].Records[j].WorkTime].ActionType +// recordRes.Data[i].Records[j].ActionTime = recordRes.Data[i].WorkDate + " " + recordRes.Data[i].Records[j].WorkTime +// continue +// } +// // 用于 确认是否 旷工 +// // 查询 oa审批申请 存在 补卡 申请 时 要 将对应时间点的 考勤记录 改为 补卡 便于 计算 工时 和 上班天数 +// // 已补过缺卡的 记录 不计入 缺卡次数中 +// if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss { +// _, ok := makeUpTypeMap[recordRes.Data[i].WorkDate+recordRes.Data[i].Records[j].WorkTime] +// if ok { +// recordRes.Data[i].Records[j].ActionType = oa_model.TypeMakeUp +// } else { +// miss += 1 +// isMissDay += 1 +// } +// } +// if recordRes.Data[i].Records[j].ActionType == oa_model.TypeLate { +// late += 1 +// } +// if recordRes.Data[i].Records[j].ActionType == oa_model.TypeBefore { +// before += 1 +// } +// } +// +// // 累加的 缺卡 次数 对比 当天 打卡的 次数 +// // 一致 则 当天 为 旷工 +// // 否则 当天 为 出勤 +// if isMissDay == len(recordRes.Data[i].Records) { +// missDay += 1 +// } else { +// workDays += 1 +// } +// +// //fmt.Println("========================================== recordRes.Data[i].Records ========================================== ") +// //fmt.Printf("recordRes.Data[i].Records is : %+v \n", recordRes.Data[i].Records) +// //fmt.Println("========================================== recordRes.Data[i].Records =========================================== ") +// //fmt.Println() +// +// // 统计工时 没有 完整的 上下班 打卡 记录 则 不计算 平均工时 +// for j := 0; j < len(recordRes.Data[i].Records); j = j + 2 { +// +// if j+1 >= len(recordRes.Data[i].Records) { +// break +// } +// +// // 判断是否是 缺卡 是 跳过 +// if recordRes.Data[i].Records[j].ActionType == oa_model.TypeMiss || recordRes.Data[i].Records[j+1].ActionType == oa_model.TypeMiss { +// continue +// } +// +// // 成对 出现 +// //now := time.Now().Format("2006-01-02") +// var startTime time.Time +// var endTime time.Time +// +// startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j].ActionTime+":00", time.Local) +// +// endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", recordRes.Data[i].Records[j+1].ActionTime+":00", time.Local) +// +// //fmt.Println("========================================== startTime endTime ========================================== ") +// //fmt.Println("startTime is : ", startTime) +// //fmt.Println("endTime is : ", endTime) +// //fmt.Println("========================================== startTime endTime ========================================== ") +// //fmt.Println() +// +// hours = hours + endTime.Sub(startTime).Hours() +// //fmt.Println("========================================== hours ========================================== ") +// //fmt.Println("hours is : ", hours) +// //fmt.Println("========================================== hours ========================================== ") +// //fmt.Println() +// //j = j + 2 +// } +// +// if hours > 0 { +// hourDay += 1 +// totalHour += hours +// } +// } +// +// collection.StaffUID = staffUID +// collection.WorkDays = workDays +// collection.Miss = miss +// collection.Late = late +// collection.Before = before +// collection.MissDay = missDay +// +// //fmt.Println("========================================== totalHour hourDay ========================================== ") +// //fmt.Println("totalHour is : ", totalHour) +// //fmt.Println("hourDay is : ", hourDay) +// //fmt.Println("========================================== totalHour hourDay = ========================================== ") +// //fmt.Println() +// +// if totalHour != 0 && hourDay != 0 { +// averageHour, _ := strconv.ParseFloat(strconv.FormatFloat(math.Trunc(totalHour/hourDay*math.Pow10(1))/math.Pow10(1), 'f', -1, 64), 64) +// //fmt.Println("========================================== averageHour ========================================== ") +// //fmt.Println("averageHour is : ", averageHour) +// //fmt.Println("========================================== averageHour ========================================== ") +// //fmt.Println() +// collection.AverageHour = float32(averageHour) +// } +// +// //if collection.Miss != 0 || collection.Late != 0 || collection.Before != 0 || collection.MissDay != 0 { +// // collection.Status = false +// //} else { +// // collection.Status = true +// //} +// +// return +//} + +//func StaffCollectionClickInV4(staffUID uint64, month string, dates []string) (collection *oa_model.StaffCollection, err error) { +// collection = new(oa_model.StaffCollection) +// +// /* +// // 查询 统计记录 +// collection, err = findCollection(staffUID, month) +// if err != nil { +// return nil, err +// } +// */ +// // 查询 考勤记录 +// recordReq := new(oa.OARecordReq) +// recordReq.StaffUID = staffUID +// recordReq.Dates = dates +// recordReq.Page = 1 +// recordReq.PageSize = 9999 +// recordRes, err := GrpcOAImpl.OARecord(context.Background(), recordReq) +// if err != nil { +// return nil, err +// } +// +// var ( +// totalHour float64 // 时长 +// hourDay float64 // 用于 计算 平均工时 +// workDays int32 // 用于 统计 考勤天数 +// missDay int32 // 旷工次数 +// outWork int32 // 外勤次数 +// late int32 // 迟到次数 +// before int32 // 早退次数 +// miss int32 // 缺卡次数 +// makeUp int32 // 补卡次数 +// ) +// +// // 不计入 totalHour 的 不参与 平均工时计算 +// for i := 0; i < len(recordRes.Data); i++ { +// // 缺卡 缺卡次数 和 考勤班次 次数一致 则 算旷工 +// var ( +// isMissDay int +// //isWork bool = false +// //isOut bool = false +// //isLate bool = false +// //isBefore bool = false +// hours float64 +// ) +// +// if len(recordRes.Data[i].Records) < 1 { +// continue +// } +// +// records := make([]oa_model.Record, 0) +// currentMap := make(map[string]*oa_model.Record, 0) // 剔除重复考勤记录数据 +// var date string +// for j := 0; j < len(recordRes.Data[i].Records); j++ { +// if date == "" { +// date = recordRes.Data[i].WorkDate +// } +// record := new(oa_model.Record) +// err = copier.CopyWithOption(&record, recordRes.Data[i].Records[j], copier.Option{DeepCopy: true}) +// if err != nil { +// return +// } +// if _, ok := currentMap[recordRes.Data[i].Records[j].WorkTime]; ok { +// records = records[:len(records)-1] +// } +// currentMap[recordRes.Data[i].Records[j].WorkTime] = record +// records = append(records, *record) +// } +// +// timeOptions := make([]*oa_model.TimeOption, 0) +// +// for j := 0; j < len(records); { +// if j+1 >= len(records) { +// break +// } +// timeOption := &oa_model.TimeOption{ +// OnWorkTime: records[i].WorkTime, +// OffWorkTime: records[j+1].WorkTime} +// timeOptions = append(timeOptions, timeOption) +// j = j + 2 +// } +// +// leaveTypeMap := confirmLeaveType(staffUID, timeOptions, []string{date, date}) +// +// for j := 0; j < len(records); j++ { +// // 判断 当前 打卡记录是否 在 某一次 请假 调休 中, 如果存在 则将 ActionType 置为 相应请假类型 ActionTime 置为 打卡时间 (计算工时使用) +// if leaveTypeMap[records[j].WorkTime] != nil { +// records[j].ActionType = leaveTypeMap[records[j].WorkTime].ActionType +// records[j].ActionTime = date + " " + records[j].WorkTime +// continue +// } +// // 用于 确认是否 旷工 +// if records[j].ActionType == oa_model.TypeMiss { +// miss += 1 +// isMissDay += 1 +// //isWork = false +// } +// if records[j].ActionType == oa_model.TypeOutWork { +// outWork += 1 +// } +// if records[j].ActionType == oa_model.TypeLate { +// late += 1 +// } +// if records[j].ActionType == oa_model.TypeBefore { +// before += 1 +// } +// if records[j].ActionType == oa_model.TypeMakeUp { +// makeUp += 1 +// } +// } +// +// if isMissDay == len(records) { +// missDay += 1 +// } else { +// workDays += 1 +// } +// +// //fmt.Println("========================================== recordRes.Data[i].Records ========================================== ") +// //fmt.Printf("recordRes.Data[i].Records is : %+v \n", recordRes.Data[i].Records) +// //fmt.Println("========================================== recordRes.Data[i].Records =========================================== ") +// //fmt.Println() +// +// // 统计工时 没有 完整的 上下班 打卡 记录 则 不计算 平均工时 +// for j := 0; j < len(records); j = j + 2 { +// +// if j+1 >= len(records) { +// break +// } +// +// // 判断是否是 缺卡 是 跳过 +// if records[j].ActionType == oa_model.TypeMiss || records[j+1].ActionType == oa_model.TypeMiss { +// continue +// } +// +// // 成对 出现 +// //now := time.Now().Format("2006-01-02") +// var startTime time.Time +// var endTime time.Time +// //if recordRes.Data[i].Records[j].ActionType != oa_model.TypeCommon { +// // startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", now+" "+recordRes.Data[i].Records[j].WorkTime+":00", time.Local) +// //} else { +// startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", records[j].ActionTime+":00", time.Local) +// //} +// +// //if recordRes.Data[i].Records[j+1].ActionType != oa_model.TypeCommon { +// // endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", now+" "+recordRes.Data[i].Records[j+1].WorkTime+":00", time.Local) +// //} else { +// endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", records[j+1].ActionTime+":00", time.Local) +// //} +// +// //fmt.Println("========================================== startTime endTime ========================================== ") +// //fmt.Println("startTime is : ", startTime) +// //fmt.Println("endTime is : ", endTime) +// //fmt.Println("========================================== startTime endTime ========================================== ") +// //fmt.Println() +// +// hours = hours + endTime.Sub(startTime).Hours() +// //fmt.Println("========================================== hours ========================================== ") +// //fmt.Println("hours is : ", hours) +// //fmt.Println("========================================== hours ========================================== ") +// //fmt.Println() +// //j = j + 2 +// } +// +// if hours > 0 { +// hourDay += 1 +// totalHour += hours +// } +// } +// +// collection.StaffUID = staffUID +// collection.WorkDays = workDays +// collection.Miss = miss +// collection.MakeUp = makeUp +// collection.Late = late +// collection.Before = before +// collection.MissDay = missDay +// collection.OutWork = outWork +// +// //fmt.Println("========================================== totalHour hourDay ========================================== ") +// //fmt.Println("totalHour is : ", totalHour) +// //fmt.Println("hourDay is : ", hourDay) +// //fmt.Println("========================================== totalHour hourDay = ========================================== ") +// //fmt.Println() +// +// if totalHour != 0 && hourDay != 0 { +// averageHour, _ := strconv.ParseFloat(strconv.FormatFloat(math.Trunc(totalHour/hourDay*math.Pow10(1))/math.Pow10(1), 'f', -1, 64), 64) +// //fmt.Println("========================================== averageHour ========================================== ") +// //fmt.Println("averageHour is : ", averageHour) +// //fmt.Println("========================================== averageHour ========================================== ") +// //fmt.Println() +// collection.AverageHour = float32(averageHour) +// } +// +// //if collection.Miss != 0 || collection.Late != 0 || collection.Before != 0 || collection.MissDay != 0 { +// // collection.Status = false +// //} else { +// // collection.Status = true +// //} +// +// return +//} diff --git a/pkg/service/oa_new/chickInMap.go b/pkg/service/oa_new/chickInMap.go new file mode 100644 index 0000000..4efce7f --- /dev/null +++ b/pkg/service/oa_new/chickInMap.go @@ -0,0 +1,114 @@ +package oa_new + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func SaveChickInMap(c *gin.Context) { + var req oa.GeoV2 + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.SaveChickInMap(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func GetChickInMapList(c *gin.Context) { + var req oa.GeoListReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.ChickInMapList(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func DeleteChickInMap(c *gin.Context) { + var req oa.GeoV2 + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.DeleteChickInMap(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func ChickInMapDisable(c *gin.Context) { + var req oa.GeoV2 + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.ChickInMapDisable(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/clockIn.go b/pkg/service/oa_new/clockIn.go new file mode 100644 index 0000000..604768e --- /dev/null +++ b/pkg/service/oa_new/clockIn.go @@ -0,0 +1,514 @@ +package oa_new + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/gin-gonic/gin" + "strconv" + "time" +) + +func ClockIn(c *gin.Context) { + req := new(model.ClockInReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ClockIn ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("ClockIn req: %+v", req) + + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("workingTime: %+v", workingTime) + + // 当前时间 + currentTime := common.CurrentTimeSubOneMinute() + + // 根据 workingTime 信息 判断是否可以外勤打卡 + in, checkClickInErr := oa_logic.CheckClickInAddress(req.Longitude, req.Latitude, workingTime.ChickIns) + if checkClickInErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: checkClickInErr.Error(), + Status: e.Failed, + }) + } + + actionType, actionTypeErr := oa_logic.CheckActionType(req, workingTime, ¤tTime, in) + if actionTypeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: actionTypeErr.Error(), + Status: e.Failed, + }) + return + } + + if req.CheckAddress == "" && req.Longitude != "" && req.Latitude != "" { + req.CheckAddress = oa_logic.ReverseGeo(req.Longitude, req.Latitude) + } + + oaProfile := new(oa.OAProfile) + oaProfile.StaffUID = userInfo.ID + oaProfile.Domain = userInfo.Domain + oaProfile.StaffName = userInfo.NickName + oaProfile.DepartmentUID = workingTime.DepartmentUID + oaProfile.PositionUID = workingTime.PositionUID + oaProfile.Week = oa_model.Week[common.CheckIsBeforeFourTime().Weekday().String()] + oaProfile.WorkDate = common.CheckIsBeforeFour() + oaProfile.ActionTime = currentTime.Add(1 * time.Minute).Format(common.YYMMDDHHmm) + oaProfile.FacePhoto = req.FacePhoto + oaProfile.ClientID = req.ClientID + oaProfile.CheckMethod = req.CheckMethod + oaProfile.CheckAddress = req.CheckAddress + oaProfile.Longitude = req.Longitude + oaProfile.Latitude = req.Latitude + oaProfile.Time = workingTime.Time + oaProfile.WorkTime = actionType.WorkTime + oaProfile.ActionType = actionType.ActionType + oaProfile.IsWork = int32(actionType.IsWorkDay) + oaProfile.OnOff = actionType.OnOff + + fmt.Println("===================================================") + fmt.Println(oaProfile) + logger.Infof("组装 打卡 请求参数 oaProfile: %+v", oaProfile) + fmt.Println("===================================================") + + var err error + + if actionType.ActionType == model.ActionTypeOutNoClock || actionType.ActionType == model.ActionTypeBackNoClock || actionType.ActionType == model.ActionTypeNoClock { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorNotAllowedClockIn, + Status: e.Failed, + }) + return + } + + if actionType.IsWorkDay == model.IsWork { + logger.Infof("工作日 打卡 oaProfile: %+v", oaProfile) + _, err = service.GrpcOAImpl.CreateOARecordWithMiss(context.Background(), oaProfile) + } else { + logger.Infof("非工作日 打卡 oaProfile: %+v", oaProfile) + _, err = service.GrpcOAImpl.UseFaceCreateOARecord(context.Background(), oaProfile) + } + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorClockIn, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.SuccessClockIn, + Status: e.Ok, + }) + +} + +func ActionType(c *gin.Context) { + req := new(model.ClockInReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ActionType ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("ClockIn req: %+v", req) + + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("workingTime: %+v\n", workingTime) + fmt.Printf("workingTime: %+v\n", workingTime) + + // 当前时间 + currentTime := common.CurrentTimeSubOneMinute() + + fmt.Println("================== CheckClickInAddress enter =================================") + // 根据 workingTime 信息 判断是否可以外勤打卡 + in, checkClickInErr := oa_logic.CheckClickInAddress(req.Longitude, req.Latitude, workingTime.ChickIns) + if checkClickInErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: checkClickInErr.Error(), + Status: e.Failed, + }) + } + fmt.Printf("CheckClickInAddress in %+v\n", in) + + fmt.Println("================== CheckClickInAddress out =================================") + + fmt.Println("================== CheckActionType enter =================================") + + fmt.Printf("CheckActionType req: %+v\n", req) + fmt.Printf("CheckActionType workingTime: %+v\n", workingTime) + fmt.Printf("CheckActionType currentTime: %+v\n", currentTime) + + actionType, actionTypeErr := oa_logic.CheckActionType(req, workingTime, ¤tTime, in) + if actionTypeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: actionTypeErr.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: actionType, + Status: e.Ok, + }) + +} + +func ChickInMapInfo(c *gin.Context) { + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: workingTime.ChickIns, + Status: e.Ok, + }) +} + +func WorkingTimeInfo(c *gin.Context) { + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + if workingTime == nil && workingTime.Time == nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrNotHadWorkingTime, + Status: e.Failed, + }) + return + + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: workingTime, + Status: e.Ok, + }) +} + +func SystemMakeUp(c *gin.Context) { + req := new(oa.SystemMakeUpReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SystemMakeUp ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.StaffUID == 0 || req.WorkTime == "" || req.WorkDate == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrMissSystemMakeUpParam, + Status: e.Failed, + }) + return + } + + if (req.ActionTime != "" || req.ActionDate != "") && req.ActionDate != req.WorkDate { + if common.ConvertWorkDateAndWorkTime(req.ActionDate, req.ActionTime).After(common.ConvertWorkDateAndWorkTime(req.ActionDate, common.NotWorkDayWorkTimeOn())) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrActionTimeNotBeforeNextDateFour, + Status: e.Failed, + }) + return + } + } + + res, err := service.GrpcOAImpl.SystemMakeUp(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} + +func SystemCommon(c *gin.Context) { + req := new(oa.SystemCommonReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SystemCommon ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.StaffUID == 0 || req.Month == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrSystemCommonParam, + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.SystemCommon(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} + +// ClockInUseFace +// 打卡机打卡 ( 工作期间不做处理, 周末 加班 只记录 一个完整的周期 <上班卡只记录 第一次 下班卡 时间点做 更新>) +func ClockInUseFace(req oa_model.ClockInUseFace) error { + if req.Logs == nil { + return errors.New(e.GetMsg(e.ErrNoID)) + } + jsonString, _ := json.Marshal(req) + //if err != nil { + // fmt.Println("JSON serialization error:", err) + // return + //} + + // 将JSON字符串打印到控制台 + fmt.Println(string(jsonString)) + /* 检查打卡 是否合规 前端 操作*/ + + userIDStr := "" + facePhoto := "" + for i := 0; i < len(req.Logs); i++ { + userIDStr = req.Logs[i].UserID + facePhoto = req.Logs[i].Photo + } + + if userIDStr == "" || userIDStr == "0" { + return errors.New(e.GetMsg(e.ErrorGetUserInfo)) + } + + userID, _ := strconv.ParseUint(userIDStr, 0, 64) + infoReq := account.InfoRequest{ID: userID} + + fmt.Println("======== infoReq 1 ==============") + fmt.Printf("infoReq %+v\n", infoReq) + + infoRes, err := service.AccountProvider.Info(context.Background(), &infoReq) + if err != nil { + fmt.Println("======== AccountProvider.Info 2.1 ==============") + fmt.Printf("err %+v\n", err) + fmt.Printf("infoRes %+v\n", infoRes) + return errors.New(e.GetMsg(e.ErrorGetUserInfo)) + } + + fmt.Println("======== userInfo 2 ==============") + fmt.Printf("userInfo %+v\n", infoRes) + + if infoRes.Info.ID == 0 || infoRes.Info.NickName == "" || infoRes.Info.Domain == "" { + return errors.New(e.GetMsg(e.ErrorGetUserInfo)) + } + + // 组装 考勤班次信息 + //userInfo := login.GetUserInfoFromC(c) + departmentUUIDs := make([]string, 0) + departmentAndPositionReq := new(rule.RulesRequest) + departmentAndPositionReq.AccountID = infoRes.Info.ID + departmentAndPositionRes, err := service.RuleProvider.UserInfo(context.Background(), departmentAndPositionReq) + if err != nil { + return err + } + + userInfo := login.Info{ + ID: infoRes.Info.ID, + NickName: infoRes.Info.NickName, + Domain: infoRes.Info.Domain, + } + + queryTimeOptions := make([]*rule.PositionUser, 0) + for i := 0; i < len(departmentAndPositionRes.PositionUsers); i++ { + departmentUUIDs = append(departmentUUIDs, strconv.FormatUint(departmentAndPositionRes.PositionUsers[i].DepartmentId, 10)) + queryTimeOption := &rule.PositionUser{ + PositionID: departmentAndPositionRes.PositionUsers[i].PositionID, + DepartmentId: departmentAndPositionRes.PositionUsers[i].DepartmentId, + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + fmt.Println("======== queryTimeOptions 3 ==============") + fmt.Printf("queryTimeOptions %+v\n", queryTimeOptions) + + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(queryTimeOptions, userInfo.ID) + if workingTimeErr != nil { + return workingTimeErr + } + + var currentTime time.Time + // 给默认值 + currentTime = common.CurrentTimeSubOneMinute() + if len(req.Logs) == 1 { + currentTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.Logs[0].RecogTime, time.Local) + currentTime.Add(-1 * time.Minute).Format(common.YYMMDDHHmm) + } + + // 组装 chickInReq + chickInReq := new(model.ClockInReq) + chickInReq.StaffUID = userInfo.ID + + actionType, actionTypeErr := oa_logic.CheckActionType(chickInReq, workingTime, ¤tTime, true) + if actionTypeErr != nil { + return actionTypeErr + } + + oaProfile := new(oa.OAProfile) + oaProfile.StaffUID = userInfo.ID + oaProfile.Domain = userInfo.Domain + oaProfile.StaffName = userInfo.NickName + oaProfile.DepartmentUID = workingTime.DepartmentUID + oaProfile.PositionUID = workingTime.PositionUID + oaProfile.Week = oa_model.Week[common.CheckIsBeforeFourTime().Weekday().String()] + oaProfile.WorkDate = common.CheckIsBeforeFour() + oaProfile.ActionTime = currentTime.Add(1 * time.Minute).Format(common.YYMMDDHHmm) + oaProfile.FacePhoto = facePhoto + oaProfile.CheckAddress = req.Sn + oaProfile.CheckMethod = oa_model.CheckMethodPunchClock + oaProfile.Time = workingTime.Time + oaProfile.WorkTime = actionType.WorkTime + oaProfile.ActionType = actionType.ActionType + oaProfile.IsWork = int32(actionType.IsWorkDay) + oaProfile.OnOff = actionType.OnOff + + if actionType.IsWorkDay == model.IsWork { + if oaProfile.ActionType == oa_model.TypeCommon { + + logger.Infof("工作日 打卡 oaProfile: %+v", oaProfile) + _, err = service.GrpcOAImpl.CreateOARecordWithMiss(context.Background(), oaProfile) + + logger.Errorf("模版消息---1") + templateMsgReq := account.SendClockInWechatRequest{ + OperatedAt: currentTime.Add(1 * time.Minute).Format(common.YYMMDDHHmm), + ClockType: oaProfile.OnOff, + UserId: uint32(userID), + GhId: "gh_d838598b1a23", + Address: req.Sn, + } + + go service.AccountProvider.SendClockInWechat(context.Background(), &templateMsgReq) + + fmt.Println("================模版发送完毕=============================") + } + + } else { + logger.Infof("非工作日 打卡 oaProfile: %+v", oaProfile) + _, err = service.GrpcOAImpl.UseFaceCreateOARecord(context.Background(), oaProfile) + } + + return err +} + +func QueryOtherRecord(c *gin.Context) { + req := new(oa.QueryOtherRecordReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("QueryOtherRecord ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.StaffUID == 0 { + userInfo := login.GetUserInfoFromC(c) + req.StaffUID = userInfo.ID + } + + // 默认查询所有 + req.Page = 1 + req.PageSize = 9999999 + + if req.WorkDate == "" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrParamWithoutWorkDate, + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.QueryOtherRecord(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/collection.go b/pkg/service/oa_new/collection.go new file mode 100644 index 0000000..614b159 --- /dev/null +++ b/pkg/service/oa_new/collection.go @@ -0,0 +1,795 @@ +package oa_new + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + appConfig "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "strconv" + "strings" + "time" +) + +// StaffCollectionDetail 考勤详情 +func StaffCollectionDetail(c *gin.Context) { + req := new(model.CollectionDetailReq) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("================ StaffCollectionDetail =======================") + res := new(model.CollectionDetailRes) + var err error + + var userInfo login.Info + + if req.StaffUID != 0 { + userResponse, getUserInfoByIdErr := account.GetUserInfoById(c, req.StaffUID, "") + if getUserInfoByIdErr != nil { + msg := "" + if getUserInfoByIdErr.Error() == "record not found" { + msg = "查询当前人员信息不存在" + } else { + msg = getUserInfoByIdErr.Error() + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: msg, + Status: e.Failed, + }) + return + } + userInfo.PositionUsers = userResponse.PositionUsers + } else { + userInfo = login.GetUserInfoFromC(c) + } + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + if req.Month == "" { + req.Month = holiday.CurrentMonth() + } + + req.Dates = holiday.SplitMonthV1(req.Month+"-25", common.YYMMDD) + + switch req.CollectionType { + case model.WorkDay: + res.Status, res.AllDayLeave, res.AllDayLeaveNum, res.NeedAttendanceDayNum, res.AttendanceDayNum, res.AttendanceRestDayNum, res.AttendanceHolidayNum, res.AttendanceWorkDayNum, res.WorkDay, err = oa_logic.WorkDayMonth(req, workingTime) + // 剔除 特殊情况的记录 + //res.WorkDay = oa_logic.RemoveRecord(res.WorkDay) + res.CollectionType = model.WorkDay + case model.AverageHour: + res.AverageHour = make([]*model.AverageHourDetail, 0) + res.TotalHours, res.AverageHourNum, res.AverageHour, err = oa_logic.AverageHour(req, workingTime) + res.CollectionType = model.AverageHour + case model.RestDay: + res.RestDay = make([]*model.RestDayDetail, 0) + res.RestDayNum, res.RestDay, err = oa_logic.RestDay(req, workingTime) + res.CollectionType = model.RestDay + case model.Miss: + res.Miss = make([]*model.MissDetail, 0) + res.MissNum, res.Miss, err = oa_logic.MissRecord(req, workingTime) + res.CollectionType = model.Miss + case model.MakeUp: + res.MakeUp = make([]*model.MakeUpDetail, 0) + res.MakeUpNum, res.MakeUp, err = oa_logic.MakeUpRecord(req, workingTime) + res.CollectionType = model.MakeUp + case model.Late: + res.Late = make([]*model.LateDetail, 0) + res.LateNum, res.CommonLateNum, res.CommonLateDuration, res.ExtremeLateNum, res.ExtremeLateDuration, res.Late, err = oa_logic.LateRecord(req, workingTime) + res.CollectionType = model.Late + case model.Before: + res.Before = make([]*model.BeforeDetail, 0) + res.BeforeNum, res.CommonBeforeDuration, res.Before, err = oa_logic.BeforeRecord(req, workingTime) + res.CollectionType = model.Before + case model.AbsentDay: + res.MissDay = make([]*model.MissDayDetail, 0) + res.MissDayNum, res.MissDay, err = oa_logic.AbsentRecord(req, workingTime) + res.CollectionType = model.AbsentDay + case model.OutWork: + res.OutWork = make([]*model.OutWorkDetail, 0) + res.OutWorkNum, res.OutWork, err = oa_logic.OutWorkRecord(req, workingTime) + res.CollectionType = model.OutWork + case model.OverTime: + res.OverTimeNum, res.OverTimeDoingNum, res.OverTime, err = oa_logic.OverTimeRecord(req, workingTime) + res.CollectionType = model.OverTime + case model.Leave: + res.Leave = make([]*model.LeaveDetail, 0) + res.LeaveNum, res.LeaveDoingNum, res.Leave, err = oa_logic.LeaveRecord(req, workingTime) + res.CollectionType = model.Leave + case model.AnnualLeave: + res.AnnualLeave = make([]*model.LeaveDetail, 0) + res.AnnualLeaveNum, res.AnnualLeaveDoingNum, res.AnnualLeave, err = oa_logic.AnnualLeave(req, workingTime) + res.CollectionType = model.AnnualLeave + case model.Sick: + res.Sick = make([]*model.LeaveDetail, 0) + res.SickDayNum, res.SickDayDoingNum, res.Sick, err = oa_logic.Sick(req, workingTime) + res.CollectionType = model.Sick + case model.BreastFeedingLeave: + res.BreastFeedingLeave = make([]*model.LeaveDetail, 0) + res.BreastFeedingLeaveNum, res.BreastFeedingLeaveDoingNum, res.BreastFeedingLeave, err = oa_logic.BreastFeedingLeave(req, workingTime) + res.CollectionType = model.BreastFeedingLeave + case model.PaternityLeave: + res.PaternityLeave = make([]*model.LeaveDetail, 0) + res.PaternityLeaveNum, res.PaternityLeaveDoingNum, res.PaternityLeave, err = oa_logic.PaternityLeave(req, workingTime) + res.CollectionType = model.PaternityLeave + case model.MaritalLeave: + res.MaritalLeave = make([]*model.LeaveDetail, 0) + res.MaritalLeaveNum, res.MaritalLeaveDoingNum, res.MaritalLeave, err = oa_logic.MaritalLeave(req, workingTime) + res.CollectionType = model.MaritalLeave + case model.FuneralLeave: + res.FuneralLeave = make([]*model.LeaveDetail, 0) + res.FuneralLeaveNum, res.FuneralLeaveDoingNum, res.FuneralLeave, err = oa_logic.FuneralLeave(req, workingTime) + res.CollectionType = model.FuneralLeave + case model.DayOff: + res.DayOff = make([]*model.LeaveDetail, 0) + res.DayOffNum, res.DayOffDoingNum, res.DayOffHours, res.DayOff, err = oa_logic.DayOffRecord(req, workingTime) + res.CollectionType = model.DayOff + case model.MaternityLeave: + res.MaternityLeave = make([]*model.LeaveDetail, 0) + res.MaternityLeaveNum, res.MaternityLeaveDoingNum, res.MaternityLeave, err = oa_logic.MaternityLeave(req, workingTime) + res.CollectionType = model.MaternityLeave + case model.GoOut: + res.GoOut = make([]*model.LeaveDetail, 0) + res.GoOutDuration, res.GoOutDurationDoing, res.GoOut, err = oa_logic.GoOutRecord(req, workingTime) + res.CollectionType = model.GoOut + case model.BusinessTrip: + res.BusinessTrip = make([]*model.LeaveDetail, 0) + res.BusinessTripDuration, res.BusinessTripDurationDoing, res.BusinessTrip, err = oa_logic.BusinessTripRecord(req, workingTime) + res.CollectionType = model.BusinessTrip + case model.ParentalLeave: + res.ParentalLeave = make([]*model.LeaveDetail, 0) + res.ParentalLeaveNum, res.ParentalLeaveDoingNum, res.ParentalLeave, err = oa_logic.ParentalLeave(req, workingTime) + res.CollectionType = model.PaternityLeave + case model.NursingLeave: + res.NursingLeave = make([]*model.LeaveDetail, 0) + res.NursingLeaveNum, res.NursingLeaveDoingNum, res.NursingLeave, err = oa_logic.NursingLeave(req, workingTime) + res.CollectionType = model.NursingLeave + case model.AbortLeave: + res.AbortLeave = make([]*model.LeaveDetail, 0) + res.AbortLeaveNum, res.AbortLeaveDoingNum, res.AbortLeave, err = oa_logic.AbortLeave(req, workingTime) + res.CollectionType = model.AbortLeave + case model.MatingCheckLeave: + res.MatingCheckLeave = make([]*model.LeaveDetail, 0) + res.MatingCheckLeaveNum, res.MatingCheckLeaveDoingNum, res.MatingCheckLeave, err = oa_logic.MatingCheckLeave(req, workingTime) + res.CollectionType = model.MatingCheckLeave + case model.AllLeave: + res.AllLeaveDetail = make([]*model.AllLeaveDetail, 0) + res.AllLeaveNum, res.AllLeaveDetail, err = oa_logic.AllLeaveRecord(req, workingTime) + res.CollectionType = model.AllLeave + case model.All: + fmt.Println("================ StaffCollectionDetail model.All =======================") + res, err = oa_logic.AllRecord(req, workingTime) + // 剔除 特殊情况的记录 + //res.WorkDay = oa_logic.RemoveRecord(res.WorkDay) + + res.CollectionType = model.All + fmt.Printf("res %+v\n", res) + fmt.Printf("err %+v\n", err) + } + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res.Month = req.Month + res.StaffUID = req.StaffUID + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +// StaffCollectionDetailDate 考勤详情 指定 某一天 +func StaffCollectionDetailDate(c *gin.Context) { + req := new(model.CollectionDetailReq) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("================ StaffCollectionDetailDate =======================") + res := new(model.WorkDayDetail) + var err error + + if req.Date == "" { + req.Date = common.CheckIsBeforeFour() + } + + var userInfo login.Info + + if req.StaffUID != 0 { + userResponse, getUserInfoByIdErr := account.GetUserInfoById(c, req.StaffUID, "") + if getUserInfoByIdErr != nil { + msg := "" + if getUserInfoByIdErr.Error() == "record not found" { + msg = "查询当前人员信息不存在" + } else { + msg = getUserInfoByIdErr.Error() + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: msg, + Status: e.Failed, + }) + return + } + userInfo.PositionUsers = userResponse.PositionUsers + } else { + userInfo = login.GetUserInfoFromC(c) + } + + if req.StaffUID == 0 { + req.StaffUID = userInfo.ID + } + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + res, err = oa_logic.WorkDayDate(req, workingTime) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +// StaffCollectionDetailDates 考勤详情 指定 某些天 +func StaffCollectionDetailDates(c *gin.Context) { + req := new(model.CollectionDetailReq) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("================ StaffCollectionDetailDates =======================") + res := new(model.CollectionDetailRes) + var err error + + var userInfo login.Info + + if req.StaffUID != 0 { + userResponse, getUserInfoByIdErr := account.GetUserInfoById(c, req.StaffUID, "") + if getUserInfoByIdErr != nil { + msg := "" + if getUserInfoByIdErr.Error() == "record not found" { + msg = "查询当前人员信息不存在" + } else { + msg = getUserInfoByIdErr.Error() + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: msg, + Status: e.Failed, + }) + return + } + userInfo.PositionUsers = userResponse.PositionUsers + } else { + userInfo = login.GetUserInfoFromC(c) + } + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + res.Status, res.AllDayLeave, res.AllDayLeaveNum, res.NeedAttendanceDayNum, res.AttendanceDayNum, res.AttendanceRestDayNum, res.AttendanceHolidayNum, res.AttendanceWorkDayNum, res.WorkDay, err = oa_logic.WorkDayDates(req, workingTime) + res.CollectionType = req.CollectionType + + // 剔除 特殊情况的记录 + //res.WorkDay = oa_logic.RemoveRecord(res.WorkDay) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res.StaffUID = req.StaffUID + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +// StaffCollectionDetailMonth 员工考勤详情 +func StaffCollectionDetailMonth(c *gin.Context) { + req := oa.OaMonthReq{} + if err := c.ShouldBind(&req); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + isLeader, staffUids, err := IsCollectionDetailAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.StaffUID = staffUids + } + + if req.Month != "" { + staffCollectionDetailMonthWithMonth(c, &req) + } else { + staffCollectionDetailMonthWithDates(c, &req) + } + +} +func StaffCollectionMonthDownloadDel(c *gin.Context) { + req := oa.ExportRecordRes{} + if err := c.ShouldBind(&req); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + res, err := service.GrpcOAImpl.DeleteExportRecord(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + return +} +func StaffCollectionMonthDownloadList(c *gin.Context) { + req := oa.ExportRecordListReq{} + if err := c.ShouldBind(&req); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID + res, err := service.GrpcOAImpl.ExportRecordList(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + return + +} +func StaffCollectionMonthDownload(c *gin.Context) { + req := oa.OaMonthReq{} + fieldReq := new(oa.OaMonthFieldReq) + if err := c.ShouldBind(&req); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + fieldReq.StaffUID = int64(userInfo.ID) + layout := "2006-01" + parsedMonth, _ := time.Parse(layout, req.Month) + startDate := time.Date(parsedMonth.Year(), parsedMonth.Month()-1, 26, 0, 0, 0, 0, time.Local) + endDate := time.Date(parsedMonth.Year(), parsedMonth.Month(), 25, 0, 0, 0, 0, time.Local) + fileName := fmt.Sprintf("月度汇总%s~%s.xlsx", startDate.Format("20060102"), endDate.Format("20060102")) + exportRecordReq := &oa.ExportRecordReq{ + UserId: userInfo.ID, + FileName: fileName, + TaskType: "attendance", + Status: 2, + FilePath: "", + } + exportRecord, _ := service.GrpcOAImpl.CreateExportRecord(context.Background(), exportRecordReq) + fmt.Println("=====exportRecord======", exportRecord) + // 使用 goroutine 异步处理导出任务 + go func() { + oaMonth, err := service.GrpcOAImpl.QueryOaMonthInfoIsBatch(context.Background(), &req) + if err != nil { + exportRecordReq.Status = 3 + exportRecordReq.Id = exportRecord.Id + exportRecord, _ := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + fmt.Println(exportRecord) + return + } + oaMonthField, err := service.GrpcOAImpl.QueryOaMonthField(context.Background(), fieldReq) + if err != nil { + exportRecordReq.Status = 3 + exportRecordReq.Id = exportRecord.Id + exportRecord, _ := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + fmt.Println(exportRecord) + return + } + + //workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + //if workingTimeErr != nil { + // exportRecordReq.Status = 3 + // exportRecordReq.Id = exportRecord.Id + // exportRecord, _ := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + // fmt.Println(exportRecord) + // return + //} + var oaMonthList = oa_logic.OaMonthList{ + OaMonth: oaMonth.OaMonths, + AttendanceList: make(map[uint64][]oa_logic.ExcelAttendanceInfo), + AllRecord: make(map[uint64]model.CollectionDetailRes), + } + for _, i := range oaMonth.OaMonths { + allRecord := &model.CollectionDetailReq{ + StaffUID: i.StaffUID, + Month: req.Month, + } + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(nil, i.StaffUID) + if workingTimeErr != nil { + continue + //exportRecordReq.Status = 3 + //exportRecordReq.Id = exportRecord.Id + //exportRecord, _ := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + //fmt.Println(exportRecord) + //return + } + WorkDay, workDayErr := oa_logic.AllRecord(allRecord, workingTime) + if workDayErr != nil { + { + exportRecordReq.Status = 3 + exportRecordReq.Id = exportRecord.Id + exportRecord, _ := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + fmt.Println(exportRecord) + return + } + } + // 生成该员工的考勤信息 + AttendanceList := oa_logic.GenerateAttendanceInfo(WorkDay.WorkDay, i.StaffUID, req.Month) + + // 使用员工的 StaffUID 作为键,存储考勤信息 + oaMonthList.AttendanceList[i.StaffUID] = AttendanceList + oaMonthList.AllRecord[i.StaffUID] = *WorkDay + } + url, err := oa_logic.GenerateExcelFile(c, oaMonthList, oaMonthField, req.Month) + if err != nil { + exportRecordReq.Status = 3 + exportRecordReq.Id = exportRecord.Id + exportRecord, _ := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + fmt.Println(exportRecord) + return + } + exportRecordReq.Status = 1 + exportRecordReq.FilePath = url + exportRecordReq.Id = exportRecord.Id + exportRecordReq.DerivationTime = time.Now().Format("2006-01-02 15:04:05") + exportRecord, _ = service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + fmt.Println(exportRecord) + return + }() + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: "导出任务已提交,稍后可查看导出结果。", + Status: e.Ok, + }) +} +func StaffCollectionMonthDownloadOld(c *gin.Context) { + //req := oa.OaMonthReq{} + //fieldReq := new(oa.OaMonthFieldReq) + //if err := c.ShouldBind(&req); err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + // }) + // return + //} + // + //fieldReq.StaffUID = int64(-3) + // + //oaMonth, err := service.GrpcOAImpl.QueryOaMonthInfoIsBatch(context.Background(), &req) + //if err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrQueryOaMonth, + // Status: e.Failed, + // }) + // return + //} + //oaMonthField, err := service.GrpcOAImpl.QueryOaMonthField(context.Background(), fieldReq) + //if err != nil { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrQueryOaMonth, + // Status: e.Failed, + // }) + // return + //} + //oa_logic.GenerateExcelFile(c, oaMonth, oaMonthField, req.Month) +} + +// 查询员工考勤信息 按照 考勤周期查询 +func staffCollectionDetailMonthWithMonth(c *gin.Context, req *oa.OaMonthReq) { + + //if !common.IsBeforeOrEqualCollectionMonth(req.Month) { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrorIsNotBeforeOrEqualCollectionMonth, + // Status: e.Failed, + // }) + // return + //} + + go func(req *oa.OaMonthReq) { + + // 创建审批 防止重复提交 + lockKey := fmt.Sprintf("collection_detail_month_%s", req.Month) + reply := cache.RedisClient.SetNX(lockKey, 0, 15*time.Minute) + if !reply.Val() { + return + } + + // 获取所有员工的信息 分页 默认给 最大值 + accountData, err := oa_logic.GetAllEmployeesInfoForEmployees(nil) + if err != nil { + logger.Errorf("GetAllEmployeesInfo err: %v", err) + return + } + + // 获取考勤信息 + saveOaMonths, err := oa_logic.GetAttendanceInfoForEmployees(req.Month, accountData) + if err != nil { + logger.Errorf("GetAttendanceInfo err: %v", err) + return + } + + batch := &oa.SaveOaMonthIsBatch{OaMonths: saveOaMonths} + saveRes, saveErr := service.GrpcOAImpl.SaveOaMonthInfoIsBatch(context.Background(), batch) + if saveErr != nil { + logger.Errorf("SaveOaMonthInfoIsBatch interface err: %v", saveErr.Error()) + return + } + + if saveRes.Msg != "" { + logger.Errorf("SaveOaMonthInfoIsBatch return err: %v", saveRes.Msg) + } + }(req) + + oaMonth, err := service.GrpcOAImpl.QueryOaMonthInfoIsBatch(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaMonth, + Status: e.Failed, + }) + return + } + // 如果没有OA月度数据,直接返回 + if len(oaMonth.OaMonths) == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryOaMonth, + Status: e.Failed, + }) + return + } + + // 提取EmployeeFileIds + employeeFileIds := make([]uint64, len(oaMonth.OaMonths)) + for i, oaMonthItem := range oaMonth.OaMonths { + employeeFileIds[i] = uint64(oaMonthItem.EmployeeID) + } + yearStr := strings.Split(req.Month, "-")[0] // 提取年份 + year, err := strconv.ParseInt(yearStr, 10, 32) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrNotInCurrentYear, + Status: e.Failed, + }) + return + } + // 获取请假余额列表 + leaveBalance, err := service.GrpcOAImpl.GetLeaveBalanceList(context.Background(), &oa.LeaveBalanceListReq{ + Year: int32(year), + EmployeeFileIds: employeeFileIds, + Page: 1, + PageSize: 9999, + }) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrQueryLeaveBalance, + Status: e.Failed, + }) + return + } + + leaveBalanceMap := make(map[uint64]float32) + for _, leaveItem := range leaveBalance.Data { + leaveBalanceMap[leaveItem.EmployeeFileId] = leaveItem.AnnualLeave + } + + // 更新oaMonth中的AnnualLeaveRemaining + for i := range oaMonth.OaMonths { + if annualLeave, exists := leaveBalanceMap[uint64(oaMonth.OaMonths[i].EmployeeID)]; exists { + oaMonth.OaMonths[i].AnnualLeaveRemaining = annualLeave + } + } + oaMonthRes := &model.OaMonthRes{OaMonth: oaMonth} + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: oaMonthRes, + Status: e.Ok, + }) +} + +// 查询员工考勤信息 按照 日期查询 +func staffCollectionDetailMonthWithDates(c *gin.Context, req *oa.OaMonthReq) { + // 获取所有员工的信息 分页 按照前端传递的分页参数 + accountData, err := oa_logic.GetAllEmployeesInfoForEmployees(req.StaffUID) + if err != nil { + logger.Errorf("GetAllEmployeesInfo err: %v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorWorkingTimeFindUser, + Status: e.Failed, + }) + return + } + + // 根据 req 的 DepartmentName 筛选员工 + accountData = oa_logic.FilterEmployeesInfoEmployee(accountData, req.StaffName, req.DepartmentUID, req.Month, req.StartDate, req.EndDate) + + oaMonthRes := new(model.OaMonthRes) + oaMonthRes.OaDate = new(model.CollectionDetailAllRes) + + collectionDetails := oa_logic.MakeOaMonthByDatesEmployee(req, accountData) + oaMonthRes.OaDate.OaDates = collectionDetails + oaMonthRes.OaDate.Page = req.Page + oaMonthRes.OaDate.PageSize = req.PageSize + oaMonthRes.OaDate.Total = len(accountData) + oaMonthRes.OaDate.UpdateTime = common.CurrentTimeStr() + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: oaMonthRes, + Status: e.Ok, + }) + +} + +// 员工考勤 权限 +func IsCollectionDetailAuth(c *gin.Context) (bool, []uint64, error) { + userInfo := login.GetUserInfoFromC(c) + departmentIDs := make([]uint64, len(userInfo.PositionUsers)) + for idx, posUser := range userInfo.PositionUsers { + departmentIDs[idx] = posUser.DepartmentId + } + //判断人是否有员工档案权限 + req := position.SearchDepartmentRequest{ + Domain: "fontree", + UserId: userInfo.ID, + Urls: []string{e.AuthCollectionAllDetailKey}, + } + res, err := service.PositionProvider.SearchDepartment(c, &req) + if err == nil && len(res.List) > 0 { + return true, nil, nil + } + if err != nil { + return false, nil, err + } + //查询是否有亿麦权限 Todo 特殊处理数字科技中心的权限 需要优化 暂时写死部门id + reqMai := position.SearchDepartmentRequest{ + Domain: "fontree", + UserId: userInfo.ID, + Urls: []string{e.AuthCollectionMaiDetailKey}, + } + resMai, err := service.PositionProvider.SearchDepartment(c, &reqMai) + if err == nil && len(resMai.List) > 0 { + departmentID := uint64(0) + if appConfig.Env == "prod" { + departmentID = 161 + departmentIDs = append(departmentIDs, departmentID) + } else if appConfig.Env == "dev" || appConfig.Env == "test" { + fmt.Println("==========>> 有数字科技中心数据权限") + departmentID = 161 + fmt.Println("==========>> 当前部门id:", departmentIDs) + departmentIDs = append(departmentIDs, departmentID) + fmt.Println("==========>> 添加后的部门id:", departmentIDs) + } + } + departmentU32 := make([]uint32, len(departmentIDs)) + for idx, depID := range departmentIDs { + departmentU32[idx] = uint32(depID) + } + + // 获取当前及下属部门 + departmentReq := &department.BaseListV2Request{ + UserId: uint32(userInfo.ID), + DepartmentIds: departmentU32, + } + //获取当前及下属部门 + departmentRes, err := service.DepartmentProvider.BaseListV2(c, departmentReq) + if err != nil { + return false, nil, err + } + subDepartmentIDs := make([]uint64, len(departmentRes.List)) + for idx, dep := range departmentRes.List { + subDepartmentIDs[idx] = dep.ID + } + fmt.Println("==========>> 去重后的部门ids:", subDepartmentIDs) + employeeFile, err := service.GrpcEmployeeProvider.CheckEmployeeFilesByDepartmentID(c, &employee.CheckEmployeeFilesByDepartmentIDRequest{ + DepartmentIds: subDepartmentIDs, + }) + if err != nil { + return false, nil, err + } + if employeeFile.UserIds == nil { + employeeFile.UserIds = append(employeeFile.UserIds, 0) + } + fmt.Println("==========>> 能查看的档案id:", employeeFile.EmployeeFileId) + return false, employeeFile.UserIds, nil +} diff --git a/pkg/service/oa_new/common/attendance.go b/pkg/service/oa_new/common/attendance.go new file mode 100644 index 0000000..071ca1b --- /dev/null +++ b/pkg/service/oa_new/common/attendance.go @@ -0,0 +1,99 @@ +package common + +import ( + "fmt" + "time" +) + +// getAttendancePeriod 返回当前考勤周期的起止日期 +func getAttendancePeriod() (start, end time.Time) { + now := time.Now() + currentMonth := now.Month() + currentYear := now.Year() + + // 如果当前日期在25号(含)之后,考勤周期的开始日期是本月的26号 + if now.Day() > 25 { + start = time.Date(currentYear, currentMonth, 26, 0, 0, 0, 0, now.Location()) + // 结束日期是下个月的25号 + if currentMonth == time.December { + end = time.Date(currentYear+1, time.January, 25, 23, 59, 59, 0, now.Location()) + } else { + end = time.Date(currentYear, currentMonth+1, 25, 23, 59, 59, 0, now.Location()) + } + return start, end + } else { + // 考勤周期的开始日期是上个月的26号 + if currentMonth == time.January { + start = time.Date(currentYear-1, time.December, 26, 0, 0, 0, 0, now.Location()) + } else { + start = time.Date(currentYear, currentMonth-1, 26, 0, 0, 0, 0, now.Location()) + } + // 结束日期是本月的25号 + end = time.Date(currentYear, currentMonth, 25, 23, 59, 59, 0, now.Location()) + return start, end + } +} + +// isResignationDateWithinAttendancePeriod 判断离职日期是否在考勤周期之内 +func isResignationDateWithinAttendancePeriod(resignationDateStr string) bool { + resignationDate, err := time.Parse("2006-01-02", resignationDateStr) + if err != nil { + fmt.Println("Error parsing date:", err) + return false + } + + start, end := getAttendancePeriod() + return !resignationDate.Before(start) && !resignationDate.After(end) +} + +// isCollectionMonthWithinAttendancePeriod 判断查询考勤周期是否在考勤周期之内 +func isCollectionMonthWithinAttendancePeriod(resignationDateStr string) bool { + resignationDate, err := time.Parse("2006-01", resignationDateStr) + if err != nil { + fmt.Println("Error parsing date:", err) + return false + } + + start, end := getAttendancePeriod() + return !resignationDate.Before(start) && !resignationDate.After(end) +} + +// IsBeforeOrEqualResignationDateStr 判断 resignationDateStr 是否在当前考勤周期之前或等于当前考勤周期 +func IsBeforeOrEqualResignationDateStr(resignationDateStr string) bool { + + if resignationDateStr == "" { + return true + } + + if isResignationDateWithinAttendancePeriod(resignationDateStr) { + return true + } + + resignationDate, err := time.Parse("2006-01-02", resignationDateStr) + if err != nil { + fmt.Println("Error parsing date:", err) + return false + } + + return !resignationDate.After(time.Now()) +} + +// IsBeforeOrEqualCollectionMonth 判断 month 是否在当前考勤周期之前或等于当前考勤周期 +func IsBeforeOrEqualCollectionMonth(month string) bool { + + if month == "" { + return true + } + + if isCollectionMonthWithinAttendancePeriod(month) { + return true + } + + resignationDate, err := time.Parse("2006-01", month) + if err != nil { + fmt.Println("Error parsing date:", err) + return false + } + + return !resignationDate.After(time.Now()) +} diff --git a/pkg/service/oa_new/common/attendanceV2.go b/pkg/service/oa_new/common/attendanceV2.go new file mode 100644 index 0000000..617eab1 --- /dev/null +++ b/pkg/service/oa_new/common/attendanceV2.go @@ -0,0 +1,95 @@ +package common + +import ( + "fmt" + "time" +) + +// getAttendancePeriodV2 返回当前考勤周期的起止日期 +func getAttendancePeriodV2(month string) (start, end time.Time) { + now, _ := time.ParseInLocation("2006-01", month, time.Local) + currentMonth := now.Month() + currentYear := now.Year() + + // 如果当前日期在25号(含)之后,考勤周期的开始日期是本月的26号 + if now.Day() > 25 { + start = time.Date(currentYear, currentMonth, 26, 0, 0, 0, 0, now.Location()) + // 结束日期是下个月的25号 + if currentMonth == time.December { + end = time.Date(currentYear+1, time.January, 25, 23, 59, 59, 0, now.Location()) + } else { + end = time.Date(currentYear, currentMonth+1, 25, 23, 59, 59, 0, now.Location()) + } + return start, end + } else { + // 考勤周期的开始日期是上个月的26号 + if currentMonth == time.January { + start = time.Date(currentYear-1, time.December, 26, 0, 0, 0, 0, now.Location()) + } else { + start = time.Date(currentYear, currentMonth-1, 26, 0, 0, 0, 0, now.Location()) + } + // 结束日期是本月的25号 + end = time.Date(currentYear, currentMonth, 25, 23, 59, 59, 0, now.Location()) + return start, end + } +} + +// isCollectionMonthWithinAttendancePeriodV2 判断查询考勤周期是否在考勤周期之内 +func isCollectionMonthWithinAttendancePeriodV2(resignationDateStr, month, startDate, endDate string) bool { + fmt.Println("========================== isCollectionMonthWithinAttendancePeriodV2 =======================================") + fmt.Printf("resignationDateStr: %s, month: %s, startDate: %s, endDate: %s\n", resignationDateStr, month, startDate, endDate) + fmt.Println("===========================================================================================================") + resignationDate, err := time.Parse("2006-01-02", resignationDateStr) + if err != nil { + fmt.Println("Error parsing date: 3 ", err) + return false + } + + if month != "" { + start, end := getAttendancePeriodV2(month) + fmt.Println("================================ end ============================") + if !resignationDate.After(end) && !resignationDate.Before(start) { + return true + } + + if resignationDate.After(start) { + return true + } + } + + if startDate != "" && endDate != "" { + startDateT, startDateErr := time.ParseInLocation("2006-01-02", startDate, time.Local) + fmt.Println("================================ startDateT ============================") + if startDateErr != nil { + fmt.Println("Error parsing date: 4 ", startDateErr) + return false + } + + endDateT, endDateErr := time.ParseInLocation("2006-01-02", endDate, time.Local) + fmt.Println("================================ endDateT ============================") + if endDateErr != nil { + fmt.Println("Error parsing date: 4 ", endDateErr) + return false + } + + if !endDateT.Before(resignationDate) && !startDateT.After(resignationDate) { + return true + } + + if startDateT.After(resignationDate) { + return false + } + + if resignationDate.After(endDateT) { + return true + } + } + + return false +} + +// IsBeforeOrEqualCollectionMonthV2 判断 month 是否在当前考勤周期之前或等于当前考勤周期 +func IsBeforeOrEqualCollectionMonthV2(resignationDateStr, month, startDate, endDate string) bool { + + return isCollectionMonthWithinAttendancePeriodV2(resignationDateStr, month, startDate, endDate) +} diff --git a/pkg/service/oa_new/common/code.go b/pkg/service/oa_new/common/code.go new file mode 100644 index 0000000..df76d47 --- /dev/null +++ b/pkg/service/oa_new/common/code.go @@ -0,0 +1,11 @@ +package common + +const ( + DuplicatePersonnelsCode = 2 + MultipleDepartmentsCode = 3 +) + +// 严重迟到时长 +const ( + ExtremeLatenessDuration float64 = 10 +) diff --git a/pkg/service/oa_new/common/duration.go b/pkg/service/oa_new/common/duration.go new file mode 100644 index 0000000..12a1b18 --- /dev/null +++ b/pkg/service/oa_new/common/duration.go @@ -0,0 +1,35 @@ +package common + +import ( + "math" + "strconv" +) + +func HandleHourLeaveFiveV2(originHour float64) float64 { + var hour float64 + hour = math.Floor(originHour / 1) + if math.Mod(originHour, 1) >= 0.5 { + hour = hour + 0.5 + } + return hour +} + +func HandleHourLeaveASeatV2(originHour float64) float64 { + var hour float64 + if originHour > 0 && originHour < 0.1 { + hour = 0.1 + } else { + hour, _ = strconv.ParseFloat(strconv.FormatFloat(originHour-0.05, 'f', 1, 64), 10) + } + return hour +} + +func HandleHourLeaveASeatV3(originHour float64) float64 { + var hour float64 + if originHour > 0 && originHour < 0.1 { + hour = 0.1 + } else { + hour = math.Round((originHour-0.05)*10) / 10 // 直接四舍五入到一位小数 + } + return hour +} diff --git a/pkg/service/oa_new/common/employ.go b/pkg/service/oa_new/common/employ.go new file mode 100644 index 0000000..0298431 --- /dev/null +++ b/pkg/service/oa_new/common/employ.go @@ -0,0 +1,36 @@ +package common + +import "github.com/fonchain_enterprise/fonchain-main/api/employee" + +func CheckStaffUIDsInWithEmployList(staffUIDs []uint64, employeeList []*employee.FindEmployeeFileListInfo) []*employee.FindEmployeeFileListInfo { + staffMap := make(map[uint64]uint64) + for i := 0; i < len(staffUIDs); i++ { + staffMap[staffUIDs[i]] = staffUIDs[i] + } + + retList := make([]*employee.FindEmployeeFileListInfo, 0) + for i := 0; i < len(employeeList); i++ { + if staffMap[employeeList[i].UserId] == employeeList[i].UserId { + retList = append(retList, employeeList[i]) + } + } + return retList +} + +func CheckStaffUIDsIn(allStaffUIDs []uint64, staffUIDs []uint64) []uint64 { + if allStaffUIDs == nil || len(allStaffUIDs) == 0 { + return staffUIDs + } + staffMap := make(map[uint64]uint64) + for i := 0; i < len(allStaffUIDs); i++ { + staffMap[allStaffUIDs[i]] = allStaffUIDs[i] + } + + retList := make([]uint64, 0) + for i := 0; i < len(staffUIDs); i++ { + if staffMap[staffUIDs[i]] == staffUIDs[i] { + retList = append(retList, staffUIDs[i]) + } + } + return retList +} diff --git a/pkg/service/oa_new/common/file.go b/pkg/service/oa_new/common/file.go new file mode 100644 index 0000000..73893a8 --- /dev/null +++ b/pkg/service/oa_new/common/file.go @@ -0,0 +1,6 @@ +package common + +const ( + ActionTimeDir = "/oa/action_time" + ActionTimeFileName = "打卡时间%s~%s.xlsx" +) diff --git a/pkg/service/oa_new/common/format.go b/pkg/service/oa_new/common/format.go new file mode 100644 index 0000000..88545ab --- /dev/null +++ b/pkg/service/oa_new/common/format.go @@ -0,0 +1,8 @@ +package common + +const ( + YYMMDD = "2006-01-02" + HHmm = "15:04" + YYMMDDHHmm = "2006-01-02 15:04" + YYMMDDHHmmss = "2006-01-02 15:04:05" +) diff --git a/pkg/service/oa_new/common/leaveApplyType.go b/pkg/service/oa_new/common/leaveApplyType.go new file mode 100644 index 0000000..485becf --- /dev/null +++ b/pkg/service/oa_new/common/leaveApplyType.go @@ -0,0 +1,95 @@ +package common + +var LeaveApplyMap = map[string]string{ + "annualLeave": "oa", // 年假 + "parentalLeave": "oa", // 育儿假 + "nursingLeave": "oa", // 独生子女护理假 + + "matingCheckLeave": "oa", // 孕检假 + "maternityLeave": "oa", // 产假 + "paternityLeave": "oa", // 陪产假 + "funeralLeave": "oa", // 丧假 + "abortLeave": "oa", // 流产假 + "breastFeedingLeave": "oa", // 哺乳假 + "dayOff": "oa", // 调休 + "leave": "oa", // 事假 + "sick": "oa", // 病假 + "goOut": "oa", // 外出 + "businessTrip": "oa", // 出差 + + "maritalLeave": "oa", // 婚假 +} + +var WithOutOutworkApply = []string{ + "annualLeave", + "parentalLeave", + "matingCheckLeave", + "maternityLeave", + "paternityLeave", + "funeralLeave", + "abortLeave", + "breastFeedingLeave", + "dayOff", + "leave", + "sick", + "maritalLeave", + "overTime", + "goOut", + "businessTrip", +} + +var WithOutOvertimeApply = []string{ + "annualLeave", + "parentalLeave", + "matingCheckLeave", + "maternityLeave", + "paternityLeave", + "funeralLeave", + "abortLeave", + "breastFeedingLeave", + "dayOff", + "leave", + "sick", + "maritalLeave", + "outWork", + "goOut", + "businessTrip", +} + +var WithGoOutApply = []string{ + "annualLeave", + "parentalLeave", + "matingCheckLeave", + "maternityLeave", + "paternityLeave", + "funeralLeave", + "abortLeave", + "breastFeedingLeave", + "dayOff", + "leave", + "sick", + "maritalLeave", + "outWork", + "overTime", + "goOut", + "businessTrip", +} + +var WithBusinessTripApply = []string{ + "annualLeave", + "parentalLeave", + "matingCheckLeave", + "maternityLeave", + "paternityLeave", + "funeralLeave", + "abortLeave", + "breastFeedingLeave", + "dayOff", + "leave", + "sick", + "maritalLeave", + "outWork", + "overTime", + "goOut", + "businessTrip", +} diff --git a/pkg/service/oa_new/common/oaLeaveType.go b/pkg/service/oa_new/common/oaLeaveType.go new file mode 100644 index 0000000..5251814 --- /dev/null +++ b/pkg/service/oa_new/common/oaLeaveType.go @@ -0,0 +1,97 @@ +package common + +const ( + /* 子类 */ + TypeCommon = "common" // 正常打卡 + + TypeMiss = "miss" // 缺卡 + + TypeLate = "late" // 迟到 + + TypeBefore = "before" // 早退 + + TypeLeave = "leave" // 事假 + + TypeSick = "sick" // 病假 + + TypeDayOff = "dayOff" // 调休 + + TypeAnnualLeave = "annualLeave" // 年假 + TypeAnnualLeaveApply = "annualLeaveApply" // 年假申请 + + TypeMaritalLeave = "maritalLeave" // 婚假 + TypeMaritalLeaveApply = "maritalLeaveApply" // 婚假申请 + + TypeMatingCheckLeave = "matingCheckLeave" // 孕检假 + TypeMatingCheckLeaveApply = "matingCheckLeaveApply" // 孕检假申请 + + TypeMaternityLeave = "maternityLeave" // 产假 + TypeMaternityLeaveApply = "maternityLeaveApply" // 产假申请 + + TypePaternityLeave = "paternityLeave" // 陪产假 + TypePaternityLeaveApply = "paternityLeaveApply" // 陪产假申请 + + TypeParentalLeave = "parentalLeave" // 育儿假 + TypeParentalLeaveApply = "parentalLeaveApply" // 育儿假申请 + + TypeNursingLeave = "nursingLeave" // 独生子女护理假 + TypeNursingLeaveApply = "nursingLeaveApply" // 独生子女护理假申请 + + TypeFuneralLeave = "funeralLeave" // 丧假 + TypeFuneralLeaveApply = "funeralLeaveApply" // 丧假申请 + + TypeAbortLeave = "abortLeave" // 流产假 + TypeBreastFeedingLeave = "breastFeedingLeave" // 哺乳假 + + TypeMakeUp = "makeUp" // 补卡 + TypeOvertime = "overTime" // 加班 + TypeOutwork = "outWork" // 外勤 + TypeTurnover = "turnover" // 离职 + + TypeGoOut = "goOut" // 外出 + TypeBusinessTrip = "businessTrip" // 出差 + + TypeMakeUpSys = "makeUpSys" // 系统补卡 + /* */ +) + +var LeaveType []string = []string{ + "leave", // 事假 + "sick", // 病假 + "annualLeave", // 年假 + "maritalLeave", // 婚假 + "matingCheckLeave", // 孕检假 + "maternityLeave", // 产假 + "paternityLeave", // 陪产假 + "parentalLeave", // 育儿假 + "nursingLeave", // 独生子女护理假 + "funeralLeave", // 丧假 + "abortLeave", // 流产假 + "breastFeedingLeave", // 哺乳假 +} + +var LeaveTypeZhCN map[string]string = map[string]string{ + "leave": "事假", + "sick": "病假", + "annualLeave": "年假", + "maritalLeave": "婚假", + "matingCheckLeave": "孕检假", + "maternityLeave": "产假", + "paternityLeave": "陪产假", + "parentalLeave": "育儿假", + "nursingLeave": "独生子女护理假", + "funeralLeave": "丧假", + "abortLeave": "流产假", + "breastFeedingLeave": "哺乳假", + + "dayOff": "调休", + "makeUp": "补卡", + "overTime": "加班", + "outWork": "外勤", + "turnover": "离职", + "goOut": "外出", + "businessTrip": "出差", + + "parentalLeaveApply": "育儿假申请", + "nursingLeaveApply": "独生子女护理假申请", +} diff --git a/pkg/service/oa_new/common/workTime.go b/pkg/service/oa_new/common/workTime.go new file mode 100644 index 0000000..9829ab3 --- /dev/null +++ b/pkg/service/oa_new/common/workTime.go @@ -0,0 +1,420 @@ +package common + +import ( + "fmt" + "math" + "strconv" + "strings" + "time" +) + +func ConvertTime(t string) string { + ts := strings.Split(t, "-") + for i := 1; i < len(ts); i++ { + if s, err := strconv.Atoi(ts[i]); err == nil { + if s < 10 { + fmt.Println(s) + ts[i] = "0" + strconv.Itoa(s) + fmt.Println(ts[i]) + } + } + } + return strings.Join(ts, "") +} + +func ConvertCurrentDayAndWorkTime(t string) time.Time { + t = ConvertTime(t) + time.Now().Format("2006-01-02") + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", time.Now().Format("2006-01-02")+" "+t+":00", time.Local) + return tt +} + +func ConvertActionTime(t string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", t+":00", time.Local) + return tt +} + +func ConvertWorkDateAndActionTime(workDate, actionTime string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", workDate+" "+actionTime+":00", time.Local) + return tt +} + +func ConvertWorkDateAndWorkTime(workDate, workTime string) time.Time { + workTime = ConvertTime(workTime) + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", workDate+" "+workTime+":00", time.Local) + return tt +} + +// ConvertWorkDateToTimeFour 将工作日期转换为时间 日期格式为 2006-01-02 时分秒为 04:00:00 +func ConvertWorkDateToTimeFour(workDate string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", workDate+" "+"04:00:00", time.Local) + return tt +} + +func HandleHourLeaveASeat(originHour float64) float64 { + var hour float64 + if originHour > 0 && originHour < 0.1 { + hour = 0.1 + } else { + hour, _ = strconv.ParseFloat(strconv.FormatFloat(originHour-0.05, 'f', 1, 64), 10) + } + return hour +} + +func HandleHourLeaveASeatNotRounding(originHour float64) float64 { + var hour float64 + if originHour > 0 && originHour < 0.1 { + hour = 0.1 + } else { + hour, _ = strconv.ParseFloat(strconv.FormatFloat(originHour, 'f', 1, 64), 10) + } + return hour +} + +func HandleHourLeaveFive(originHour float64) float32 { + var hour float64 + hour = math.Floor(originHour / 1) + if math.Mod(originHour, 1) >= 0.5 { + hour = hour + 0.5 + } + return float32(hour) +} + +// CheckTimeInApplyTime 判断 考勤时间点 是否在申请时间段内 +/* + 1、 开始时间 为 上午 结束时间 下午 则 包含 上班卡 和 下班卡 + 2、 开始时间 为 上午 结束时间 上午 则 包含 上班卡 不包含 下班卡 + 3、 开始时间 为 下午 结束时间 下午 则 不包含 上班卡 包含 下班卡 +*/ +func CheckTimeInApplyTime(applyTime, workStartTime, workEndTime time.Time, startInclude, endInclude bool) bool { + if startInclude && endInclude { // 包含 上班卡 和 下班卡 + if !applyTime.Before(workStartTime) && !applyTime.After(workEndTime) { + return true + } + } else if startInclude && !endInclude { // 包含 上班卡 不包含 下班卡 + if !applyTime.Before(workStartTime) && applyTime.Before(workEndTime) { + return true + } + } else if !startInclude && endInclude { // 不包含 上班卡 包含 下班卡 + if applyTime.Before(workStartTime) && !applyTime.After(workEndTime) { + return true + } + } + return false +} + +func ConvertApplyTimeToTime(applyDate, applyTime string) time.Time { + applyTime = ConvertTime(applyTime) + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", applyDate+" "+applyTime+":00", time.Local) + return tt +} + +// ConvertApplyStartDateToTimeFour 将申请日期转换为时间 申请日期格式为 2006-01-02 时分秒为 04:00:00 +func ConvertApplyStartDateToTimeFour(applyDate string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", applyDate+" "+"04:00:00", time.Local) + return tt +} + +// ConvertApplyStartDateToTimeZero 将申请日期转换为时间 申请日期格式为 2006-01-02 时分秒为 23:59:59 夜里 +func ConvertApplyStartDateToTimeZero(applyDate string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", applyDate+" "+"23:59:59", time.Local) + return tt +} + +// ConvertApplyEndDateToTimeFour 将申请日期转换为时间 申请日期格式为 2006-01-02 时分秒为 04:00:01 +func ConvertApplyEndDateToTimeFour(applyDate string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", applyDate+" "+"04:00:00", time.Local) + return tt.AddDate(0, 0, 1) +} + +// ConvertApplyEndDateToTimeMorningZero 将申请日期转换为时间 申请日期格式为 2006-01-02 时分秒为 00:00:00 凌晨 +func ConvertApplyEndDateToTimeMorningZero(applyDate string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", applyDate+" "+"00:00:00", time.Local) + return tt +} + +// ConvertApplyStartDateToTimeWithMinute 将申请日期转换为时间 申请日期格式为 2006-01-02 时分秒为 23: + 开始时间的 分钟 + :00 +func ConvertApplyStartDateToTimeWithMinute(applyDate string, minute string) time.Time { + var minuteStr string + addDay := false + m, _ := strconv.Atoi(minute) + if m >= 30 { + minuteStr = fmt.Sprintf("23:%v:00", minute) + } else { + minuteStr = "00:00:00" + addDay = true + } + fmt.Println("================ ConvertApplyStartDateToTimeWithMinute minute +++++++++++++++++++++++++++++++++++++ ") + fmt.Printf("strconv.Atoi(minute) : %+v \n", m) + fmt.Printf("minute : %+v\n", minute) + fmt.Printf("applyDate : %+v\n", applyDate) + fmt.Printf("addDay : %+v\n", addDay) + fmt.Println("================ ConvertApplyStartDateToTimeWithMinute minute +++++++++++++++++++++++++++++++++++++ ") + + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", applyDate+" "+minuteStr, time.Local) + + if addDay == true { + tt = tt.AddDate(0, 0, 1) + fmt.Println("================ ConvertApplyStartDateToTimeWithMinute minute +++++++++++++++++++++++++++++++++++++ ") + fmt.Printf("tt : %+v\n", tt) + fmt.Println("================ ConvertApplyStartDateToTimeWithMinute minute +++++++++++++++++++++++++++++++++++++ ") + } + + return tt +} + +// ConvertApplyEndDateToTimeEarlyMorningZero 将申请日期转换为时间 申请日期格式为 2006-01-02 时分秒为 00:00:00 凌晨 +func ConvertApplyEndDateToTimeEarlyMorningZero(applyDate string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02 15:04:05", applyDate+" "+"00:00:00", time.Local) + return tt.AddDate(0, 0, 1) +} + +// DelTimeDash 剔除日期中的横杠 +func DelTimeDash(dates []string) []string { + delDashDates := make([]string, 0) + if len(dates) > 0 { + for i := 0; i < len(dates); i++ { + delDashDates = append(delDashDates, strings.Replace(dates[i], "-", "", -1)) + } + } + return delDashDates +} + +// CheckIsBeforeFour 当日的 四点之前 为 前一天的 下班卡 +func CheckIsBeforeFour() string { + if time.Now().Local().Hour() < 4 { + return time.Now().AddDate(0, 0, -1).Local().Format(YYMMDD) + } + return time.Now().Local().Format(YYMMDD) +} + +func CheckIsBeforeFourTime() time.Time { + if time.Now().Local().Hour() < 4 { + return time.Now().AddDate(0, 0, -1).Local() + } + return time.Now().Local() +} + +// CurrentTimeSubOneMinute 当前时间 减一分钟 +func CurrentTimeSubOneMinute() time.Time { + return time.Now().Local().Add(-time.Minute * 1) +} + +// CurrentDateStr 当前日期 +func CurrentDateStr() string { + return time.Now().Local().Format(YYMMDD) +} + +// CurrentTimeStr 当前日期 +func CurrentTimeStr() string { + return time.Now().Local().Format(YYMMDDHHmmss) +} + +// CurrentDateTime 当前日期 +func CurrentDateTime() time.Time { + return time.Now().Local() +} + +// NextDate 后一天 +func NextDate() string { + return time.Now().Local().AddDate(0, 0, 1).Format(YYMMDD) +} + +// preDate 前一天 +func PreDate() time.Time { + return time.Now().Local().AddDate(0, 0, -1) +} + +// PreDateFour 前一天四点 +func PreDateFour() time.Time { + preDate := time.Now().AddDate(0, 0, -1) + return time.Date(preDate.Year(), preDate.Month(), preDate.Day(), 4, 0, 0, 0, time.Local) +} + +// NotWorkDayWorkTimeOn 非工作日 开始时间 为 凌晨 04:00 +func NotWorkDayWorkTimeOn() string { + return "04:00" +} + +// NotWorkDayWorkTimeOff 非工作日 结束时间 为 次日凌晨 04:00 +func NotWorkDayWorkTimeOff() string { + return "59:59" +} + +func CurrentMonth() string { + t := time.Now() + var month string + // 25号之后属于下个月 + if t.Day() > 25 { + tt, _ := time.ParseInLocation("2006-01", t.Format("2006-01"), time.Local) + month = tt.AddDate(0, 1, 0).Format("2006-01") + } else if t.Day() <= 25 { + month = t.Format("2006-01") + } + return month +} + +func PreMonth(month string) string { + //根据传入的 月份 获取 上个月份 + if len(strings.Split(month, "-")) == 3 { + month = strings.Split(month, "-")[0] + "-" + strings.Split(month, "-")[1] + } + t, _ := time.ParseInLocation("2006-01", month, time.Local) + preMonth := t.AddDate(0, -1, 0).Format("2006-01") + return preMonth +} + +// ApplyStartTime 申请开始时间 为 四点之后 +func ApplyStartTime(startTime time.Time) time.Time { + if startTime.Hour() < 4 { + // 获取日期 + startDate := time.Date(startTime.Year(), startTime.Month(), startTime.Day(), 0, 0, 0, 0, time.Local) + startTime = startDate.Add(4 * time.Hour) + } + return startTime +} + +// ApplyEndTime 申请结束时间 为 四点之前 +func ApplyEndTime(endTime time.Time) time.Time { + if endTime.Hour() > 4 { + // 获取日期 + endDate := time.Date(endTime.Year(), endTime.Month(), endTime.Day(), 0, 0, 0, 0, time.Local) + endTime = endDate.Add(4 * time.Hour) + } + return endTime +} + +// ApplyEndTimeDefault 申请结束时间 为 四点之前 默认 +func ApplyEndTimeDefault(startTime, endTime time.Time) time.Time { + // 第二天的 四点前 + endDateFour := time.Date(startTime.Year(), startTime.Month(), startTime.Day(), 4, 0, 0, 0, time.Local).AddDate(0, 0, 1) + if !endTime.After(endDateFour) { + return endTime + } + return endDateFour +} + +// IsInMonth 判断 传入的日期是否在 当前考勤周期 +func IsInMonth(date string, month string) bool { + dateT, _ := time.ParseInLocation("2006-01-02", date, time.Local) + monthEndT, _ := time.ParseInLocation("2006-01-02", month+"-25", time.Local) + monthStartT := monthEndT.AddDate(0, -1, 1) + if !dateT.Before(monthStartT) && !dateT.After(monthEndT) { + return true + } + return false +} + +func CalcDuration(start, end time.Time) float64 { + return end.Sub(start).Minutes() +} + +// IsAfterMonth 判断传入month 是否在当前周期之后 +func IsAfterMonth(date string) bool { + monthEndT, _ := time.ParseInLocation("2006-01-02", CurrentMonth()+"-25", time.Local) + dateT, _ := time.ParseInLocation("2006-01-02", date, time.Local) + if dateT.After(monthEndT) { + return true + } + return false +} + +func IsInArray(str string, arr []string) bool { + for _, v := range arr { + if v == str { + return true + } + } + return false +} + +func ConvertResignationDateForMonth(date string) time.Month { + dateT, _ := time.ParseInLocation("2006-01-02", date, time.Local) + return dateT.Month() +} + +func ConvertCurrentTimeForMonth() time.Month { + return time.Now().Month() +} + +func ConvertCurrentTimeWithoutSecond() string { + return time.Now().Format(YYMMDDHHmm) +} + +func ConvertTimeStrToTime(t string) time.Time { + tt, _ := time.ParseInLocation("2006-01-02", t, time.Local) + return tt +} + +// CheckAttendanceMonth 根据 传入的时间 确定 考勤的周期 +func CheckAttendanceMonth(date string) string { + t := ConvertTimeStrToTime(date) + var month string + // 25号之后属于下个月 + if t.Day() > 25 { + tt, _ := time.ParseInLocation("2006-01", t.Format("2006-01"), time.Local) + month = tt.AddDate(0, 1, 0).Format("2006-01") + } else if t.Day() <= 25 { + month = t.Format("2006-01") + } + return month +} + +// Add25ForMonth 为月份添加 25号 +func Add25ForMonth(month string) string { + return month + "-25" +} + +// IsInDates 判断 传入的日期是否在 当前日期内 +func IsInDates(date string, dates []string) bool { + dateT, _ := time.ParseInLocation("2006-01-02", date, time.Local) + if len(dates) > 1 { + endT, _ := time.ParseInLocation("2006-01-02", dates[len(dates)-1], time.Local) + startT, _ := time.ParseInLocation("2006-01-02", dates[0], time.Local) + if !dateT.Before(startT) && !dateT.After(endT) { + return true + } + } else if len(dates) == 1 { + if date == dates[0] { + return true + } + } + return false +} + +func MakeDatesMap(dates []string) map[string]string { + datesMap := make(map[string]string) + for _, v := range dates { + datesMap[v] = v + } + return datesMap +} + +func BeforeStartDate(date string, dates []string) bool { + dateT, _ := time.ParseInLocation("2006-01-02", date, time.Local) + if len(dates) > 0 { + startT, _ := time.ParseInLocation("2006-01-02", dates[0], time.Local) + if dateT.Before(startT) { + return true + } + } + return false +} + +func AfterEndDate(date string, dates []string) bool { + dateT, _ := time.ParseInLocation("2006-01-02", date, time.Local) + if len(dates) > 0 { + if len(dates) == 1 { + endT, _ := time.ParseInLocation("2006-01-02", dates[0], time.Local) + if dateT.After(endT) { + return true + } + } else if len(dates) > 1 { + endT, _ := time.ParseInLocation("2006-01-02", dates[len(dates)-1], time.Local) + if dateT.After(endT) { + return true + } + } + } + return false +} diff --git a/pkg/service/oa_new/duration.go b/pkg/service/oa_new/duration.go new file mode 100644 index 0000000..b040295 --- /dev/null +++ b/pkg/service/oa_new/duration.go @@ -0,0 +1,1101 @@ +package oa_new + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "time" +) + +// OverTimeDuration +// 计算 加班时长 <根据 设置的考勤班次> +func OverTimeDuration(c *gin.Context) { + req := new(model.DurationReq) + res := new(oa_model.DurationRes) + if err := c.ShouldBind(&req); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(req.ApplyTimes) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeDisagreement, + Status: e.Failed, + }) + return + } + + err := oa_logic.VerifyTimeOrder(req.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("DurationReq req: %+v", req) + fmt.Printf("DurationReq req: %+v", req) + + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("====================================== workingTime ====================================================") + fmt.Printf("workingTime is %+v\n", workingTime) + fmt.Println("====================================== workingTime ====================================================") + + // 解析出 加班规则 + overtimeRule := new(oa.Overtime) + for i := 0; i < len(workingTime.OaRules); i++ { + if workingTime.OaRules[i].Keyword == model.OvertimeRule && workingTime.OaRules[i].OvertimeRule != nil { + overtimeRule = workingTime.OaRules[i].OvertimeRule + break + } + } + + fmt.Println("====================================== overtimeRule ====================================================") + fmt.Printf("overtimeRule is %+v\n", overtimeRule) + fmt.Println("====================================== overtimeRule ====================================================") + + startTime := common.ConvertApplyTimeToTime(req.ApplyTimes[0].Date, req.ApplyTimes[0].Hour) + endTime := common.ConvertApplyTimeToTime(req.ApplyTimes[1].Date, req.ApplyTimes[1].Hour) + + fmt.Println("====================================== ApplyTimes ====================================================") + fmt.Printf("startTime is %+v\n", startTime) + fmt.Printf("endTime is %+v\n", endTime) + fmt.Println("====================================== ApplyTimes ====================================================") + + if !startTime.Before(endTime) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrTimeOrder, + Status: e.Failed, + }) + return + } + + var subHours float64 + if req.ApplyTimes[0].Date == req.ApplyTimes[1].Date { + if req.ApplyTimes[0].Hour == req.ApplyTimes[1].Hour { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeIsRep, + Status: e.Failed, + }) + return + } + var subTimeDurationSingleErr error + subHours, subTimeDurationSingleErr = subTimeDurationSingle(req, workingTime, overtimeRule, startTime, endTime) + if subTimeDurationSingleErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: subTimeDurationSingleErr.Error(), + Status: e.Failed, + }) + return + } + + } else { + // 处理 加班申请开始时间 + startTime = common.ApplyStartTime(startTime) + endTime = common.ApplyEndTimeDefault(startTime, endTime) + var subTimeDurationMultipleErr error + subHours, subTimeDurationMultipleErr = subTimeDurationMultiple(req, workingTime, overtimeRule, startTime, endTime) + if subTimeDurationMultipleErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: subTimeDurationMultipleErr.Error(), + Status: e.Failed, + }) + return + } + } + + fmt.Println("====================================== OverTimeDuration subHours ====================================================") + fmt.Printf("OverTimeDuration subHours is %+v\n", subHours) + fmt.Println("====================================== OverTimeDuration subHours ====================================================") + + fmt.Println("====================================== ApplyTimes after ====================================================") + fmt.Printf("startTime is %+v\n", startTime) + fmt.Printf("endTime is %+v\n", endTime) + fmt.Println("====================================== ApplyTimes after ====================================================") + + originHour := endTime.Sub(startTime).Hours() + + fmt.Println("====================================== OverTimeDuration originHour ====================================================") + fmt.Printf("OverTimeDuration originHour is %+v\n", originHour) + fmt.Println("====================================== OverTimeDuration originHour ====================================================") + + res.NotTakeOut.Hours = float32(common.HandleHourLeaveFiveV2(originHour - subHours)) + res.TakeOut.Hours = float32(common.HandleHourLeaveFiveV2(originHour - subHours)) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: res, + Status: e.Ok, + }) +} + +func subTimeDurationSingle(req *model.DurationReq, workingTime *oa.WorkingTime, overtimeRule *oa.Overtime, startTime, endTime time.Time) (subHours float64, err error) { + // 判断 申请的时间是否在工作时间内 + workDay, isWorkDayErr := oa_logic.IsWorkDay(req.ApplyTimes[0].Date, workingTime.Week, workingTime.IsWorkDay) + if isWorkDayErr != nil { + return 0, isWorkDayErr + } + + fmt.Println("======================= subTimeDurationSingle IsWorkDay ==============================") + fmt.Printf("workDay is %+v\n", workDay) + fmt.Println("======================= subTimeDurationSingle IsWorkDay ==============================") + + if workDay { + subHours, err = workDayDurationSingle(req, workingTime, overtimeRule, startTime, endTime) + fmt.Println("====================================== subHours workDay ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours workDay ====================================================") + return + } else { + subHours, err = notWorkDayDurationSingle(req, workingTime, overtimeRule, startTime, endTime) + fmt.Println("====================================== subHours notWorkDay ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours notWorkDay ====================================================") + return + } +} + +func subTimeDurationMultiple(req *model.DurationReq, workingTime *oa.WorkingTime, overtimeRule *oa.Overtime, startTime, endTime time.Time) (subHours float64, err error) { + + startDay := common.ConvertApplyTimeToTime(req.ApplyTimes[0].Date, "00:00") + endDay := common.ConvertApplyTimeToTime(req.ApplyTimes[1].Date, "00:00") + offsetDay := endDay.Sub(startDay).Hours() / 24 + if offsetDay >= 2 { + return 0, errors.New(e.ErrCanNotCalcOverTimeBehindTwoDays) + } + + // 判断 申请的时间是否在工作时间内 + workDayStart, isWorkDayStartErr := oa_logic.IsWorkDay(startDay.Format(common.YYMMDD), workingTime.Week, workingTime.IsWorkDay) + if isWorkDayStartErr != nil { + return 0, isWorkDayStartErr + } + + // 判断 申请的时间是否在工作时间内 + //workDayEnd, isWorkDayEndErr := oa_logic.IsWorkDay(endDay.Format(common.YYMMDD), workingTime.Week, workingTime.IsWorkDay) + //if isWorkDayEndErr != nil { + // return startTime, endTime, 0, isWorkDayEndErr + //} + + if workDayStart { + // 申请的日期都为 工作日 + return workDayDurationSingle(req, workingTime, overtimeRule, startTime, endTime) + } else if !workDayStart { + // 申请的日期都不为 工作日 + return notWorkDayDurationSingle(req, workingTime, overtimeRule, startTime, endTime) + } + + return +} + +func workDayDurationSingle(req *model.DurationReq, workingTime *oa.WorkingTime, overtimeRule *oa.Overtime, startTime, endTime time.Time) (subHours float64, err error) { + + // 是工作日 + startWorkTime := common.ConvertWorkDateAndWorkTime(req.ApplyTimes[0].Date, workingTime.Time[0].OnWorkTime) + endWorkTime := common.ConvertWorkDateAndWorkTime(req.ApplyTimes[0].Date, workingTime.Time[len(workingTime.Time)-1].OffWorkTime) + + fmt.Println("====================================== workTime ====================================================") + fmt.Printf("startWorkTime is %+v\n", startWorkTime) + fmt.Printf("endWorkTime is %+v\n", endWorkTime) + fmt.Println("====================================== workTime ====================================================") + + if startTime.Before(startWorkTime) { + if !endTime.After(startWorkTime) { + if endTime.Sub(startTime).Hours() < float64(overtimeRule.WorkHead) { + subHours += startWorkTime.Sub(startTime).Hours() + fmt.Println("====================================== subHours WorkHead 1 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkHead 1 ====================================================") + return subHours, nil + } + } else { + if startWorkTime.Sub(startTime).Hours() < float64(overtimeRule.WorkHead) { + subHours += startWorkTime.Sub(startTime).Hours() + fmt.Println("====================================== subHours WorkHead 2 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkHead 2 ====================================================") + } + } + } + + fmt.Println("====================================== subHours WorkHead 3 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkHead 3 ====================================================") + + fmt.Println("======================================endTime.Sub(endWorkTime).Hours() ====================================================") + fmt.Printf("endTime.Sub(endWorkTime).Hours() is %+v\n", endTime.Sub(endWorkTime).Hours()) + fmt.Printf("float64(overtimeRule.WorkEnd) is %+v\n", float64(overtimeRule.WorkEnd)) + fmt.Printf("float64(overtimeRule.Least) is %+v\n", float64(overtimeRule.Least)) + fmt.Println("====================================== endTime.Sub(endWorkTime).Hours() ====================================================") + + if endTime.After(endWorkTime) { + // 参与计算的 开始时间 + var calcStartTime time.Time + if !startTime.Before(endWorkTime) { + calcStartTime = startTime + } else { + calcStartTime = endWorkTime + } + + fmt.Println("====================================== subHours WorkEnd calcStartTime ====================================================") + fmt.Printf("calcStartTime is %+v\n", calcStartTime) + fmt.Println("====================================== subHours WorkEnd calcStartTime") + + if endTime.Sub(calcStartTime).Hours() < float64(overtimeRule.WorkEnd) { + + subHours += endTime.Sub(calcStartTime).Hours() + fmt.Println("====================================== subHours WorkEnd 1 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkEnd 1 ====================================================") + + } else if endTime.Sub(calcStartTime).Hours() >= float64(overtimeRule.WorkEnd) && + endTime.Sub(calcStartTime).Hours() < float64(overtimeRule.Least) { + + subHours += float64(overtimeRule.WorkEnd) + fmt.Println("====================================== subHours WorkEnd 2 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkEnd 2 ====================================================") + + } + + } + + fmt.Println("====================================== subHours WorkEnd 3 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkEnd 3 ====================================================") + + if !startTime.After(startWorkTime) && !endTime.Before(endWorkTime) { + // 固定 减去 工作日 工作时长 此时 不管 是否有休息时间 + subHours += endWorkTime.Sub(startWorkTime).Hours() + } else if startTime.After(startWorkTime) && startTime.Before(endWorkTime) && !endTime.Before(endWorkTime) { + // 申请开始时间 在工作时间内 且 申请结束时间 在工作时间之后 + subHours += endWorkTime.Sub(startTime).Hours() + } else if !startTime.Before(startWorkTime) && !endTime.After(endWorkTime) && endTime.After(startWorkTime) { + // 申请开始时间 在工作时间之前 且 申请结束时间 在工作时间内 + subHours += endTime.Sub(startTime).Hours() + } + + return +} + +func notWorkDayDurationSingle(req *model.DurationReq, workingTime *oa.WorkingTime, overtimeRule *oa.Overtime, startTime, endTime time.Time) (subHours float64, err error) { + + startDay := common.ConvertApplyTimeToTime(req.ApplyTimes[0].Date, "00:00") + //endDay := common.ConvertApplyTimeToTime(req.ApplyTimes[1].Date, "00:00") + + // 获取 休息时间 + var breakOnWorkTime time.Time + var breakOffWorkTime time.Time + + hasBreakTime := false + if overtimeRule.RemovingBreakPeriods == model.RemovingBreakPeriodsYes { + if workingTime.HasBreakTime == model.HasBreakTime { + if workingTime.BreakOption.OnWorkTime != "" && workingTime.BreakOption.OffWorkTime != "" { + hasBreakTime = true + breakOnWorkTime = common.ConvertWorkDateAndWorkTime(startDay.Format(common.YYMMDD), workingTime.BreakOption.OnWorkTime) + breakOffWorkTime = common.ConvertWorkDateAndWorkTime(startDay.Format(common.YYMMDD), workingTime.BreakOption.OffWorkTime) + fmt.Println("====================================== breakOnWorkTime breakOffWorkTime ====================================================") + fmt.Printf("breakOnWorkTime is %+v\n", breakOnWorkTime) + fmt.Printf("breakOffWorkTime is %+v\n", breakOffWorkTime) + fmt.Println("====================================== breakOnWorkTime breakOffWorkTime ====================================================") + } + } + } + + if hasBreakTime { + if !startTime.After(breakOnWorkTime) { + // 申请开始时间 在 休息开始时间之前 且 包含 休息时间点 + if !endTime.After(breakOnWorkTime) { + // 申请结束时间 在 休息开始时间之前 且 包含 休息时间点 + return + } else if !endTime.Before(breakOffWorkTime) { + // 申请结束时间 在 休息结束时间之后 且 包含 休息时间点 + subHours += breakOffWorkTime.Sub(breakOnWorkTime).Hours() + fmt.Println("====================================== subHours notWorkDay ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours notWorkDay ====================================================") + fmt.Println("====================================== subHours notWorkDay 1 ====================================================") + return + } else { + // 申请结束时间 在 休息时间之间 + subHours += endTime.Sub(breakOnWorkTime).Hours() + fmt.Println("====================================== subHours notWorkDay ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours notWorkDay ====================================================") + fmt.Println("====================================== subHours notWorkDay 2 ====================================================") + return + } + + } else { + if endTime.After(breakOffWorkTime) { + // 申请结束时间 在 休息结束时间之后 且 包含 休息时间点 + if !startTime.After(breakOffWorkTime) { + // 申请开始时间 在 休息结束时间之前 且 包含 休息时间点 + subHours += breakOffWorkTime.Sub(startTime).Hours() + fmt.Println("====================================== subHours notWorkDay ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours notWorkDay ====================================================") + fmt.Println("====================================== subHours notWorkDay 3 ====================================================") + return + } + return + } + } + } + + return +} + +func workDayDurationMultiple(req *model.DurationReq, workingTime *oa.WorkingTime, overtimeRule *oa.Overtime, startTime, endTime time.Time) (startTimeAfter, endTimeAfter time.Time, subHours float32, err error) { + // 处理 加班申请开始时间 + startTimeAfter = common.ApplyStartTime(startTime) + endTimeAfter = common.ApplyEndTimeDefault(startTime, endTime) + + // 是工作日 + startWorkTime := common.ConvertWorkDateAndWorkTime(req.ApplyTimes[0].Date, workingTime.Time[0].OnWorkTime) + endWorkTime := common.ConvertWorkDateAndWorkTime(req.ApplyTimes[1].Date, workingTime.Time[len(workingTime.Time)-1].OffWorkTime) + + fmt.Println("====================================== workTime ====================================================") + fmt.Printf("startWorkTime is %+v\n", startWorkTime) + fmt.Printf("endWorkTime is %+v\n", endWorkTime) + fmt.Println("====================================== workTime ====================================================") + + if startTimeAfter.Before(startWorkTime) { + if !endTime.After(startWorkTime) { + if endTime.Sub(startTimeAfter).Hours() < float64(overtimeRule.WorkHead) { + subHours += float32(startWorkTime.Sub(startTimeAfter).Hours()) + fmt.Println("====================================== subHours WorkHead 1 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkHead 1 ====================================================") + return startTimeAfter, endTimeAfter, subHours, nil + } + } else { + if startWorkTime.Sub(startTimeAfter).Hours() < float64(overtimeRule.WorkHead) { + subHours += float32(startWorkTime.Sub(startTimeAfter).Hours()) + fmt.Println("====================================== subHours WorkHead 2 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkHead 2 ====================================================") + } + } + } + + fmt.Println("====================================== subHours WorkHead 3 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkHead 3 ====================================================") + + fmt.Println("======================================endTime.Sub(endWorkTime).Hours() ====================================================") + fmt.Printf("endTime.Sub(endWorkTime).Hours() is %+v\n", endTimeAfter.Sub(endWorkTime).Hours()) + fmt.Printf("float64(overtimeRule.WorkEnd) is %+v\n", float64(overtimeRule.WorkEnd)) + fmt.Printf("float64(overtimeRule.Least) is %+v\n", float64(overtimeRule.Least)) + fmt.Println("====================================== endTime.Sub(endWorkTime).Hours() ====================================================") + + if endTimeAfter.After(endWorkTime) { + // 参与计算的 开始时间 + var calcStartTime time.Time + if !startTimeAfter.Before(endWorkTime) { + calcStartTime = startTimeAfter + } else { + calcStartTime = endWorkTime + } + + fmt.Println("====================================== subHours WorkEnd calcStartTime ====================================================") + fmt.Printf("calcStartTime is %+v\n", calcStartTime) + fmt.Println("====================================== subHours WorkEnd calcStartTime") + + if endTimeAfter.Sub(calcStartTime).Hours() < float64(overtimeRule.WorkEnd) { + + subHours += float32(endTimeAfter.Sub(calcStartTime).Hours()) + fmt.Println("====================================== subHours WorkEnd 1 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkEnd 1 ====================================================") + + } else if endTimeAfter.Sub(calcStartTime).Hours() >= float64(overtimeRule.WorkEnd) && + endTimeAfter.Sub(calcStartTime).Hours() < float64(overtimeRule.Least) { + + subHours += overtimeRule.WorkEnd + fmt.Println("====================================== subHours WorkEnd 2 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkEnd 2 ====================================================") + + } + + } + + fmt.Println("====================================== subHours WorkEnd 3 ====================================================") + fmt.Printf("subHours is %+v\n", subHours) + fmt.Println("====================================== subHours WorkEnd 3 ====================================================") + + if !startTimeAfter.After(startWorkTime) && !endTimeAfter.Before(endWorkTime) { + // 固定 减去 工作日 工作时长 此时 不管 是否有休息时间 + subHours += float32(endWorkTime.Sub(startWorkTime).Hours()) + } + + return +} + +func notWorkDayDurationMultiple(req *model.DurationReq, workingTime *oa.WorkingTime, overtimeRule *oa.Overtime, startTime, endTime time.Time) (startTimeAfter, endTimeAfter time.Time, subHours float32, err error) { + + startDay := common.ConvertApplyTimeToTime(req.ApplyTimes[0].Date, "00:00") + //endDay := common.ConvertApplyTimeToTime(req.ApplyTimes[1].Date, "00:00") + + // 处理 加班申请开始时间 + startTimeAfter = common.ApplyStartTime(startTime) + endTimeAfter = common.ApplyEndTimeDefault(startTime, endTime) + + // 获取 休息时间 + var breakOnWorkTime time.Time + var breakOffWorkTime time.Time + + hasBreakTime := false + if overtimeRule.RemovingBreakPeriods == model.RemovingBreakPeriodsYes { + if workingTime.HasBreakTime == model.HasBreakTime { + if workingTime.BreakOption.OnWorkTime != "" && workingTime.BreakOption.OffWorkTime != "" { + hasBreakTime = true + breakOnWorkTime = common.ConvertWorkDateAndWorkTime(startDay.Format(common.YYMMDD), workingTime.BreakOption.OnWorkTime) + breakOffWorkTime = common.ConvertWorkDateAndWorkTime(startDay.Format(common.YYMMDD), workingTime.BreakOption.OffWorkTime) + fmt.Println("====================================== breakOnWorkTime breakOffWorkTime ====================================================") + fmt.Printf("breakOnWorkTime is %+v\n", breakOnWorkTime) + fmt.Printf("breakOffWorkTime is %+v\n", breakOffWorkTime) + fmt.Println("====================================== breakOnWorkTime breakOffWorkTime ====================================================") + } + } + } + + if hasBreakTime { + if !startTime.After(breakOnWorkTime) { + // 申请开始时间 在 休息开始时间之前 且 包含 休息时间点 + if !endTime.After(breakOnWorkTime) { + // 申请结束时间 在 休息开始时间之前 且 包含 休息时间点 + return + } else if !endTime.Before(breakOffWorkTime) { + // 申请结束时间 在 休息结束时间之后 且 包含 休息时间点 + subHours += float32(breakOffWorkTime.Sub(breakOnWorkTime).Hours()) + return + } else { + // 申请结束时间 在 休息时间之间 + subHours += float32(endTime.Sub(breakOnWorkTime).Hours()) + return + } + + } else { + if endTime.After(breakOffWorkTime) { + // 申请结束时间 在 休息结束时间之后 且 包含 休息时间点 + if !startTime.After(breakOffWorkTime) { + // 申请开始时间 在 休息结束时间之前 且 包含 休息时间点 + subHours += float32(breakOffWorkTime.Sub(startTime).Hours()) + return + } + return + } + } + } + + return +} + +// LeaveDuration 计算 请假时长 <根据 设置的考勤班次> +func LeaveDuration(c *gin.Context) { + var applyTimes model.Data + if err := c.ShouldBind(&applyTimes); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("DurationReq req: %+v", applyTimes) + fmt.Printf("DurationReq req: %+v\n", applyTimes) + + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + res, err := oa_logic.LeaveDurationHandle(applyTimes, workingTime) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func LeaveDurationOld(c *gin.Context) { + var applyTimes model.Data + if err := c.ShouldBind(&applyTimes); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("DurationReq req: %+v", applyTimes) + fmt.Printf("DurationReq req: %+v\n", applyTimes) + + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + req := new(model.DurationReq) + + req.ApplyTimes = applyTimes.ApplyTimes + + fmt.Println("====================================== workingTime ====================================================") + fmt.Printf("workingTime is %+v\n", workingTime) + fmt.Println("====================================== workingTime ====================================================") + + var times []*model.TimeOption + for i := 0; i < len(workingTime.Time); i++ { + times = append(times, &model.TimeOption{ + OnWorkTime: workingTime.Time[i].OnWorkTime, + OffWorkTime: workingTime.Time[i].OffWorkTime, + }) + } + req.TimeOptions.Times = times + if workingTime.IsWorkDay == model.IsWorkDay { + req.TimeOptions.Week = "1,5" + } + if workingTime.Week != "" { + req.TimeOptions.Week = workingTime.Week + } + + fmt.Println("====================================== workingTime ====================================================") + fmt.Printf("workingTime is %+v\n", workingTime) + fmt.Println("====================================== workingTime ====================================================") + + // 计算 请假时长 + if len(req.ApplyTimes) != 2 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrApplytimeDisagreement, + Status: e.Failed, + }) + return + } + + verifyTimeOrderErr := oa_logic.VerifyTimeOrder(req.ApplyTimes) + if verifyTimeOrderErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: verifyTimeOrderErr.Error(), + Status: e.Failed, + }) + return + } + + res := model.DurationRes{} + + var freeTime float64 + if len(req.TimeOptions.Times) > 1 { + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + if i+1 < len(req.TimeOptions.Times) { + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i+1].OnWorkTime+":00", time.Local) + } else { + break + } + + freeTime = freeTime + onWorkTime.Sub(offWorkTime).Hours() + } + } + + // 请假 日期 是 同一天 + // 那么只需要 拿出 hours 或者 m 做 计算 + // 请假 日期 是 同一天 + // 那么只需要 拿出 hours 或者 m 做 计算 + if req.ApplyTimes[0].Date == req.ApplyTimes[1].Date { + + if req.ApplyTimes[0].M != "" && req.ApplyTimes[1].M != "" { + if req.ApplyTimes[0].M == req.ApplyTimes[1].M { + res.TakeOut.Days = 0.5 + res.NotTakeOut.Days = 0.5 + } else { + res.TakeOut.Days = 1 + res.NotTakeOut.Days = 1 + } + } + + if req.ApplyTimes[0].Hour != "" { + + res = oa_logic.SingleDateDurationHandle(req) + + } + + } else { + + basicDays := len(holiday.SplitDates(req.ApplyTimes[0].Date, req.ApplyTimes[1].Date, "2006-01-02")) - 1 + + if req.ApplyTimes[0].M != "" && req.ApplyTimes[1].M != "" { + + if req.ApplyTimes[0].M == req.ApplyTimes[1].M { // 如果 同为 上午 或者 下午 则 记为 1.5 + res.TakeOut.Days = res.TakeOut.Days + 1.5 + res.NotTakeOut.Days = res.NotTakeOut.Days + 1.5 + } else { + if req.ApplyTimes[0].M == "上午" { // 如果 不相同 则 记为 1 + res.TakeOut.Days = res.TakeOut.Days + 2 + res.NotTakeOut.Days = res.NotTakeOut.Days + 2 + } else if req.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days + 1 + res.NotTakeOut.Days = res.NotTakeOut.Days + 1 + } + } + + isWeek, num, err := oa_logic.WeekNum(req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if isWeek { + basicDays = basicDays - num + } + + fmt.Println("===================== 打印 isWeek num info ===================================") + fmt.Printf("isWeek is : %+v\n", isWeek) + fmt.Printf("num is : %+v\n", num) + fmt.Println("===================== 打印 isWeek num info ===================================") + + res.TakeOut.Days = res.TakeOut.Days + float32(basicDays-1) + res.NotTakeOut.Days = res.NotTakeOut.Days + float32(basicDays-1) + } + + if req.ApplyTimes[0].Hour != "" { + + res = oa_logic.MultiDateDurationHandle(req, freeTime, basicDays) + + } + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrLeaveDurationIsZero, + //Data: res, + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func AnnualLeaveDuration(c *gin.Context) { + var applyTimes model.Data + res := new(model.DurationRes) + if err := c.ShouldBind(&applyTimes); err != nil { + logger.Errorf("AnnualLeaveDuration ShouldBind err %+v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(applyTimes.ApplyTimes) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeDisagreement, + Status: e.Failed, + }) + return + } + + err := oa_logic.VerifyTimeOrder(applyTimes.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + now := common.CurrentDateStr() + for i := 0; i < len(applyTimes.ApplyTimes); i++ { + if applyTimes.ApplyTimes[i].Date == "" { + applyTimes.ApplyTimes[i].Date = now + } + } + + userInfo := login.GetUserInfoFromC(c) + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + res, err = oa_logic.AnnualLeaveDurationHandle(applyTimes, workingTime) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func AnnualLeaveDurationOld(c *gin.Context) { + var applyTimes model.Data + res := new(model.DurationRes) + if err := c.ShouldBind(&applyTimes); err != nil { + logger.Errorf("AnnualLeaveDuration ShouldBind err %+v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(applyTimes.ApplyTimes) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeDisagreement, + Status: e.Failed, + }) + return + } + + err := oa_logic.VerifyTimeOrder(applyTimes.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + now := common.CurrentDateStr() + for i := 0; i < len(applyTimes.ApplyTimes); i++ { + if applyTimes.ApplyTimes[i].Date == "" { + applyTimes.ApplyTimes[i].Date = now + } + } + + userInfo := login.GetUserInfoFromC(c) + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + // 记录 打卡 周期 + isWork, err := oa_logic.IsWorkDay(common.CurrentDateStr(), workingTime.Week, workingTime.IsWorkDay) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrConfirmweek, + Status: e.Failed, + }) + return + } + + //startTime,_ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+"00:00:00", time.Local) + //endTime,_ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+"00:00:00", time.Local) + + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(applyTimes.ApplyTimes[0].Date), holiday.ConvertTime(applyTimes.ApplyTimes[1].Date), true) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrHolidayMiss, + Status: e.Failed, + }) + return + } + + for i := 0; i < len(holidayRes); i++ { + if holidayRes[i].Type == 0 || isWork { + res.TakeOut.Days += 1 + res.NotTakeOut.Days += 1 + } + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrLeaveDurationIsZero, + //Data: res, + Status: e.Failed, + }) + return + } + + if applyTimes.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + if applyTimes.ApplyTimes[1].M == "上午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func BusinessTripDuration(c *gin.Context) { + var applyTimes model.Data + res := new(model.DurationRes) + if err := c.ShouldBind(&applyTimes); err != nil { + logger.Errorf("BusinessTripDuration ShouldBind err %+v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(applyTimes.ApplyTimes) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeDisagreement, + Status: e.Failed, + }) + return + } + + err := oa_logic.VerifyTimeOrder(applyTimes.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + now := common.CurrentDateStr() + for i := 0; i < len(applyTimes.ApplyTimes); i++ { + if applyTimes.ApplyTimes[i].Date == "" { + applyTimes.ApplyTimes[i].Date = now + } + } + + //req := new(model.DurationReq) + // + //req.ApplyTimes = applyTimes.ApplyTimes + + res, err = oa_logic.CalcAllDayDurationHandle(applyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func BusinessTripDurationOld(c *gin.Context) { + var applyTimes model.Data + res := new(model.DurationRes) + if err := c.ShouldBind(&applyTimes); err != nil { + logger.Errorf("BusinessTripDuration ShouldBind err %+v", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(applyTimes.ApplyTimes) < 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrOvertimeDisagreement, + Status: e.Failed, + }) + return + } + + err := oa_logic.VerifyTimeOrder(applyTimes.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + now := common.CurrentDateStr() + for i := 0; i < len(applyTimes.ApplyTimes); i++ { + if applyTimes.ApplyTimes[i].Date == "" { + applyTimes.ApplyTimes[i].Date = now + } + } + + req := new(model.DurationReq) + + req.ApplyTimes = applyTimes.ApplyTimes + + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(applyTimes.ApplyTimes[0].Date), holiday.ConvertTime(applyTimes.ApplyTimes[1].Date), true) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrHolidayMiss, + Status: e.Failed, + }) + return + } + + for i := 0; i < len(holidayRes); i++ { + res.TakeOut.Days += 1 + res.NotTakeOut.Days += 1 + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrLeaveDurationIsZero, + Status: e.Failed, + }) + return + } + + if applyTimes.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + if applyTimes.ApplyTimes[1].M == "上午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func OutWorkDuration(c *gin.Context) { + var applyTimes model.Data + res := new(model.DurationRes) + if err := c.ShouldBind(&applyTimes); err != nil { + logger.Errorf("OutWorkDuration ShouldBind err %+v ", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + err := oa_logic.VerifyTimeOrder(applyTimes.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err = oa_logic.OutWorkDurationHandle(applyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func OutWorkDurationOld(c *gin.Context) { + var applyTimes model.Data + res := new(model.DurationRes) + if err := c.ShouldBind(&applyTimes); err != nil { + logger.Errorf("OutWorkDuration ShouldBind err %+v ", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + err := oa_logic.VerifyTimeOrder(applyTimes.ApplyTimes) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes.ApplyTimes[0].Date+" "+applyTimes.ApplyTimes[0].Hour+":00", time.Local) + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes.ApplyTimes[1].Date+" "+applyTimes.ApplyTimes[1].Hour+":00", time.Local) + if applyTimes.ApplyTimes[1].Hour == "23:59" { + endTime = endTime.Add(1 * time.Minute) + } + + // 计算 请假时长 + res.NotTakeOut.Hours = service.HandleHourLeaveFive(endTime.Sub(startTime).Hours()) + res.TakeOut.Hours = res.NotTakeOut.Hours + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa_new/export.go b/pkg/service/oa_new/export.go new file mode 100644 index 0000000..51a45bb --- /dev/null +++ b/pkg/service/oa_new/export.go @@ -0,0 +1,166 @@ +package oa_new + +import ( + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "go.uber.org/zap" + "strings" + "time" +) + +func ExportActionRecord(c *gin.Context) { + req := new(oa.OaMonthReq) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 获取 当前用户的账号信息 + userInfo := login.GetUserInfoFromC(c) + + if req.Month == "" { + req.Month = holiday.CurrentMonth() + } + + req.Month = common.Add25ForMonth(req.Month) + + dates := holiday.SplitMonthV1(req.Month, common.YYMMDD) + + holidaysMap, holidaysMapErr := oa_logic.HolidayList(dates) + + if holidaysMapErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: holidaysMapErr.Error(), + Status: e.Failed, + }) + return + } + + //fileName := fmt.Sprintf(common.ActionTimeFileName, dates[0], dates[len(dates)-1]) + fileName := fmt.Sprintf(common.ActionTimeFileName, strings.ReplaceAll(dates[0], "-", ""), strings.ReplaceAll(dates[len(dates)-1], "-", "")) + exportRecordReq := &oa.ExportRecordReq{ + UserId: userInfo.ID, + FileName: fileName, + TaskType: "action_time", + Status: 2, + FilePath: "", + } + exportRecord, err := service.GrpcOAImpl.CreateExportRecord(context.Background(), exportRecordReq) + // 创建成功 则 将 导出记录的 id 记录 + if exportRecord.Id != 0 { + exportRecordReq.Id = exportRecord.Id + } + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorCreateExportTask, + Status: e.Failed, + }) + return + } + + go func() { + + isLeader, staffUIDs, authErr := IsCollectionDetailAuth(c) + if authErr != nil { + fmt.Println("IsCollectionDetailAuth ", fmt.Sprintf(" v: %+v", authErr.Error())) + zap.L().Error("IsCollectionDetailAuth ", zap.Any("IsCollectionDetailAuth ", fmt.Sprintf(" v: %+v", authErr.Error()))) + return + } + + fmt.Println("==================================== StaffUID 0 ==================================== ") + fmt.Printf("isLeader %+v\n", isLeader) + fmt.Printf("StaffUID %+v\n", staffUIDs) + fmt.Println("==================================== StaffUID 0 ==================================== ") + + if isLeader == false { + // 如果 请求参数中不携带 员工 uid 则 根据权限 获取 员工 + if len(req.StaffUID) == 0 { + req.StaffUID = staffUIDs + } + } + fmt.Println("==================================== StaffUID 1 ==================================== ") + fmt.Printf("StaffUID %+v\n", req.StaffUID) + fmt.Println("==================================== StaffUID 1 ==================================== ") + + /* // 根据 部门的 ID 导出 需要 剔除 权限以外的 员工 + if req.DepartmentUID != 0 { + employeeFile, employeeFileErr := service.GrpcEmployeeProvider.CheckEmployeeFilesByDepartmentID(c, &employee.CheckEmployeeFilesByDepartmentIDRequest{ + DepartmentIds: []uint64{uint64(req.DepartmentUID)}, + }) + if employeeFileErr != nil { + fmt.Println("CheckEmployeeFilesByDepartmentID ", fmt.Sprintf(" v: %+v", employeeFileErr.Error())) + zap.L().Error("CheckEmployeeFilesByDepartmentID ", zap.Any("CheckEmployeeFilesByDepartmentID ", fmt.Sprintf(" v: %+v", employeeFileErr.Error()))) + failedErr := oa_logic.UpdateExportRecordExportFailed(exportRecordReq) + if failedErr != nil { + fmt.Println("UpdateExportRecordExportFailed ", fmt.Sprintf(" v: %+v", authErr.Error())) + zap.L().Error("UpdateExportRecordExportFailed ", zap.Any("UpdateExportRecordExportFailed ", fmt.Sprintf(" v: %+v", failedErr.Error()))) + } + return + } + req.StaffUID = common.CheckStaffUIDsIn(req.StaffUID, employeeFile.UserIds) + }*/ + + fmt.Println("==================================== StaffUID 2 ==================================== ") + fmt.Printf("StaffUID %+v\n", req.StaffUID) + fmt.Println("==================================== StaffUID 2 ==================================== ") + + // 查询 员工档案 信息 + employees, employeesErr := oa_logic.GetAllEmployeesInfoForEmployees(req.StaffUID) + if employeesErr != nil { + fmt.Println("GetAllEmployeesInfoForEmployees ", fmt.Sprintf(" v: %+v", employeesErr.Error())) + zap.L().Error("GetAllEmployeesInfoForEmployees ", zap.Any("GetAllEmployeesInfoForEmployees ", fmt.Sprintf(" v: %+v", employeesErr.Error()))) + failedErr := oa_logic.UpdateExportRecordExportFailed(exportRecordReq) + if failedErr != nil { + fmt.Println("UpdateExportRecordExportFailed ", fmt.Sprintf(" v: %+v", failedErr.Error())) + zap.L().Error("UpdateExportRecordExportFailed ", zap.Any("UpdateExportRecordExportFailed ", fmt.Sprintf(" v: %+v", failedErr.Error()))) + } + return + } + + // 根据 req 的 DepartmentName 筛选员工 + employees = oa_logic.FilterEmployeesInfoEmployee(employees, req.StaffName, req.DepartmentUID, req.Month, req.StartDate, req.EndDate) + + // 导出 操作 + url, exportErr := oa_logic.ExportActionRecord(dates, holidaysMap, employees, fileName) + if exportErr != nil { + fmt.Println("ExportActionRecord ", fmt.Sprintf(" v: %+v", exportErr.Error())) + zap.L().Error("ExportActionRecord ", zap.Any("ExportActionRecord ", fmt.Sprintf(" v: %+v", exportErr.Error()))) + failedErr := oa_logic.UpdateExportRecordExportFailed(exportRecordReq) + if failedErr != nil { + fmt.Println("UpdateExportRecordExportFailed ", fmt.Sprintf(" v: %+v", failedErr.Error())) + zap.L().Error("UpdateExportRecordExportFailed ", zap.Any("UpdateExportRecordExportFailed ", fmt.Sprintf(" v: %+v", failedErr.Error()))) + } + return + } + + exportRecordReq.FilePath = url + exportRecordReq.DerivationTime = time.Now().Format("2006-01-02 15:04:05") + successErr := oa_logic.UpdateExportRecordExportSuccess(exportRecordReq) + if successErr != nil { + fmt.Println("UpdateExportRecordExportSuccess ", fmt.Sprintf(" v: %+v", successErr.Error())) + zap.L().Error("UpdateExportRecordExportSuccess ", zap.Any("UpdateExportRecordExportSuccess ", fmt.Sprintf(" v: %+v", successErr.Error()))) + } + return + }() + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: "导出任务已提交,稍后可查看导出结果。", + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/leaveBalance.go b/pkg/service/oa_new/leaveBalance.go new file mode 100644 index 0000000..430530c --- /dev/null +++ b/pkg/service/oa_new/leaveBalance.go @@ -0,0 +1,338 @@ +package oa_new + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + employee1 "github.com/fonchain_enterprise/fonchain-main/pkg/utils/employee" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/excel" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "os" + "strconv" + "time" +) + +func GetLeaveBalanceList(c *gin.Context) { + var req oa.LeaveBalanceListReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + res, err := service.GrpcOAImpl.GetLeaveBalanceList(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + leaveBalanceRes := new(model.LeaveBalanceRes) + + leaveBalanceRes.LeaveBalanceList = res.Data + leaveBalanceRes.Msg = res.Msg + leaveBalanceRes.Total = res.Total + leaveBalanceRes.LeaveBalanceList = res.Data + leaveBalanceRes.Page = req.Page + leaveBalanceRes.PageSize = req.PageSize + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: leaveBalanceRes, + Status: e.Ok, + }) +} +func GetLeaveBalanceInfo(c *gin.Context) { + var req oa.LeaveBalanceInfoReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo := login.GetUserInfoFromC(c) + req.StaffUID = userInfo.ID + res, err := service.GrpcOAImpl.GetLeaveBalanceInfo(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + return +} +func CreateLeaveBalanceExcel(c *gin.Context) { + file, err := c.FormFile("file") + if err != nil { + service.Error(c, e.Error, err) + } + safeFilename := fmt.Sprintf("%d", time.Now().Unix()) + "_" + file.Filename + userInfo := login.GetUserInfoFromC(c) + fileDir := fmt.Sprintf("/balance/excel/%s/%s_%s", time.Now().Format("2006-01-02"), userInfo.NickName, safeFilename) + // 保存上传的文件到本地 + if err = c.SaveUploadedFile(file, safeFilename); err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + if err := os.Remove(safeFilename); err != nil { + // 处理删除文件失败的情况 + fmt.Println("Failed to delete file:", err) + } + }() + inputUrl, err := service.PutBosWithName(safeFilename, false, fileDir) + if err != nil { + service.Error(c, e.Error, err) + return + } + employeeList, err := logic.ImportEmployee(c, safeFilename) + if len(employeeList) == 0 { + service.Error(c, e.Error, errors.New("未获取到数据")) + return + } + jobNumList := []string{} + for _, i := range employeeList { + jobNumList = append(jobNumList, i.JobNumber) + } + employeeIdList, err := service.GrpcEmployeeProvider.FindEmployeeFileIDForJobNum(c, &employee.FindEmployeeFileIDForJobNumRequest{JobNumber: jobNumList}) + if err != nil || len(employeeIdList.List) == 0 { + service.Error(c, e.Error, errors.New("员工档案信息不存在")) + return + } + employeeFileIds := []uint64{} + for _, i := range employeeIdList.List { + employeeFileIds = append(employeeFileIds, i.EmployeeFileId) + } + employeeInfo, err := service.GrpcEmployeeProvider.FindEmployeeFileList(c, &employee.FindEmployeeFileListRequest{Ids: employeeFileIds}) + if err != nil { + service.Error(c, e.Error, errors.New("获取员工档案信息错误")) + return + } + errLeaveBalanceRes := []*oa_model.ErrLeaveBalanceRes{} + createLeaveBalanceReq := []*oa.LeaveBalance{} + userMap := make(map[string]*employee.FindEmployeeFileListInfo) + for _, user := range employeeInfo.EmployeeFileList { + userMap[user.JobNumber] = user + } + for _, employeeReq := range employeeList { + if user, exists := userMap[employeeReq.JobNumber]; exists { + departmentPosition := []*oa.LeaveBalancePosition{} + if user.DepartmentPostList != nil { + for _, s := range user.DepartmentPostList { + departmentPosition = append(departmentPosition, &oa.LeaveBalancePosition{ + DepartmentUID: strconv.FormatUint(s.DepartmentId, 10), + DepartmentName: s.DepartmentName, + PositionUID: strconv.FormatUint(s.PostId, 10), + PositionName: s.PostName, + }) + } + } else { + errLeaveBalanceRes = append(errLeaveBalanceRes, &oa_model.ErrLeaveBalanceRes{ + Name: user.Name, + JobNumber: user.JobNumber, + Remark: "用户无部门岗位信息", + }) + } + createLeaveBalanceReq = append(createLeaveBalanceReq, &oa.LeaveBalance{ + StaffUID: user.UserId, + StaffNum: user.JobNumber, + StaffName: user.Name, + EmployeeFileId: user.Id, + Year: int32(time.Now().Year()), + Positions: departmentPosition, + AnnualLeave: logic.NewEmployeeWithDefaults(employeeReq.AnnualLeave), + //Sick: logic.NewEmployeeWithDefaults(employeeReq.SickLeave), + ParentalLeave: logic.NewEmployeeWithDefaults(employeeReq.ParentalLeave), + NursingLeave: logic.NewEmployeeWithDefaults(employeeReq.NursingLeave), + }) + } else { + errLeaveBalanceRes = append(errLeaveBalanceRes, &oa_model.ErrLeaveBalanceRes{ + Name: employeeReq.Name, + JobNumber: employeeReq.JobNumber, + Remark: "员工档案信息不存在", + }) + } + + } + Ids := "" + if len(createLeaveBalanceReq) > 0 { + for _, i := range createLeaveBalanceReq { + _, err = service.GrpcOAImpl.SaveLeaveBalance(c, i) + if err != nil { + errLeaveBalanceRes = append(errLeaveBalanceRes, &oa_model.ErrLeaveBalanceRes{ + Name: i.StaffName, + JobNumber: i.StaffNum, + Remark: fmt.Sprintf("创建假勤错误-%v", err.Error()), + }) + } + Ids += strconv.FormatUint(i.EmployeeFileId, 10) + ";" + } + } + + outUrl := "" + Status := uint64(0) + if len(errLeaveBalanceRes) > 0 { + Status = 1 + var sheet1Columns = []string{"姓名", "工号", "备注"} + var sheet1 = excel.NewSheet("Sheet1", errLeaveBalanceRes, sheet1Columns) + ex, err := excel.NewExcelCreatorFromTemplate("demo.xlsx", "./", "", sheet1) + ex.UseOption(excel.OptionFileNameSuffixWithUnixTime) + path, _, err := ex.WriteToFile() + outUrl, err = service.PutBos(path, "", false) + if err != nil { + service.Error(c, e.Error, err) + return + } + defer func() { + os.Remove(path) + }() + } + //创建导入记录 + _, err = service.GrpcEmployeeProvider.CreateImportRecord(c, &employee.CreateImportRecordRequest{ + EmployeeFiles: Ids, + Status: Status, + UserId: userInfo.ID, + ToLeadUrl: inputUrl, + DeriveUrl: outUrl, + Type: "leaveBalance", + }) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, outUrl) + return +} +func DownloadLeaveBalanceExcel(c *gin.Context) { + var req oa.LeaveBalanceListReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + isLeader, employeeIds, err := employee1.IsHaveEmployeeAuth(c) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if isLeader == false { + req.EmployeeFileIds = employeeIds + } + res, err := service.GrpcOAImpl.GetLeaveBalanceList(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + employeeFileIds := []uint64{} + for _, i := range res.Data { + employeeFileIds = append(employeeFileIds, i.EmployeeFileId) + } + employeeList, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(c, &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: employeeFileIds, + }) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 使用 map 来加速匹配 + employeeInfoMap := make(map[uint64]*employee.QueryBasicInfoAboutEmployeesInfo) + for _, emp := range employeeList.List { + employeeInfoMap[emp.EmployeeFileId] = emp + } + titleList := []string{ + "员工姓名", "工号", "状态", "部门", "岗位", "年假(天)", "育儿假(天)", "独生子女护理假(天)", + } + var dataList []interface{} + for _, item := range res.Data { + var status string + if item.WorkingConditionId == 80 { + status = "在职" + } else if item.WorkingConditionId == 81 { + status = "离职" + } else { + status = "未知" + } + if emp, found := employeeInfoMap[item.EmployeeFileId]; found { + data := []any{ + item.StaffName, + item.StaffNum, + status, + emp.DepartmentNames, + emp.PositionNames, + item.AnnualLeave, + //item.Sick, + item.ParentalLeave, + item.NursingLeave, + } + dataList = append(dataList, &data) + } + } + content, err := utils.ToExcelByType(titleList, dataList, "slice", "") + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + utils.ResponseXls(c, content, "假勤余额") + return +} + +func BalanceUpdateAnnual(c *gin.Context) { + var req oa.UpdateLeaveBalance + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.UpdateAnnualLeave(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/makeUp.go b/pkg/service/oa_new/makeUp.go new file mode 100644 index 0000000..1a1555a --- /dev/null +++ b/pkg/service/oa_new/makeUp.go @@ -0,0 +1,400 @@ +package oa_new + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "sort" + "strings" + "time" +) + +// MakeUpNum +// 查询 已补卡 及 剩余补卡次数 +func MakeUpNum(c *gin.Context) { + req := oa_model.MakeUpNumReq{} + if err := c.ShouldBind(&req); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("MakeUpNumReq req: %+v", req) + + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("workingTime: %+v\n", workingTime) + fmt.Printf("workingTime: %+v\n", workingTime) + + makeUpRule := new(oa.MakeUp) + // 获取 设置的 补卡次数 + for i := 0; i < len(workingTime.OaRules); i++ { + if workingTime.OaRules[i].Keyword == model.MakeUpRule && workingTime.OaRules[i].MakeUpRule != nil { + makeUpRule = workingTime.OaRules[i].MakeUpRule + break + } + } + + if makeUpRule.Num == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrMissMakeUpRule, + Status: e.Failed, + }) + return + } + + fmt.Println("================================= makeUpRule =============================================") + fmt.Printf("makeUpRule: %v\n", makeUpRule) + fmt.Println("================================= makeUpRule =============================================") + + // 获取当前考勤周期 + month := "" + if req.Month == "" { + month = common.CurrentMonth() + } else { + month = req.Month + } + + month = common.Add25ForMonth(month) + + dates := holiday.SplitMonthV1(month, common.YYMMDD) + + var queryMakeUpDates []string + + // 暂时 使用 当前周期的 日期 + queryMakeUpDates = dates + + //if makeUpRule.AttendanceCycle == model.AttendanceCycleYes { + // queryMakeUpDates = dates + //} else if makeUpRule.AttendanceCycle == model.AttendanceCycleNo { + // datesMap := make(map[string]string) + // for i := 0; i < len(dates); i++ { + // datesMap[dates[i]] = dates[i] + // } + // + // currentDate := common.CurrentDateTime() + // for i := int(makeUpRule.PriorDate) - 1; i > 0; i-- { + // addDate := currentDate.AddDate(0, 0, -i).Format(common.YYMMDD) + // if _, ok := datesMap[addDate]; ok { + // queryMakeUpDates = append(queryMakeUpDates, addDate) + // } + // } + // + // if _, ok := datesMap[currentDate.Format(common.YYMMDD)]; ok { + // queryMakeUpDates = append(queryMakeUpDates, currentDate.Format(common.YYMMDD)) + // } + //} + + fmt.Println("======================================== queryMakeUpDates ======================================================") + fmt.Printf(" queryMakeUpDates %+v\n", queryMakeUpDates) + fmt.Println("======================================== queryMakeUpDates ======================================================") + + // 查询 oa审批 + oaApplys, oaApplyErr := oa_logic.QueryOaApplyDates(userInfo.ID, queryMakeUpDates, []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk}, []string{oa_model.TypeMakeUp}) + if oaApplyErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: oaApplyErr.Error(), + Status: e.Failed, + }) + return + } + + temp := "%s - %s 已申请 %v 次补卡,剩余 %v 次" + res := oa_model.MakeUpNumRes{} + res.Num = makeUpRule.Num - int64(len(oaApplys)) + limit := 0 + if res.Num > 0 { + limit = int(res.Num) + } + res.Title = fmt.Sprintf(temp, queryMakeUpDates[0], queryMakeUpDates[len(queryMakeUpDates)-1], len(oaApplys), limit) + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func MissRecordForMakeUp(c *gin.Context) { + req := new(oa.OtherRecordReq) + + userInfo := login.GetUserInfoFromC(c) + + // 查询 考勤信息 + workingTime, workingTimeErr := oa_logic.QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: workingTimeErr.Error(), + Status: e.Failed, + }) + return + } + + logger.Infof("workingTime: %+v", workingTime) + fmt.Printf("workingTime: %+v", workingTime) + + makeUpRule := new(oa.MakeUp) + // 获取 设置的 补卡次数 + for i := 0; i < len(workingTime.OaRules); i++ { + if workingTime.OaRules[i].Keyword == model.MakeUpRule && workingTime.OaRules[i].MakeUpRule != nil { + makeUpRule = workingTime.OaRules[i].MakeUpRule + break + } + } + + if makeUpRule.Num == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrMissMakeUpRule, + Status: e.Failed, + }) + return + } + + fmt.Println("================================= makeUpRule =============================================") + fmt.Printf("makeUpRule: %v\n", makeUpRule) + fmt.Println("================================= makeUpRule =============================================") + + // 获取当前考勤周期 + month := common.CurrentMonth() + + month = common.Add25ForMonth(month) + + dates := holiday.SplitMonthV1(month, common.YYMMDD) + + var queryMakeUpDates []string + + if makeUpRule.AttendanceCycle == model.AttendanceCycleYes { + queryMakeUpDates = dates + } else if makeUpRule.AttendanceCycle == model.AttendanceCycleNo { + fmt.Println("================================= AttendanceCycleNo =============================================") + datesMap := make(map[string]string) + for i := 0; i < len(dates); i++ { + datesMap[dates[i]] = dates[i] + } + + currentDate := common.CurrentDateTime() + for i := int(makeUpRule.PriorDate) - 1; i > 0; i-- { + addDate := currentDate.AddDate(0, 0, -i).Format(common.YYMMDD) + fmt.Println("================================= addDate =============================================") + fmt.Printf("addDate: %v\n", addDate) + fmt.Println("================================= addDate =============================================") + if _, ok := datesMap[addDate]; ok { + queryMakeUpDates = append(queryMakeUpDates, addDate) + } + } + + if _, ok := datesMap[currentDate.Format(common.YYMMDD)]; ok { + queryMakeUpDates = append(queryMakeUpDates, currentDate.Format(common.YYMMDD)) + } + } + + // 添加 当前考勤周期的 前一天 + //currentDate := common.CurrentDateTime() + if queryMakeUpDates[0] == common.CurrentDateStr() { + addDate := common.PreDate().Format(common.YYMMDD) + if !common.IsInArray(addDate, dates) { + queryMakeUpDates = append([]string{addDate}, queryMakeUpDates...) + } + } + + fmt.Println("================================= queryMakeUpDates =============================================") + fmt.Printf("queryMakeUpDates: %v\n", queryMakeUpDates) + fmt.Println("================================= queryMakeUpDates =============================================") + + req.StartDate = queryMakeUpDates[len(queryMakeUpDates)-len(queryMakeUpDates)] + req.EndDate = queryMakeUpDates[len(queryMakeUpDates)-1] + + req.ActionType = []string{oa_model.TypeMiss} + req.Page = 1 + req.PageSize = 9999 + req.StaffUID = userInfo.ID + + res, err := service.GrpcOAImpl.OtherRecord(context.Background(), req) // 查询 缺卡记录 + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + miss := make([]string, 0) + missMap := make(map[string]string, 0) + timeOptionsMap := make(map[string][]*oa.TimeOption, 0) + // 整理 缺卡 记录 + records := make([]*oa.OAProfile, 0) + for i := 0; i < len(res.Data); i++ { + miss = append(miss, strings.Join([]string{res.Data[i].WorkDate, res.Data[i].WorkTime}, " ")) + records = append(records, res.Data[i]) + missMap[strings.Join([]string{res.Data[i].WorkDate, res.Data[i].WorkTime}, " ")] = strings.Join([]string{res.Data[i].WorkDate, res.Data[i].WorkTime}, " ") + timeOptionsMap[res.Data[i].WorkDate] = res.Data[i].Time + } + + sort.Strings(miss) + + fmt.Println("================================ miss for makeUp =======================================") + fmt.Printf("missMap : %+v \n", missMap) + fmt.Printf("timeOptionsMap : %+v \n", timeOptionsMap) + fmt.Printf("records : %+v \n", records) + fmt.Println("================================ miss for makeUp =======================================") + + // oa 申请 请假 加班 调休 + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = userInfo.ID + applyReq.ApplyType = []string{ + oa_model.TypeLeave, // 请假 + oa_model.TypeSick, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeDayOff, // 调休 + //oa_model.TypeOverTime, // 加班 + //oa_model.TypeOutWork, // 外勤 + oa_model.TypeMakeUp, // 补卡 + } + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk} + applyReq.BeginTime = queryMakeUpDates[len(queryMakeUpDates)-len(queryMakeUpDates)] + applyReq.EndTime = queryMakeUpDates[len(queryMakeUpDates)-1] + applyReq.Page = 1 + applyReq.PageSize = 1000 + apply, err := service.GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("=============================== MissRecordForMakeUp =======================================") + fmt.Printf("apply %+v\n", apply) + fmt.Println("=============================== MissRecordForMakeUp =======================================") + + if len(apply.Data) == 0 { + goto end + } + + for i := 0; i < len(records); i++ { + missTime, _ := time.ParseInLocation("2006-01-02 15:04:05", records[i].WorkDate+" "+records[i].WorkTime+":00", time.Local) + for j := 0; j < len(apply.Data); j++ { + // 判断 缺卡的 日期 在 申请的 日期内 + if apply.Data[j].ApplyType == oa_model.TypeMakeUp { + if apply.Data[j].ApplyTimes[len(apply.Data[j].ApplyTimes)-len(apply.Data[j].ApplyTimes)].Date == records[i].WorkDate && apply.Data[j].ApplyTimes[len(apply.Data[j].ApplyTimes)-len(apply.Data[j].ApplyTimes)].Hour == records[i].WorkTime { + missMap[strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ")] = strings.Join([]string{res.Data[i].WorkDate, res.Data[i].WorkTime}, " ") + } + } else { + if len(apply.Data[j].ApplyTimes) == 2 { + var ( + startTime time.Time + endTime time.Time + ) + if apply.Data[j].ApplyTimes[0].Hour != "" { + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[0].Date+" "+apply.Data[j].ApplyTimes[0].Hour+":00", time.Local) + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[1].Date+" "+apply.Data[j].ApplyTimes[1].Hour+":00", time.Local) + if !startTime.After(missTime) && !endTime.Before(missTime) { + missMap[strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ")] = strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ") + } + } else { + if timeOptionsMap[apply.Data[j].ApplyTimes[0].Date] == nil && timeOptionsMap[apply.Data[j].ApplyTimes[1].Date] == nil { + missMap[strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ")] = strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ") + continue + } + + var ( + startHour string + endHour string + applyStartDate string + applyEndDate string + ) + if timeOptionsMap[apply.Data[j].ApplyTimes[0].Date] == nil { + applyStartDate = req.StartDate + } else { + applyStartDate = apply.Data[j].ApplyTimes[0].Date + } + + if timeOptionsMap[apply.Data[j].ApplyTimes[1].Date] == nil { + applyEndDate = req.EndDate + } else { + applyEndDate = apply.Data[j].ApplyTimes[1].Date + } + if apply.Data[j].ApplyTimes[0].M == "上午" { + startHour = timeOptionsMap[applyStartDate][0].OnWorkTime + } else { + if len(timeOptionsMap[applyStartDate]) == 1 { + startHour = "12:00" + } else if len(timeOptionsMap[applyStartDate]) == 2 { + startHour = timeOptionsMap[applyStartDate][1].OnWorkTime + } + } + + if apply.Data[j].ApplyTimes[1].M == "上午" { + if len(timeOptionsMap[applyStartDate]) == 1 { + endHour = "12:00" + } else if len(timeOptionsMap[applyStartDate]) == 2 { + endHour = timeOptionsMap[applyStartDate][0].OffWorkTime + } + } else { + if len(timeOptionsMap[applyEndDate]) == 1 { + endHour = timeOptionsMap[applyEndDate][0].OffWorkTime + } else if len(timeOptionsMap[applyEndDate]) == 2 { + endHour = timeOptionsMap[applyEndDate][1].OffWorkTime + } + } + startTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[0].Date+" "+startHour+":00", time.Local) + endTime, _ = time.ParseInLocation("2006-01-02 15:04:05", apply.Data[j].ApplyTimes[1].Date+" "+endHour+":00", time.Local) + if !startTime.After(missTime) && !endTime.Before(missTime) { + missMap[strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ")] = strings.Join([]string{records[i].WorkDate, records[i].WorkTime}, " ") + } + } + } + } + } + } + +end: + + newRes := new(oa.MissRecordForMakeUpRes) + newRes.MissRecord = make([]string, 0) + + // 排序 + for i := 0; i < len(miss); i++ { + if missMap[miss[i]] != "" { + newRes.MissRecord = append(newRes.MissRecord, missMap[miss[i]]) + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: newRes.Msg, + Data: newRes, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/model/clockIn.go b/pkg/service/oa_new/model/clockIn.go new file mode 100644 index 0000000..c564d7e --- /dev/null +++ b/pkg/service/oa_new/model/clockIn.go @@ -0,0 +1,99 @@ +package model + +type ClockInReq struct { + StaffUID uint64 `json:"staffUID"` + ActionType string `json:"actionType"` + ActionTime string `json:"actionTime"` + WorkTime string `json:"workTime"` + CheckAddress string `json:"checkAddress"` + Longitude string `json:"longitude"` + Latitude string `json:"latitude"` + CheckMethod int32 `json:"checkMethod"` // 打卡方式 + FacePhoto string `json:"facePhoto"` // 人脸照片 存放 照片URL + ClientID string `json:"clientID"` // 使用的手机 存放 手机的唯一标识 + OutworkPic []string `json:"outworkPic"` +} + +type ActionTypeRes struct { + WorkDate string `json:"workDate"` + WorkTime string `json:"workTime"` + ActionType string `json:"actionType"` // 打卡类型 common 正常 late 迟到 before 早退 hadApplyOutWork 有外勤申请的外勤打卡 outWork 无外勤申请的外勤打卡 out 外出 back 回来 outNoClock 外出不可打卡 backNoClock 回来的不可打卡 noClock 不可打卡 + OnOff string `json:"onOff"` // 上下班 on 上班 off 下班 + OutWorkLat string `json:"outWorkLat"` // 有外勤申请的的外勤 打卡经纬度 默认 范围 500m + OutWorkLng string `json:"outWorkLng"` // 有外勤申请的的外勤 打卡经纬度 + OutWorkAddress string `json:"outWorkAddress"` // 有外勤申请的的外勤 打卡地址 + IsWorkDay int `json:"isWorkDay"` // 是否工作日 +} + +var OutWorkAddressRange float64 = 500 // 单位 m + +const ( + ActionTypeCommon = "common" // 正常 // 正常 + ActionTypeLate = "late" // 迟到 + ActionTypeBefore = "before" // 早退 + ActionTypeHadApplyOutWork = "hadApplyOutWork" // 有外勤申请的外勤打卡 + ActionTypeOutWork = "outWork" // 无外勤申请的外勤打卡 + ActionTypeOutWorkBefore = "outWorkBefore" // 无外勤申请的外勤打卡 早退 + ActionTypeOutWorkLate = "outWorkLate" // 无外勤申请的外勤打卡 迟到 + ActionTypeOut = "out" // 外出 + ActionTypeOutNoClock = "outNoClock" // 外出不可打卡 + ActionTypeBack = "back" // 回来 + ActionTypeBackNoClock = "backNoClock" // 回来不可打卡 + ActionTypeNoClock = "noClock" // 不可打卡 +) + +const ( + IsNotWorkDay = iota + 1 + IsWorkDay +) + +const ( + OnWork = "on" + OffWork = "off" +) + +// 是否按照考勤周期 +const ( + // AttendanceCycleNo 不按照考勤周期 + AttendanceCycleNo = iota + 1 + // AttendanceCycleYes 按照考勤周期 + AttendanceCycleYes +) + +// 假勤规则 keyword +const ( + OvertimeRule = "Overtime" + MakeUpRule = "MakeUp" +) + +// 是否用于调休 +const ( + // ForDayOffNo 不用于调休 + ForDayOffNo = 1 + // ForDayOffYes 用于调休 + ForDayOffYes = 2 +) + +// 时间限制 +const ( + // TimeLimitMonth 可申请本月内的加班 + TimeLimitMonth = 1 + // TimeLimitYesterday 可申请自昨日起的加班 + TimeLimitYesterday = 2 +) + +// 打卡方式 +const ( + CheckMethodFace = 1 // 人脸识别 + CheckMethodPhone = 2 // 手机 + CheckMethodPunchClock = 3 // 打卡机 +) + +// 是否换成薪资 +const ( + // ForMoneyNo 不用于换成薪资 + ForMoneyNo = 1 + // ForMoneyYes 用于换成薪资 + ForMoneyYes = 2 + ForMoneyYesDefaultZero = 0 +) diff --git a/pkg/service/oa_new/model/collection.go b/pkg/service/oa_new/model/collection.go new file mode 100644 index 0000000..4e013dc --- /dev/null +++ b/pkg/service/oa_new/model/collection.go @@ -0,0 +1,450 @@ +package model + +type CollectionDetailReq struct { + StaffUID uint64 `json:"staffUID"` // 员工ID + Month string `json:"month"` // 月份 + Date string `json:"date"` // 某天 2006-01-02 + Dates []string `json:"dates"` // 某些天 2006-01-02 + CollectionType uint64 `json:"collectionType"` // 统计的类型 +} + +// collectionType 统计的类型 +// 1 出勤详情 2 平均工时 3 休息天数 4 缺卡详情 5 补卡详情 6 迟到详情 7 早退详情 8 旷工详情 9 外勤详情 10 加班详情 11 请假详情 12 调休详情 13 年假详情 14 病假详情 15 哺乳假详情 +// 16 陪产假详情 17 婚假详情 18 丧假详情 19 产假详情 20 外出详情 21 出差详情 22 全部请假详情 23 全部 24 育儿假详情 25 独生子女护理假详情 26 流产假 27 孕检假 +const ( + WorkDay = iota + 1 // 出勤详情 + AverageHour // 平均工时 + RestDay // 休息天数 + Miss // 缺卡详情 + MakeUp // 补卡详情 + Late // 迟到详情 + Before // 早退详情 + AbsentDay // 旷工详情 + OutWork // 外勤详情 + OverTime // 加班详情 + Leave // 请假详情 + DayOff // 调休详情 + AnnualLeave // 年假详情 + Sick // 病假详情 + BreastFeedingLeave // 哺乳假详情 + PaternityLeave // 陪产假详情 + MaritalLeave // 婚假详情 + FuneralLeave // 丧假详情 + MaternityLeave // 产假详情 + GoOut // 外出详情 + BusinessTrip // 出差详情 + AllLeave // 全部请假详情 + All + ParentalLeave // 育儿假详情 + NursingLeave // 独生子女护理假详情 + AbortLeave // 流产假 + MatingCheckLeave // 孕检假 +) + +type CollectionDetailRes struct { + StaffUID uint64 `json:"staffUID"` // 员工ID + StaffName string `json:"staffName"` // 员工姓名 + StaffNum string `json:"staffNum"` // 员工编号 + DepartmentName string `json:"departmentName"` // 部门名称 + DepartmentUID int64 `json:"departmentUID"` // 部门ID + PositionName string `json:"positionName"` // 职位名称 + PositionUID int64 `json:"positionUID"` // 职位ID + AttendanceGroupName string `json:"attendanceGroupName"` // 考勤组名称 + Status bool `json:"status"` // 考勤状态 + Month string `json:"month"` // 月份 + CollectionType uint64 `json:"collectionType"` // 统计的类型 + NeedAttendanceDayNum int `json:"needAttendanceDayNum"` // 应出勤天数 + AttendanceDayNum int `json:"attendanceDayNum"` // 出勤天数 + AttendanceRestDayNum int `json:"attendanceRestDayNum"` // 休息日出勤天数 + AttendanceHolidayNum int `json:"attendanceHolidayNum"` // 节假日出勤天数 + AttendanceWorkDayNum int `json:"attendanceWorkDayNum"` // 工作日出勤天数 + WorkDay []*WorkDayDetail `json:"workDay"` // 出勤详情 + TotalHours float64 `json:"totalHours"` // 总工时 + AverageHourNum float64 `json:"averageHourNum"` // 平均工时 + AverageHour []*AverageHourDetail `json:"averageHour"` // 平均工时详情 + RestDayNum int `json:"restDayNum"` // 休息天数 + RestDay []*RestDayDetail `json:"restDay"` // 休息天数详情 + MissNum int `json:"missNum"` // 缺卡次数 + Miss []*MissDetail `json:"miss"` // 缺卡详情 + MakeUpNum int `json:"makeUpNum"` // 补卡次数 + //MakeUpDoingNum int `json:"makeUpDoingNum"` // 审批中补卡次数 + MakeUp []*MakeUpDetail `json:"makeUp"` // 补卡详情 + LateNum int `json:"lateNum"` // 迟到次数 + CommonLateNum int `json:"commonLateNum"` // 普通迟到次数 + CommonLateDuration float64 `json:"commonLateDuration"` // 普通迟到时长 + ExtremeLateNum int `json:"extremeLateNum"` // 严重迟到次数 + ExtremeLateDuration float64 `json:"extremeLateDuration"` // 严重迟到时长 + Late []*LateDetail `json:"late"` // 迟到详情 + BeforeNum int `json:"beforeNum"` // 早退次数 + CommonBeforeDuration float64 `json:"commonBeforeDuration"` // 普通早退时长 + Before []*BeforeDetail `json:"before"` // 早退详情 + MissDayNum int `json:"missDayNum"` // 旷工天数 + MissDay []*MissDayDetail `json:"missDay"` // 旷工详情 + DayOffNum int `json:"dayOffNum"` // 调休次数 + DayOffDoingNum int `json:"dayOffDoingNum"` // 审批中调休次数 + DayOffHours float64 `json:"dayOffHours"` // 调休时长 + DayOff []*LeaveDetail `json:"dayOff"` // 调休详情 + OverTimeNum int `json:"overTimeNum"` // 加班次数 + OverTimeDoingNum int `json:"overTimeDoingNum"` // 审批中加班次数 + OverTime *OverWorkDetail `json:"overTime"` // 加班详情 + OutWorkNum int `json:"outWorkNum"` // 外勤次数 + OutWorkDoingNum int `json:"outWorkDoingNum"` // 审批中外勤次数 + OutWork []*OutWorkDetail `json:"outWork"` // 外勤详情 + AnnualLeaveNum float64 `json:"annualLeaveNum"` // 年假天数 + AnnualLeaveDoingNum float64 `json:"annualLeaveDoingNum"` // 审批中年假天数 + AnnualLeave []*LeaveDetail `json:"annualLeave"` // 年假详情 + LeaveNum float64 `json:"leaveNum"` // 请假天数 + LeaveDoingNum float64 `json:"leaveDoingNum"` // 审批中请假天数 + Leave []*LeaveDetail `json:"leave"` // 请假详情 + SickDayNum float64 `json:"sickDayNum"` // 病假天数 + SickDayDoingNum float64 `json:"sickDayDoingNum"` // 审批中病假天数 + Sick []*LeaveDetail `json:"sick"` // 病假详情 + BreastFeedingLeaveNum float64 `json:"breastFeedingLeaveNum"` // 哺乳假时长 + BreastFeedingLeaveDoingNum float64 `json:"breastFeedingLeaveDoingNum"` // 审批中哺乳假时长 + BreastFeedingLeave []*LeaveDetail `json:"breastFeedingLeave"` // 哺乳假详情 + PaternityLeaveNum int `json:"paternityLeaveNum"` // 陪产假天数 + PaternityLeaveDoingNum int `json:"paternityLeaveDoingNum"` // 审批中陪产假天数 + PaternityLeave []*LeaveDetail `json:"paternityLeave"` // 陪产假详情 + MaritalLeaveNum int `json:"maritalLeaveNum"` // 婚假天数 + MaritalLeaveDoingNum int `json:"maritalLeaveDoingNum"` // 审批中婚假天数 + MaritalLeave []*LeaveDetail `json:"maritalLeave"` // 婚假详情 + FuneralLeaveNum float64 `json:"funeralLeaveNum"` // 丧假天数 + FuneralLeaveDoingNum float64 `json:"funeralLeaveDoingNum"` // 审批中丧假天数 + FuneralLeave []*LeaveDetail `json:"funeralLeave"` // 丧假详情 + MaternityLeaveNum float64 `json:"maternityLeaveNum"` // 产假天数 + MaternityLeaveDoingNum float64 `json:"maternityLeaveDoingNum"` // 审批中产假天数 + MaternityLeave []*LeaveDetail `json:"maternityLeave"` // 产假详情 + AllLeaveNum int `json:"allLeaveNum"` // 全部请假次数 + AllLeaveDoingNum int `json:"allLeaveDoingNum"` // 审批中全部请假次数 + AllLeaveDetail []*AllLeaveDetail `json:"allLeaveDetail"` // 全部请假详情 + AllDayLeaveNum int `json:"allDayLeaveNum"` // 全天请假天数 + AllDayLeave []*WorkDayDetail `json:"allDayLeave"` // 全天请假详情 + GoOutDuration float64 `json:"goOutDuration"` // 外出时长 + GoOutDurationDoing float64 `json:"goOutDurationDoing"` // 审批中外出时长 + GoOut []*LeaveDetail `json:"goOut"` // 外出详情 + BusinessTripDuration float64 `json:"businessTripDuration"` // 出差时长 + BusinessTripDurationDoing float64 `json:"businessTripDurationDoing"` // 审批中出差时长 + BusinessTrip []*LeaveDetail `json:"businessTrip"` // 出差详情 + ParentalLeaveNum float64 `json:"parentalLeaveNum"` // 育儿假天数 + ParentalLeaveDoingNum float64 `json:"parentalLeaveDoingNum"` // 审批中育儿假天数 + ParentalLeave []*LeaveDetail `json:"parentalLeave"` // 育儿假详情 + NursingLeaveNum float64 `json:"nursingLeaveNum"` // 独生子女护理假天数 + NursingLeaveDoingNum float64 `json:"nursingLeaveDoingNum"` // 审批中独生子女护理假天数 + NursingLeave []*LeaveDetail `json:"nursingLeave"` // 独生子女护理假详情 + AbortLeaveNum float64 `json:"abortLeaveNum"` // 流产假天数 + AbortLeaveDoingNum float64 `json:"abortLeaveDoingNum"` // 审批中流产假天数 + AbortLeave []*LeaveDetail `json:"abortLeave"` // 流产假详情 + MatingCheckLeaveNum float64 `json:"matingCheckLeaveNum"` // 孕检假天数 + MatingCheckLeaveDoingNum float64 `json:"matingCheckLeaveDoingNum"` // 审批中孕检假天数 + MatingCheckLeave []*LeaveDetail `json:"matingCheckLeave"` // 孕检假详情 +} + +type CollectionEmployeesDetailRes struct { + StaffUID uint64 `json:"StaffUID"` // 员工ID + StaffName string `json:"StaffName"` // 员工姓名 + StaffNum string `json:"StaffNum"` // 员工编号 + DepartmentName string `json:"DepartmentName"` // 部门名称 + DepartmentUID int64 `json:"DepartmentUID"` // 部门ID + PositionName string `json:"PositionName"` // 职位名称 + PositionUID int64 `json:"PositionUID"` // 职位ID + AttendanceGroupName string `json:"AttendanceGroupName"` // 考勤组名称 + Status bool `json:"Status"` // 考勤状态 + Month string `json:"Month"` // 月份 + CollectionType uint64 `json:"CollectionType"` // 统计的类型 + NeedAttendanceDayNum int `json:"NeedAttendanceDayNum"` // 应出勤天数 + WorkDays int `json:"WorkDays"` // 出勤天数 + AttendanceDayNum int `json:"AttendanceDayNum"` // 出勤天数 + AttendanceRestDayNum int `json:"AttendanceRestDayNum"` // 休息日出勤天数 + AttendanceHolidayNum int `json:"AttendanceHolidayNum"` // 节假日出勤天数 + AttendanceWorkDayNum int `json:"AttendanceWorkDayNum"` // 工作日出勤天数 + WorkDay []*WorkDayDetail `json:"WorkDay"` // 出勤详情 + TotalHours float64 `json:"TotalHours"` // 总工时 + AverageHour float64 `json:"AverageHour"` // 平均工时 + AverageHourDetail []*AverageHourDetail `json:"AverageHourDetail"` // 平均工时详情 + RestDays int `json:"RestDays"` // 休息天数 + RestDaysDetail []*RestDayDetail `json:"RestDaysDetail"` // 休息天数详情 + Miss int `json:"Miss"` // 缺卡次数 + MissDetail []*MissDetail `json:"MissDetail"` // 缺卡详情 + MakeUp int `json:"MakeUp"` // 补卡次数 + //MakeUpDoing int `json:"MakeUpDoing"` // 审批中补卡次数 + MakeUpDetail []*MakeUpDetail `json:"MakeUpDetail"` // 补卡详情 + Late int `json:"Late"` // 迟到次数 + CommonLateNum int `json:"CommonLateNum"` // 普通迟到次数 + CommonLateDuration float64 `json:"CommonLateDuration"` // 普通迟到时长 + ExtremeLateNum int `json:"ExtremeLateNum"` // 严重迟到次数 + ExtremeLateDuration float64 `json:"ExtremeLateDuration"` // 严重迟到时长 + LateDetail []*LateDetail `json:"LateDetail"` // 迟到详情 + Before int `json:"Before"` // 早退次数 + CommonBeforeDuration float64 `json:"CommonBeforeDuration"` // 普通早退时长 + BeforeDetail []*BeforeDetail `json:"BeforeDetail"` // 早退详情 + MissDay int `json:"MissDay"` // 旷工天数 + MissDayDetail []*MissDayDetail `json:"MissDayDetail"` // 旷工详情 + DayOff float64 `json:"DayOff"` // 调休时长 + DayOffNum int `json:"DayOffNum"` // 调休次数 + DayOffNumDoing int `json:"DayOffNumDoing"` // 审批中调休次数 + DayOffDetail []*LeaveDetail `json:"DayOffDetail"` // 调休详情 + OverWork float32 `json:"OverWork"` // 加班时长 + OverWorkDoing float32 `json:"OverWorkDoing"` // 审批中加班时长 + OverWorkWorkDay float32 `json:"OverWorkWorkDay"` // 加班次数 + OverWorkRestDay float32 `json:"OverWorkRestDay"` // 加班次数 + OverWorkHoliday float32 `json:"OverWorkHoliday"` // 加班次数 + OverWorkDetail *OverWorkDetail `json:"OverWorkDetail"` // 加班详情 + OutWork int `json:"OutWork"` // 外勤次数 + OutWorkDoing int `json:"OutWorkDoing"` // 审批中外勤次数 + OutWorkDetail []*OutWorkDetail `json:"OutWorkDetail"` // 外勤详情 + AnnualLeave float64 `json:"AnnualLeave"` // 年假天数 + AnnualLeaveDoing float64 `json:"AnnualLeaveDoing"` // 审批中年假天数 + AnnualLeaveDetail []*LeaveDetail `json:"AnnualLeaveDetail"` // 年假详情 + Leave float64 `json:"Leave"` // 请假天数 + LeaveDoing float64 `json:"LeaveDoing"` // 审批中请假天数 + LeaveDetail []*LeaveDetail `json:"LeaveDetail"` // 请假详情 + Sick float64 `json:"Sick"` // 病假天数 + SickDoing float64 `json:"SickDoing"` // 审批中病假天数 + SickDetail []*LeaveDetail `json:"SickDetail"` // 病假详情 + BreastFeedingLeave float64 `json:"BreastFeedingLeave"` // 哺乳假时长 + BreastFeedingLeaveDoing float64 `json:"BreastFeedingLeaveDoing"` // 审批中哺乳假时长 + BreastFeedingLeaveDetail []*LeaveDetail `json:"BreastFeedingLeaveDetail"` // 哺乳假详情 + PaternityLeave int `json:"PaternityLeave"` // 陪产假天数 + PaternityLeaveDoing int `json:"PaternityLeaveDoing"` // 审批中陪产假天数 + PaternityLeaveDetail []*LeaveDetail `json:"PaternityLeaveDetail"` // 陪产假详情 + MaritalLeave int `json:"MaritalLeave"` // 婚假天数 + MaritalLeaveDoing int `json:"MaritalLeaveDoing"` // 审批中婚假天数 + MaritalLeaveDetail []*LeaveDetail `json:"MaritalLeaveDetail"` // 婚假详情 + FuneralLeave float64 `json:"FuneralLeave"` // 丧假天数 + FuneralLeaveDoing float64 `json:"FuneralLeaveDoing"` // 审批中丧假天数 + FuneralLeaveDetail []*LeaveDetail `json:"FuneralLeaveDetail"` // 丧假详情 + MaternityLeave float64 `json:"MaternityLeave"` // 产假天数 + MaternityLeaveDoing float64 `json:"MaternityLeaveDoing"` // 审批中产假天数 + MaternityLeaveDetail []*LeaveDetail `json:"MaternityLeaveDetail"` // 产假详情 + AllLeave int `json:"AllLeave"` // 全部请假次数 + AllLeaveDetail []*AllLeaveDetail `json:"AllLeaveDetail"` // 全部请假详情 + AllDayLeaveNum int `json:"AllDayLeaveNum"` // 全天请假天数 + AllDayLeave []*WorkDayDetail `json:"AllDayLeave"` // 全天请假详情 + GoOutDuration float64 `json:"GoOutDuration"` // 外出时长 + GoOutDurationDoing float64 `json:"GoOutDurationDoing"` // 审批中外出时长 + GoOutDetail []*LeaveDetail `json:"GoOutDetail"` // 外出详情 + BusinessTripDuration float64 `json:"BusinessTripDuration"` // 出差时长 + BusinessTripDurationDoing float64 `json:"BusinessTripDurationDoing"` // 审批中出差时长 + BusinessTripDetail []*LeaveDetail `json:"BusinessTripDetail"` // 出差详情 + ParentalLeave float64 `json:"ParentalLeave"` // 育儿假天数 + ParentalLeaveDoing float64 `json:"ParentalLeaveDoing"` // 审批中育儿假天数 + ParentalLeaveDetail []*LeaveDetail `json:"ParentalLeaveDetail"` // 育儿假详情 + NursingLeave float64 `json:"NursingLeave"` // 独生子女护理假天数 + NursingLeaveDoing float64 `json:"NursingLeaveDoing"` // 审批中独生子女护理假天数 + NursingLeaveDetail []*LeaveDetail `json:"NursingLeaveDetail"` // 独生子女护理假详情 + AbortLeave float64 `json:"AbortLeave"` // 流产假天数 + AbortLeaveDoing float64 `json:"AbortLeaveDoing"` // 审批中流产假天数 + AbortLeaveDetail []*LeaveDetail `json:"AbortLeaveDetail"` // 流产假详情 + MatingCheckLeave float64 `json:"MatingCheckLeave"` // 孕检假天数 + MatingCheckLeaveDoing float64 `json:"MatingCheckLeaveDoing"` // 审批中孕检假天数 + MatingCheckLeaveDetail []*LeaveDetail `json:"MatingCheckLeaveDetail"` // 孕检假详情 +} + +type WorkDayDetail struct { + WorkDate string `json:"workDate"` // 日期 + Week int32 `json:"week"` // 星期 数字 + Weekly string `json:"weekly"` // 星期 + DateType int32 `json:"dateType"` // 日期类型 0 工作日 1 休息日 2 节假日 + Abnormal bool `json:"abnormal"` // 是否异常 false 表示正常 ture 表示异常 + Records []*DayRecord `json:"records"` // 打卡记录 + ActionTypes []string `json:"actionTypes"` // 打卡类型 迟到 早退 缺卡 + ApplyTypes []string `json:"applyTypes"` // 申请类型 请假 加班 外勤 补卡申请 + IsWork int8 `json:"isWork"` // 是否出勤 1 出勤 2 休息 + WorkTimes []*TimeOption `json:"workTimes"` // 考勤信息 +} + +type DayRecord struct { + ActionType string `json:"actionType"` // 打卡类型 + ApplyInfo []*ApplyDetail `json:"applyInfo"` // 申请详情 + ActionTime string `json:"actionTime"` // 实际的打卡时间 + WorkTime string `json:"workTime"` // 设置的打卡时间 + OnOff string `json:"onOff"` // 上下班 上班 on 下班 off + CheckAddress string `json:"checkAddress"` // 打卡地址 + CheckMethod int32 `json:"checkMethod"` // 打卡方式 + FacePhoto string `json:"facePhoto"` // 人脸照片 存放 照片URL + ClientID string `json:"clientID"` // 使用的手机 存放 手机的唯一标识 + OutWorkPhoto []string `json:"outWorkPhoto"` // 外勤照片 存放 照片URL + IsWork int8 `json:"isWork"` // 是否出勤 1 出勤 2 休息 + IsExtremeLateness bool `json:"isExtremeLateness"` // 是否严重迟到 true 严重迟到 false 正常 +} + +type ApplyDetail struct { + ApplyID string `json:"applyID"` // 申请ID + ApplyType string `json:"applyType"` // 申请类型 + ApplyTypeZhCN string `json:"applyTypeZhCN"` // 申请类型 中文 + ApplyStatus int32 `json:"applyStatus"` // 申请状态 + ItineraryList []*Itinerary `json:"itineraryList"` // 行程 +} + +// DateType 日期类型 +// 1 工作日 2 节假日 3 周末 +const ( + WorkDayType = iota // 工作日 + WeekendDayType // 休息日 + HolidayDayType // 节假日 +) + +// CheckMethod 打卡方式 +// 1 人脸识别 2 手机打卡 +const ( + FaceCheckMethod = iota + 1 // 人脸识别 + PhoneCheckMethod // 手机打卡 +) + +type AverageHourDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + Hours float64 `json:"hours"` // 工时 +} + +type RestDayDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + Day float64 `json:"day"` // 休息天数 +} + +type MissDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + ActionTime string `json:"actionTime"` // 缺卡时间 + WorkTime string `json:"workTime"` // 设置的打卡时间 + ApplyID string `json:"applyID"` // 申请ID + ApplyStatus int32 `json:"applyStatus"` // 申请状态 + WorkTimes []*TimeOption `json:"workTimes"` // 考勤信息 +} + +type MakeUpDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + WorkTime string `json:"workTime"` // 设置的打卡时间 + ActionTime string `json:"actionTime"` // 补卡申请时设置的时间 + ApplyID string `json:"applyID"` // 申请ID + ApplyStatus int32 `json:"applyStatus"` // 申请状态 +} + +type LateDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + WorkTime string `json:"workTime"` // 设置的打卡时间 + ActionTime string `json:"actionTime"` // 迟到时间 + ApplyID string `json:"applyID"` // 申请ID + ApplyStatus int32 `json:"applyStatus"` // 申请状态 + Duration float64 `json:"duration"` // 迟到时长 + ExtremeLatenessDuration float64 `json:"extremeLatenessDuration"` // 严重迟到时长 + ActionType string `json:"actionType"` // 打卡类型 +} + +type BeforeDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + WorkTime string `json:"workTime"` // 设置的打卡时间 + ActionTime string `json:"actionTime"` // 早退时间 + ApplyID string `json:"applyID"` // 申请ID + ApplyStatus int32 `json:"applyStatus"` // 申请状态 + Duration float64 `json:"duration"` // 早退时长 + ActionType string `json:"actionType"` // 打卡类型 +} + +type MissDayDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + Day float64 `json:"day"` // 旷工天数 + ApplyID string `json:"applyID"` // 申请ID + ApplyStatus int32 `json:"applyStatus"` // 申请状态 +} + +type OutWorkDetail struct { + WorkDate string `json:"workDate"` // 日期 + Weekly string `json:"weekly"` // 星期 + Records []*DayRecord `json:"records"` // 打卡记录 + WorkTimes []*TimeOption `json:"workTimes"` // 考勤信息 + ApplyID string `json:"applyID"` // 申请ID + ApplyStatus int32 `json:"applyStatus"` // 申请状态 +} + +type LeaveDetail struct { + ApplyID string `json:"applyID"` // 申请ID + ApplyType string `json:"applyType"` // 申请类型 + ApplyStatus int32 `json:"applyStatus"` // 申请状态 + ApplyStartTime string `json:"applyStartTime"` // 请假开始时间 + StartDayType int32 `json:"startDayType"` // 请假开始时间类型 + StartDayWeekly string `json:"startDayWeekly"` // 请假开始时间星期 + StartAbnormal int32 `json:"startAbnormal"` // 请假开始时间异常 + ApplyEndTime string `json:"applyEndTime"` // 请假结束时间 + EndDayType int32 `json:"endDayType"` // 请假结束时间类型 + EndDayWeekly string `json:"endDayWeekly"` // 请假结束时间星期 + EndAbnormal int32 `json:"endAbnormal"` // 请假结束时间异常 + Duration float64 `json:"duration"` // 请假时长 + DurationType int32 `json:"durationType"` // 请假时长类型 day hour + ItineraryList []*Itinerary `json:"itineraryList"` // 行程 + Reason string `json:"reason"` // 理由 + StartActionTime string `json:"startActionTime"` // 异常时间 + EndActionTime string `json:"endActionTime"` // 异常时间 +} + +type AllLeaveDetail struct { + LeaveType string `json:"leaveType"` + LeaveNum float64 `json:"leaveNum"` + DurationType int32 `json:"durationType"` // 请假时长类型 day hour + Leave []*LeaveDetail +} + +// 时长类型 +const ( + DurationTypeDay = iota + 1 + DurationTypeHour +) + +type OverWorkDetail struct { + WorkDayHour float64 `json:"workDayHour"` // 工作日加班时长 + RestDayHour float64 `json:"restDayHour"` // 休息日加班时长 + HolidayHour float64 `json:"holidayHour"` // 节假日加班时长 + OverWorkHour float64 `json:"overWorkHour"` // 总加班时长 + OverWorkDetail []*LeaveDetail `json:"overWorkDetail"` // 加班详情 +} + +const ( + IsWork = iota + 1 + IsFree +) + +// 是否有休息时间 +const ( + NotHasBreakTime = iota + 1 + HasBreakTime +) + +// 休息时间去除规则 +const ( + // RemovingBreakPeriodsNo 不去除休息时间 + RemovingBreakPeriodsNo = 1 + // RemovingBreakPeriodsYes 去除休息时间 + RemovingBreakPeriodsYes = 2 +) + +type TimeOption struct { + OnWorkTime string `json:"onWorkTime"` + OffWorkTime string `json:"offWorkTime"` +} + +// Itinerary 行程 +type Itinerary struct { + Vehicle string `json:"vehicle"` + StartAddress string `json:"startAddress"` + EndAddress string `json:"endAddress"` + ApplyStartTime string `json:"applyStartTime"` // 请假开始时间 + StartDayType int32 `json:"startDayType"` // 请假开始时间类型 + StartDayWeekly string `json:"startDayWeekly"` // 请假开始时间星期 + StartAbnormal int32 `json:"startAbnormal"` // 请假开始时间异常 + ApplyEndTime string `json:"applyEndTime"` // 请假结束时间 + EndDayType int32 `json:"endDayType"` // 请假结束时间类型 + EndDayWeekly string `json:"endDayWeekly"` // 请假结束时间星期 + EndAbnormal int32 `json:"endAbnormal"` // 请假结束时间异常 + Days float32 `json:"days"` +} + +// Abnormal 异常 +const ( + IsAbnormal = iota + 1 + NotAbnormal +) diff --git a/pkg/service/oa_new/model/duration.go b/pkg/service/oa_new/model/duration.go new file mode 100644 index 0000000..a66e9c7 --- /dev/null +++ b/pkg/service/oa_new/model/duration.go @@ -0,0 +1,31 @@ +package model + +type DurationReq struct { + TimeOptions TimeOptionBest `json:"timeOptions"` // 考勤规则 + ApplyTimes []ApplyTime `json:"applyTimes"` // 请假时间 +} + +type Data struct { + ApplyTimes []ApplyTime `json:"applyTimes"` // 请假时间 +} + +type ApplyTime struct { + Date string `json:"Date"` + Hour string `json:"Hour"` + M string `json:"M"` // 上午|下午 +} + +type TimeOptionBest struct { + Times []*TimeOption `json:"times"` + Week string `json:"week"` +} + +type DurationRes struct { + TakeOut LeaveDuration `json:"takeOut"` // 去除 中午休息 + NotTakeOut LeaveDuration `json:"notTakeOut"` // 未去除 中午休息 +} + +type LeaveDuration struct { + Days float32 `json:"days"` + Hours float32 `json:"hours"` +} diff --git a/pkg/service/oa_new/model/export.go b/pkg/service/oa_new/model/export.go new file mode 100644 index 0000000..6567d69 --- /dev/null +++ b/pkg/service/oa_new/model/export.go @@ -0,0 +1,8 @@ +package model + +type CollectionExportReq struct { + StaffUIDs []uint64 `json:"staffUIDs"` + DepartmentUID int64 `json:"departmentUID"` + Month string `json:"month"` + ExportType string `json:"exportType"` +} diff --git a/pkg/service/oa_new/model/leaveBalance.go b/pkg/service/oa_new/model/leaveBalance.go new file mode 100644 index 0000000..baffb11 --- /dev/null +++ b/pkg/service/oa_new/model/leaveBalance.go @@ -0,0 +1,11 @@ +package model + +import oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" + +type LeaveBalanceRes struct { + LeaveBalanceList []*oaApi.LeaveBalance `json:"leaveBalanceList"` + Msg string `json:"msg"` + Total int64 `json:"total"` + Page int64 `json:"page"` + PageSize int64 `json:"pageSize"` +} diff --git a/pkg/service/oa_new/model/oaMonth.go b/pkg/service/oa_new/model/oaMonth.go new file mode 100644 index 0000000..d6a61a0 --- /dev/null +++ b/pkg/service/oa_new/model/oaMonth.go @@ -0,0 +1,17 @@ +package model + +import "github.com/fonchain_enterprise/fonchain-main/api/oa" + +type OaMonthRes struct { + OaMonth *oa.QueryOaMonthIsBatchRes `json:"oaMonth"` + Field *oa.OaMonthField `json:"field"` + OaDate *CollectionDetailAllRes `json:"oaDate"` +} + +type CollectionDetailAllRes struct { + OaDates []*CollectionEmployeesDetailRes `json:"oaDates"` + Page int32 `json:"page"` + PageSize int32 `json:"pageSize"` + Total int `json:"total"` + UpdateTime string `json:"updateTime"` +} diff --git a/pkg/service/oa_new/model/version.go b/pkg/service/oa_new/model/version.go new file mode 100644 index 0000000..0d64b12 --- /dev/null +++ b/pkg/service/oa_new/model/version.go @@ -0,0 +1,19 @@ +package model + +type Version struct { + Describe string `json:"describe"` + EditionUrl string `json:"edition_url"` + EditionForce int64 `json:"edition_force"` + PackageType int64 `json:"package_type" ` + EditionIssue int64 `json:"edition_issue"` + EditionNumber int64 `json:"edition_number"` + EditionName string `json:"edition_name"` + EditionSilence int64 `json:"edition_silence"` + VersionType string `json:"version_type"` +} + +type VersionList struct { + List []*Version `json:"list"` + Msg string `json:"msg"` + Total int64 `json:"total"` +} diff --git a/pkg/service/oa_new/oaApply.go b/pkg/service/oa_new/oaApply.go new file mode 100644 index 0000000..3e27de1 --- /dev/null +++ b/pkg/service/oa_new/oaApply.go @@ -0,0 +1,38 @@ +package oa_new + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func QueryOaApplyInfo(c *gin.Context) { + req := oa.OaApplyByApplyUuidReq{} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("OaApplyByApplyUuidReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + oaApplyInfo, err := service.GrpcOAImpl.QueryOaApplyByApplyUuid(context.Background(), &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: oaApplyInfo, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/oaMonthField.go b/pkg/service/oa_new/oaMonthField.go new file mode 100644 index 0000000..f1b123d --- /dev/null +++ b/pkg/service/oa_new/oaMonthField.go @@ -0,0 +1,66 @@ +package oa_new + +import ( + "context" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func SaveOaMonthField(c *gin.Context) { + req := new(oa.OaMonthField) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.StaffUID = int64(userInfo.ID) + + res, err := service.GrpcOAImpl.SaveOaMonthField(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: res.Msg, + Status: e.Ok, + }) +} +func FindOaMonthField(c *gin.Context) { + req := new(oa.OaMonthFieldReq) + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo := login.GetUserInfoFromC(c) + req.StaffUID = int64(userInfo.ID) + oaMonthField, err := service.GrpcOAImpl.QueryOaMonthField(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Data: oaMonthField, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/oaRuleSetting.go b/pkg/service/oa_new/oaRuleSetting.go new file mode 100644 index 0000000..cc23c0b --- /dev/null +++ b/pkg/service/oa_new/oaRuleSetting.go @@ -0,0 +1,88 @@ +package oa_new + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func SaveOaRule(c *gin.Context) { + var req oa.OaRule + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.SaveOaRule(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func GetOaRuleList(c *gin.Context) { + var req oa.OaRuleListReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.OaRuleList(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func DeleteOaRule(c *gin.Context) { + var req oa.OaRule + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.DeleteOaRule(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/oa_logic/chickInMapLogic.go b/pkg/service/oa_new/oa_logic/chickInMapLogic.go new file mode 100644 index 0000000..8369167 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/chickInMapLogic.go @@ -0,0 +1,70 @@ +package oa_logic + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/go-redis/redis" + "strconv" +) + +func CheckClickInAddress(lng, lat string, chickInMap []*oa.WorkingTime_ChickIn) (bool, error) { + + // 实际打卡经纬度 操作 + lngF, _ := strconv.ParseFloat(lng, 64) + latF, _ := strconv.ParseFloat(lat, 64) + + // 打卡地点经纬度 操作 + for _, v := range chickInMap { + geoLocation := new(redis.GeoLocation) + geoLocation.Name = v.Address + geoLocation.Latitude, _ = strconv.ParseFloat(v.Lat, 64) + geoLocation.Longitude, _ = strconv.ParseFloat(v.Lng, 64) + // 扩大范围 + 200m + v.Distance = v.Distance + 200 + + fmt.Printf("geoLocation %+v\n", geoLocation) + _, geoLocationErr := cache.GeoAdd(cache.ChickInMap, geoLocation) + if geoLocationErr != nil { + logger.Errorf("打卡经纬度 存储 失败 err %+v\n", geoLocationErr) + fmt.Printf("打卡经纬度 存储 失败 err %+v\n", geoLocationErr) + return false, errors.New(e.ErrorSaveCacheGeo) + } + + results, geoRadiusErr := cache.GeoRadius(cache.ChickInMap, lngF, latF, &redis.GeoRadiusQuery{ + Radius: float64(v.Distance), + Unit: "m", + WithGeoHash: false, + WithDist: true, + }) + + if geoRadiusErr != nil { + logger.Errorf("打卡经纬度 范围查询 失败 err %+v\n", geoLocationErr) + fmt.Printf("打卡经纬度 范围查询 失败 err %+v\n", geoLocationErr) + return false, errors.New(e.ErrorQueryRangeGeo) + } + + geoLocation.Latitude = 0 + geoLocation.Longitude = 0 + _, delGeoLocation := cache.GeoAdd(cache.ChickInMap, geoLocation) + if delGeoLocation != nil { + logger.Errorf("删除缓存的打卡经纬度 失败 err %+v\n", delGeoLocation) + fmt.Printf("删除缓存的打卡经纬度 失败 err %+v\n", delGeoLocation) + return false, errors.New(e.ErrorDelCacheGeo) + } + + fmt.Printf("results %+v\n", results) + + for _, result := range results { + if result.Dist <= float64(v.Distance) { + return true, nil + } + } + + } + + return false, nil +} diff --git a/pkg/service/oa_new/oa_logic/clockInLogic.go b/pkg/service/oa_new/oa_logic/clockInLogic.go new file mode 100644 index 0000000..9310ecd --- /dev/null +++ b/pkg/service/oa_new/oa_logic/clockInLogic.go @@ -0,0 +1,625 @@ +package oa_logic + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "io/ioutil" + "net/http" + "strconv" + "strings" + "time" +) + +func CheckActionType(req *model.ClockInReq, workingTime *oa.WorkingTime, currentTime *time.Time, in bool) (res *model.ActionTypeRes, err error) { + + res = new(model.ActionTypeRes) + + // 判断 打卡时间是否在工作时间内 + workDay, isWorkDayErr := IsWorkDay(common.CheckIsBeforeFour(), workingTime.Week, workingTime.IsWorkDay) + if isWorkDayErr != nil { + return nil, isWorkDayErr + } + fmt.Println("====================================================================================================") + fmt.Printf("workDay: %v\n", workDay) + + if workDay { + fmt.Println("==================================== workDay enter ================================================================") + // 工作日 + res.IsWorkDay = model.IsWork + // 查询 打卡记录 查询的日期 根据 当前时间是否在 凌晨 四点之前 四点之前 则 属于 前一天 否则 属于 当天 + var checkActionTimeWorkDayErr error + res.ActionType, res.WorkTime, res.OnOff, checkActionTimeWorkDayErr = checkActionTimeWorkDay(req.StaffUID, common.CheckIsBeforeFour(), workingTime, currentTime) + if checkActionTimeWorkDayErr != nil { + fmt.Printf("checkActionTimeWorkDay checkActionTimeWorkDayErr: %v\n", checkActionTimeWorkDayErr) + return nil, checkActionTimeWorkDayErr + } + + fmt.Printf("checkActionTimeWorkDay before CheckActionType res: %v\n", res) + + // 查询 外勤申请 + outWork, checkApplyTypeWorkDayErr := checkOutWorkApplyTypeWorkDay(req, workingTime, res, currentTime, in) + if checkApplyTypeWorkDayErr != nil { + fmt.Printf("checkOutWorkApplyTypeWorkDay checkApplyTypeWorkDayErr: %v\n", checkApplyTypeWorkDayErr) + return nil, checkApplyTypeWorkDayErr + } + + fmt.Printf("checkOutWorkApplyTypeWorkDay before CheckActionType res: %v\n", res) + + if in { + fmt.Printf("CheckActionType res: %v\n", res) + fmt.Println("==================================== workDay out ================================================================") + return + } else if !in && workingTime.AllowOutWork == e.AllowOutWork { + if res.ActionType == model.ActionTypeBefore { + res.ActionType = model.ActionTypeOutWorkBefore + } else if res.ActionType == model.ActionTypeLate { + res.ActionType = model.ActionTypeOutWorkLate + } else if res.ActionType == model.ActionTypeCommon { + res.ActionType = model.ActionTypeOutWork + } + fmt.Printf("CheckActionType res: %v\n", res) + fmt.Println("==================================== workDay out ================================================================") + return + } else if !in && outWork { + if res.ActionType == model.ActionTypeBefore { + res.ActionType = model.ActionTypeOutWorkBefore + } else if res.ActionType == model.ActionTypeLate { + res.ActionType = model.ActionTypeOutWorkLate + } else if res.ActionType == model.ActionTypeCommon { + res.ActionType = model.ActionTypeOutWork + } + fmt.Printf("CheckActionType res: %v\n", res) + fmt.Println("==================================== workDay out ================================================================") + return + } else { + if res.ActionType != model.ActionTypeOutWork { + res.ActionType = model.ActionTypeNoClock + } + fmt.Printf("CheckActionType res: %v\n", res) + fmt.Println("==================================== workDay out ================================================================") + return + } + + } else { + fmt.Println("==================================== notWorkDay enter ================================================================") + // 非工作 只允许 在 打卡范围内 打卡 + res.IsWorkDay = model.IsFree + var checkActionTimeNotWorkDayErr error + res.ActionType, res.WorkTime, res.OnOff, checkActionTimeNotWorkDayErr = checkActionTimeNotWorkDay(req.StaffUID, common.CheckIsBeforeFour()) + if in { + fmt.Printf("CheckActionType res: %v\n", res) + fmt.Println("==================================== notWorkDay out ================================================================") + return res, checkActionTimeNotWorkDayErr + } else if !in && workingTime.AllowOutWork == e.AllowOutWork { + if res.ActionType == model.ActionTypeBefore { + res.ActionType = model.ActionTypeOutWorkBefore + } else if res.ActionType == model.ActionTypeLate { + res.ActionType = model.ActionTypeOutWorkLate + } else if res.ActionType == model.ActionTypeCommon { + res.ActionType = model.ActionTypeOutWork + } + fmt.Printf("CheckActionType res: %v\n", res) + fmt.Println("==================================== notWorkDay out ================================================================") + return + } else { + res.ActionType = model.ActionTypeNoClock + fmt.Printf("CheckActionType res: %v\n", res) + fmt.Println("==================================== notWorkDay out ================================================================") + return res, nil + } + + } +} + +func checkOutWorkApplyTypeWorkDay(req *model.ClockInReq, workingTime *oa.WorkingTime, res *model.ActionTypeRes, currentTime *time.Time, in bool) (outWork bool, err error) { + fmt.Println("============================================ checkOutWorkApplyTypeWorkDay =====================================") + fmt.Printf("actionType: %v\n", res.ActionType) + fmt.Printf("workTime: %v\n", res.WorkTime) + fmt.Printf("onOff: %v\n", res.OnOff) + fmt.Println("============================================ checkOutWorkApplyTypeWorkDay =====================================") + // 查询 外勤申请 + outWorkApply, outWorkErr := QueryOaApplyDates(req.StaffUID, []string{common.CheckIsBeforeFour()}, []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk}, []string{oa_model.TypeOutWork}) + if outWorkErr != nil { + return false, outWorkErr + } + + if len(outWorkApply) == 0 { + return false, nil + } + + //for i := 0; i < len(outWorkApply); i++ { + // // 查询 外出 回归 记录 + // outWorkCheck, outWorkCheckErr := QueryOutWorkCheck(req.StaffUID, outWorkApply[i].ApprovalID) + // if outWorkCheckErr != nil { + // return outWorkCheckErr + // } + // + // // 有了 外出 和 回来 卡 后 就不需要再打了 + // if len(outWorkCheck) == 2 { + // break + // } + // + // // 情况一: 没有 外出卡 此时 需要判定 是否需要打 外出 + // // 情况二: 有 外出卡 此时 需要判定 是否需要打 回来 + // var nextOutOrBack string + // + // // 判断 是 打 外出 还是 回归 卡 + // if len(outWorkCheck) == 1 && outWorkCheck[0].ActionType == model.ActionTypeOut { + // // 打了 外出卡 下一次 应该 打 回来 卡 + // nextOutOrBack = model.ActionTypeBack + // } else { + // nextOutOrBack = model.ActionTypeOut + // } + // + // // 如果 外勤申请的 开始时间 在 上班卡之前 结束时间 在 下班卡之后 则不需要 打 外出和 回来的卡 + // checkOutWorkApplyTimeErr := checkOutWork(outWorkApply[i], nextOutOrBack, workingTime, res, currentTime, in) + // if checkOutWorkApplyTimeErr != nil { + // return checkOutWorkApplyTimeErr + // } + // + //} + + return true, nil +} + +// 判断 外勤申请的 时间点 在 打卡时间范围内的 则需要 打 外出 和 回来 卡 否则 不需要 +func checkOutWork(outWorkApply *oa.OAApply, nextOutOrBack string, workingTime *oa.WorkingTime, res *model.ActionTypeRes, currentTime *time.Time, in bool) (err error) { + applyTimes := outWorkApply.ApplyTimes + // 外勤的 开始时间 和 结束时间 + applyStartTime := common.ConvertApplyTimeToTime(applyTimes[0].Date, applyTimes[0].Hour) + applyEndTime := common.ConvertApplyTimeToTime(applyTimes[1].Date, applyTimes[1].Hour) + + // 考勤的 开始时间 和 结束时间(无论 几班次 都是 最后一班次的 下班时间) + workStartTime := common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), workingTime.Time[0].OnWorkTime) + workEndTime := common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), workingTime.Time[len(workingTime.Time)-1].OffWorkTime) + + // 情况一 : 外勤开始时间 和 结束时间 在 考勤时间之外 则 无需 打 外出 以及 回来的卡 + if !applyStartTime.After(workStartTime) && !applyEndTime.Before(workEndTime) && !in { + res.OutWorkAddress = outWorkApply.OutWorkAddress + res.ActionType = model.ActionTypeOutWork + return + } + + // 迟到 需要 先打 迟到卡 且 当前时间 在 外勤申请时间之前 且 是 打 外出 卡 之前 + currentWorkTime := common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), res.WorkTime) + if res.ActionType == model.ActionTypeLate && currentWorkTime.Before(applyStartTime) { + return + } + + // 找到 外勤申请的时间点 在 考勤时间点的哪个时间段 + // applyWorkStartTime 有值 代表 有 out 卡 , 无值 代表 没有 out 卡, applyWorkEndTime 有值 代表 有 back 卡 , 无值 代表 没有 back 卡 + // var applyWorkStartTime, applyWorkEndTime string + + for j := 0; j < len(workingTime.Time); j++ { + times := workingTime.Time[j] + if applyStartTime.After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OnWorkTime)) && + applyStartTime.Before(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OffWorkTime)) { + + if currentTime.After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OnWorkTime)) && + currentTime.Before(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OffWorkTime)) { + if nextOutOrBack == model.ActionTypeOut { + res.ActionType = model.ActionTypeOut + res.OutWorkAddress = outWorkApply.OutWorkAddress + return + } + } + } + + if applyEndTime.After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OnWorkTime)) && + applyEndTime.Before(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OffWorkTime)) { + + if currentTime.After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OnWorkTime)) && + currentTime.Before(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OffWorkTime)) { + + if nextOutOrBack == model.ActionTypeOut { + res.ActionType = model.ActionTypeOut + res.OutWorkAddress = outWorkApply.OutWorkAddress + return + } else if nextOutOrBack == model.ActionTypeBack { + res.ActionType = model.ActionTypeBack + res.OutWorkAddress = outWorkApply.OutWorkAddress + return + } + } + } + } + + return +} + +// checkActionTimeWorkDay 判断 工作日的 打卡信息 +func checkActionTimeWorkDay(staffUID uint64, date string, workingTime *oa.WorkingTime, currentTime *time.Time) (actionType, workTime, onOff string, err error) { + + // 查询 打卡记录 + oaRecordReq := new(oa.OARecordReq) + oaRecordReq.StaffUID = staffUID + oaRecordReq.Dates = append(oaRecordReq.Dates, date) + oaRecord, oaRecordErr := service.GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if oaRecordErr != nil { + logger.Errorf("查询考勤记录失败:%s", oaRecordErr.Error()) + fmt.Printf("查询考勤记录失败:%s", oaRecordErr.Error()) + return "", "", "", errors.New(e.ErrorQueryOaProfile) + } + + if oaRecord == nil || len(oaRecord.Data) == 0 || oaRecord.Data[0].Records == nil || len(oaRecord.Data[0].Records) == 0 { + // 无打卡记录 时 返回的是 考勤的第一班卡 + actionType, workTime, onOff, err = withoutOaRecordWorkDay(workingTime, currentTime) + } else { + fmt.Println("========================================= oaRecord =======================================================") + fmt.Printf("oaRecord %+v\n", oaRecord.Data) + fmt.Println("========================================= oaRecord =======================================================") + // 有打卡记录 时 返回的 需要根据 实际 打卡点 以及 考勤时间点 来确认 + actionType, workTime, onOff, err = withOaRecordWorkDay(oaRecord.Data[len(oaRecord.Data)-1], workingTime, currentTime) + } + + return +} + +// checkActionTimeNotWorkDay 判断 非工作日的 打卡信息 +func checkActionTimeNotWorkDay(staffUID uint64, date string) (actionType, workTime, onOff string, err error) { + // 查询 打卡记录 + oaRecordReq := new(oa.OARecordReq) + oaRecordReq.StaffUID = staffUID + oaRecordReq.Dates = append(oaRecordReq.Dates, date) + oaRecord, oaRecordErr := service.GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if oaRecordErr != nil { + logger.Errorf("查询考勤记录失败:%s", oaRecordErr.Error()) + fmt.Printf("查询考勤记录失败:%s", oaRecordErr.Error()) + return "", "", "", errors.New(e.ErrorQueryOaProfile) + } + + if oaRecord == nil || len(oaRecord.Data) == 0 || oaRecord.Data[0].Records == nil { + // 无打卡记录 时 返回的是 开始班次 为 凌晨 04:00 on + return withoutOaRecordNotWorkDay() + } else { + // 有打卡记录 时 返回的是 结束班次 为 次日凌晨 04:00 off + return withOaRecordNotWorkDay(oaRecord.Data[0].WorkDate) + } +} + +// withoutOaRecordWorkDay 工作日 无打卡记录 +func withoutOaRecordWorkDay(workingTime *oa.WorkingTime, currentTime *time.Time) (actionType, workTime, onOff string, err error) { + fmt.Println("==================================== withoutOaRecordWorkDay enter ================================================================") + // 判断 当前打卡点 + for i := 0; i < len(workingTime.Time); i++ { + times := workingTime.Time[i] + fmt.Printf("times: %v\n", times) + // 判断是否在上班时间 之前 + if currentTime.Before(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OnWorkTime)) && + (i == 0 && currentTime.After(common.ConvertWorkDateToTimeFour(common.CurrentDateStr()))) { + actionType = common.TypeCommon + workTime = times.OnWorkTime + onOff = model.OnWork + return + } + + // 如果是 只有一班次 或者 已循环到 最后一个班次 + if (len(workingTime.Time) == 1 || i == len(workingTime.Time)-1) && + currentTime.Add(1*time.Minute).After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OffWorkTime)) && + currentTime.Before(common.ConvertWorkDateToTimeFour(common.NextDate())) { + // 在下班时间 之后 次日四点之前 则为 当前班次的 下班 正常 + actionType = common.TypeCommon + workTime = times.OffWorkTime + onOff = model.OffWork + return + } + + // 判断是否在上班时间 下班时间 之间 + if currentTime.After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OnWorkTime)) && + currentTime.Add(1*time.Minute).Before(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OffWorkTime)) { + // 判断是否在上 和 下班时间 之间 + actionType = common.TypeLate + workTime = times.OnWorkTime + onOff = model.OnWork + return + } + + // 判断是否在上班时间 之前 多班次情况 + if i > 0 && + currentTime.Add(1*time.Minute).After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), workingTime.Time[i-1].OffWorkTime)) && + currentTime.Before(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OnWorkTime)) { + // 在 上一班次 的 下班卡 之后 当前班次的 上班卡之前 则为 上个班次的 下班 正常 + actionType = common.TypeCommon + workTime = workingTime.Time[i-1].OffWorkTime + onOff = model.OffWork + return + } + } + + if actionType == "" || workTime == "" || onOff == "" { + return "", "", "", errors.New(e.ErrorCheckWorkTime) + } + + return +} + +// withOaRecordWorkDay 工作日 有打卡记录 +func withOaRecordWorkDay(oaRecord *oa.OARecord, workingTime *oa.WorkingTime, currentTime *time.Time) (actionType, workTime, onOff string, err error) { + // 判断 当前打卡点 + lastClockInTime := oaRecord.Records[len(oaRecord.Records)-1].WorkTime + lastOnOff := oaRecord.Records[len(oaRecord.Records)-1].OnOff + lastActionType := oaRecord.Records[len(oaRecord.Records)-1].ActionType + fmt.Println("============================================ findNextClockInTime =====================================") + fmt.Printf("lastClockInTime: %v\n", lastClockInTime) + fmt.Printf("lastOnOff: %v\n", lastOnOff) + fmt.Printf("lastActionType: %v\n", lastActionType) + fmt.Println("============================================ findNextClockInTime =====================================") + + // 不是最后一班的 下班卡 且 打卡类型为 早退的 不可进行下一班次的打卡 + if lastClockInTime != workingTime.Time[len(workingTime.Time)-1].OffWorkTime && lastActionType == model.ActionTypeBefore && !currentTime.After(common.ConvertWorkDateAndWorkTime(common.CurrentDateStr(), lastClockInTime)) { + actionType = lastActionType + workTime = lastClockInTime + onOff = lastOnOff + return + } + + if lastClockInTime == workingTime.Time[len(workingTime.Time)-1].OffWorkTime && lastActionType == model.ActionTypeBefore { + actionType = lastActionType + workTime = lastClockInTime + onOff = lastOnOff + return + } + + for i := 0; i < len(workingTime.Time); i++ { + times := workingTime.Time[i] + + // 判断是否在上班时间 之前 第一班卡 + if i == 0 && + currentTime.Before(common.ConvertWorkDateAndWorkTime(oaRecord.WorkDate, times.OnWorkTime)) && + currentTime.Add(1*time.Minute).After(common.ConvertWorkDateToTimeFour(oaRecord.WorkDate)) { + if lastClockInTime == times.OnWorkTime { + actionType = common.TypeBefore + workTime = times.OffWorkTime + onOff = model.OffWork + return + } else { + actionType = common.TypeCommon + workTime = times.OnWorkTime + onOff = model.OnWork + return + } + } + + // 判断是否在上班时间 下班时间 之间 + if currentTime.After(common.ConvertWorkDateAndWorkTime(oaRecord.WorkDate, times.OnWorkTime)) && + currentTime.Add(1*time.Minute).Before(common.ConvertWorkDateAndWorkTime(oaRecord.WorkDate, times.OffWorkTime)) { + if lastClockInTime == times.OffWorkTime || lastClockInTime == times.OnWorkTime { + actionType = common.TypeBefore + workTime = times.OffWorkTime + onOff = model.OffWork + return + } else { + actionType = common.TypeLate + workTime = times.OnWorkTime + onOff = model.OnWork + return + } + } + + // 判断是否在上班时间 之前 多班次情况 + if i > 0 && + currentTime.Add(1*time.Minute).After(common.ConvertWorkDateAndWorkTime(oaRecord.WorkDate, workingTime.Time[i-1].OffWorkTime)) && + currentTime.Before(common.ConvertWorkDateAndWorkTime(oaRecord.WorkDate, times.OnWorkTime)) { + if lastClockInTime == times.OnWorkTime { + // 最后一次打卡记录 是 当前班次的 上班卡 接下来 应该 打当前班次的 下班 且 类型 早退 + actionType = common.TypeBefore + workTime = times.OffWorkTime + onOff = model.OffWork + return + } else if lastClockInTime == workingTime.Time[i-1].OffWorkTime { + // 最后一次打卡记录 是 上一个班次的 下班卡 接下来 应该 打当前班次的 上班 且 类型 正常 + actionType = common.TypeCommon + workTime = times.OnWorkTime + onOff = model.OnWork + return + } else { + // 最后一次打卡记录 是 上一个班次的 上班卡 接下来 应该 打上一个班次的 下班 且 类型 正常 + actionType = common.TypeCommon + workTime = workingTime.Time[i-1].OffWorkTime + onOff = model.OffWork + return + } + } + + if (len(workingTime.Time) == 1 || i == len(workingTime.Time)-1) && + currentTime.Add(1*time.Minute).After(common.ConvertWorkDateAndWorkTime(common.CheckIsBeforeFour(), times.OffWorkTime)) && + currentTime.Before(common.ConvertWorkDateToTimeFour(common.NextDate())) { + // 判断是否在下班时间 之后 + actionType = common.TypeCommon + workTime = times.OffWorkTime + onOff = model.OffWork + return + } + } + + fmt.Println("============================================ withOaRecordWorkDay =====================================") + fmt.Printf("actionType: %v\n", actionType) + fmt.Printf("workTime: %v\n", workTime) + fmt.Printf("onOff: %v\n", onOff) + fmt.Println("============================================ withOaRecordWorkDay =====================================") + + return +} + +// withoutOaRecordNotWorkDay 非工作日 无打卡记录 +func withoutOaRecordNotWorkDay() (actionType, workTime, onOff string, err error) { + actionType = oa_model.TypeCommon + workTime = common.NotWorkDayWorkTimeOn() + onOff = model.OnWork + return +} + +// withoutOaRecordNotWorkDay 非工作日 有打卡记录 +func withOaRecordNotWorkDay(date string) (actionType, workTime, onOff string, err error) { + actionType = oa_model.TypeCommon + //if common.CurrentDateTime().After(common.ConvertWorkDateAndWorkTime(date, common.NotWorkDayWorkTimeOff())) { + // workTime = common.NotWorkDayWorkTimeOff() + //} else { + // workTime = common.CurrentDateTime().Format(common.HHmm) + //} + + workTime = common.NotWorkDayWorkTimeOff() + onOff = model.OffWork + return +} + +// 寻找下一个打卡点 +func findNextClockInTime(oaRecord *oa.OARecord, workingTime *oa.WorkingTime, currentTime *time.Time) (nextClockInTime, nextOnOff string, err error) { + + lastClockInTime := oaRecord.Records[len(oaRecord.Records)-1].WorkTime + lastOnOff := oaRecord.Records[len(oaRecord.Records)-1].OnOff + lastActionType := oaRecord.Records[len(oaRecord.Records)-1].ActionType + fmt.Println("============================================ findNextClockInTime =====================================") + fmt.Printf("lastClockInTime: %v\n", lastClockInTime) + fmt.Printf("lastOnOff: %v\n", lastOnOff) + fmt.Println("============================================ findNextClockInTime =====================================") + + // 不是最后一班的 下班卡 且 打卡类型为 早退的 不可进行下一班次的打卡 + if lastClockInTime != workingTime.Time[len(workingTime.Time)-1].OffWorkTime && lastActionType == model.ActionTypeBefore && !currentTime.After(common.ConvertWorkDateAndWorkTime(common.CurrentDateStr(), lastClockInTime)) { + return lastClockInTime, lastOnOff, nil + } + + for i := 0; i < len(workingTime.Time); i++ { + times := workingTime.Time[i] + + if i == len(workingTime.Time)-1 && lastClockInTime == times.OffWorkTime { + nextClockInTime = times.OffWorkTime + nextOnOff = model.OffWork + break + } + + if i < len(workingTime.Time)-1 && lastClockInTime == times.OnWorkTime { + nextClockInTime = times.OffWorkTime + nextOnOff = model.OffWork + break + } + + if i < len(workingTime.Time)-1 && lastClockInTime == times.OffWorkTime { + nextClockInTime = workingTime.Time[i+1].OnWorkTime + nextOnOff = model.OnWork + break + } + + } + + fmt.Println("============================================ findNextClockInTime =====================================") + fmt.Printf("nextClockInTime: %v\n", nextClockInTime) + fmt.Printf("nextOnOff: %v\n", nextOnOff) + fmt.Println("============================================ findNextClockInTime =====================================") + + if nextClockInTime == "" || nextOnOff == "" { + return "", "", errors.New(e.ErrorCheckNextClockInTime) + } + + return + +} + +// IsWorkDay 判断 是否是工作日 +func IsWorkDay(date string, week string, isWorkDay int32) (isWorkTime bool, err error) { + // 查询是否是工作日 + holidaysMap, holidaysMapErr := HolidayList([]string{date}) + if holidaysMapErr != nil { + fmt.Printf("查询是否是工作日:%s", holidaysMapErr.Error()) + return false, holidaysMapErr + } + + if holidaysMap[date] == nil { + return false, errors.New(e.ErrorQueryHoliday) + } + + dayType := holidaysMap[date].Type + + if week != "" { + fmt.Println("============================ week is not null =======================================") + currentDay := int(holidaysMap[date].WeekDay) + weeks := strings.Split(week, ",") + start, _ := strconv.Atoi(weeks[0]) + end, _ := strconv.Atoi(weeks[len(weeks)-1]) + + fmt.Printf("week: %v\n", week) + + fmt.Printf("currentDay: %v, start: %v, end: %v\n", currentDay, start, end) + + if end >= start && currentDay >= start && currentDay <= end { + if dayType != model.HolidayDayType { + return true, nil + } else { + return false, nil + } + } else if start > end && (currentDay >= end || currentDay <= start) { + if dayType != model.HolidayDayType { + return true, nil + } else { + return false, nil + } + } else if currentDay == 7 || currentDay == 6 { + if dayType == model.WorkDayType { + return true, nil + } else { + return false, nil + } + } else { + return false, nil + } + + } else if isWorkDay == model.IsWorkDay { + if dayType == model.WorkDayType { + return true, nil + } else { + return false, nil + } + } + + return false, nil +} + +func ReverseGeo(longitude, latitude string) (address string) { + var reverseGeocodingReq service.ReverseGeocodingReq + + reverseGeocodingReq.Ak = "3bAjKGA0pv7qvszGe98RsVZ04Ob5r4ZZ" + reverseGeocodingReq.Coordtype = "gcj02ll" + reverseGeocodingReq.Output = "json" + reverseGeocodingReq.RetCoordtype = "gcj02ll" + reverseGeocodingReq.Location = strings.Join([]string{latitude, longitude}, ",") + + url := "https://api.map.baidu.com/reverse_geocoding/v3/?ak=" + reverseGeocodingReq.Ak + "&output=" + reverseGeocodingReq.Output + "&coordtype=" + reverseGeocodingReq.Coordtype + "&location=" + reverseGeocodingReq.Location + "&ret_coordtype=" + reverseGeocodingReq.RetCoordtype + resp, err := http.Get(url) + + if err != nil { + logger.Errorf("通过API获取地址失败:%s", err.Error()) + return + } + + defer resp.Body.Close() + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + logger.Errorf("读取返回结果失败:%s", err.Error()) + return + } + + var results service.ReverseGeocodingRes + err = json.Unmarshal(body, &results) + + if err != nil { + logger.Errorf("反序列化失败:%s", err.Error()) + return + } + if results.Status != 0 { + logger.Errorf("通过API获取地址失败:%s", err.Error()) + return + } + + address = results.Result.FormattedAddress + + return address +} diff --git a/pkg/service/oa_new/oa_logic/collectionLogic.go b/pkg/service/oa_new/oa_logic/collectionLogic.go new file mode 100644 index 0000000..04c0507 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/collectionLogic.go @@ -0,0 +1,1781 @@ +package oa_logic + +import ( + "bytes" + "context" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "github.com/xuri/excelize/v2" + "io" + "log" + "os" + "strconv" + "strings" + "sync" + "time" +) + +// WorkDayMonth 出勤详情 +func WorkDayMonth(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (status bool, allDayLeave []*model.WorkDayDetail, allDayLeaveNum, needAttendanceDayNum, attendanceDayNum, attendanceRestDayNum, attendanceHolidayNum, attendanceWorkDayNum int, workDay []*model.WorkDayDetail, err error) { + return QueryOaRecordMonth(req.StaffUID, req.Month, workingTime) +} + +// WorkDayDates 出勤详情 +func WorkDayDates(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (status bool, allDayLeave []*model.WorkDayDetail, allDayLeaveNum, needAttendanceDayNum, attendanceDayNum, attendanceRestDayNum, attendanceHolidayNum, attendanceWorkDayNum int, workDay []*model.WorkDayDetail, err error) { + return QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) +} + +// WorkDayDate 出勤详情 +func WorkDayDate(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (workDay *model.WorkDayDetail, err error) { + return QueryOaRecordDate(req.StaffUID, req.Date, workingTime) +} + +// AverageHour 平均工时 +func AverageHour(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (totalHours, averageHourNum float64, averageHour []*model.AverageHourDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, 0, nil, oaRecordErr + } + averageHour = make([]*model.AverageHourDetail, 0) + totalHours, averageHourNum, averageHour, err = CalcAverageHour(workDay) + return +} + +// RestDay 休息天数 +func RestDay(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (restDayNum int, restDay []*model.RestDayDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, nil, oaRecordErr + } + restDay = make([]*model.RestDayDetail, 0) + restDayNum, restDay, err = CalcRestDay(workDay, req.Month, req.Dates) + return +} + +// MissRecord 缺卡记录 +func MissRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (missNum int, miss []*model.MissDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, nil, oaRecordErr + } + miss = make([]*model.MissDetail, 0) + missNum, miss, err = SelectMiss(workDay, req.StaffUID) + return +} + +// MakeUpRecord 补卡记录 +func MakeUpRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (makeUpNum int, makeUp []*model.MakeUpDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, nil, oaRecordErr + } + makeUp = make([]*model.MakeUpDetail, 0) + makeUpNum, makeUp, err = SelectMakeUp(workDay) + return +} + +// LateRecord 迟到记录 +func LateRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (lateNum int, commonLateNum int, commonLateDuration float64, extremeLateNum int, extremeLateDuration float64, late []*model.LateDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, 0, 0, 0, 0, nil, oaRecordErr + } + late = make([]*model.LateDetail, 0) + lateNum, commonLateNum, commonLateDuration, extremeLateNum, extremeLateDuration, late, err = SelectLate(workDay) + return +} + +// BeforeRecord 早退记录 +func BeforeRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (beforeNum int, commonBeforeDuration float64, before []*model.BeforeDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, 0, nil, oaRecordErr + } + before = make([]*model.BeforeDetail, 0) + beforeNum, commonBeforeDuration, before, err = SelectBefore(workDay) + return +} + +// AbsentRecord 旷工记录 +func AbsentRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (absentDayNum int, absentDay []*model.MissDayDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, nil, oaRecordErr + } + absentDay = make([]*model.MissDayDetail, 0) + absentDayNum, absentDay, err = SelectAbsent(workDay) + return +} + +// OutWorkRecord 外勤记录 +func OutWorkRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (outWorkNum int, outWork []*model.OutWorkDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, nil, oaRecordErr + } + outWork = make([]*model.OutWorkDetail, 0) + outWorkNum, outWork, err = SelectOutWork(workDay) + return +} + +// OverTimeRecord 加班记录 +func OverTimeRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (overTimeNum, doingNum int, overTime *model.OverWorkDetail, err error) { + _, _, _, _, _, _, _, _, workDay, oaRecordErr := QueryOaRecordDates(req.StaffUID, req.Dates, workingTime) + if oaRecordErr != nil { + return 0, 0, nil, oaRecordErr + } + overTimeNum, doingNum, overTime, err = SelectOverTime(req, workDay) + return +} + +// LeaveRecord 事假记录 +func LeaveRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectLeave(req, workingTime) + return +} + +// AnnualLeave 年假详情 +func AnnualLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectAnnualLeave(req, workingTime) + return +} + +// Sick 病假详情 +func Sick(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectSick(req, workingTime) + return +} + +// BreastFeedingLeave 哺乳假详情 +func BreastFeedingLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectBreastFeedingLeave(req, workingTime) + return +} + +// PaternityLeave 陪产假详情 +func PaternityLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum int, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectPaternityLeave(req, workingTime) + return +} + +// MaritalLeave 婚假详情 +func MaritalLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum int, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectMaritalLeave(req, workingTime) + return +} + +// FuneralLeave 丧假详情 +func FuneralLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectFuneralLeave(req, workingTime) + return +} + +// MaternityLeave 产假详情 +func MaternityLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leave = make([]*model.LeaveDetail, 0) + leaveNum, doingNum, leave, err = SelectMaternityLeave(req, workingTime) + return +} + +// DayOffRecord 调休记录 +func DayOffRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (dayOffNum, doingNum int, dayOffHours float64, dayOff []*model.LeaveDetail, err error) { + dayOff = make([]*model.LeaveDetail, 0) + dayOffNum, doingNum, dayOffHours, dayOff, err = SelectDayOff(req, workingTime) + return +} + +// GoOutRecord 外出记录 +func GoOutRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (goOutDuration, doingNum float64, goOut []*model.LeaveDetail, err error) { + goOut = make([]*model.LeaveDetail, 0) + goOutDuration, doingNum, goOut, err = SelectGoOut(req, workingTime) + return +} + +// BusinessTripRecord 出差记录 +func BusinessTripRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (businessTripDuration, doingNum float64, businessTrip []*model.LeaveDetail, err error) { + businessTrip = make([]*model.LeaveDetail, 0) + businessTripDuration, doingNum, businessTrip, err = SelectBusinessTrip(req, workingTime) + return +} + +// ParentalLeave 育儿假 +func ParentalLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (parentalLeaveNum, doingNum float64, parentalLeave []*model.LeaveDetail, err error) { + parentalLeave = make([]*model.LeaveDetail, 0) + parentalLeaveNum, doingNum, parentalLeave, err = SelectParentalLeave(req, workingTime) + return +} + +// NursingLeave 独生子女护理假 +func NursingLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (nursingLeaveNum, doingNum float64, nursingLeave []*model.LeaveDetail, err error) { + nursingLeave = make([]*model.LeaveDetail, 0) + nursingLeaveNum, doingNum, nursingLeave, err = SelectNursingLeave(req, workingTime) + return +} + +// AbortLeave 流产假 +func AbortLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (abortLeaveNum, doingNum float64, abortLeave []*model.LeaveDetail, err error) { + abortLeave = make([]*model.LeaveDetail, 0) + abortLeaveNum, doingNum, abortLeave, err = SelectAbortLeave(req, workingTime) + return +} + +// MatingCheckLeave 孕检假 +func MatingCheckLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (matingCheckLeaveNum, doingNum float64, matingCheckLeave []*model.LeaveDetail, err error) { + matingCheckLeave = make([]*model.LeaveDetail, 0) + matingCheckLeaveNum, doingNum, matingCheckLeave, err = SelectMatingCheckLeave(req, workingTime) + return +} + +// AllLeaveRecord 全部请假记录 +func AllLeaveRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (allLeaveNum int, allLeave []*model.AllLeaveDetail, err error) { + allLeaveNum, allLeave, err = SelectAllLeave(req, workingTime) + return +} + +func AllRecord(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (res *model.CollectionDetailRes, err error) { + res = new(model.CollectionDetailRes) + + fmt.Println("================ StaffCollectionDetail model.All enter =======================") + + if req.Month != "" { + var workDayErr error + fmt.Println("================ StaffCollectionDetail model.All WorkDayMonth enter =======================") + res.Status, res.AllDayLeave, res.AllDayLeaveNum, res.NeedAttendanceDayNum, res.AttendanceDayNum, res.AttendanceRestDayNum, res.AttendanceHolidayNum, res.AttendanceWorkDayNum, res.WorkDay, workDayErr = WorkDayMonth(req, workingTime) + if workDayErr != nil { + return nil, workDayErr + } + fmt.Println("================ StaffCollectionDetail model.All WorkDayMonth out =======================") + } else { + var workDayErr error + fmt.Println("================ StaffCollectionDetail model.All WorkDayMonth enter =======================") + res.Status, res.AllDayLeave, res.AllDayLeaveNum, res.NeedAttendanceDayNum, res.AttendanceDayNum, res.AttendanceRestDayNum, res.AttendanceHolidayNum, res.AttendanceWorkDayNum, res.WorkDay, workDayErr = WorkDayDates(req, workingTime) + if workDayErr != nil { + return nil, workDayErr + } + fmt.Println("================ StaffCollectionDetail model.All WorkDayMonth out =======================") + } + + var averageHourErr error + fmt.Println("================ StaffCollectionDetail model.All CalcAverageHour enter =======================") + res.AverageHour = make([]*model.AverageHourDetail, 0) + res.TotalHours, res.AverageHourNum, res.AverageHour, averageHourErr = CalcAverageHour(res.WorkDay) + if averageHourErr != nil { + return nil, averageHourErr + } + fmt.Println("================ StaffCollectionDetail model.All CalcAverageHour out =======================") + + var restDayErr error + fmt.Println("================ StaffCollectionDetail model.All CalcRestDay enter =======================") + res.RestDay = make([]*model.RestDayDetail, 0) + res.RestDayNum, res.RestDay, restDayErr = CalcRestDay(res.WorkDay, req.Month, req.Dates) + if restDayErr != nil { + return nil, restDayErr + } + fmt.Println("================ StaffCollectionDetail model.All CalcRestDay out =======================") + + var missErr error + fmt.Println("================ StaffCollectionDetail model.All SelectMiss enter =======================") + res.Miss = make([]*model.MissDetail, 0) + res.MissNum, res.Miss, missErr = SelectMiss(res.WorkDay, req.StaffUID) + if missErr != nil { + return nil, missErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectMiss out =======================") + + var makeUpErr error + fmt.Println("================ StaffCollectionDetail model.All SelectMakeUp enter =======================") + res.MakeUp = make([]*model.MakeUpDetail, 0) + res.MakeUpNum, res.MakeUp, makeUpErr = SelectMakeUp(res.WorkDay) + if makeUpErr != nil { + return nil, makeUpErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectMakeUp out =======================") + + var lateErr error + fmt.Println("================ StaffCollectionDetail model.All SelectLate enter =======================") + res.Late = make([]*model.LateDetail, 0) + res.LateNum, res.CommonLateNum, res.CommonLateDuration, res.ExtremeLateNum, res.ExtremeLateDuration, res.Late, lateErr = SelectLate(res.WorkDay) + if lateErr != nil { + return nil, lateErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectLate out =======================") + + var beforeErr error + fmt.Println("================ StaffCollectionDetail model.All SelectBefore enter =======================") + res.Before = make([]*model.BeforeDetail, 0) + res.BeforeNum, res.CommonBeforeDuration, res.Before, beforeErr = SelectBefore(res.WorkDay) + if beforeErr != nil { + return nil, beforeErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectBefore out =======================") + + var absentErr error + fmt.Println("================ StaffCollectionDetail model.All SelectAbsent enter =======================") + res.MissDay = make([]*model.MissDayDetail, 0) + res.MissDayNum, res.MissDay, absentErr = SelectAbsent(res.WorkDay) + if absentErr != nil { + return nil, absentErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectAbsent out =======================") + + var outWorkErr error + fmt.Println("================ StaffCollectionDetail model.All SelectOutWork enter =======================") + res.OutWork = make([]*model.OutWorkDetail, 0) + res.OutWorkNum, res.OutWork, outWorkErr = SelectOutWork(res.WorkDay) + if outWorkErr != nil { + return nil, outWorkErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectOutWork out =======================") + + var overTimeErr error + fmt.Println("================ StaffCollectionDetail model.All SelectOverTime enter =======================") + res.OverTime = new(model.OverWorkDetail) + res.OverTimeNum, res.OverTimeDoingNum, res.OverTime, overTimeErr = SelectOverTime(req, res.WorkDay) + if overTimeErr != nil { + return nil, overTimeErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectOverTime out =======================") + + var leaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectLeave enter =======================") + res.Leave = make([]*model.LeaveDetail, 0) + res.LeaveNum, _, res.Leave, leaveErr = SelectLeave(req, workingTime) + if leaveErr != nil { + return nil, leaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectLeave out =======================") + + var annualLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectAnnualLeave enter =======================") + res.AnnualLeave = make([]*model.LeaveDetail, 0) + res.AnnualLeaveNum, _, res.AnnualLeave, annualLeaveErr = SelectAnnualLeave(req, workingTime) + if annualLeaveErr != nil { + return nil, annualLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectAnnualLeave out =======================") + + var sickErr error + fmt.Println("================ StaffCollectionDetail model.All SelectSick enter =======================") + res.Sick = make([]*model.LeaveDetail, 0) + res.SickDayNum, _, res.Sick, sickErr = SelectSick(req, workingTime) + if sickErr != nil { + return nil, sickErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectSick out =======================") + + var breastFeedingLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectBreastFeedingLeave enter =======================") + res.BreastFeedingLeave = make([]*model.LeaveDetail, 0) + res.BreastFeedingLeaveNum, _, res.BreastFeedingLeave, breastFeedingLeaveErr = SelectBreastFeedingLeave(req, workingTime) + if breastFeedingLeaveErr != nil { + return nil, breastFeedingLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectBreastFeedingLeave out =======================") + + var paternityLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectPaternityLeave enter =======================") + res.PaternityLeave = make([]*model.LeaveDetail, 0) + res.PaternityLeaveNum, res.PaternityLeaveDoingNum, res.PaternityLeave, paternityLeaveErr = SelectPaternityLeave(req, workingTime) + if paternityLeaveErr != nil { + return nil, paternityLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectPaternityLeave out =======================") + + var maritalLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectMaritalLeave enter =======================") + res.MaritalLeave = make([]*model.LeaveDetail, 0) + res.MaritalLeaveNum, res.MaritalLeaveDoingNum, res.MaritalLeave, maritalLeaveErr = SelectMaritalLeave(req, workingTime) + if maritalLeaveErr != nil { + return nil, maritalLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectMaritalLeave out =======================") + + var funeralLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectFuneralLeave enter =======================") + res.FuneralLeave = make([]*model.LeaveDetail, 0) + res.FuneralLeaveNum, res.FuneralLeaveDoingNum, res.FuneralLeave, funeralLeaveErr = SelectFuneralLeave(req, workingTime) + if funeralLeaveErr != nil { + return nil, funeralLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectFuneralLeave out =======================") + + var dayOffErr error + fmt.Println("================ StaffCollectionDetail model.All SelectDayOff enter =======================") + res.DayOff = make([]*model.LeaveDetail, 0) + res.DayOffNum, res.DayOffDoingNum, res.DayOffHours, res.DayOff, dayOffErr = SelectDayOff(req, workingTime) + if dayOffErr != nil { + return nil, dayOffErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectDayOff out =======================") + + var maternityLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectMaternityLeave enter =======================") + res.MaternityLeave = make([]*model.LeaveDetail, 0) + res.MaternityLeaveNum, res.MaternityLeaveDoingNum, res.MaternityLeave, maternityLeaveErr = SelectMaternityLeave(req, workingTime) + if maternityLeaveErr != nil { + return nil, maternityLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectMaternityLeave out =======================") + + var goOutErr error + fmt.Println("================ StaffCollectionDetail model.All SelectGoOut enter =======================") + res.GoOut = make([]*model.LeaveDetail, 0) + res.GoOutDuration, res.GoOutDurationDoing, res.GoOut, goOutErr = SelectGoOut(req, workingTime) + if goOutErr != nil { + return nil, goOutErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectGoOut out =======================") + + var businessTripErr error + fmt.Println("================ StaffCollectionDetail model.All SelectBusinessTrip enter =======================") + res.BusinessTrip = make([]*model.LeaveDetail, 0) + res.BusinessTripDuration, res.BusinessTripDurationDoing, res.BusinessTrip, businessTripErr = SelectBusinessTrip(req, workingTime) + if businessTripErr != nil { + return nil, businessTripErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectBusinessTrip out =======================") + + var parentalLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectParentalLeave enter =======================") + res.ParentalLeave = make([]*model.LeaveDetail, 0) + res.ParentalLeaveNum, res.ParentalLeaveDoingNum, res.ParentalLeave, parentalLeaveErr = SelectParentalLeave(req, workingTime) + if parentalLeaveErr != nil { + return nil, parentalLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectParentalLeave out =======================") + + var nursingLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectNursingLeave enter =======================") + res.NursingLeave = make([]*model.LeaveDetail, 0) + res.NursingLeaveNum, res.NursingLeaveDoingNum, res.NursingLeave, nursingLeaveErr = SelectNursingLeave(req, workingTime) + if nursingLeaveErr != nil { + return nil, nursingLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectNursingLeave out =======================") + + var abortLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectAbortLeave enter =======================") + res.AbortLeave = make([]*model.LeaveDetail, 0) + res.AbortLeaveNum, res.AbortLeaveDoingNum, res.AbortLeave, abortLeaveErr = SelectAbortLeave(req, workingTime) + if abortLeaveErr != nil { + return nil, abortLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectAbortLeave out =======================") + + var matingCheckLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectMatingCheckLeave enter =======================") + res.MatingCheckLeave = make([]*model.LeaveDetail, 0) + res.MatingCheckLeaveNum, res.MatingCheckLeaveDoingNum, res.MatingCheckLeave, matingCheckLeaveErr = SelectMatingCheckLeave(req, workingTime) + if matingCheckLeaveErr != nil { + return nil, matingCheckLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectMatingCheckLeave out =======================") + + var allLeaveErr error + fmt.Println("================ StaffCollectionDetail model.All SelectAllLeave enter =======================") + res.AllLeaveDetail = make([]*model.AllLeaveDetail, 0) + res.AllLeaveNum, res.AllLeaveDetail, allLeaveErr = SelectAllLeave(req, workingTime) + if allLeaveErr != nil { + return nil, allLeaveErr + } + fmt.Println("================ StaffCollectionDetail model.All SelectAllLeave out =======================") + + fmt.Println("================ StaffCollectionDetail model.All res =======================") + fmt.Printf("StaffCollectionDetail res %+v\n", res) + + return res, nil + +} + +// GetAllEmployeesInfo 获取所有员工的详细信息 +func GetAllEmployeesInfo(staffUIDs []uint64) ([]*account.AccountInfo, error) { + accountReq := new(account.ListRequest) + accountReq.Domain = "fontree" + accountReq.Page = 1 + accountReq.PageSize = 999999 + + accountRes, err := service.AccountProvider.List(context.Background(), accountReq) + if err != nil { + return nil, fmt.Errorf("service.AccountProvider.List err: %v", err) + } + + // 查询部门 + puRequest := &rule.PositionUserListRequest{} + puRes, err := service.RuleProvider.PositionUserList(context.Background(), puRequest) + if err != nil { + return nil, fmt.Errorf("service.RuleProvider.PositionUserList err: %v", err) + } + + // 关联职位和部门信息 + for i := range accountRes.Data { + for j := range puRes.Data { + if accountRes.Data[i].ID == puRes.Data[j].UserId { + accountRes.Data[i].Positions = append(accountRes.Data[i].Positions, &account.PositionUser{ + PositionID: puRes.Data[j].PositionID, + PositionName: puRes.Data[j].PositionName, + DepartmentId: puRes.Data[j].DepartmentId, + DepartmentCode: puRes.Data[j].DepartmentCode, + DepartmentName: puRes.Data[j].DepartmentName, + UserId: puRes.Data[j].UserId, + UserName: puRes.Data[j].UserName, + }) + } + } + } + + // 过滤出需要的员工信息 + if staffUIDs != nil && len(staffUIDs) > 0 { + employees := make([]*account.AccountInfo, 0) + for _, staffUID := range staffUIDs { + for _, acc := range accountRes.Data { + if acc.ID == staffUID { + employees = append(employees, acc) + break + } + } + } + return employees, nil + } + + return accountRes.Data, nil +} + +// GetAllEmployeesInfoForEmployees 获取所有员工的详细信息 +func GetAllEmployeesInfoForEmployees(staffUIDs []uint64) ([]*employee.FindEmployeeFileListInfo, error) { + accountReq := new(employee.FindEmployeeFileListRequest) + //accountReq.WorkingConditionId = 80 + accountReq.Page = 1 + accountReq.PageSize = 999999 + + accountRes, err := service.GrpcEmployeeProvider.FindEmployeeFileList(context.Background(), accountReq) + if err != nil { + return nil, fmt.Errorf("service.GrpcEmployeeProvider.FindEmployeeFileList err: %v", err) + } + + // 过滤出需要的员工信息 + if staffUIDs != nil && len(staffUIDs) > 0 { + employees := make([]*employee.FindEmployeeFileListInfo, 0) + for _, staffUID := range staffUIDs { + for _, acc := range accountRes.EmployeeFileList { + if acc.UserId == staffUID { + employees = append(employees, acc) + break + } + } + } + return employees, nil + } + + return accountRes.EmployeeFileList, nil +} + +// GetAttendanceInfo 获取员工考勤信息 +func GetAttendanceInfo(month string, accountData []*account.AccountInfo) ([]*oa.OaMonth, error) { + if month == "" { + month = common.CurrentMonth() + } + queryMonth := &model.CollectionDetailReq{ + Month: month, + CollectionType: model.All, + } + + saveOaMonths := make([]*oa.OaMonth, 0) + for _, acc := range accountData { + saveOaMonth := new(oa.OaMonth) + allRecordReq := *queryMonth + allRecordReq.StaffUID = acc.ID + positionUser := make([]*rule.PositionUser, 0) + for i := 0; i < len(acc.Positions); i++ { + positionUser = append(positionUser, &rule.PositionUser{ + PositionID: acc.Positions[i].PositionID, + PositionName: acc.Positions[i].PositionName, + DepartmentId: acc.Positions[i].DepartmentId, + DepartmentCode: acc.Positions[i].DepartmentCode, + }) + } + workingTime, workingTimeErr := QueryWorkingTimeInUse(positionUser, acc.ID) + if workingTimeErr != nil { + //return nil, fmt.Errorf("QueryWorkingTimeInUseTempAccount err: %v", workingTimeErr) + fmt.Errorf("QueryWorkingTimeInUseTempAccount err: %v", workingTimeErr) + continue + } + + allRecord, allRecordErr := AllRecord(&allRecordReq, workingTime) + if allRecordErr != nil { + //return nil, fmt.Errorf("AllRecord err: %v", allRecordErr) + fmt.Errorf("AllRecord err: %v", allRecordErr) + continue + } + + var departments []string + var positions []string + for _, pos := range acc.Positions { + positions = append(positions, pos.PositionName) + departments = append(departments, pos.DepartmentName) + } + + //saveOaMonth.DepartmentName = strings.Join(departments, ",") + saveOaMonth.DepartmentName = workingTime.DepartmentName + saveOaMonth.DepartmentUID, _ = strconv.ParseInt(workingTime.DepartmentUID, 10, 64) + //saveOaMonth.PositionName = strings.Join(positions, ",") + saveOaMonth.PositionName = workingTime.PositionName + saveOaMonth.PositionUID, _ = strconv.ParseInt(workingTime.PositionUID, 10, 64) + saveOaMonth.StaffUID = acc.ID + saveOaMonth.StaffName = acc.NickName + saveOaMonth.Status = allRecord.Status + saveOaMonth.StaffNum = acc.JobNum + saveOaMonth.Month = month + saveOaMonth.AttendanceGroupName = workingTime.WorkTimeTemplateName + saveOaMonth.WorkDays = int32(allRecord.AttendanceDayNum) + saveOaMonth.AverageHour = float32(allRecord.AverageHourNum) + if allRecord.OverTime != nil { + saveOaMonth.OverWork = float32(allRecord.OverTime.OverWorkHour) + saveOaMonth.OverWorkWorkDay = float32(allRecord.OverTime.WorkDayHour) + saveOaMonth.OverWorkRestDay = float32(allRecord.OverTime.RestDayHour) + saveOaMonth.OverWorkHoliday = float32(allRecord.OverTime.HolidayHour) + } + saveOaMonth.DayOff = float32(allRecord.DayOffHours) + saveOaMonth.Late = int32(allRecord.LateNum) + saveOaMonth.CommonLateNum = int32(allRecord.CommonLateNum) + saveOaMonth.CommonLateDuration = float32(allRecord.CommonLateDuration) + saveOaMonth.ExtremeLateNum = int32(allRecord.ExtremeLateNum) + saveOaMonth.ExtremeLateDuration = float32(allRecord.ExtremeLateDuration) + saveOaMonth.Before = int32(allRecord.BeforeNum) + saveOaMonth.Miss = int32(allRecord.MissNum) + saveOaMonth.MakeUp = int32(allRecord.MakeUpNum) + saveOaMonth.OutWork = int32(allRecord.OutWorkNum) + saveOaMonth.MissDay = int32(allRecord.MissDayNum) + saveOaMonth.RestDays = int32(allRecord.RestDayNum) + // jhc 2024-07-06 修改 + saveOaMonth.Leave = float32(allRecord.LeaveNum) + saveOaMonth.Sick = float32(allRecord.SickDayNum) + saveOaMonth.AnnualLeave = float32(allRecord.AnnualLeaveNum) + saveOaMonth.MaternityLeave = float32(allRecord.MaternityLeaveNum) + saveOaMonth.PaternityLeave = float32(allRecord.PaternityLeaveNum) + saveOaMonth.MaritalLeave = float32(allRecord.MaritalLeaveNum) + saveOaMonth.FuneralLeave = float32(allRecord.FuneralLeaveNum) + saveOaMonth.BreastFeedingLeave = float32(allRecord.BreastFeedingLeaveNum) + + saveOaMonth.AttendanceGroupName = workingTime.WorkTimeTemplateName + saveOaMonth.StaffNum = acc.JobNum + saveOaMonth.AllDayLeaveNum = int32(allRecord.AllDayLeaveNum) + + saveOaMonth.TotalHours = float32(allRecord.TotalHours) + saveOaMonth.CommonBeforeDuration = float32(allRecord.CommonBeforeDuration) + saveOaMonth.GoOutDuration = float32(allRecord.GoOutDuration) + saveOaMonth.BusinessTripDuration = float32(allRecord.BusinessTripDuration) + saveOaMonth.NursingLeave = float32(allRecord.NursingLeaveNum) + saveOaMonth.ParentalLeave = float32(allRecord.ParentalLeaveNum) + saveOaMonth.AbortLeave = float32(allRecord.AbortLeaveNum) + saveOaMonth.MatingCheckLeave = float32(allRecord.MatingCheckLeaveNum) + + saveOaMonth.Date = common.CurrentTimeStr() + + /*if allRecord.Leave != nil { + for _, leave := range allRecord.Leave { + switch leave.ApplyType { + case common.TypeLeave: + saveOaMonth.Leave = int32(leave.Duration) + case common.TypeAnnualLeave: + saveOaMonth.AnnualLeave = float32(leave.Duration) + case common.TypeSick: + saveOaMonth.Sick = float32(leave.Duration) + case common.TypeMaternityLeave: + saveOaMonth.MaternityLeave = float32(leave.Duration) + case common.TypePaternityLeave: + saveOaMonth.PaternityLeave = float32(leave.Duration) + case common.TypeMaritalLeave: + saveOaMonth.MaritalLeave = float32(leave.Duration) + case common.TypeFuneralLeave: + saveOaMonth.FuneralLeave = float32(leave.Duration) + case common.TypeBreastFeedingLeave: + saveOaMonth.BreastFeedingLeave = float32(leave.Duration) + } + } + }*/ + + saveOaMonths = append(saveOaMonths, saveOaMonth) + } + return saveOaMonths, nil +} + +// GetAttendanceInfoForEmployees 获取员工考勤信息 员工档案 +func GetAttendanceInfoForEmployees(month string, accountData []*employee.FindEmployeeFileListInfo) ([]*oa.OaMonth, error) { + if month == "" { + month = common.CurrentMonth() + } + queryMonth := &model.CollectionDetailReq{ + Month: month, + CollectionType: model.All, + } + + saveOaMonths := make([]*oa.OaMonth, 0) + for _, acc := range accountData { + saveOaMonth := new(oa.OaMonth) + allRecordReq := *queryMonth + allRecordReq.StaffUID = acc.UserId + workingTime, workingTimeErr := QueryWorkingTimeFormal(acc.CurrentAttendanceSectionUuid) + if workingTimeErr != nil { + fmt.Errorf("QueryWorkingTimeInUseTempAccount err: %v", workingTimeErr) + // 返回默认数据 + continue + } + + allRecord, allRecordErr := AllRecord(&allRecordReq, workingTime) + if allRecordErr != nil { + //return nil, fmt.Errorf("AllRecord err: %v", allRecordErr) + fmt.Errorf("AllRecord err: %v", allRecordErr) + continue + } + + var departments []string + var positions []string + for _, pos := range acc.DepartmentPostList { + positions = append(positions, pos.PostName) + departments = append(departments, pos.DepartmentName) + } + + // 获取员工档案信息 中的 部门 岗位信息 + employeeInfo := MakeDefaultOaMonthByDatesSingleEmployee(acc) + + //saveOaMonth.DepartmentName = strings.Join(departments, ",") + //saveOaMonth.DepartmentName = workingTime.DepartmentName + saveOaMonth.DepartmentName = employeeInfo.DepartmentName + saveOaMonth.DepartmentUID, _ = strconv.ParseInt(workingTime.DepartmentUID, 10, 64) + //saveOaMonth.PositionName = strings.Join(positions, ",") + //saveOaMonth.PositionName = workingTime.PositionName + saveOaMonth.PositionName = employeeInfo.PositionName + saveOaMonth.PositionUID, _ = strconv.ParseInt(workingTime.PositionUID, 10, 64) + saveOaMonth.StaffUID = acc.UserId + saveOaMonth.StaffName = acc.Name + saveOaMonth.Status = allRecord.Status + saveOaMonth.StaffNum = acc.JobNumber + saveOaMonth.Month = month + saveOaMonth.AttendanceGroupName = workingTime.WorkTimeTemplateName + saveOaMonth.WorkDays = int32(allRecord.AttendanceDayNum) + saveOaMonth.AverageHour = float32(allRecord.AverageHourNum) + if allRecord.OverTime != nil { + saveOaMonth.OverWork = float32(allRecord.OverTime.OverWorkHour) + saveOaMonth.OverWorkWorkDay = float32(allRecord.OverTime.WorkDayHour) + saveOaMonth.OverWorkRestDay = float32(allRecord.OverTime.RestDayHour) + saveOaMonth.OverWorkHoliday = float32(allRecord.OverTime.HolidayHour) + } + saveOaMonth.DayOff = float32(allRecord.DayOffHours) + saveOaMonth.DayOffDoing = float32(allRecord.DayOffDoingNum) + saveOaMonth.Late = int32(allRecord.LateNum) + saveOaMonth.CommonLateNum = int32(allRecord.CommonLateNum) + saveOaMonth.CommonLateDuration = float32(allRecord.CommonLateDuration) + saveOaMonth.ExtremeLateNum = int32(allRecord.ExtremeLateNum) + saveOaMonth.ExtremeLateDuration = float32(allRecord.ExtremeLateDuration) + saveOaMonth.Before = int32(allRecord.BeforeNum) + saveOaMonth.Miss = int32(allRecord.MissNum) + saveOaMonth.MakeUp = int32(allRecord.MakeUpNum) + saveOaMonth.OutWork = int32(allRecord.OutWorkNum) + saveOaMonth.OutWorkDoing = int32(allRecord.OutWorkDoingNum) + saveOaMonth.MissDay = int32(allRecord.MissDayNum) + saveOaMonth.RestDays = int32(allRecord.RestDayNum) + // jhc 2024-07-06 修改 + saveOaMonth.Leave = float32(allRecord.LeaveNum) + saveOaMonth.LeaveDoing = float32(allRecord.LeaveDoingNum) + saveOaMonth.Sick = float32(allRecord.SickDayNum) + saveOaMonth.SickDoing = float32(allRecord.SickDayDoingNum) + saveOaMonth.AnnualLeave = float32(allRecord.AnnualLeaveNum) + saveOaMonth.AnnualLeaveDoing = float32(allRecord.AnnualLeaveDoingNum) + saveOaMonth.MaternityLeave = float32(allRecord.MaternityLeaveNum) + saveOaMonth.MaternityLeaveDoing = float32(allRecord.MaternityLeaveDoingNum) + saveOaMonth.PaternityLeave = float32(allRecord.PaternityLeaveNum) + saveOaMonth.PaternityLeaveDoing = float32(allRecord.PaternityLeaveDoingNum) + saveOaMonth.MaritalLeave = float32(allRecord.MaritalLeaveNum) + saveOaMonth.MaritalLeaveDoing = float32(allRecord.MaritalLeaveDoingNum) + saveOaMonth.FuneralLeave = float32(allRecord.FuneralLeaveNum) + saveOaMonth.FuneralLeaveDoing = float32(allRecord.FuneralLeaveDoingNum) + saveOaMonth.BreastFeedingLeave = float32(allRecord.BreastFeedingLeaveNum) + saveOaMonth.BreastFeedingLeaveDoing = float32(allRecord.BreastFeedingLeaveDoingNum) + + saveOaMonth.AttendanceGroupName = workingTime.WorkTimeTemplateName + saveOaMonth.AllDayLeaveNum = int32(allRecord.AllDayLeaveNum) + + saveOaMonth.TotalHours = float32(allRecord.TotalHours) + saveOaMonth.CommonBeforeDuration = float32(allRecord.CommonBeforeDuration) + saveOaMonth.GoOutDuration = float32(allRecord.GoOutDuration) + saveOaMonth.GoOutDurationDoing = float32(allRecord.GoOutDurationDoing) + saveOaMonth.BusinessTripDuration = float32(allRecord.BusinessTripDuration) + saveOaMonth.BusinessTripDurationDoing = float32(allRecord.BusinessTripDurationDoing) + saveOaMonth.NursingLeave = float32(allRecord.NursingLeaveNum) + saveOaMonth.NursingLeaveDoing = float32(allRecord.NursingLeaveDoingNum) + saveOaMonth.ParentalLeave = float32(allRecord.ParentalLeaveNum) + saveOaMonth.ParentalLeaveDoing = float32(allRecord.ParentalLeaveDoingNum) + saveOaMonth.AbortLeave = float32(allRecord.AbortLeaveNum) + saveOaMonth.AbortLeaveDoing = float32(allRecord.AbortLeaveDoingNum) + saveOaMonth.MatingCheckLeave = float32(allRecord.MatingCheckLeaveNum) + saveOaMonth.MatingCheckLeaveDoing = float32(allRecord.MatingCheckLeaveDoingNum) + + saveOaMonth.Date = common.CurrentTimeStr() + + saveOaMonth.EmployeeID = int64(acc.Id) + + // 离职员工 且 离职日期 + if acc.WorkingConditionId == 81 { + if acc.ResignationDate == "" { + saveOaMonth.EmployeeStatus = 81 // 离职 + } else if common.IsBeforeOrEqualCollectionMonthV2(acc.ResignationDate, month, "", "") { + saveOaMonth.EmployeeStatus = 80 // 在职 + } else { + saveOaMonth.EmployeeStatus = 81 // 离职 + } + } + + saveOaMonths = append(saveOaMonths, saveOaMonth) + } + return saveOaMonths, nil +} + +type OaMonthList struct { + OaMonth []*oa.OaMonth // Stores month summary information for each employee + AttendanceList map[uint64][]ExcelAttendanceInfo // Map to hold daily attendance for each employee (keyed by StaffUID) + AllRecord map[uint64]model.CollectionDetailRes +} + +func GenerateExcelFile(c *gin.Context, oaMonth OaMonthList, oaMonthField *oa.OaMonthField, month string) (url string, err error) { + // 创建一个新的 Excel 文件 + f := excelize.NewFile() + var sheetHeaders []string + for _, field := range oaMonthField.Field { + sheetHeaders = append(sheetHeaders, field.ColumnName) + } + layout := "2006-01" + parsedMonth, err := time.Parse(layout, month) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "Invalid month format. Use 'YYYY-MM'", + Status: e.Failed, + }) + return + } + // 获取上个月的 26 号到这个月的 25 号 + startDate := time.Date(parsedMonth.Year(), parsedMonth.Month()-1, 26, 0, 0, 0, 0, time.Local) + endDate := time.Date(parsedMonth.Year(), parsedMonth.Month(), 25, 0, 0, 0, 0, time.Local) + //currentDate := time.Now() + // 把上个月 26 号到这个月 25 号的日期添加到表头 + for d := startDate; !d.After(endDate); d = d.AddDate(0, 0, 1) { + sheetHeaders = append(sheetHeaders, d.Format("01-02")) // 日期格式:月-日 + } + sheet := "考勤" + f.SetSheetName("Sheet1", sheet) + f.SetCellValue(sheet, "A1", fmt.Sprintf("月度汇总 统计日期:%s 至 %s", startDate.Format("2006-01-02"), endDate.Format("2006-01-02"))) + f.MergeCell(sheet, "A1", getExcelColumnName(len(sheetHeaders)-1)+"1") + A1Style, err := f.NewStyle(&excelize.Style{ + Font: &excelize.Font{ + Bold: true, + Size: 24, + Family: "新宋体", + Color: "#008080", + }, + Alignment: &excelize.Alignment{ + Horizontal: "left", + Vertical: "center", + }, + Fill: excelize.Fill{ + Type: "pattern", + Color: []string{"#ccfcfc"}, // 填充背景色 + Pattern: 1, + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }, + }) + f.SetCellStyle(sheet, "A1", getExcelColumnName(len(sheetHeaders)-1)+"1", A1Style) + f.SetRowHeight(sheet, 1, 51.25) + f.SetCellValue(sheet, "A2", fmt.Sprintf("报表生成时间: %s", time.Now().Format("2006-01-02 15:04"))) + err = f.MergeCell(sheet, "A2", getExcelColumnName(len(sheetHeaders)-1)+"2") + A2Style, err := f.NewStyle(&excelize.Style{ + Font: &excelize.Font{ + Bold: true, + Size: 14, + Family: "新宋体", + Color: "#008080", + }, + Alignment: &excelize.Alignment{ + Horizontal: "left", + Vertical: "center", + }, + Fill: excelize.Fill{ + Type: "pattern", + Color: []string{"#ccfcfc"}, // 填充背景色 + Pattern: 1, + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }, + }) + if err != nil { + log.Println("Failed to create style for A2:", err) + } + err = f.SetCellStyle(sheet, "A2", getExcelColumnName(len(sheetHeaders)-1)+"2", A2Style) + if err != nil { + log.Println("Failed to set style for A2:", err) + } + f.SetRowHeight(sheet, 2, 25.75) + if err != nil { + log.Println("Failed to merge cells for A2:", err) + } + // 填充表头到 Excel + headerStyle, err := f.NewStyle(&excelize.Style{ + Font: &excelize.Font{ + Bold: true, // 字体加粗 + Size: 12, // 字体大小 + }, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + }, + Fill: excelize.Fill{ + Type: "pattern", + Color: []string{"#D9EAD3"}, // 表头背景颜色 + Pattern: 1, + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }, + }) + headerStartRow := 3 + for i, header := range sheetHeaders { + colName := getExcelColumnName(i) + fmt.Sprint(headerStartRow) // 从第1行开始 + f.SetCellValue(sheet, colName, header) // 填充表头内容 + + // 设置表头单元格样式 + f.SetCellStyle(sheet, colName, colName, headerStyle) + + // 设置列宽 + f.SetColWidth(sheet, getExcelColumnName(i), getExcelColumnName(i), 20) // 设置列宽为20,视具体需求调整 + } + for rowIndex, monthData := range oaMonth.OaMonth { + rowData := []interface{}{} + //colorStyles := []int{} // 用于存储样式的切片 + for _, field := range oaMonthField.Field { + var cellValue interface{} + switch field.FieldTag { + case "StaffName": + cellValue = monthData.StaffName + case "StaffNum": + cellValue = monthData.StaffNum + case "DepartmentName": + cellValue = monthData.DepartmentName + case "PositionName": + cellValue = monthData.PositionName + case "AttendanceGroupName": + cellValue = monthData.AttendanceGroupName + case "Status": + status := "异常" + if monthData.Status { + status = "正常" + } + cellValue = status + case "WorkDays": + cellValue = monthData.WorkDays + case "TotalHours": + cellValue = monthData.TotalHours + case "AverageHour": + cellValue = monthData.AverageHour + case "RestDays": + cellValue = monthData.RestDays + case "Miss": + cellValue = monthData.Miss + case "MakeUp": + cellValue = monthData.MakeUp + case "CommonLateNum": + cellValue = monthData.CommonLateNum + case "CommonLateDuration": + cellValue = monthData.CommonLateDuration + case "ExtremeLateNum": + cellValue = monthData.ExtremeLateNum + case "ExtremeLateDuration": + cellValue = monthData.ExtremeLateDuration + case "Before": + cellValue = monthData.Before + case "CommonBeforeDuration": + cellValue = monthData.CommonBeforeDuration + case "MissDay": + cellValue = monthData.MissDay + case "DayOff": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].DayOff + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.DayOff + case "OverWork": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].OverTime.OverWorkDetail + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.OverWork + case "OverWorkWorkDay": + cellValue = monthData.OverWorkWorkDay + case "OverWorkRestDay": + cellValue = monthData.OverWorkRestDay + case "OverWorkHoliday": + cellValue = monthData.OverWorkHoliday + case "OutWork": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].OutWork + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.WorkDate) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.OutWork + case "BusinessTripDuration": + leaveRecords := oaMonth.AllRecord[monthData.StaffUID].BusinessTrip + if len(leaveRecords) == 0 { + cellValue = "0" + } else { + var strValues []string + for _, record := range leaveRecords { + if len(record.ItineraryList) > 0 { + for _, s := range record.ItineraryList { + strValues = append(strValues, s.ApplyStartTime+" - "+s.ApplyEndTime) + } + cellValue = strings.Join(strValues, "\n") + } + } + } + case "GoOutDuration": + leaveRecords := oaMonth.AllRecord[monthData.StaffUID].GoOut + if len(leaveRecords) == 0 { + cellValue = "0" + } else { + var strValues []string + for _, record := range leaveRecords { + strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + } + cellValue = strings.Join(strValues, "\n") + } + //cellValue = monthData.GoOutDuration + case "AllDayLeaveNum": + cellValue = monthData.AllDayLeaveNum + case "AnnualLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].AnnualLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.AnnualLeave + case "Leave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].Leave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.Leave + case "Sick": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].Sick + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.Sick + case "MaternityLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].MaternityLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.MaternityLeave + case "BreastFeedingLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].BreastFeedingLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.BreastFeedingLeave + case "PaternityLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].PaternityLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.PaternityLeave + case "MaritalLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].MaritalLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.MaritalLeave + case "FuneralLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].FuneralLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.FuneralLeave + case "ParentalLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].ParentalLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.ParentalLeave + case "NursingLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].NursingLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.NursingLeave + case "AbortLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].AbortLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + cellValue = monthData.AbortLeave + case "MatingCheckLeave": + //leaveRecords := oaMonth.AllRecord[monthData.StaffUID].MatingCheckLeave + //if len(leaveRecords) == 0 { + // cellValue = "0" + //} else { + // var strValues []string + // for _, record := range leaveRecords { + // strValues = append(strValues, record.ApplyStartTime+" - "+record.ApplyEndTime) + // } + // cellValue = strings.Join(strValues, "\n") + //} + + cellValue = monthData.MatingCheckLeave + default: + cellValue = "" + } + rowData = append(rowData, cellValue) + col := getExcelColumnName(len(rowData)-1) + fmt.Sprint(rowIndex+4) // 获取当前列名 + cellStyle, err := f.NewStyle(&excelize.Style{ + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }, + }) + if err == nil { + f.SetCellStyle(sheet, col, col, cellStyle) // 设置边框样式 + } + } + // 处理每日考勤数据 + if attendance, ok := oaMonth.AttendanceList[monthData.StaffUID]; ok { + for _, i := range attendance { + rowData = append(rowData, i.Attendance) + // 只填充日期的颜色样式 + if i.Date != "" { // 假设 i.Date 是日期字段 + col := getExcelColumnName(len(rowData) - 1) // 获取当前列名 + cell := col + fmt.Sprint(rowIndex+4) // 行号从2开始,因为1是表头 + nowStyle, _ := f.NewStyle(i.Colour) + f.SetCellStyle(sheet, cell, cell, nowStyle) // 设置样式 + } + } + } + + // 填充每行的数据到 Excel + for colIndex, cellValue := range rowData { + col := getExcelColumnName(colIndex) + fmt.Sprint(rowIndex+4) // 行号从2开始,因为1是表头 + f.SetCellValue(sheet, col, cellValue) + } + } + + // 将文件写入内存 + var buffer bytes.Buffer + if err := f.Write(&buffer); err != nil { + c.JSON(500, gin.H{"error": "Failed to generate Excel file"}) + return "", fmt.Errorf("Failed to generate Excel file: %w", err) + } + // 设置响应头,返回 Excel 文件 + fileName := fmt.Sprintf("月度汇总%s~%s.xlsx", startDate.Format("20060102"), endDate.Format("20060102")) + content := bytes.NewReader(buffer.Bytes()) + localFile, err := os.Create("./data/" + fileName) + fileDir := "/attendance/excel/" + fmt.Sprintf("%d", time.Now().Unix()) + "_" + fileName + if err != nil { + return "", fmt.Errorf("failed to create local file: %w", err) + } + defer localFile.Close() + // 将内容写入本地文件 + _, err = io.Copy(localFile, content) + if err != nil { + return "", fmt.Errorf("failed to write content to local file: %w", err) + } + inputUrl, err := service.PutBosWithName(localFile.Name(), true, fileDir) + if err != nil { + //return "", fmt.Errorf("failed to upload file to OSS: %w", err) + } + return inputUrl, nil + //utils.ResponseXls(c, content, fileName) + +} +func getExcelColumnName(colIndex int) string { + columnName := "" + for colIndex >= 0 { + columnName = string('A'+(colIndex%26)) + columnName + colIndex = colIndex/26 - 1 + } + return columnName +} + +// FilterEmployeesInfo 筛选员工信息 +func FilterEmployeesInfo(accountInfos []*account.AccountInfo, staffName, departmentName string) []*account.AccountInfo { + // 1. 通过部门名称过滤员工信息 + filterNoIDAccountInfos := make([]*account.AccountInfo, 0) + for _, accountInfo := range accountInfos { + retAccountInfo := accountInfo + if retAccountInfo.ID == 0 || retAccountInfo.Positions == nil || len(retAccountInfo.Positions) == 0 { + continue + } else { + filterNoIDAccountInfos = append(filterNoIDAccountInfos, retAccountInfo) + } + } + + if departmentName == "" && staffName == "" { + return filterNoIDAccountInfos + } + + if departmentName != "" { + filterDepartmentNameAccountInfos := make([]*account.AccountInfo, 0) + for _, accountInfo := range filterNoIDAccountInfos { + retAccountInfo := accountInfo + for _, pos := range retAccountInfo.Positions { + if pos.DepartmentName == departmentName { + filterDepartmentNameAccountInfos = append(filterDepartmentNameAccountInfos, retAccountInfo) + break + } + } + } + filterNoIDAccountInfos = filterDepartmentNameAccountInfos + } + + if staffName != "" { + filterStaffNameAccountInfos := make([]*account.AccountInfo, 0) + for _, accountInfo := range filterNoIDAccountInfos { + retAccountInfo := accountInfo + if strings.Contains(retAccountInfo.NickName, staffName) { + filterStaffNameAccountInfos = append(filterStaffNameAccountInfos, retAccountInfo) + } + } + filterNoIDAccountInfos = filterStaffNameAccountInfos + } + + return filterNoIDAccountInfos +} + +func MakeOaMonthByDates(req *oa.OaMonthReq, accountInfos []*account.AccountInfo) []*model.CollectionEmployeesDetailRes { + collectionDetails := make([]*model.CollectionEmployeesDetailRes, 0) + accountChan := make(chan []*account.AccountInfo) + + // 启动一个goroutine来填充通道 + go func() { + defer close(accountChan) + for page := int((req.Page - 1) * req.PageSize); page < len(accountInfos); page += int(req.PageSize) { + // 确保页面计算不会超出accountInfos的长度 + start := page + end := start + int(req.PageSize) + if end > len(accountInfos) { + end = len(accountInfos) + } + + accountChan <- accountInfos[start:end] + break + } + }() + + // 使用sync.WaitGroup来等待所有goroutine完成 + var wg sync.WaitGroup + + // 启动多个goroutine来处理通道中的数据 + for accountInfoInChain := range accountChan { + + // 确保不会处理超出accountInfos长度的数据 + if len(accountInfoInChain) == 0 { + break // 如果没有数据,退出循环 + } + + for _, info := range accountInfoInChain { + // 为每个数据项启动一个goroutine + wg.Add(1) + go func(info *account.AccountInfo) { + collectionDetails = append(collectionDetails, MakeOaMonthByDatesSingleAccount(req, info)) // 处理数据项 + wg.Done() // 完成时减少计数 + }(info) + } + } + + // 等待所有goroutine完成 + wg.Wait() + + return collectionDetails +} + +// MakeOaMonthByDatesSingleAccount 生成考勤统计信息 +func MakeOaMonthByDatesSingleAccount(req *oa.OaMonthReq, accountInfo *account.AccountInfo) *model.CollectionEmployeesDetailRes { + res := new(model.CollectionEmployeesDetailRes) + useInfo := accountInfo + positionUser := make([]*rule.PositionUser, 0) + for i := 0; i < len(accountInfo.Positions); i++ { + positionUser = append(positionUser, &rule.PositionUser{ + PositionID: accountInfo.Positions[i].PositionID, + PositionName: accountInfo.Positions[i].PositionName, + DepartmentId: accountInfo.Positions[i].DepartmentId, + DepartmentCode: accountInfo.Positions[i].DepartmentName, + }) + } + workingTime, workingTimeErr := QueryWorkingTimeInUse(positionUser, useInfo.ID) + if workingTimeErr != nil { + fmt.Errorf("QueryWorkingTimeInUseTempAccount err: %v", workingTimeErr) + return res + } + + // 从 req 中获取日期 + dates := holiday.SplitDates(req.StartDate, req.EndDate, common.YYMMDD) + + allRecordReq := &model.CollectionDetailReq{ + StaffUID: accountInfo.ID, + Dates: dates, + } + + collectionDetailRes, err := AllRecord(allRecordReq, workingTime) + // 剔除 特殊情况的记录 + collectionDetailRes.WorkDay = RemoveRecord(collectionDetailRes.WorkDay) + + res.StaffUID = useInfo.ID + res.StaffName = useInfo.NickName + res.StaffNum = useInfo.JobNum + res.DepartmentUID, _ = strconv.ParseInt(workingTime.DepartmentUID, 10, 64) + res.DepartmentName = workingTime.DepartmentName + res.PositionUID, _ = strconv.ParseInt(workingTime.PositionUID, 10, 64) + res.PositionName = workingTime.PositionName + res.AttendanceGroupName = workingTime.WorkTimeTemplateName + + res.TotalHours = collectionDetailRes.TotalHours + res.Status = collectionDetailRes.Status + res.WorkDay = collectionDetailRes.WorkDay + res.AllDayLeaveNum = collectionDetailRes.AllDayLeaveNum + res.AllDayLeave = collectionDetailRes.AllDayLeave + res.NeedAttendanceDayNum = collectionDetailRes.NeedAttendanceDayNum + res.WorkDays = collectionDetailRes.AttendanceDayNum + res.AttendanceDayNum = collectionDetailRes.AttendanceDayNum + res.AttendanceRestDayNum = collectionDetailRes.AttendanceRestDayNum + res.AttendanceHolidayNum = collectionDetailRes.AttendanceHolidayNum + res.AttendanceWorkDayNum = collectionDetailRes.AttendanceWorkDayNum + res.AverageHourDetail = collectionDetailRes.AverageHour + res.AverageHour = collectionDetailRes.AverageHourNum + res.RestDaysDetail = collectionDetailRes.RestDay + res.RestDays = collectionDetailRes.RestDayNum + res.MissDetail = collectionDetailRes.Miss + res.Miss = collectionDetailRes.MissNum + res.MakeUpDetail = collectionDetailRes.MakeUp + res.MakeUp = collectionDetailRes.MakeUpNum + res.LateDetail = collectionDetailRes.Late + res.Late = collectionDetailRes.LateNum + res.CommonLateNum = collectionDetailRes.CommonLateNum + res.CommonLateDuration = collectionDetailRes.CommonLateDuration + res.ExtremeLateNum = collectionDetailRes.ExtremeLateNum + res.ExtremeLateDuration = collectionDetailRes.ExtremeLateDuration + res.BeforeDetail = collectionDetailRes.Before + res.Before = collectionDetailRes.BeforeNum + res.CommonBeforeDuration = collectionDetailRes.CommonBeforeDuration + res.MissDayDetail = collectionDetailRes.MissDay + res.MissDay = collectionDetailRes.MissDayNum + res.OutWorkDetail = collectionDetailRes.OutWork + res.OutWork = collectionDetailRes.OutWorkNum + res.OverWorkDetail = collectionDetailRes.OverTime + res.OverWork = float32(collectionDetailRes.OverTime.OverWorkHour) + res.OverWorkWorkDay = float32(collectionDetailRes.OverTime.WorkDayHour) + res.OverWorkRestDay = float32(collectionDetailRes.OverTime.RestDayHour) + res.OverWorkHoliday = float32(collectionDetailRes.OverTime.HolidayHour) + res.LeaveDetail = collectionDetailRes.Leave + res.Leave = collectionDetailRes.LeaveNum + res.AnnualLeaveDetail = collectionDetailRes.AnnualLeave + res.AnnualLeave = collectionDetailRes.AnnualLeaveNum + res.SickDetail = collectionDetailRes.Sick + res.Sick = collectionDetailRes.SickDayNum + res.BreastFeedingLeaveDetail = collectionDetailRes.BreastFeedingLeave + res.BreastFeedingLeave = collectionDetailRes.BreastFeedingLeaveNum + res.PaternityLeaveDetail = collectionDetailRes.PaternityLeave + res.PaternityLeave = collectionDetailRes.PaternityLeaveNum + res.MaritalLeaveDetail = collectionDetailRes.MaritalLeave + res.MaritalLeave = collectionDetailRes.MaritalLeaveNum + res.FuneralLeaveDetail = collectionDetailRes.FuneralLeave + res.FuneralLeave = collectionDetailRes.FuneralLeaveNum + res.MaternityLeaveDetail = collectionDetailRes.MaternityLeave + res.MaternityLeave = collectionDetailRes.MaternityLeaveNum + res.DayOffDetail = collectionDetailRes.DayOff + res.DayOff = collectionDetailRes.DayOffHours + res.DayOffNum = collectionDetailRes.DayOffNum + res.GoOutDetail = collectionDetailRes.GoOut + res.GoOutDuration = collectionDetailRes.GoOutDuration + res.BusinessTripDetail = collectionDetailRes.BusinessTrip + res.BusinessTripDuration = collectionDetailRes.BusinessTripDuration + res.ParentalLeaveDetail = collectionDetailRes.ParentalLeave + res.ParentalLeave = collectionDetailRes.ParentalLeaveNum + res.NursingLeaveDetail = collectionDetailRes.NursingLeave + res.NursingLeave = collectionDetailRes.NursingLeaveNum + res.AbortLeaveDetail = collectionDetailRes.AbortLeave + res.AbortLeave = collectionDetailRes.AbortLeaveNum + res.MatingCheckLeaveDetail = collectionDetailRes.MatingCheckLeave + res.MatingCheckLeave = collectionDetailRes.MatingCheckLeaveNum + res.AllLeaveDetail = collectionDetailRes.AllLeaveDetail + res.AllLeave = collectionDetailRes.AllLeaveNum + + res.CollectionType = model.All + fmt.Printf("res %+v\n", res) + fmt.Printf("err %+v\n", err) + return res +} + +// FilterEmployeesInfoEmployee 筛选员工信息 员工档案 添加 剔除 离职员工 逻辑 +func FilterEmployeesInfoEmployee(accountInfos []*employee.FindEmployeeFileListInfo, staffName string, departmentUID int64, month, startDate, endDate string) []*employee.FindEmployeeFileListInfo { + // 1. 通过部门名称过滤员工信息 + filterNoIDAccountInfos := make([]*employee.FindEmployeeFileListInfo, 0) + for _, accountInfo := range accountInfos { + retAccountInfo := accountInfo + if retAccountInfo.UserId == 0 { + continue + } else if retAccountInfo.WorkingConditionId == 81 { + if retAccountInfo.ResignationDate == "" { + continue + } + if !common.IsBeforeOrEqualCollectionMonthV2(retAccountInfo.ResignationDate, month, startDate, endDate) { + continue + } + } + filterNoIDAccountInfos = append(filterNoIDAccountInfos, retAccountInfo) + } + + if departmentUID == 0 && staffName == "" { + return filterNoIDAccountInfos + } + + if departmentUID != 0 { + filterDepartmentNameAccountInfos := make([]*employee.FindEmployeeFileListInfo, 0) + for _, accountInfo := range filterNoIDAccountInfos { + retAccountInfo := accountInfo + for _, pos := range retAccountInfo.DepartmentPostList { + if pos.DepartmentId == uint64(departmentUID) { + filterDepartmentNameAccountInfos = append(filterDepartmentNameAccountInfos, retAccountInfo) + break + } + } + } + filterNoIDAccountInfos = filterDepartmentNameAccountInfos + } + + if staffName != "" { + filterStaffNameAccountInfos := make([]*employee.FindEmployeeFileListInfo, 0) + for _, accountInfo := range filterNoIDAccountInfos { + retAccountInfo := accountInfo + if strings.Contains(retAccountInfo.Name, staffName) { + filterStaffNameAccountInfos = append(filterStaffNameAccountInfos, retAccountInfo) + } + } + filterNoIDAccountInfos = filterStaffNameAccountInfos + } + + return filterNoIDAccountInfos +} + +// MakeOaMonthByDatesEmployee 生成考勤统计信息 员工档案 +func MakeOaMonthByDatesEmployee(req *oa.OaMonthReq, accountInfos []*employee.FindEmployeeFileListInfo) []*model.CollectionEmployeesDetailRes { + collectionDetails := make([]*model.CollectionEmployeesDetailRes, 0) + accountChan := make(chan []*employee.FindEmployeeFileListInfo) + + // 启动一个goroutine来填充通道 + go func() { + defer close(accountChan) + for page := int((req.Page - 1) * req.PageSize); page < len(accountInfos); page += int(req.PageSize) { + // 确保页面计算不会超出accountInfos的长度 + start := page + end := start + int(req.PageSize) + if end > len(accountInfos) { + end = len(accountInfos) + } + + accountChan <- accountInfos[start:end] + break + } + }() + + // 使用sync.WaitGroup来等待所有goroutine完成 + var wg sync.WaitGroup + + // 启动多个goroutine来处理通道中的数据 + for accountInfoInChain := range accountChan { + + // 确保不会处理超出accountInfos长度的数据 + if len(accountInfoInChain) == 0 { + break // 如果没有数据,退出循环 + } + + for _, info := range accountInfoInChain { + // 为每个数据项启动一个goroutine + wg.Add(1) + go func(info *employee.FindEmployeeFileListInfo) { + collectionDetails = append(collectionDetails, MakeOaMonthByDatesSingleEmployee(req, info)) // 处理数据项 + wg.Done() // 完成时减少计数 + }(info) + } + } + + // 等待所有goroutine完成 + wg.Wait() + + return collectionDetails +} + +// MakeOaMonthByDatesSingleEmployee 生成考勤统计信息 员工档案 +func MakeOaMonthByDatesSingleEmployee(req *oa.OaMonthReq, accountInfo *employee.FindEmployeeFileListInfo) *model.CollectionEmployeesDetailRes { + res := new(model.CollectionEmployeesDetailRes) + useInfo := accountInfo + workingTime, workingTimeErr := QueryWorkingTimeFormal(accountInfo.CurrentAttendanceSectionUuid) + if workingTimeErr != nil { + fmt.Errorf("QueryWorkingTimeInUseTempAccount err: %v", workingTimeErr) + // 返回默认数据 + return MakeDefaultOaMonthByDatesSingleEmployee(accountInfo) + } + + // 从 req 中获取日期 + dates := holiday.SplitDates(req.StartDate, req.EndDate, common.YYMMDD) + + allRecordReq := &model.CollectionDetailReq{ + StaffUID: accountInfo.UserId, + Dates: dates, + } + + collectionDetailRes, err := AllRecord(allRecordReq, workingTime) + // 剔除 特殊情况的记录 + //collectionDetailRes.WorkDay = RemoveRecord(collectionDetailRes.WorkDay) + + // 获取员工档案信息 中的 部门 岗位信息 + employeeInfo := MakeDefaultOaMonthByDatesSingleEmployee(accountInfo) + + res.StaffUID = useInfo.UserId + res.StaffName = useInfo.Name + res.StaffNum = useInfo.JobNumber + res.DepartmentUID, _ = strconv.ParseInt(workingTime.DepartmentUID, 10, 64) + res.DepartmentName = employeeInfo.DepartmentName + res.PositionUID, _ = strconv.ParseInt(workingTime.PositionUID, 10, 64) + res.PositionName = employeeInfo.PositionName + res.AttendanceGroupName = workingTime.WorkTimeTemplateName + + res.TotalHours = collectionDetailRes.TotalHours + res.Status = collectionDetailRes.Status + res.WorkDay = collectionDetailRes.WorkDay + res.AllDayLeaveNum = collectionDetailRes.AllDayLeaveNum + res.AllDayLeave = collectionDetailRes.AllDayLeave + res.NeedAttendanceDayNum = collectionDetailRes.NeedAttendanceDayNum + res.WorkDays = collectionDetailRes.AttendanceDayNum + res.AttendanceDayNum = collectionDetailRes.AttendanceDayNum + res.AttendanceRestDayNum = collectionDetailRes.AttendanceRestDayNum + res.AttendanceHolidayNum = collectionDetailRes.AttendanceHolidayNum + res.AttendanceWorkDayNum = collectionDetailRes.AttendanceWorkDayNum + res.AverageHourDetail = collectionDetailRes.AverageHour + res.AverageHour = collectionDetailRes.AverageHourNum + res.RestDaysDetail = collectionDetailRes.RestDay + res.RestDays = collectionDetailRes.RestDayNum + res.MissDetail = collectionDetailRes.Miss + res.Miss = collectionDetailRes.MissNum + res.MakeUpDetail = collectionDetailRes.MakeUp + res.MakeUp = collectionDetailRes.MakeUpNum + //res.MakeUpDoing = collectionDetailRes.MakeUpDoingNum + res.LateDetail = collectionDetailRes.Late + res.Late = collectionDetailRes.LateNum + res.CommonLateNum = collectionDetailRes.CommonLateNum + res.CommonLateDuration = collectionDetailRes.CommonLateDuration + res.ExtremeLateNum = collectionDetailRes.ExtremeLateNum + res.ExtremeLateDuration = collectionDetailRes.ExtremeLateDuration + res.BeforeDetail = collectionDetailRes.Before + res.Before = collectionDetailRes.BeforeNum + res.CommonBeforeDuration = collectionDetailRes.CommonBeforeDuration + res.MissDayDetail = collectionDetailRes.MissDay + res.MissDay = collectionDetailRes.MissDayNum + res.OutWorkDetail = collectionDetailRes.OutWork + res.OutWork = collectionDetailRes.OutWorkNum + res.OutWorkDoing = collectionDetailRes.OutWorkDoingNum + res.OverWorkDetail = collectionDetailRes.OverTime + res.OverWork = float32(collectionDetailRes.OverTime.OverWorkHour) + res.OverWorkDoing = float32(collectionDetailRes.OverTimeDoingNum) + res.OverWorkWorkDay = float32(collectionDetailRes.OverTime.WorkDayHour) + res.OverWorkRestDay = float32(collectionDetailRes.OverTime.RestDayHour) + res.OverWorkHoliday = float32(collectionDetailRes.OverTime.HolidayHour) + res.LeaveDetail = collectionDetailRes.Leave + res.Leave = collectionDetailRes.LeaveNum + res.LeaveDoing = collectionDetailRes.LeaveDoingNum + res.AnnualLeaveDetail = collectionDetailRes.AnnualLeave + res.AnnualLeave = collectionDetailRes.AnnualLeaveNum + res.AnnualLeaveDoing = collectionDetailRes.AnnualLeaveDoingNum + res.SickDetail = collectionDetailRes.Sick + res.Sick = collectionDetailRes.SickDayNum + res.SickDoing = collectionDetailRes.SickDayDoingNum + res.BreastFeedingLeaveDetail = collectionDetailRes.BreastFeedingLeave + res.BreastFeedingLeave = collectionDetailRes.BreastFeedingLeaveNum + res.BreastFeedingLeaveDoing = collectionDetailRes.BreastFeedingLeaveDoingNum + res.PaternityLeaveDetail = collectionDetailRes.PaternityLeave + res.PaternityLeave = collectionDetailRes.PaternityLeaveNum + res.PaternityLeaveDoing = collectionDetailRes.PaternityLeaveDoingNum + res.MaritalLeaveDetail = collectionDetailRes.MaritalLeave + res.MaritalLeave = collectionDetailRes.MaritalLeaveNum + res.MaritalLeaveDoing = collectionDetailRes.MaritalLeaveDoingNum + res.FuneralLeaveDetail = collectionDetailRes.FuneralLeave + res.FuneralLeave = collectionDetailRes.FuneralLeaveNum + res.FuneralLeaveDoing = collectionDetailRes.FuneralLeaveDoingNum + res.MaternityLeaveDetail = collectionDetailRes.MaternityLeave + res.MaternityLeave = collectionDetailRes.MaternityLeaveNum + res.MaternityLeaveDoing = collectionDetailRes.MaternityLeaveDoingNum + res.DayOffDetail = collectionDetailRes.DayOff + res.DayOff = collectionDetailRes.DayOffHours + res.DayOffNum = collectionDetailRes.DayOffNum + res.DayOffNumDoing = collectionDetailRes.DayOffDoingNum + res.GoOutDetail = collectionDetailRes.GoOut + res.GoOutDuration = collectionDetailRes.GoOutDuration + res.GoOutDurationDoing = collectionDetailRes.GoOutDurationDoing + res.BusinessTripDetail = collectionDetailRes.BusinessTrip + res.BusinessTripDuration = collectionDetailRes.BusinessTripDuration + res.BusinessTripDurationDoing = collectionDetailRes.BusinessTripDurationDoing + res.ParentalLeaveDetail = collectionDetailRes.ParentalLeave + res.ParentalLeave = collectionDetailRes.ParentalLeaveNum + res.ParentalLeaveDoing = collectionDetailRes.ParentalLeaveDoingNum + res.NursingLeaveDetail = collectionDetailRes.NursingLeave + res.NursingLeave = collectionDetailRes.NursingLeaveNum + res.NursingLeaveDoing = collectionDetailRes.NursingLeaveDoingNum + res.AbortLeaveDetail = collectionDetailRes.AbortLeave + res.AbortLeave = collectionDetailRes.AbortLeaveNum + res.AbortLeaveDoing = collectionDetailRes.AbortLeaveDoingNum + res.MatingCheckLeaveDetail = collectionDetailRes.MatingCheckLeave + res.MatingCheckLeave = collectionDetailRes.MatingCheckLeaveNum + res.MatingCheckLeaveDoing = collectionDetailRes.MatingCheckLeaveDoingNum + res.AllLeaveDetail = collectionDetailRes.AllLeaveDetail + res.AllLeave = collectionDetailRes.AllLeaveNum + + res.CollectionType = model.All + fmt.Printf("res %+v\n", res) + fmt.Printf("err %+v\n", err) + return res +} + +func MakeDefaultOaMonthByDatesSingleEmployee(accountInfo *employee.FindEmployeeFileListInfo) *model.CollectionEmployeesDetailRes { + res := new(model.CollectionEmployeesDetailRes) + res.StaffUID = accountInfo.UserId + res.StaffName = accountInfo.Name + res.StaffNum = accountInfo.JobNumber + + // 查询员工档案信息 + infoRes, err := service.GrpcEmployeeProvider.QueryBasicInfoAboutEmployees(context.Background(), &employee.QueryBasicInfoAboutEmployeesRequest{ + EmployeeFileId: []uint64{accountInfo.Id}, + }) + if err != nil { + fmt.Errorf("QueryBasicInfoAboutEmployees err: %v", err) + return res + } + if len(infoRes.List) == 0 { + return res + } + res.DepartmentName = infoRes.List[0].DepartmentNames + res.PositionName = infoRes.List[0].PositionNames + + return res +} diff --git a/pkg/service/oa_new/oa_logic/convertApplyTime.go b/pkg/service/oa_new/oa_logic/convertApplyTime.go new file mode 100644 index 0000000..9bd2d16 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/convertApplyTime.go @@ -0,0 +1,45 @@ +package oa_logic + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" +) + +func ConvertApplyTime(applyTimes []oa_model.ApplyTime, times []*oa.TimeOption) (applyStartTimeStr, applyEndTimeStr string) { + if len(applyTimes) == 0 { + return + } + if len(applyTimes) == 1 { + if applyTimes[0].Hour != "" { + applyStartTimeStr = applyTimes[0].Date + " " + applyTimes[0].Hour + ":00" + applyEndTimeStr = applyTimes[0].Date + " " + applyTimes[0].Hour + ":00" + } + return + } + if applyTimes[0].M != "" && applyTimes[1].M != "" { + if applyTimes[0].M == "上午" { + applyStartTimeStr = applyTimes[0].Date + " " + times[0].OnWorkTime + ":00" + } else if applyTimes[0].M == "下午" { + if len(times) > 1 { + applyStartTimeStr = applyTimes[0].Date + " " + times[len(times)-1].OnWorkTime + ":00" + } else { + applyStartTimeStr = applyTimes[0].Date + " 12:00:00" + } + } + + if applyTimes[1].M == "上午" { + if len(times) > 1 { + applyEndTimeStr = applyTimes[1].Date + " " + times[0].OffWorkTime + ":00" + } else { + applyEndTimeStr = applyTimes[1].Date + " 12:00:00" + } + } else if applyTimes[1].M == "下午" { + applyEndTimeStr = applyTimes[1].Date + " " + times[len(times)-1].OffWorkTime + ":00" + } + } + if applyTimes[0].Hour != "" && applyTimes[1].Hour != "" { + applyStartTimeStr = applyTimes[0].Date + " " + applyTimes[0].Hour + ":00" + applyEndTimeStr = applyTimes[1].Date + " " + applyTimes[1].Hour + ":00" + } + return +} diff --git a/pkg/service/oa_new/oa_logic/durationLogic.go b/pkg/service/oa_new/oa_logic/durationLogic.go new file mode 100644 index 0000000..6f3bcf3 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/durationLogic.go @@ -0,0 +1,545 @@ +package oa_logic + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "go.uber.org/zap" + "strconv" + "strings" + "time" +) + +func LeaveDurationHandle(applyTimes model.Data, workingTime *oa.WorkingTime) (res model.DurationRes, err error) { + + req := new(model.DurationReq) + res = model.DurationRes{} + + req.ApplyTimes = applyTimes.ApplyTimes + + fmt.Println("====================================== workingTime ====================================================") + fmt.Printf("workingTime is %+v\n", workingTime) + fmt.Println("====================================== workingTime ====================================================") + + var times []*model.TimeOption + for i := 0; i < len(workingTime.Time); i++ { + times = append(times, &model.TimeOption{ + OnWorkTime: workingTime.Time[i].OnWorkTime, + OffWorkTime: workingTime.Time[i].OffWorkTime, + }) + } + req.TimeOptions.Times = times + if workingTime.IsWorkDay == model.IsWorkDay { + req.TimeOptions.Week = "1,5" + } + if workingTime.Week != "" { + req.TimeOptions.Week = workingTime.Week + } + + fmt.Println("====================================== workingTime ====================================================") + fmt.Printf("workingTime is %+v\n", workingTime) + fmt.Println("====================================== workingTime ====================================================") + + // 计算 请假时长 + if len(req.ApplyTimes) != 2 { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrApplytimeDisagreement, + // Status: e.Failed, + //}) + return res, errors.New(e.ErrApplytimeDisagreement) + } + + verifyTimeOrderErr := VerifyTimeOrder(req.ApplyTimes) + if verifyTimeOrderErr != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: verifyTimeOrderErr.Error(), + // Status: e.Failed, + //}) + return res, verifyTimeOrderErr + } + + var freeTime float64 + if len(req.TimeOptions.Times) > 1 { + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + if i+1 < len(req.TimeOptions.Times) { + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i+1].OnWorkTime+":00", time.Local) + } else { + break + } + + freeTime = freeTime + onWorkTime.Sub(offWorkTime).Hours() + } + } + + // 请假 日期 是 同一天 + // 那么只需要 拿出 hours 或者 m 做 计算 + // 请假 日期 是 同一天 + // 那么只需要 拿出 hours 或者 m 做 计算 + if req.ApplyTimes[0].Date == req.ApplyTimes[1].Date { + + if req.ApplyTimes[0].M != "" && req.ApplyTimes[1].M != "" { + if req.ApplyTimes[0].M == req.ApplyTimes[1].M { + res.TakeOut.Days = 0.5 + res.NotTakeOut.Days = 0.5 + } else { + res.TakeOut.Days = 1 + res.NotTakeOut.Days = 1 + } + } + + if req.ApplyTimes[0].Hour != "" { + + res = SingleDateDurationHandle(req) + + } + + } else { + + basicDays := len(holiday.SplitDates(req.ApplyTimes[0].Date, req.ApplyTimes[1].Date, "2006-01-02")) - 1 + + if req.ApplyTimes[0].M != "" && req.ApplyTimes[1].M != "" { + + if req.ApplyTimes[0].M == req.ApplyTimes[1].M { // 如果 同为 上午 或者 下午 则 记为 1.5 + res.TakeOut.Days = res.TakeOut.Days + 1.5 + res.NotTakeOut.Days = res.NotTakeOut.Days + 1.5 + } else { + if req.ApplyTimes[0].M == "上午" { // 如果 不相同 则 记为 1 + res.TakeOut.Days = res.TakeOut.Days + 2 + res.NotTakeOut.Days = res.NotTakeOut.Days + 2 + } else if req.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days + 1 + res.NotTakeOut.Days = res.NotTakeOut.Days + 1 + } + } + + isWeek, num, weekNumErr := WeekNum(req) + if weekNumErr != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Failed, + //}) + return res, weekNumErr + } + if isWeek { + basicDays = basicDays - num + } + + fmt.Println("===================== 打印 isWeek num info ===================================") + fmt.Printf("isWeek is : %+v\n", isWeek) + fmt.Printf("num is : %+v\n", num) + fmt.Println("===================== 打印 isWeek num info ===================================") + + res.TakeOut.Days = res.TakeOut.Days + float32(basicDays-1) + res.NotTakeOut.Days = res.NotTakeOut.Days + float32(basicDays-1) + } + + if req.ApplyTimes[0].Hour != "" { + + res = MultiDateDurationHandle(req, freeTime, basicDays) + + } + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrLeaveDurationIsZero, + // //Data: res, + // Status: e.Failed, + //}) + return res, errors.New(e.ErrLeaveDurationIsZero) + } + + return res, nil +} + +func AnnualLeaveDurationHandle(applyTimes model.Data, workingTime *oa.WorkingTime) (res *model.DurationRes, err error) { + res = new(model.DurationRes) + // 记录 打卡 周期 + isWork, err := IsWorkDay(common.CurrentDateStr(), workingTime.Week, workingTime.IsWorkDay) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrConfirmweek, + // Status: e.Failed, + //}) + zap.L().Error("判断是否是工作日错误", zap.Error(err)) + return res, errors.New(e.ErrConfirmweek) + } + + //startTime,_ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+"00:00:00", time.Local) + //endTime,_ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+"00:00:00", time.Local) + + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(applyTimes.ApplyTimes[0].Date), holiday.ConvertTime(applyTimes.ApplyTimes[1].Date), true) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrHolidayMiss, + // Status: e.Failed, + //}) + zap.L().Error("获取节假日信息错误", zap.Error(err)) + return res, errors.New(e.ErrHolidayMiss) + } + + for i := 0; i < len(holidayRes); i++ { + if holidayRes[i].Type == 0 || isWork { + res.TakeOut.Days += 1 + res.NotTakeOut.Days += 1 + } + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrLeaveDurationIsZero, + // //Data: res, + // Status: e.Failed, + //}) + zap.L().Error("请假时长为0", zap.Error(err)) + return res, errors.New(e.ErrLeaveDurationIsZero) + } + + if applyTimes.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + if applyTimes.ApplyTimes[1].M == "上午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + return res, nil +} + +func CalcAllDayDurationHandle(applyTimes model.Data) (res *model.DurationRes, err error) { + res = new(model.DurationRes) + holidayRes, err := holiday.GetMultiData(holiday.ConvertTime(applyTimes.ApplyTimes[0].Date), holiday.ConvertTime(applyTimes.ApplyTimes[1].Date), true) + if err != nil { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrHolidayMiss, + // Status: e.Failed, + //}) + zap.L().Error("获取节假日信息错误", zap.Error(err)) + return res, errors.New(e.ErrHolidayMiss) + } + + for i := 0; i < len(holidayRes); i++ { + res.TakeOut.Days += 1 + res.NotTakeOut.Days += 1 + } + + if res.TakeOut.Days == 0 && res.TakeOut.Hours == 0 && res.NotTakeOut.Days == 0 && res.NotTakeOut.Hours == 0 { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ErrLeaveDurationIsZero, + // Status: e.Failed, + //}) + zap.L().Error("请假时长为0", zap.Error(err)) + return res, errors.New(e.ErrLeaveDurationIsZero) + } + + if applyTimes.ApplyTimes[0].M == "下午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + if applyTimes.ApplyTimes[1].M == "上午" { + res.TakeOut.Days = res.TakeOut.Days - 0.5 + res.NotTakeOut.Days = res.NotTakeOut.Days - 0.5 + } + + return res, nil +} + +func OutWorkDurationHandle(applyTimes model.Data) (res *model.DurationRes, err error) { + res = new(model.DurationRes) + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes.ApplyTimes[0].Date+" "+applyTimes.ApplyTimes[0].Hour+":00", time.Local) + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes.ApplyTimes[1].Date+" "+applyTimes.ApplyTimes[1].Hour+":00", time.Local) + if applyTimes.ApplyTimes[1].Hour == "23:59" { + endTime = endTime.Add(1 * time.Minute) + } + + // 计算 请假时长 + res.NotTakeOut.Hours = service.HandleHourLeaveFive(endTime.Sub(startTime).Hours()) + res.TakeOut.Hours = res.NotTakeOut.Hours + + return res, nil +} + +func SingleDateDurationHandle(req *model.DurationReq) model.DurationRes { + res := model.DurationRes{} + + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.ApplyTimes[0].Hour+":00", time.Local) + //hasChangeStartTime := false + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.ApplyTimes[1].Hour+":00", time.Local) + if req.ApplyTimes[1].Hour == "23:59" { + endTime = endTime.Add(1 * time.Minute) + } + + var subHour float64 = 0 + var commonSubHour float64 = 0 + + for i := 0; i < len(req.TimeOptions.Times); i++ { // 由于 设置的 考勤班次规则 可能 会出现 上下班 打卡多次的 情况 所以 要遍历 考勤规则 + onWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 此处 应该是 进入到下一个 打卡区间 + if !endTime.Before(offWorkTime) { // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + + if !endTime.Before(offWorkTime) || endTime.Equal(offWorkTime) { // 开始时间在 下班之前 结束时间 在 下一个 上班时间 之后 subHour + 下一个上班时间 到 前一个 下班时间的 间隔 + if i > 0 { + preOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[i-1].OffWorkTime+":00", time.Local) + if startTime.Before(preOffWorkTime) { + subHour = subHour + onWorkTime.Sub(preOffWorkTime).Hours() + } + } + } + + if i+1 <= len(req.TimeOptions.Times)-1 { + nextOnWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[i+1].OnWorkTime+":00", time.Local) + if !startTime.Before(offWorkTime) && !startTime.After(nextOnWorkTime) { // 开始时间在 下班时间之后 在下一个上班时间之前 则 将 subHour + 下一个上班时间 到 开始时间的 间隔 + subHour = subHour + nextOnWorkTime.Sub(startTime).Hours() + } + continue + } + } + + if i == len(req.TimeOptions.Times)-1 { + break + } + + } + + // 单独 处理 结束时间 是否是在 最后一次打卡之后 + lastOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[len(req.TimeOptions.Times)-1].OffWorkTime+":00", time.Local) + if endTime.After(lastOffWorkTime) { + commonSubHour = commonSubHour + endTime.Sub(lastOffWorkTime).Hours() + } + + // 单独 处理 结束时间 是否是在 最后一次打卡之后 + firstOnWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[1].Date+" "+req.TimeOptions.Times[len(req.TimeOptions.Times)-len(req.TimeOptions.Times)].OnWorkTime+":00", time.Local) + if !startTime.After(firstOnWorkTime) { + commonSubHour = commonSubHour + firstOnWorkTime.Sub(startTime).Hours() + } + + res.NotTakeOut.Hours = service.HandleHourLeaveFive(endTime.Sub(startTime).Hours() - commonSubHour) + res.TakeOut.Hours = service.HandleHourLeaveFive(endTime.Sub(startTime).Hours() - subHour - commonSubHour) + + return res +} + +func MultiDateDurationHandle(req *model.DurationReq, freeTime float64, basicDays int) model.DurationRes { + res := model.DurationRes{} + + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.ApplyTimes[0].Hour+":00", time.Local) + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.ApplyTimes[1].Hour+":00", time.Local) + + var otherSubHour float64 = 0 + + var addHour float64 = 0 + + var wholeDurationHours float64 = 0 + + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + wholeDurationHours = wholeDurationHours + offWorkTime.Sub(onWorkTime).Hours() + } + + // 计算 开始 当天的 时长 + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !startTime.After(onWorkTime) { + //subHour = subHour + onWorkTime.Sub(startTime).Hours() + addHour = addHour + offWorkTime.Sub(onWorkTime).Hours() + continue + } + + if startTime.After(onWorkTime) && !startTime.After(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + addHour = addHour + offWorkTime.Sub(startTime).Hours() + //continue + } + + if startTime.After(offWorkTime) { + continue + } + } + + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !startTime.After(onWorkTime) { + otherSubHour = otherSubHour + freeTime + break + } + + if startTime.After(onWorkTime) && startTime.Before(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + if i == 0 { + otherSubHour = otherSubHour + freeTime + break + } + + if i > 0 { + preOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i-1].OffWorkTime+":00", time.Local) + otherSubHour = otherSubHour + onWorkTime.Sub(preOffWorkTime).Hours() + break + } + } + } + + // 计算 结束 当天的 时长 + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !endTime.After(onWorkTime) { + continue + } + + if endTime.After(onWorkTime) && endTime.Before(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + addHour = addHour + endTime.Sub(onWorkTime).Hours() + break + } + + if !endTime.Before(offWorkTime) { + addHour = addHour + offWorkTime.Sub(onWorkTime).Hours() + } + } + + for i := 0; i < len(req.TimeOptions.Times); i++ { + var offWorkTime, onWorkTime = time.Time{}, time.Time{} + onWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OnWorkTime+":00", time.Local) + offWorkTime, _ = time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i].OffWorkTime+":00", time.Local) + + // 如果 开始时间 在 上班时间之前 则 差值 增加 及 上班时间 减去 开始时间 + // 此时 循环结束 + if !endTime.After(onWorkTime) { + continue + } + + if endTime.After(onWorkTime) && endTime.Before(offWorkTime) { // 开始时间 在 区间内 则 用开始时间 减去 上班时间 结束 循环 + + if i > 0 { + preOffWorkTime, _ := time.ParseInLocation("2006-01-02 15:04:05", req.ApplyTimes[0].Date+" "+req.TimeOptions.Times[i-1].OffWorkTime+":00", time.Local) + otherSubHour = otherSubHour + onWorkTime.Sub(preOffWorkTime).Hours() + break + } + } + + if !endTime.Before(offWorkTime) { + if i == len(req.TimeOptions.Times)-1 { + otherSubHour = otherSubHour + freeTime + } + } + + } + + // TODO 判断 两个时间点 之间 是否超过一天 + // 处理 超过一天 需要 把 freeTime 加上 !!!!!!! + isWeek, num, err := WeekNum(req) + if err != nil { + return res + } + if isWeek { + basicDays = basicDays - num + } + + fmt.Println("===================== 打印 isWeek num info ===================================") + fmt.Printf("isWeek is : %+v\n", isWeek) + fmt.Printf("num is : %+v\n", num) + fmt.Println("===================== 打印 isWeek num info ===================================") + + res.NotTakeOut.Hours = res.NotTakeOut.Hours + float32((wholeDurationHours+freeTime)*float64(basicDays-1)) + float32(addHour+otherSubHour) + res.NotTakeOut.Hours = service.HandleHourLeaveFive(float64(res.NotTakeOut.Hours)) + res.TakeOut.Hours = res.TakeOut.Hours + float32(wholeDurationHours*float64(basicDays-1)) + float32(addHour) + res.TakeOut.Hours = service.HandleHourLeaveFive(float64(res.TakeOut.Hours)) + + return res +} + +// WeekNum 判断 请假 区间内 是否包含 休息日 +func WeekNum(req *model.DurationReq) (isWeek bool, num int, err error) { + dates := holiday.SplitDates(holiday.ConvertTime(req.ApplyTimes[0].Date), holiday.ConvertTime(req.ApplyTimes[1].Date), "20060102") + respData, err := holiday.GetCacheHolidayInfo(dates) + if err != nil { + fmt.Println("获取 日期信息 错误:", err.Error()) + return false, 0, err + } + + var startDay, endDay int + + startDay, _ = strconv.Atoi(strings.Split(req.TimeOptions.Week, ",")[0]) + endDay, _ = strconv.Atoi(strings.Split(req.TimeOptions.Week, ",")[1]) + + m := make(map[int]int, 0) + + for i := startDay; i <= endDay; i++ { + m[i] = i + } + + fmt.Println("===================== 打印 week info ===================================") + fmt.Printf("week info is : %+v\n", m) + fmt.Println("===================== 打印 week info ===================================") + + // 默认 (1,5) 现在根据 查询出来的 week 做判断 + for i := 0; i < len(respData); i++ { + weekDay := int(respData[i].WeekDay) + + if m[weekDay] != weekDay && respData[i].Type != 0 { + num += 1 + isWeek = true + } + } + + return +} + +func VerifyTimeOrder(applyTimes []model.ApplyTime) error { + if len(applyTimes) != 2 { + return errors.New(e.ErrApplyTime) + } + + start, _ := time.ParseInLocation("2006-01-02", applyTimes[0].Date, time.Local) + end, _ := time.ParseInLocation("2006-01-02", applyTimes[1].Date, time.Local) + + if !start.After(end) { + if applyTimes[0].M != "" || applyTimes[1].M != "" { + if start.Equal(end) { + if applyTimes[0].M == "下午" && applyTimes[1].M == "上午" { + return errors.New(e.ErrTimeOrder) + } + } + return nil + } + + if applyTimes[0].Hour != "" && applyTimes[1].Hour != "" { + if start.Equal(end) { + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[0].Date+" "+applyTimes[0].Hour+":00", time.Local) + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[1].Date+" "+applyTimes[1].Hour+":00", time.Local) + if startTime.After(endTime) { + return errors.New(e.ErrTimeOrder) + } + } + return nil + } + + } + return errors.New(e.ErrTimeOrder) +} diff --git a/pkg/service/oa_new/oa_logic/export.go b/pkg/service/oa_new/oa_logic/export.go new file mode 100644 index 0000000..3e9ebd7 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/export.go @@ -0,0 +1,240 @@ +package oa_logic + +import ( + "bytes" + "context" + "errors" + "fmt" + "github.com/360EntSecGroup-Skylar/excelize" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/excel" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "io" + "os" + "sort" + "strconv" + "time" +) + +func makeDateList(holidaysMap map[string]*holiday.RespData) (dateList []string) { + + dateList = make([]string, 0) + + sortDateList := make([]string, 0) + + // 获取日期列表 + for d, _ := range holidaysMap { + sortDateList = append(sortDateList, d) + } + + sort.Strings(sortDateList) + + for i := 0; i < len(sortDateList); i++ { + switch holidaysMap[sortDateList[i]].Type { + case oa_model.HolidayDay: + if holidaysMap[sortDateList[i]].WeekDay == 6 { + dateList = append(dateList, "六") + } else if holidaysMap[sortDateList[i]].WeekDay == 7 { + dateList = append(dateList, "日") + } + case oa_model.FestivalHoliday: + dateList = append(dateList, holidaysMap[sortDateList[i]].TypeDes) + case oa_model.WorkDay: + dateList = append(dateList, strconv.Itoa(int(holidaysMap[sortDateList[i]].Day))) + continue + } + } + return +} + +func ExportActionRecord(dates []string, holidaysMap map[string]*holiday.RespData, accountInfos []*employee.FindEmployeeFileListInfo, fileName string) (url string, err error) { + + // 获取日期列表 + tableDate := makeDateList(holidaysMap) + if len(tableDate) == 0 { + return "", errors.New(e.ErrQueryMultiData) + } + + // 写表头 + xlsx := excelize.NewFile() + sheet := "Sheet1" + + bottomRightCell := excel.GetColumnIndex(len(dates) + 6) + + A1 := fmt.Sprintf("打卡时间表 统计日期:%s 至 %s", dates[0], dates[len(dates)-1]) + A1Style, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"left","vertical":"center"},"font":{"bold":true,"size":24,"family":"新宋体","color":"#008080"},"fill":{"type":"pattern","color":["#ccfcfc"],"pattern":1},"border":[{"type":"left","color":"000000","style":1},{"type":"top","color":"000000","style":1},{"type":"right","color":"000000","style":1},{"type":"bottom","color":"000000","style":1}]}`) + + A2 := fmt.Sprintf("报表生成时间: %s", common.ConvertCurrentTimeWithoutSecond()) + A2Style, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"left","vertical":"center"},"font":{"bold":false,"size":14,"family":"新宋体","color":"#008080"},"fill":{"type":"pattern","color":["#ccfcfc"],"pattern":1},"border":[{"type":"left","color":"000000","style":1},{"type":"top","color":"000000","style":1},{"type":"right","color":"000000","style":1},{"type":"bottom","color":"000000","style":1}]}`) + + A3 := []string{ + "姓名", + "考勤组", + "部门", + "工号", + "职位", + } + A3 = append(A3, tableDate...) + A3Style, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center","vertical":"center"},"font":{"bold":true,"size":12,"family":"新宋体"},"fill":{"type":"pattern","color":["#FFFFCC"],"pattern":1},"border":[{"type":"left","color":"000000","style":1},{"type":"top","color":"000000","style":1},{"type":"right","color":"000000","style":1},{"type":"bottom","color":"000000","style":1}]}`) + + xlsx.SetCellStyle(sheet, "A1", fmt.Sprintf("%s%d", bottomRightCell, 1), A1Style) + xlsx.MergeCell(sheet, "A1", fmt.Sprintf("%s%d", bottomRightCell, 1)) + xlsx.SetRowHeight(sheet, 1, 51.25) + xlsx.SetCellValue(sheet, "A1", A1) + + xlsx.SetCellStyle(sheet, "A2", fmt.Sprintf("%s%d", bottomRightCell, 2), A2Style) + xlsx.MergeCell(sheet, "A2", fmt.Sprintf("%s%d", bottomRightCell, 2)) + xlsx.SetRowHeight(sheet, 2, 25.75) + xlsx.SetCellValue(sheet, "A2", A2) + + xlsx.SetCellStyle(sheet, "A3", fmt.Sprintf("%s%d", bottomRightCell, 3), A3Style) + xlsx.SetSheetRow(sheet, "A3", &A3) + + // 居中 换行 + centerWrapStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"center","vertical":"center","wrap_text":true},"font":{"bold":false,"size":12,"family":"黑体"},"border":[{"type":"left","color":"000000","style":1},{"type":"top","color":"000000","style":1},{"type":"right","color":"000000","style":1},{"type":"bottom","color":"000000","style":1}]}`) + // 靠左 换行 + leftWrapStyle, _ := xlsx.NewStyle(`{"alignment":{"horizontal":"left","vertical":"center","wrap_text":true},"font":{"bold":false,"size":12,"family":"黑体"},"border":[{"type":"left","color":"000000","style":1},{"type":"top","color":"000000","style":1},{"type":"right","color":"000000","style":1},{"type":"bottom","color":"000000","style":1}]}`) + + index := 3 + // 获取员工考勤信息 + for i := 0; i < len(accountInfos); i++ { + index++ + employeeInfo := accountInfos[i] + fmt.Println("==================================== employeeInfo ==================================== ") + fmt.Println("employeeInfo ", fmt.Sprintf(" v: %+v", employeeInfo)) + fmt.Println("==================================== employeeInfo ==================================== ") + + // 获取员工档案信息 中的 部门 岗位信息 + employeeBasicInfo := MakeDefaultOaMonthByDatesSingleEmployee(employeeInfo) + + xlsx.SetCellStyle(sheet, fmt.Sprintf("A%d", index), fmt.Sprintf("%s%d", bottomRightCell, index), centerWrapStyle) + + // 姓名 + xlsx.SetCellValue(sheet, fmt.Sprintf("A%d", index), employeeInfo.Name) + + // 考勤组 + xlsx.SetCellValue(sheet, fmt.Sprintf("B%d", index), employeeInfo.CurrentAttendanceSection) + + // 部门 + xlsx.SetCellValue(sheet, fmt.Sprintf("C%d", index), employeeBasicInfo.DepartmentName) + + // 工号 + xlsx.SetCellValue(sheet, fmt.Sprintf("D%d", index), employeeInfo.JobNumber) + + // 职位 + xlsx.SetCellValue(sheet, fmt.Sprintf("E%d", index), employeeBasicInfo.PositionName) + + workingTime, workingTimeErr := QueryWorkingTimeFormal(employeeInfo.CurrentAttendanceSectionUuid) + if workingTimeErr != nil { + fmt.Println("QueryWorkingTimeFormal ", fmt.Sprintf(" v: %+v", workingTimeErr.Error())) + continue + } + + allRecordReq := &model.CollectionDetailReq{ + StaffUID: employeeInfo.UserId, + Dates: dates, + } + + collectionDetailRes, allRecordeErr := AllRecord(allRecordReq, workingTime) + if allRecordeErr != nil { + return "", allRecordeErr + } + + valueList := make([]string, 0) + for j := 0; j < len(dates); j++ { + value := "" + for k := 0; k < len(collectionDetailRes.WorkDay); k++ { + if dates[j] != collectionDetailRes.WorkDay[k].WorkDate { + continue + } + workDay := collectionDetailRes.WorkDay[k] + + for l := 0; l < len(workDay.Records); l++ { + value += workDay.Records[l].ActionTime + switch workDay.Records[l].ActionType { + case model.ActionTypeLate: + value += " 迟到" + case model.ActionTypeBefore: + value += " 早退" + case model.ActionTypeOutWorkLate: + value += " 外勤迟到" + case model.ActionTypeOutWorkBefore: + value += " 外勤早退" + case model.ActionTypeOutWork: + value += " 外勤" + } + value += "\n" + } + } + valueList = append(valueList, value) + } + xlsx.SetCellStyle(sheet, fmt.Sprintf("F%d", index), fmt.Sprintf("%s%d", bottomRightCell, index), leftWrapStyle) + xlsx.SetSheetRow(sheet, fmt.Sprintf("F%d", index), &valueList) + + } + + // 将文件写入内存 + var buffer bytes.Buffer + if err = xlsx.Write(&buffer); err != nil { + fmt.Println("xlsx.Write ", fmt.Sprintf(" v: %+v", err.Error())) + return "", errors.New(e.ErrorWriteExcel) + } + + url, err = saveFile(fileName, common.ActionTimeDir, &buffer) + + return url, err +} + +func saveFile(fileName, fileDir string, buffer *bytes.Buffer) (url string, err error) { + content := bytes.NewReader(buffer.Bytes()) + localFile, err := os.Create("./data/" + fileName) + fileDir = fileDir + "/" + fmt.Sprintf("%d", time.Now().Unix()) + "_" + fileName + if err != nil { + fmt.Println("saveFile Create ", fmt.Sprintf(" v: %+v", err.Error())) + return "", errors.New(e.ErrorCreateLocalFile) + } + defer localFile.Close() + + // 将内容写入本地文件 + _, err = io.Copy(localFile, content) + if err != nil { + return "", errors.New(e.ErrorWriteLocalFile) + } + inputUrl, err := service.PutBosWithName(localFile.Name(), true, fileDir) + if err != nil { + fmt.Println("PutBosWithName ", fmt.Sprintf(" v: %+v", err.Error())) + return "", errors.New(e.ErrorPutOos) + } + return inputUrl, nil +} + +func UpdateExportRecordExportFailed(exportRecordReq *oa.ExportRecordReq) error { + exportRecordReq.Status = 3 + _, err := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + return err +} + +func UpdateExportRecordExportSuccess(exportRecordReq *oa.ExportRecordReq) error { + exportRecordReq.Status = 1 + _, err := service.GrpcOAImpl.UpdateExportRecord(context.Background(), exportRecordReq) + return err +} + +func AllEmployee() (*employee.FindEmployeeFileListResponse, error) { + accountReq := new(employee.FindEmployeeFileListRequest) + accountReq.WorkingConditionId = 80 + accountReq.Page = 1 + accountReq.PageSize = 999999 + + accountRes, err := service.GrpcEmployeeProvider.FindEmployeeFileList(context.Background(), accountReq) + if err != nil { + return nil, errors.New(e.ErrorEmployFindUser) + } + return accountRes, nil +} diff --git a/pkg/service/oa_new/oa_logic/holidayLogic.go b/pkg/service/oa_new/oa_logic/holidayLogic.go new file mode 100644 index 0000000..7c96c7f --- /dev/null +++ b/pkg/service/oa_new/oa_logic/holidayLogic.go @@ -0,0 +1,67 @@ +package oa_logic + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "strconv" +) + +func HolidayList(dates []string) (holidaysMap map[string]*holiday.RespData, err error) { + + holidays := make([]*holiday.RespData, 0) + var cacheHolidayErr error + + fmt.Println("================ StaffCollectionDetail HolidayList WorkDayMonth enter =======================") + + delDashDates := common.DelTimeDash(dates) + + holidays, cacheHolidayErr = holiday.GetCacheHolidayInfo(delDashDates) + if cacheHolidayErr != nil { + logger.Errorf("查询节假日失败:%s", cacheHolidayErr.Error()) + + fmt.Printf("查询节假日失败:%s\n", cacheHolidayErr.Error()) + beginDate := holiday.ConvertTime(dates[0]) + endDate := holiday.ConvertTime(dates[len(dates)-1]) + // 获取日历 + var multiDataErr error + fmt.Printf("beginDate: %s, endDate: %s \n", beginDate, endDate) + holidays, multiDataErr = holiday.GetMultiData(beginDate, endDate, true) + if multiDataErr != nil { + logger.Errorf("查询节假日失败:%s", multiDataErr.Error()) + return nil, errors.New(e.ErrorQueryHoliday) + } + fmt.Printf("holidays: %v\n", holidays) + } + + holidaysMap = make(map[string]*holiday.RespData) + + for i := 0; i < len(holidays); i++ { + var ( + yearStr string + dayStr string + monthStr string + ) + yearStr = strconv.Itoa(int(holidays[i].Year)) + if holidays[i].Day < 10 { + dayStr = "0" + strconv.Itoa(int(holidays[i].Day)) + } else { + dayStr = strconv.Itoa(int(holidays[i].Day)) + } + if holidays[i].Month < 10 { + monthStr = "0" + strconv.Itoa(int(holidays[i].Month)) + } else { + monthStr = strconv.Itoa(int(holidays[i].Month)) + } + holidaysMap[yearStr+"-"+monthStr+"-"+dayStr] = holidays[i] + } + + fmt.Printf("holidaysMap: %v\n", holidaysMap) + + fmt.Println("================ StaffCollectionDetail HolidayList WorkDayMonth out =======================") + + return +} diff --git a/pkg/service/oa_new/oa_logic/leaveBalance.go b/pkg/service/oa_new/oa_logic/leaveBalance.go new file mode 100644 index 0000000..65a54f9 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/leaveBalance.go @@ -0,0 +1,11 @@ +package oa_logic + +// SaveLeaveBalance 更新 员工的假期余额 +// 目前 更新的 假期类型为: +// 年假 TypeAnnualLeave , +// 病假 TypeSick , +// 育儿假 TypeParentalLeave 育儿假是否有申请 TypeParentalLeaveApply , +// 独生子女护理假 TypeNursingLeave 独生子女护理假是否有申请 TypeNursingLeaveApply +func SaveLeaveBalance() { + +} diff --git a/pkg/service/oa_new/oa_logic/oaApplyLogic.go b/pkg/service/oa_new/oa_logic/oaApplyLogic.go new file mode 100644 index 0000000..036270c --- /dev/null +++ b/pkg/service/oa_new/oa_logic/oaApplyLogic.go @@ -0,0 +1,203 @@ +package oa_logic + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" +) + +// QueryOaApplyMonth 按月获取oa审批记录 +func QueryOaApplyMonth(staffUID uint64, month string, applyStatus []int32, applyType []string) (oaApplys []*oa.OAApply, err error) { + fmt.Println("================ StaffCollectionDetail QueryOaApplyMonth enter =======================") + + oaApplyReq := new(oa.ApplyRecordReq) + + if month == "" { + month = holiday.CurrentMonth() + } + + month = common.Add25ForMonth(month) + + dates := holiday.SplitMonthV1(month, common.YYMMDD) + + // 查询 全部审批类型 + oaApplyReq.StaffUID = staffUID + oaApplyReq.BeginTime = dates[0] + oaApplyReq.EndTime = dates[len(dates)-1] + oaApplyReq.Page = 1 + oaApplyReq.PageSize = 999999 + oaApplyReq.ApplyStatus = applyStatus + if applyType != nil || len(applyType) > 0 { + oaApplyReq.ApplyType = applyType + } + + //fmt.Println("================ StaffCollectionDetail QueryOaApplyMonth oaApplyReq enter =======================") + //fmt.Printf("staffUID %v dates %v applyStatus %v applyType %v\n", staffUID, dates, applyStatus, applyType) + //fmt.Printf("oaApplyReq: %v\n", oaApplyReq) + //fmt.Println("================ StaffCollectionDetail QueryOaApplyMonth oaApplyReq out =======================") + + // 获取申请记录 + oaApplyRes, oaApplyErr := service.GrpcOAImpl.QueryOaApply(context.Background(), oaApplyReq) + if oaApplyErr != nil { + logger.Errorf("查询申请记录失败:%s", oaApplyErr.Error()) + return nil, errors.New(e.ErrQueryOaApply) + } + + if oaApplyRes.Total == 0 { + logger.Errorf("未查询申请记录:%s", "oaApplyRes.Data is nil") + return nil, nil + } else { + fmt.Println("================ StaffCollectionDetail QueryOaApplyMonth QueryOaApply enter =======================") + fmt.Printf("QueryOaApply res is : %v\n", oaApplyRes.Data) + fmt.Println("================ StaffCollectionDetail QueryOaApplyMonth QueryOaApply out =======================") + } + + fmt.Println("================ StaffCollectionDetail QueryOaApplyMonth out =======================") + return oaApplyRes.Data, nil +} + +// QueryOaApplyDates 按日期获取oa审批记录 +func QueryOaApplyDates(staffUID uint64, dates []string, applyStatus []int32, applyType []string) (oaApplys []*oa.OAApply, err error) { + + fmt.Println("================ StaffCollectionDetail QueryOaApplyDates WorkDayMonth enter =======================") + fmt.Printf("staffUID %v dates %v applyStatus %v applyType %v\n", staffUID, dates, applyStatus, applyType) + + oaApplyReq := new(oa.ApplyRecordReq) + + // 查询 全部审批类型 + oaApplyReq.StaffUID = staffUID + oaApplyReq.BeginTime = dates[0] + oaApplyReq.EndTime = dates[len(dates)-1] + oaApplyReq.Page = 1 + oaApplyReq.PageSize = 999999 + oaApplyReq.ApplyStatus = applyStatus + if applyType != nil { + oaApplyReq.ApplyType = applyType + } + fmt.Printf("================ enter 1 %+v======================= \n", applyType) + + // 获取申请记录 + oaApplyRes, oaApplyErr := service.GrpcOAImpl.QueryOaApply(context.Background(), oaApplyReq) + + fmt.Printf("================ enter 2 %+v======================= \n", applyType) + + //fmt.Println("================ StaffCollectionDetail QueryOaApplyDates WorkDayMonth out =======================") + //fmt.Printf("oaApplyRes.Data: %v\n", oaApplyRes.Data) + //fmt.Printf("oaApplyErr: %v\n", oaApplyErr.Error()) + + if oaApplyErr != nil { + logger.Errorf("查询申请记录失败:%s", oaApplyErr.Error()) + return nil, errors.New(e.ErrQueryOaApply) + } + + if oaApplyRes.Data == nil || len(oaApplyRes.Data) == 0 { + logger.Errorf("未查询申请记录:%s", "oaApplyRes.Data is nil") + fmt.Printf("未查询申请记录:%s\n", "oaApplyRes.Data is nil") + return nil, nil + } + + fmt.Printf("================ enter 3 %+v======================= \n", applyType) + + //fmt.Println("================ StaffCollectionDetail QueryOaApplyDates WorkDayMonth out =======================") + //fmt.Printf("oaApplyRes.Data: %v\n", oaApplyRes.Data) + + return oaApplyRes.Data, nil +} + +// QueryOaApplyDatesSpecial 按日期获取oa审批记录 注 外勤申请 查询的 条件为 审批提交即可查询 +func QueryOaApplyDatesSpecial(staffUID uint64, dates []string, applyStatus []int32, applyType []string) (oaApplys []*oa.OAApply, err error) { + oaApplys = make([]*oa.OAApply, 0) + fmt.Println("================ StaffCollectionDetail QueryOaApplyDates WorkDayMonth enter =======================") + fmt.Printf("staffUID %v dates %v applyStatus %v applyType %v\n", staffUID, dates, applyStatus, applyType) + + oaApplyReq := new(oa.ApplyRecordReq) + + // 查询 全部审批类型 + oaApplyReq.StaffUID = staffUID + oaApplyReq.BeginTime = dates[0] + oaApplyReq.EndTime = dates[len(dates)-1] + oaApplyReq.Page = 1 + oaApplyReq.PageSize = 999999 + oaApplyReq.ApplyStatus = applyStatus + if applyType != nil { + oaApplyReq.ApplyType = applyType + } else { + oaApplyReq.ApplyType = append(oaApplyReq.ApplyType, []string{ + oa_model.TypeLeave, + oa_model.TypeSick, + oa_model.TypeDayOff, + oa_model.TypeAnnualLeave, + oa_model.TypeMaritalLeave, + oa_model.TypeMatingCheckLeave, + oa_model.TypeMaternityLeave, + oa_model.TypePaternityLeave, + oa_model.TypeParentalLeave, + oa_model.TypeNursingLeave, + oa_model.TypeFuneralLeave, + oa_model.TypeAbortLeave, + oa_model.TypeMakeUp, + oa_model.TypeOverTime, + oa_model.TypeOutWork, + oa_model.TypeGoOut, + oa_model.TypeBusinessTrip, + oa_model.TypeBreastFeedingLeave, + }...) + } + fmt.Printf("================ enter 1 %+v======================= \n", oaApplyReq) + + // 获取申请记录 + oaApplyRes, oaApplyErr := service.GrpcOAImpl.QueryOaApply(context.Background(), oaApplyReq) + + fmt.Printf("================ enter 2 %+v======================= \n", oaApplyReq) + + fmt.Println("================ StaffCollectionDetail QueryOaApplyDates WorkDayMonth out =======================") + //fmt.Printf("oaApplyRes.Data: %v\n", oaApplyRes.Data) + //fmt.Printf("oaApplyErr: %v\n", oaApplyErr.Error()) + + if oaApplyErr != nil { + logger.Errorf("查询申请记录失败:%s", oaApplyErr.Error()) + return nil, errors.New(e.ErrQueryOaApply) + } + + if oaApplyRes.Data != nil { + oaApplys = append(oaApplys, oaApplyRes.Data...) + + fmt.Printf("================ enter 3 %+v======================= \n", oaApplyReq) + + fmt.Println("================ StaffCollectionDetail QueryOaApplyDates WorkDayMonth out =======================") + //fmt.Printf("oaApplyRes.Data: %v\n", oaApplyRes.Data) + + } + + // 查询 外勤审批 状态为 审批中的 + + oaApplyReq.ApplyStatus = append(oaApplyReq.ApplyStatus, e.ApprovalWorkStatusDoing) + + oaApplyReq.ApplyType = []string{oa_model.TypeOutWork} + + // 获取 外勤 申请记录 状态为 审批中的 + outWorkApplyRes, outWorkApplyErr := service.GrpcOAImpl.QueryOaApply(context.Background(), oaApplyReq) + + if outWorkApplyErr != nil { + logger.Errorf("查询申请记录失败:%s", outWorkApplyErr.Error()) + return nil, errors.New(e.ErrQueryOaApply) + } + + if outWorkApplyRes.Data != nil { + oaApplys = append(oaApplys, outWorkApplyRes.Data...) + + fmt.Printf("================ enter 4 %+v======================= \n", oaApplyReq) + + fmt.Println("================ StaffCollectionDetail QueryOaApplyDates WorkDayMonth out =======================") + //fmt.Printf("oaApplyRes.Data: %v\n", outWorkApplyRes.Data) + } + + return oaApplys, nil +} diff --git a/pkg/service/oa_new/oa_logic/oaProfileLogic.go b/pkg/service/oa_new/oa_logic/oaProfileLogic.go new file mode 100644 index 0000000..f58bfb9 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/oaProfileLogic.go @@ -0,0 +1,3903 @@ +package oa_logic + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/shopspring/decimal" + "github.com/xuri/excelize/v2" + "sort" + "strings" + "time" +) + +func QueryOaRecordMonth(staffUID uint64, month string, workingTime *oa.WorkingTime) (status bool, allDayLeave []*model.WorkDayDetail, allDayLeaveNum, needAttendanceDayNum, attendanceDayNum, attendanceRestDayNum, attendanceHolidayNum, attendanceWorkDayNum int, workDays []*model.WorkDayDetail, err error) { + fmt.Println("================ QueryOaRecordMonth WorkDayMonth enter =======================") + oaRecordReq := new(oa.OARecordReq) + if month == "" { + month = holiday.CurrentMonth() + } + + month = common.Add25ForMonth(month) + + dates := holiday.SplitMonthV1(month, common.YYMMDD) + + oaRecordReq.StaffUID = staffUID + oaRecordReq.Dates = dates + status = true + + fmt.Printf("oaRecordReq: %v\n", oaRecordReq) + + if common.IsAfterMonth(dates[len(dates)-1]) { + return + } + + holidaysMap, holidaysMapErr := HolidayList(dates) + if holidaysMapErr != nil { + return false, nil, 0, 0, 0, 0, 0, 0, nil, holidaysMapErr + } + + for _, date := range holidaysMap { + if date.Type == 0 { + needAttendanceDayNum++ + } + } + + fmt.Printf("HolidayList: %v\n", holidaysMap) + + // 获取考勤记录 + oaRecordRes, oaRecordErr := service.GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if oaRecordErr != nil { + logger.Errorf("查询考勤记录失败:%s", oaRecordErr.Error()) + return false, nil, 0, 0, 0, 0, 0, 0, nil, errors.New(e.ErrorQueryOaProfile) + } + + fmt.Printf("oaRecordRes: %v\n", oaRecordRes) + + allDayLeave = make([]*model.WorkDayDetail, 0) + workDays = make([]*model.WorkDayDetail, 0) + for i := 0; i < len(oaRecordRes.Data); i++ { + record := oaRecordRes.Data[i] + + // 当前时间 在 工作时间之前 + if common.ConvertWorkDateAndWorkTime(record.WorkDate, "00:00").After(common.CurrentDateTime()) { + return + } + + workDay := new(model.WorkDayDetail) + workDay.WorkDate = record.WorkDate + if record.Week != 0 { + workDay.Week = record.Week + } else { + workDay.Week = int32(holidaysMap[record.WorkDate].WeekDay) + } + + workDay.Weekly = oa_model.WeekZhCN[int8(workDay.Week)] + + isWork, isWorkDayErr := IsWorkDay(record.WorkDate, workingTime.Week, workingTime.IsWorkDay) + if isWorkDayErr != nil { + return false, nil, 0, 0, 0, 0, 0, 0, nil, isWorkDayErr + } + + if isWork { + workDay.DateType = model.WorkDayType + } else { + if holidaysMap[record.WorkDate].Type == 2 { + workDay.DateType = model.HolidayDayType + } else { + workDay.DateType = model.WeekendDayType + } + } + + if len(record.Records) > 0 { + workDay.IsWork = int8(record.IsWork) + workDay.WorkTimes = make([]*model.TimeOption, 0) + for k := 0; k < len(record.TimeOptions); k++ { + workDay.WorkTimes = append(workDay.WorkTimes, &model.TimeOption{ + OnWorkTime: record.TimeOptions[k].OnWorkTime, + OffWorkTime: record.TimeOptions[k].OffWorkTime, + }) + } + } else { + if isWork { + for k := 0; k < len(workingTime.Time); k++ { + workDay.WorkTimes = append(workDay.WorkTimes, &model.TimeOption{ + OnWorkTime: workingTime.Time[k].OnWorkTime, + OffWorkTime: workingTime.Time[k].OffWorkTime, + }) + } + workDay.IsWork = model.IsWork + workDay.Abnormal = true // 没有打卡记录 则 表示 异常 + } else { + workDay.IsWork = model.IsFree + } + } + + fmt.Println("============================================= makeWorkDayDetail =============================================") + fmt.Printf("workDay: %+v\n", workDay) + fmt.Printf("record: %+v\n", record) + fmt.Println("============================================= makeWorkDayDetail =============================================") + + if workDay.IsWork == model.IsFree && len(record.Records) == 0 { + continue + } + + makeWorkDayDetailErr := makeWorkDayDetailForMonth(staffUID, record, workDay) + if makeWorkDayDetailErr != nil { + return false, nil, 0, 0, 0, 0, 0, 0, nil, makeWorkDayDetailErr + } + + // 如果 是工作日 且 没有打卡记录 则 表示 异常 + if workDay.IsWork == model.IsWork && len(record.Records) == 0 { + workDay.Abnormal = true + } + + if workDay.Abnormal == true { + status = false + } + + if len(workDay.Records) > 0 { + // 如果 全是缺卡 则 不显示 + missNum := 0 + for j := 0; j < len(workDay.Records); j++ { + + //if workDay.Records[j].ActionType == oa_model.TypeBefore || workDay.Records[j].ActionType == oa_model.TypeMiss || workDay.Records[j].ActionType == oa_model.TypeLate { + // status = false + //} + + if workDay.Records[j].ActionType == oa_model.TypeCommon || + workDay.Records[j].ActionType == oa_model.TypeLate || + workDay.Records[j].ActionType == oa_model.TypeBefore || + workDay.Records[j].ActionType == oa_model.TypeMakeUpSys || + workDay.Records[j].ActionType == oa_model.TypeOutWork || + workDay.Records[j].ActionType == oa_model.TypeMakeUp || + workDay.Records[j].ActionType == oa_model.TypeOverTime || + workDay.Records[j].ActionType == oa_model.TypeOutWorkLate || + workDay.Records[j].ActionType == oa_model.TypeOutWorkBefore || + workDay.Records[j].ActionType == oa_model.TypeGoOut || + workDay.Records[j].ActionType == oa_model.TypeBusinessTrip { + break + } else { + missNum++ + } + } + + // 缺卡次数 和 打卡次数相等 不 统计 出勤 + if missNum == len(workDay.Records) { + allDayLeaveNum++ + allDayLeave = append(allDayLeave, workDay) + } + + // 出勤天数 + if missNum != len(workDay.Records) { + attendanceDayNum++ + } + + // 工作日出勤天数 + if workDay.DateType == model.WorkDayType && missNum != len(workDay.Records) { + attendanceWorkDayNum++ + } + + // 休息日出勤天数 + if workDay.DateType == model.WeekendDayType && workDay.IsWork == model.IsFree { + attendanceRestDayNum++ + } + + // 节假日出勤天数 + if workDay.DateType == model.HolidayDayType && workDay.IsWork == model.IsFree { + attendanceHolidayNum++ + } + + workDays = append(workDays, workDay) + } + + } + + fmt.Println("================ QueryOaRecordMonth WorkDayMonth out =======================") + + return status, allDayLeave, allDayLeaveNum, needAttendanceDayNum, attendanceDayNum, attendanceRestDayNum, attendanceHolidayNum, attendanceWorkDayNum, workDays, nil +} + +func QueryOaRecordDates(staffUID uint64, dates []string, workingTime *oa.WorkingTime) (status bool, allDayLeave []*model.WorkDayDetail, allDayLeaveNum, needAttendanceDayNum, attendanceDayNum, attendanceRestDayNum, attendanceHolidayNum, attendanceWorkDayNum int, workDays []*model.WorkDayDetail, err error) { + fmt.Println("================ QueryOaRecordDates WorkDayDates enter =======================") + oaRecordReq := new(oa.OARecordReq) + + oaRecordReq.StaffUID = staffUID + oaRecordReq.Dates = dates + status = true + + //fmt.Printf("oaRecordReq: %v\n", oaRecordReq) + + holidaysMap, holidaysMapErr := HolidayList(dates) + if holidaysMapErr != nil { + return false, nil, 0, 0, 0, 0, 0, 0, nil, holidaysMapErr + } + + for _, date := range holidaysMap { + if date.Type == 0 { + needAttendanceDayNum++ + } + } + + //fmt.Printf("HolidayList: %v\n", holidaysMap) + + // 获取考勤记录 + oaRecordRes, oaRecordErr := service.GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if oaRecordErr != nil { + logger.Errorf("查询考勤记录失败:%s", oaRecordErr.Error()) + return false, nil, 0, 0, 0, 0, 0, 0, nil, errors.New(e.ErrorQueryOaProfile) + } + + //fmt.Printf("oaRecordRes: %v\n", oaRecordRes) + + allDayLeave = make([]*model.WorkDayDetail, 0) + workDays = make([]*model.WorkDayDetail, 0) + for i := 0; i < len(oaRecordRes.Data); i++ { + record := oaRecordRes.Data[i] + + // 当前时间 在 工作时间之前 + //if common.ConvertWorkDateAndWorkTime(record.WorkDate, "00:00").After(common.CurrentDateTime()) { + // return + //} + + workDay := new(model.WorkDayDetail) + workDay.WorkDate = record.WorkDate + if record.Week != 0 { + workDay.Week = record.Week + } else { + workDay.Week = int32(holidaysMap[record.WorkDate].WeekDay) + } + + workDay.Weekly = oa_model.WeekZhCN[int8(workDay.Week)] + + isWork, isWorkDayErr := IsWorkDay(record.WorkDate, workingTime.Week, workingTime.IsWorkDay) + if isWorkDayErr != nil { + return false, nil, 0, 0, 0, 0, 0, 0, nil, isWorkDayErr + } + + if isWork { + workDay.DateType = model.WorkDayType + } else { + if holidaysMap[record.WorkDate].Type == 2 { + workDay.DateType = model.HolidayDayType + } else { + workDay.DateType = model.WeekendDayType + } + } + + if len(record.Records) > 0 { + workDay.IsWork = int8(record.IsWork) + workDay.WorkTimes = make([]*model.TimeOption, 0) + for k := 0; k < len(record.TimeOptions); k++ { + workDay.WorkTimes = append(workDay.WorkTimes, &model.TimeOption{ + OnWorkTime: record.TimeOptions[k].OnWorkTime, + OffWorkTime: record.TimeOptions[k].OffWorkTime, + }) + } + } else { + if isWork { + for k := 0; k < len(workingTime.Time); k++ { + workDay.WorkTimes = append(workDay.WorkTimes, &model.TimeOption{ + OnWorkTime: workingTime.Time[k].OnWorkTime, + OffWorkTime: workingTime.Time[k].OffWorkTime, + }) + } + workDay.IsWork = model.IsWork + workDay.Abnormal = true // 没有打卡记录 则 表示 异常 + } else { + workDay.IsWork = model.IsFree + } + } + + makeWorkDayDetailErr := makeWorkDayDetailForDates(staffUID, record, workDay) + if makeWorkDayDetailErr != nil { + return false, nil, 0, 0, 0, 0, 0, 0, nil, makeWorkDayDetailErr + } + + fmt.Println("============================================= makeWorkDayDetail before =============================================") + fmt.Printf("workDay: %+v\n", workDay) + fmt.Println("============================================= makeWorkDayDetail before =============================================") + + if workDay.Abnormal == true { + status = false + } + + fmt.Println("============================================= makeWorkDayDetail after =============================================") + fmt.Printf("workDay: %+v\n", workDay) + fmt.Printf("status: %+v\n", status) + fmt.Println("============================================= makeWorkDayDetail after =============================================") + + if len(workDay.Records) > 0 { + // 如果 全是缺卡 则 不显示 + missNum := 0 + + for j := 0; j < len(workDay.Records); j++ { + + //if workDay.Records[j].ActionType == oa_model.TypeBefore || workDay.Records[j].ActionType == oa_model.TypeMiss || workDay.Records[j].ActionType == oa_model.TypeLate { + // status = false + //} + + if workDay.Records[j].ActionType == oa_model.TypeCommon || + workDay.Records[j].ActionType == oa_model.TypeLate || + workDay.Records[j].ActionType == oa_model.TypeBefore || + workDay.Records[j].ActionType == oa_model.TypeMakeUpSys || + workDay.Records[j].ActionType == oa_model.TypeOutWork || + workDay.Records[j].ActionType == oa_model.TypeMakeUp || + workDay.Records[j].ActionType == oa_model.TypeOverTime || + workDay.Records[j].ActionType == oa_model.TypeOutWorkLate || + workDay.Records[j].ActionType == oa_model.TypeOutWorkBefore || + workDay.Records[j].ActionType == oa_model.TypeGoOut || + workDay.Records[j].ActionType == oa_model.TypeBusinessTrip { + break + } else { + missNum++ + } + } + + // 缺卡次数 和 打卡次数相等 不 统计 出勤 + if missNum == len(workDay.Records) { + allDayLeaveNum++ + allDayLeave = append(allDayLeave, workDay) + } + + // 出勤天数 + if missNum != len(workDay.Records) { + attendanceDayNum++ + } + + // 工作日出勤天数 + if workDay.DateType == model.WorkDayType && missNum != len(workDay.Records) { + attendanceWorkDayNum++ + } + + // 休息日出勤天数 + if workDay.DateType == model.WeekendDayType && workDay.IsWork == model.IsFree { + attendanceRestDayNum++ + } + + // 节假日出勤天数 + if workDay.DateType == model.HolidayDayType && workDay.IsWork == model.IsFree { + attendanceHolidayNum++ + } + } + + if workDay.IsWork == model.IsFree && len(record.Records) == 0 && len(workDay.ApplyTypes) == 0 { + continue + } + + if workDay.Records == nil { + continue + } + + workDays = append(workDays, workDay) + } + + fmt.Println("================ QueryOaRecordDates WorkDayDates out =======================") + + return status, allDayLeave, allDayLeaveNum, needAttendanceDayNum, attendanceDayNum, attendanceRestDayNum, attendanceHolidayNum, attendanceWorkDayNum, workDays, nil +} + +func QueryOaRecordDate(staffUID uint64, date string, workingTime *oa.WorkingTime) (workDay *model.WorkDayDetail, err error) { + fmt.Println("================ QueryOaRecordDates WorkDayDate enter =======================") + oaRecordReq := new(oa.OARecordReq) + + oaRecordReq.StaffUID = staffUID + oaRecordReq.Dates = []string{date} + + //fmt.Printf("oaRecordReq: %v\n", oaRecordReq) + + holidaysMap, holidaysMapErr := HolidayList([]string{date}) + if holidaysMapErr != nil { + return nil, holidaysMapErr + } + + //fmt.Printf("HolidayList: %v\n", holidaysMap) + + // 获取考勤记录 + oaRecordRes, oaRecordErr := service.GrpcOAImpl.OARecord(context.Background(), oaRecordReq) + if oaRecordErr != nil { + logger.Errorf("查询考勤记录失败:%s", oaRecordErr.Error()) + return nil, errors.New(e.ErrorQueryOaProfile) + } + + //fmt.Printf("oaRecordRes: %v\n", oaRecordRes) + + workDay = new(model.WorkDayDetail) + + for i := 0; i < len(oaRecordRes.Data); i++ { + record := oaRecordRes.Data[i] + + // 当前时间 在 工作时间之前 + //if common.ConvertWorkDateAndWorkTime(record.WorkDate, "00:00").After(common.CurrentDateTime()) { + // return + //} + + workDay.WorkDate = record.WorkDate + if record.Week != 0 { + workDay.Week = record.Week + } else { + workDay.Week = int32(holidaysMap[record.WorkDate].WeekDay) + } + + workDay.Weekly = oa_model.WeekZhCN[int8(workDay.Week)] + + isWork, isWorkDayErr := IsWorkDay(record.WorkDate, workingTime.Week, workingTime.IsWorkDay) + if isWorkDayErr != nil { + return nil, isWorkDayErr + } + + if isWork { + workDay.DateType = model.WorkDayType + } else { + if holidaysMap[record.WorkDate].Type == 2 { + workDay.DateType = model.HolidayDayType + } else { + workDay.DateType = model.WeekendDayType + } + } + + if len(record.Records) > 0 { + workDay.IsWork = int8(record.IsWork) + workDay.WorkTimes = make([]*model.TimeOption, 0) + for k := 0; k < len(record.TimeOptions); k++ { + workDay.WorkTimes = append(workDay.WorkTimes, &model.TimeOption{ + OnWorkTime: record.TimeOptions[k].OnWorkTime, + OffWorkTime: record.TimeOptions[k].OffWorkTime, + }) + } + } else { + if isWork { + for k := 0; k < len(workingTime.Time); k++ { + workDay.WorkTimes = append(workDay.WorkTimes, &model.TimeOption{ + OnWorkTime: workingTime.Time[k].OnWorkTime, + OffWorkTime: workingTime.Time[k].OffWorkTime, + }) + } + workDay.IsWork = model.IsWork + workDay.Abnormal = true // 没有打卡记录 则 表示 异常 + } else { + workDay.IsWork = model.IsFree + } + } + + makeWorkDayDetailErr := makeWorkDayDetailForDates(staffUID, record, workDay) + if makeWorkDayDetailErr != nil { + return workDay, makeWorkDayDetailErr + } + + //workDay.Records = OrderByRecord(workDay.Records) + } + + fmt.Println("================ QueryOaRecordDate WorkDayDate out =======================") + + return workDay, nil + +} + +// 每天的考勤 以及 审批 +func makeWorkDayDetailForMonth(staffUID uint64, record *oa.OARecord, workDay *model.WorkDayDetail) error { + // 查询 oa审批 + oaApplys, oaApplyErr := QueryOaApplyDatesSpecial(staffUID, []string{record.WorkDate}, []int32{e.ApprovalWorkStatusOk}, nil) + if oaApplyErr != nil { + return oaApplyErr + } + + workDay.Records = make([]*model.DayRecord, 0) + workDay.ApplyTypes = make([]string, 0) + applyTypesMap := make(map[string]string) + workDay.ActionTypes = make([]string, 0) + actionTypesMap := make(map[string]string) + workDay.Abnormal = false // 表示 正常 + + // 是否 有外勤确认记录 + //hasOutWorkCheck := false + + for j := 0; j < len(record.Records); j++ { + + dayRecord := &model.DayRecord{ + ActionType: record.Records[j].ActionType, + ActionTime: record.Records[j].ActionTime, + WorkTime: record.Records[j].WorkTime, + OnOff: record.Records[j].OnOff, + CheckAddress: record.Records[j].CheckAddress, + CheckMethod: record.Records[j].CheckMethod, + ClientID: record.Records[j].ClientID, + FacePhoto: record.Records[j].FacePhoto, + OutWorkPhoto: record.Records[j].OutworkPic, + IsWork: workDay.IsWork, + } + + // 判断 是否严重迟到 + if dayRecord.ActionType == oa_model.TypeLate { + duration := common.CalcDuration(common.ConvertWorkDateAndWorkTime(record.WorkDate, dayRecord.WorkTime), common.ConvertActionTime(dayRecord.ActionTime)) + if duration > 0 { + if duration-common.ExtremeLatenessDuration > 0 { + dayRecord.IsExtremeLateness = true + } else { + dayRecord.IsExtremeLateness = false + } + } + } + + /* if workDay.Abnormal == false && // 如果是正常的话 需要判断是否有异常 + (record.Records[j].ActionType == oa_model.TypeMiss || // 缺卡 + record.Records[j].ActionType == oa_model.TypeLate || // 迟到 + record.Records[j].ActionType == oa_model.TypeBefore) { // 早退 + workDay.Abnormal = true // 表示 异常 + }*/ + + workDay.Records = append(workDay.Records, dayRecord) + + } + + for i := 0; i < len(workDay.Records); i++ { + + var actionType string + + dayRecord := workDay.Records[i] + + actionType = dayRecord.ActionType + + // 组装 oa审批 + dayRecord.ApplyInfo = make([]*model.ApplyDetail, 0) + + for k := 0; k < len(oaApplys); k++ { + oaApply := oaApplys[k] + + hasApply := false + + if oaApply.ApplyType == oa_model.TypeMakeUp { // 补卡 申请 + if dayRecord.WorkTime == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Hour && record.WorkDate == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { + applyTypesMap[oa_model.TypeMakeUp] = oa_model.TypeMakeUp + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + } + } else if oaApply.ApplyType == oa_model.TypeBusinessTrip { // 出差 申请 + + // 1、 申请的开始时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + // 2、 申请的结束时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + + for l := 0; l < len(oaApply.ItineraryList); l++ { + applyTime := oaApply.ItineraryList[l].ApplyTimes + applyStartDate := common.ConvertApplyStartDateToTimeFour(applyTime[0].Date) + applyEndDate := common.ConvertApplyEndDateToTimeEarlyMorningZero(applyTime[len(applyTime)-1].Date) + workDate := common.ConvertWorkDateToTimeFour(workDay.WorkDate) + // 工作日 在 申请的开始日期 和 申请的结束日期之间 + if !workDate.Before(applyStartDate) && !workDate.After(applyEndDate) { + // 申请的 开始 日期和结束日期 是同一天 + if applyTime[0].Date == applyTime[len(applyTime)-1].Date { + if applyTime[0].M == applyTime[len(applyTime)-1].M { + if applyTime[0].M == "上午" { + // 考勤 打卡时间 为 一班次 + // 一定包含了上午的考勤点 + if len(workDay.WorkTimes) == 1 { + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了上午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if applyTime[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if applyTime[0].M != applyTime[len(applyTime)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if applyTime[0].Date != applyTime[len(applyTime)-1].Date { // 申请的 开始 日期和结束日期 不是同一天 + if applyTime[0].M == applyTime[len(applyTime)-1].M { + if applyTime[0].M == "上午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime && applyTime[len(applyTime)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime) && applyTime[len(applyTime)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if applyTime[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime && applyTime[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime) && applyTime[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if applyTime[0].M != applyTime[len(applyTime)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } + + } else { // 其他申请 + // 判断 申请的时间 是 上午 或者 下午 + //fmt.Println("============================================= make apply =============================================") + //fmt.Printf("oaApply: %v\n", oaApply) + //fmt.Println("============================================= make apply =============================================") + + if oaApply.ApplyTimes[0].M != "" { + // 1、 申请的开始时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + // 2、 申请的结束时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + applyStartDate := common.ConvertApplyStartDateToTimeFour(oaApply.ApplyTimes[0].Date) + applyEndDate := common.ConvertApplyEndDateToTimeEarlyMorningZero(oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date) + workDate := common.ConvertWorkDateToTimeFour(workDay.WorkDate) + // 工作日 在 申请的开始日期 和 申请的结束日期之间 + if !applyStartDate.After(workDate) && !applyEndDate.Before(workDate) { + // 申请的 开始 日期和结束日期 是同一天 + if oaApply.ApplyTimes[0].Date == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { + if oaApply.ApplyTimes[0].M == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + if oaApply.ApplyTimes[0].M == "上午" { + // 考勤 打卡时间 为 一班次 + // 一定包含了上午的考勤点 + if len(workDay.WorkTimes) == 1 { + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了上午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if oaApply.ApplyTimes[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(record.TimeOptions) == 1 { + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if oaApply.ApplyTimes[0].M != oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if oaApply.ApplyTimes[0].Date != oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { // 申请的 开始 日期和结束日期 不是同一天 + if oaApply.ApplyTimes[0].M == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + if oaApply.ApplyTimes[0].M == "上午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime && oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(record.TimeOptions) == 2 { // 考勤 打卡时间 为 二班次 + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime) && oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if oaApply.ApplyTimes[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime && oaApply.ApplyTimes[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime) && oaApply.ApplyTimes[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if oaApply.ApplyTimes[0].M != oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if oaApply.ApplyTimes[0].Hour != "" { + // 直接使用 hour 字段的 值 作为 判断 + applyStartTime := common.ConvertApplyTimeToTime(oaApply.ApplyTimes[0].Date, oaApply.ApplyTimes[0].Hour) + applyEndTime := common.ConvertApplyTimeToTime(oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date, oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Hour) + + workTime := common.ConvertWorkDateAndWorkTime(workDay.WorkDate, dayRecord.WorkTime) + + //fmt.Println("============================================= make dayRecord.ApplyInfo =============================================") + //fmt.Println("applyStartTime: ", applyStartTime) + //fmt.Println("applyEndTime: ", applyEndTime) + //fmt.Println("workTime: ", workTime) + //fmt.Println("============================================= make dayRecord.ApplyInfo =============================================") + if !applyStartTime.After(workTime) && !applyEndTime.Before(workTime) { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + + if oaApply.ApplyType == oa_model.TypeOverTime && workDay.IsWork == model.IsFree && workDay.WorkDate == oaApply.ApplyTimes[0].Date && workDay.WorkDate == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + dayRecord.ActionType = oa_model.TypeOverTime + hasApply = true + actionType = oa_model.TypeOverTime + } + + if oaApply.ApplyType == oa_model.TypeOutWork { + applyStartDate := common.ConvertApplyStartDateToTimeFour(oaApply.ApplyTimes[0].Date) + applyEndDate := common.ConvertApplyEndDateToTimeEarlyMorningZero(oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date) + workDate := common.ConvertWorkDateToTimeFour(workDay.WorkDate) + if !workDate.Before(applyStartDate) && !workDate.After(applyEndDate) { + outWorkCheckReq := new(oa.OutWorkCheckReq) + outWorkCheckReq.StaffUID = oaApply.StaffUID + outWorkCheckReq.ApplyUUID = oaApply.ApprovalID + outWorkCheckRes, outWorkCheckErr := service.GrpcOAImpl.QueryCheckRecord(context.Background(), outWorkCheckReq) + if outWorkCheckErr != nil { + logger.Errorf("查询外勤记录失败:%s", outWorkCheckErr.Error()) + return errors.New(e.ErrorQueryOutWorkCheck) + } + if outWorkCheckRes.Data != nil { + for l := 0; l < len(outWorkCheckRes.Data); l++ { + //hasOutWorkCheck = true + workDay.Records = append(workDay.Records, &model.DayRecord{ + OnOff: outWorkCheckRes.Data[l].ActionType, + ActionTime: outWorkCheckRes.Data[l].ActionTime, + }) + } + } + hasApply = true + } + } + } + + } + + if hasApply { + if oaApply.ApplyType == oa_model.TypeOverTime { + applyTypesMap[oa_model.TypeOverTime] = oa_model.TypeOverTime + } else if common.LeaveApplyMap[oaApply.ApplyType] != "" { + applyTypesMap[oa_model.TypeLeave] = oa_model.TypeLeave + } else if oaApply.ApplyType == oa_model.TypeOutWork { + applyTypesMap[oa_model.TypeOutWork] = oa_model.TypeOutWork + } else if oaApply.ApplyType == oa_model.TypeMakeUp { + applyTypesMap[oa_model.TypeMakeUp] = oa_model.TypeMakeUp + } else if oaApply.ApplyType == oa_model.TypeDayOff { + applyTypesMap[oa_model.TypeDayOff] = oa_model.TypeDayOff + } else if oaApply.ApplyType == oa_model.TypeGoOut { + applyTypesMap[oa_model.TypeGoOut] = oa_model.TypeGoOut + } else if oaApply.ApplyType == oa_model.TypeBusinessTrip { + applyTypesMap[oa_model.TypeBusinessTrip] = oa_model.TypeBusinessTrip + } + } + } + + for j := 0; j < len(dayRecord.ApplyInfo); j++ { + if dayRecord.ActionType == oa_model.TypeMiss { + if dayRecord.ApplyInfo[j].ApplyType == oa_model.TypeMakeUp || dayRecord.ApplyInfo[j].ApplyType == oa_model.TypeGoOut || dayRecord.ApplyInfo[j].ApplyType == oa_model.TypeBusinessTrip { + dayRecord.ActionType = dayRecord.ApplyInfo[len(dayRecord.ApplyInfo)-len(dayRecord.ApplyInfo)].ApplyType + dayRecord.ActionTime = workDay.WorkDate + " " + dayRecord.WorkTime + actionType = "" + break + } + } + + if dayRecord.ActionType == oa_model.TypeMiss || dayRecord.ActionType == oa_model.TypeLate || dayRecord.ActionType == oa_model.TypeBefore { + if common.LeaveApplyMap[dayRecord.ApplyInfo[j].ApplyType] != "" { + dayRecord.ActionType = dayRecord.ApplyInfo[len(dayRecord.ApplyInfo)-len(dayRecord.ApplyInfo)].ApplyType + actionType = "" + break + } + } + + if dayRecord.ActionType == oa_model.TypeOutWorkBefore || dayRecord.ActionType == oa_model.TypeOutWorkLate { + if len(applyTypesMap) == 0 { + applyTypesMap[oa_model.TypeOutWork] = oa_model.TypeOutWork + break + } + if dayRecord.ApplyInfo[j].ApplyType != oa_model.TypeOutWork { + dayRecord.ActionType = dayRecord.ApplyInfo[len(dayRecord.ApplyInfo)-len(dayRecord.ApplyInfo)].ApplyType + actionType = "" + break + } + } + } + + if actionType != "" { + if actionType == oa_model.TypeOutWorkBefore || actionType == oa_model.TypeOutWorkLate { + actionTypesMap[oa_model.TypeOutWork] = oa_model.TypeOutWork + } + actionTypesMap[actionType] = actionType + // 不是 正常的话 异常 + //if actionType != oa_model.TypeCommon && actionType != oa_model.TypeMakeUpSys && actionType != oa_model.TypeOutWork { + // workDay.Abnormal = true + //} + // 如果是 缺卡 迟到 早退 旷工 则表示 异常 + // 2024-10-28 + if actionType == oa_model.TypeMiss || actionType == oa_model.TypeBefore || actionType == oa_model.TypeLate || actionType == oa_model.TypeOutWorkBefore || actionType == oa_model.TypeOutWorkLate { + workDay.Abnormal = true + } + } + + } + + // 申请类型 + // 如果 申请类型存在 + for _, v := range applyTypesMap { + workDay.ApplyTypes = append(workDay.ApplyTypes, v) + } + + // 打卡类型 + for _, v := range actionTypesMap { + workDay.ActionTypes = append(workDay.ActionTypes, v) + } + + //if hasOutWorkCheck { + workDay.Records = OrderByRecord(workDay.Records) + //} + + return nil +} + +// 每天的考勤 以及 审批 +func makeWorkDayDetailForDates(staffUID uint64, record *oa.OARecord, workDay *model.WorkDayDetail) error { + // 查询 oa审批 + oaApplys, oaApplyErr := QueryOaApplyDatesSpecial(staffUID, []string{record.WorkDate}, []int32{e.ApprovalWorkStatusOk}, nil) + if oaApplyErr != nil { + return oaApplyErr + } + + workDay.Records = make([]*model.DayRecord, 0) + workDay.ApplyTypes = make([]string, 0) + applyTypesMap := make(map[string]string) + workDay.ActionTypes = make([]string, 0) + actionTypesMap := make(map[string]string) + workDay.Abnormal = false // 表示 正常 + + // 是否 有外勤确认记录 + //hasOutWorkCheck := false + + for j := 0; j < len(record.Records); j++ { + + dayRecord := &model.DayRecord{ + ActionType: record.Records[j].ActionType, + ActionTime: record.Records[j].ActionTime, + WorkTime: record.Records[j].WorkTime, + OnOff: record.Records[j].OnOff, + CheckAddress: record.Records[j].CheckAddress, + CheckMethod: record.Records[j].CheckMethod, + ClientID: record.Records[j].ClientID, + FacePhoto: record.Records[j].FacePhoto, + OutWorkPhoto: record.Records[j].OutworkPic, + IsWork: workDay.IsWork, + } + + // 判断 是否严重迟到 + if dayRecord.ActionType == oa_model.TypeLate { + duration := common.CalcDuration(common.ConvertWorkDateAndWorkTime(record.WorkDate, dayRecord.WorkTime), common.ConvertActionTime(dayRecord.ActionTime)) + if duration > 0 { + if duration-common.ExtremeLatenessDuration > 0 { + dayRecord.IsExtremeLateness = true + } else { + dayRecord.IsExtremeLateness = false + } + } + } + + /* if workDay.Abnormal == false && // 如果是正常的话 需要判断是否有异常 + (record.Records[j].ActionType == oa_model.TypeMiss || // 缺卡 + record.Records[j].ActionType == oa_model.TypeLate || // 迟到 + record.Records[j].ActionType == oa_model.TypeBefore) { // 早退 + workDay.Abnormal = true // 表示 异常 + }*/ + + workDay.Records = append(workDay.Records, dayRecord) + + } + + // 组装空的 记录 + if len(record.Records) == 0 { + workDay.Records = MakeDefaultRecord(workDay.WorkTimes) + if workDay.IsWork == model.IsFree { + workDay.Abnormal = false + } else { + workDay.Abnormal = true + } + } + + for i := 0; i < len(workDay.Records); i++ { + + var actionType string + + dayRecord := workDay.Records[i] + + actionType = dayRecord.ActionType + + // 组装 oa审批 + dayRecord.ApplyInfo = make([]*model.ApplyDetail, 0) + + for k := 0; k < len(oaApplys); k++ { + oaApply := oaApplys[k] + + hasApply := false + + if oaApply.ApplyType == oa_model.TypeMakeUp { // 补卡 申请 + if dayRecord.WorkTime == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Hour && record.WorkDate == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { + applyTypesMap[oa_model.TypeMakeUp] = oa_model.TypeMakeUp + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + } + } else if oaApply.ApplyType == oa_model.TypeBusinessTrip { // 出差 申请 + + // 1、 申请的开始时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + // 2、 申请的结束时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + + for l := 0; l < len(oaApply.ItineraryList); l++ { + applyTime := oaApply.ItineraryList[l].ApplyTimes + applyStartDate := common.ConvertApplyStartDateToTimeFour(applyTime[0].Date) + applyEndDate := common.ConvertApplyEndDateToTimeEarlyMorningZero(applyTime[len(applyTime)-1].Date) + workDate := common.ConvertWorkDateToTimeFour(workDay.WorkDate) + fmt.Printf("applyStartDate: %v, applyEndDate: %v, workDate: %v\n", applyStartDate, applyEndDate, workDate) + // 工作日 在 申请的开始日期 和 申请的结束日期之间 + if !workDate.Before(applyStartDate) && !workDate.After(applyEndDate) { + // 申请的 开始 日期和结束日期 是同一天 + if applyTime[0].Date == applyTime[len(applyTime)-1].Date { + if applyTime[0].M == applyTime[len(applyTime)-1].M { + if applyTime[0].M == "上午" { + // 考勤 打卡时间 为 一班次 + // 一定包含了上午的考勤点 + if len(workDay.WorkTimes) == 1 { + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了上午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if applyTime[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if applyTime[0].M != applyTime[len(applyTime)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if applyTime[0].Date != applyTime[len(applyTime)-1].Date { // 申请的 开始 日期和结束日期 不是同一天 + if applyTime[0].M == applyTime[len(applyTime)-1].M { + if applyTime[0].M == "上午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime && applyTime[len(applyTime)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime) && applyTime[len(applyTime)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if applyTime[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime && applyTime[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime) && applyTime[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if applyTime[0].M != applyTime[len(applyTime)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } + + } else { // 其他申请 + // 判断 申请的时间 是 上午 或者 下午 + //fmt.Println("============================================= make apply =============================================") + //fmt.Printf("oaApply: %v\n", oaApply) + //fmt.Println("============================================= make apply =============================================") + + if oaApply.ApplyTimes[0].M != "" { + // 1、 申请的开始时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + // 2、 申请的结束时间 和 考勤时间一致 则判断 m 是上午 还是下午 不一致 则 当前考勤点 存在 此申请 + applyStartDate := common.ConvertApplyStartDateToTimeFour(oaApply.ApplyTimes[0].Date) + applyEndDate := common.ConvertApplyEndDateToTimeEarlyMorningZero(oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date) + workDate := common.ConvertWorkDateToTimeFour(workDay.WorkDate) + // 工作日 在 申请的开始日期 和 申请的结束日期之间 + if !applyStartDate.After(workDate) && !applyEndDate.Before(workDate) { + // 申请的 开始 日期和结束日期 是同一天 + if oaApply.ApplyTimes[0].Date == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { + if oaApply.ApplyTimes[0].M == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + if oaApply.ApplyTimes[0].M == "上午" { + // 考勤 打卡时间 为 一 班次 + // 一定包含了上午的考勤点 + if len(workDay.WorkTimes) == 1 { + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了上午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if oaApply.ApplyTimes[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(record.TimeOptions) == 1 { + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 一定包含了下午的考勤点 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if oaApply.ApplyTimes[0].M != oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if oaApply.ApplyTimes[0].Date != oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { // 申请的 开始 日期和结束日期 不是同一天 + if oaApply.ApplyTimes[0].M == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + if oaApply.ApplyTimes[0].M == "上午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime && oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(record.TimeOptions) == 2 { // 考勤 打卡时间 为 二班次 + // 所有日期的上午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 除了 申请时间的结束日期的 下午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime) && oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } else if oaApply.ApplyTimes[0].M == "下午" { + // 考勤 打卡时间 为 一班次 + if len(workDay.WorkTimes) == 1 { + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime && oaApply.ApplyTimes[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } else if len(workDay.WorkTimes) == 2 { // 考勤 打卡时间 为 二班次 + // 除了 申请时间的开始日期的 上午的考勤点不包含以外 其他的 包含 + if (dayRecord.WorkTime == workDay.WorkTimes[0].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[0].OffWorkTime) && oaApply.ApplyTimes[0].Date != workDay.WorkDate { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + // 所有日期的下午的考勤点都包含 + if dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OnWorkTime || dayRecord.WorkTime == workDay.WorkTimes[len(workDay.WorkTimes)-1].OffWorkTime { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if oaApply.ApplyTimes[0].M != oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].M { + // 包含了 当天的所有 考勤点 + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + } + } + } else if oaApply.ApplyTimes[0].Hour != "" { + // 直接使用 hour 字段的 值 作为 判断 + applyStartTime := common.ConvertApplyTimeToTime(oaApply.ApplyTimes[0].Date, oaApply.ApplyTimes[0].Hour) + applyEndTime := common.ConvertApplyTimeToTime(oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date, oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Hour) + + workTime := common.ConvertWorkDateAndWorkTime(workDay.WorkDate, dayRecord.WorkTime) + + //fmt.Println("============================================= make dayRecord.ApplyInfo =============================================") + //fmt.Println("applyStartTime: ", applyStartTime) + //fmt.Println("applyEndTime: ", applyEndTime) + //fmt.Println("workTime: ", workTime) + //fmt.Println("============================================= make dayRecord.ApplyInfo =============================================") + if !applyStartTime.After(workTime) && !applyEndTime.Before(workTime) { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + hasApply = true + actionType = "" + } + + if oaApply.ApplyType == oa_model.TypeOverTime && workDay.IsWork == model.IsFree && workDay.WorkDate == oaApply.ApplyTimes[0].Date && workDay.WorkDate == oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date { + dayRecord.ApplyInfo = append(dayRecord.ApplyInfo, MakeApplyType(oaApply)) + dayRecord.ActionType = oa_model.TypeOverTime + hasApply = true + actionType = "" + } + + if oaApply.ApplyType == oa_model.TypeOutWork { + applyStartDate := common.ConvertApplyStartDateToTimeFour(oaApply.ApplyTimes[0].Date) + applyEndDate := common.ConvertApplyEndDateToTimeEarlyMorningZero(oaApply.ApplyTimes[len(oaApply.ApplyTimes)-1].Date) + workDate := common.ConvertWorkDateToTimeFour(workDay.WorkDate) + if !workDate.Before(applyStartDate) && !workDate.After(applyEndDate) { + outWorkCheckReq := new(oa.OutWorkCheckReq) + outWorkCheckReq.StaffUID = oaApply.StaffUID + outWorkCheckReq.ApplyUUID = oaApply.ApprovalID + outWorkCheckRes, outWorkCheckErr := service.GrpcOAImpl.QueryCheckRecord(context.Background(), outWorkCheckReq) + if outWorkCheckErr != nil { + logger.Errorf("查询外勤记录失败:%s", outWorkCheckErr.Error()) + return errors.New(e.ErrorQueryOutWorkCheck) + } + if outWorkCheckRes.Data != nil { + for l := 0; l < len(outWorkCheckRes.Data); l++ { + //hasOutWorkCheck = true + workDay.Records = append(workDay.Records, &model.DayRecord{ + OnOff: outWorkCheckRes.Data[l].ActionType, + ActionTime: outWorkCheckRes.Data[l].ActionTime, + }) + } + } + hasApply = true + } + } + } + + } + + if hasApply { + if oaApply.ApplyType == oa_model.TypeOverTime { + applyTypesMap[oa_model.TypeOverTime] = oa_model.TypeOverTime + } else if common.LeaveApplyMap[oaApply.ApplyType] != "" { + applyTypesMap[oa_model.TypeLeave] = oa_model.TypeLeave + } else if oaApply.ApplyType == oa_model.TypeOutWork { + applyTypesMap[oa_model.TypeOutWork] = oa_model.TypeOutWork + } else if oaApply.ApplyType == oa_model.TypeMakeUp { + applyTypesMap[oa_model.TypeMakeUp] = oa_model.TypeMakeUp + } else if oaApply.ApplyType == oa_model.TypeDayOff { + applyTypesMap[oa_model.TypeDayOff] = oa_model.TypeDayOff + } else if oaApply.ApplyType == oa_model.TypeGoOut { + applyTypesMap[oa_model.TypeGoOut] = oa_model.TypeGoOut + } else if oaApply.ApplyType == oa_model.TypeBusinessTrip { + applyTypesMap[oa_model.TypeBusinessTrip] = oa_model.TypeBusinessTrip + } + } + } + + // 如果 当前考勤点 是缺卡的 状态 则 将 当前考勤点 存在的 审批类型 赋值给 打卡类型 + // 如果 审批类型是 补卡的 话 则 更新 actionTime 为 workTime + + for j := 0; j < len(dayRecord.ApplyInfo); j++ { + if dayRecord.ActionType == oa_model.TypeMiss { + if dayRecord.ApplyInfo[j].ApplyType == oa_model.TypeMakeUp || dayRecord.ApplyInfo[j].ApplyType == oa_model.TypeGoOut || dayRecord.ApplyInfo[j].ApplyType == oa_model.TypeBusinessTrip { + dayRecord.ActionType = dayRecord.ApplyInfo[len(dayRecord.ApplyInfo)-len(dayRecord.ApplyInfo)].ApplyType + dayRecord.ActionTime = workDay.WorkDate + " " + dayRecord.WorkTime + actionType = "" + break + } + } + + if dayRecord.ActionType == oa_model.TypeMiss || dayRecord.ActionType == oa_model.TypeLate || dayRecord.ActionType == oa_model.TypeBefore { + if common.LeaveApplyMap[dayRecord.ApplyInfo[j].ApplyType] != "" { + dayRecord.ActionType = dayRecord.ApplyInfo[len(dayRecord.ApplyInfo)-len(dayRecord.ApplyInfo)].ApplyType + actionType = "" + break + } + } + + if dayRecord.ActionType == oa_model.TypeOutWorkBefore || dayRecord.ActionType == oa_model.TypeOutWorkLate { + if len(applyTypesMap) == 0 { + applyTypesMap[oa_model.TypeOutWork] = oa_model.TypeOutWork + break + } + if dayRecord.ApplyInfo[j].ApplyType != oa_model.TypeOutWork { + dayRecord.ActionType = dayRecord.ApplyInfo[len(dayRecord.ApplyInfo)-len(dayRecord.ApplyInfo)].ApplyType + actionType = "" + break + } + } + } + + if actionType != "" { + if actionType == oa_model.TypeOutWorkBefore || actionType == oa_model.TypeOutWorkLate { + actionTypesMap[oa_model.TypeOutWork] = oa_model.TypeOutWork + } + actionTypesMap[actionType] = actionType + // 不是 正常的话 异常 + //if actionType != oa_model.TypeCommon && actionType != oa_model.TypeMakeUpSys && actionType != oa_model.TypeOutWork { + // workDay.Abnormal = true + //} + // 如果是 缺卡 迟到 早退 旷工 则表示 异常 + // 2024-10-28 + if actionType == oa_model.TypeMiss || actionType == oa_model.TypeBefore || actionType == oa_model.TypeLate || actionType == oa_model.TypeOutWorkBefore || actionType == oa_model.TypeOutWorkLate { + workDay.Abnormal = true + } + } + + } + + // 申请类型 + // 如果 申请类型存在 + for _, v := range applyTypesMap { + workDay.ApplyTypes = append(workDay.ApplyTypes, v) + } + + // 打卡类型 + for _, v := range actionTypesMap { + if v == oa_model.TypeCommon { + continue + } + workDay.ActionTypes = append(workDay.ActionTypes, v) + } + + //if hasOutWorkCheck { + workDay.Records = OrderByRecord(workDay.Records) + //} + + if CheckActionTypeAndApplyType(workDay) { + workDay.Records = nil + } + + return nil +} + +func CalcAverageHour(workDays []*model.WorkDayDetail) (totalHours, averageHourNum float64, averageHour []*model.AverageHourDetail, err error) { + averageHourNum = 0 + totalHours = 0 + averageHour = make([]*model.AverageHourDetail, 0) + var days float64 + + for i := 0; i < len(workDays); i++ { + averageHourDetail := new(model.AverageHourDetail) + + //fmt.Println("=========================================================== averageHourDetail ========================================") + //fmt.Printf("workDays %+v\n", workDays[i]) + //fmt.Println("=========================================================== averageHourDetail ========================================") + + averageHourDetail.WorkDate = workDays[i].WorkDate + averageHourDetail.Weekly = workDays[i].Weekly + + for j := 0; j < len(workDays[i].Records); j = j + 2 { + + if j+1 >= len(workDays[i].Records) { + break + } + + if workDays[i].Records[j].ActionTime == "" && workDays[i].Records[j+1].ActionTime == "" { + continue + } else if workDays[i].Records[j].ActionTime != "" && workDays[i].Records[j+1].ActionTime == "" { + continue + } else if workDays[i].Records[j].ActionTime == "" && workDays[i].Records[j+1].ActionTime != "" { + continue + } + + var startTime time.Time + var endTime time.Time + startTime = common.ConvertActionTime(workDays[i].Records[j].ActionTime) + + endTime = common.ConvertActionTime(workDays[i].Records[j+1].ActionTime) + + averageHourDetail.Hours = averageHourDetail.Hours + endTime.Sub(startTime).Hours() + } + + if averageHourDetail.Hours > 0 { + days++ + + averageHourDetail.Hours = common.HandleHourLeaveASeatNotRounding(averageHourDetail.Hours) + + averageHour = append(averageHour, averageHourDetail) + + totalHours = common.HandleHourLeaveASeatNotRounding(totalHours + averageHourDetail.Hours) + } + + } + + //fmt.Println("=========================================================== CalcAverageHour ========================================") + //fmt.Printf("totalHours %+v\n", totalHours) + //fmt.Printf("days %+v\n", days) + //fmt.Println("=========================================================== CalcAverageHour ========================================") + + if totalHours != 0 && days != 0 { + averageHourNum = common.HandleHourLeaveASeatNotRounding(totalHours / days) + } + + return +} + +func CalcRestDay(workDays []*model.WorkDayDetail, month string, dates []string) (restDayNum int, restDay []*model.RestDayDetail, err error) { + restDayNum = 0 + restDay = make([]*model.RestDayDetail, 0) + + if dates != nil { + + } else { + if month == "" { + month = holiday.CurrentMonth() + } + + month = common.Add25ForMonth(month) + + dates = holiday.SplitMonthV1(month, common.YYMMDD) + } + + queryDates := make([]string, 0) + + for i := 0; i < len(dates); i++ { + if common.ConvertWorkDateAndWorkTime(dates[i], "00:00").After(common.CurrentDateTime()) { + break + } else { + queryDates = append(queryDates, dates[i]) + } + } + + if len(queryDates) == 0 { + return 0, nil, err + } + + //fmt.Println("=============================================== queryDates ===============================================") + //fmt.Printf("queryDates %+v\n", queryDates) + //fmt.Println("=============================================== queryDates ===============================================") + + holidaysMap, holidaysMapErr := HolidayList(queryDates) + if holidaysMapErr != nil { + return 0, nil, holidaysMapErr + } + + //fmt.Println("=============================================== holidaysMap ===============================================") + //fmt.Printf("holidaysMap %+v\n", holidaysMap) + //fmt.Println("=============================================== holidaysMap ===============================================") + + workDaysMap := make(map[string]*model.WorkDayDetail) + + for i := 0; i < len(workDays); i++ { + //fmt.Println("=============================================== CalcRestDay ===============================================") + //fmt.Printf("workDays %+v value %+v \n", i, workDays[i]) + //fmt.Println("=============================================== CalcRestDay ===============================================") + // 当前时间 在 工作时间之前 + if common.ConvertWorkDateAndWorkTime(workDays[i].WorkDate, "00:00").After(common.CurrentDateTime()) { + return + } + workDaysMap[workDays[i].WorkDate] = workDays[i] + } + + for i := 0; i < len(queryDates); i++ { + if workDaysMap[queryDates[i]] == nil && holidaysMap[queryDates[i]].Type > model.WorkDayType { + restDay = append(restDay, &model.RestDayDetail{ + WorkDate: queryDates[i], + Weekly: oa_model.WeekZhCN[holidaysMap[queryDates[i]].WeekDay], + Day: 1, + }) + restDayNum++ + } + } + + return +} + +func SelectMiss(workDays []*model.WorkDayDetail, staffUID uint64) (missNum int, miss []*model.MissDetail, err error) { + missNum = 0 + miss = make([]*model.MissDetail, 0) + + for i := 0; i < len(workDays); i++ { + for j := 0; j < len(workDays[i].Records); j++ { + records := workDays[i].Records[j] + if records.ActionType == oa_model.TypeMiss { + + // 查询 oa审批 + // TODO 查询 审批 且 只查询 审批状态为 审批中的 因此 不能从 workDays 中 获取 当前只查询了 补卡申请 + oaApplys, oaApplyErr := QueryOaApplyDates(staffUID, []string{workDays[i].WorkDate}, []int32{e.ApprovalWorkStatusDoing}, []string{oa_model.TypeMakeUp}) + if oaApplyErr != nil { + return 0, nil, oaApplyErr + } + + missDetail := &model.MissDetail{ + WorkDate: workDays[i].WorkDate, + Weekly: workDays[i].Weekly, + WorkTime: records.WorkTime, + ActionTime: records.ActionTime, + WorkTimes: workDays[i].WorkTimes, + } + + for k := 0; k < len(oaApplys); k++ { + if oaApplys[k].ApplyType == oa_model.TypeMakeUp && oaApplys[k].ApplyTimes[len(oaApplys[k].ApplyTimes)-1].Hour == records.WorkTime { + missDetail.ApplyID = oaApplys[k].ApprovalID + missDetail.ApplyStatus = oaApplys[k].Status + break + } + } + + miss = append(miss, missDetail) + missNum++ + } + } + } + + return +} + +func SelectMakeUp(workDays []*model.WorkDayDetail) (makeUpNum int, makeUp []*model.MakeUpDetail, err error) { + makeUpNum = 0 + makeUp = make([]*model.MakeUpDetail, 0) + + for i := 0; i < len(workDays); i++ { + for j := 0; j < len(workDays[i].Records); j++ { + if workDays[i].Records[j].ActionType == oa_model.TypeMakeUp { + makeUp = append(makeUp, &model.MakeUpDetail{ + WorkDate: workDays[i].WorkDate, + Weekly: workDays[i].Weekly, + WorkTime: workDays[i].Records[j].WorkTime, + ActionTime: workDays[i].Records[j].ActionTime, + }) + makeUpNum++ + } + } + } + + return +} + +func SelectLate(workDays []*model.WorkDayDetail) (lateNum int, commonLateNum int, commonLateDuration float64, extremeLateNum int, extremeLateDuration float64, late []*model.LateDetail, err error) { + lateNum = 0 + late = make([]*model.LateDetail, 0) + + for i := 0; i < len(workDays); i++ { + for j := 0; j < len(workDays[i].Records); j++ { + if workDays[i].Records[j].ActionType == oa_model.TypeLate || workDays[i].Records[j].ActionType == oa_model.TypeOutWorkLate { + var duration float64 + var extremeLatenessDuration float64 + + duration = common.CalcDuration(common.ConvertWorkDateAndWorkTime(workDays[i].WorkDate, workDays[i].Records[j].WorkTime), common.ConvertActionTime(workDays[i].Records[j].ActionTime)) + + //fmt.Println("=============================================== SelectLate ===============================================") + //fmt.Printf("workDays[i].work %+v\n", common.ConvertWorkDateAndWorkTime(workDays[i].WorkDate, workDays[i].Records[j].WorkTime)) + //fmt.Printf("workDays[i].action %+v\n", common.ConvertActionTime(workDays[i].Records[j].ActionTime)) + //fmt.Printf("duration %+v\n", duration) + //fmt.Println("=============================================== SelectLate ===============================================") + + if duration > 0 { + if duration-common.ExtremeLatenessDuration > 0 { + extremeLatenessDuration = duration + extremeLateDuration += duration + extremeLateNum++ + duration = 0 + } else { + commonLateNum++ + commonLateDuration += duration + } + } else { + duration = 0 + } + + late = append(late, &model.LateDetail{ + WorkDate: workDays[i].WorkDate, + Weekly: workDays[i].Weekly, + WorkTime: workDays[i].Records[j].WorkTime, + ActionTime: workDays[i].Records[j].ActionTime, + Duration: duration, + ExtremeLatenessDuration: extremeLatenessDuration, + ActionType: workDays[i].Records[j].ActionType, + }) + lateNum++ + } + } + } + + return +} + +func SelectBefore(workDays []*model.WorkDayDetail) (beforeNum int, commonBeforeDuration float64, before []*model.BeforeDetail, err error) { + beforeNum = 0 + before = make([]*model.BeforeDetail, 0) + + for i := 0; i < len(workDays); i++ { + for j := 0; j < len(workDays[i].Records); j++ { + if workDays[i].Records[j].ActionType == oa_model.TypeBefore || workDays[i].Records[j].ActionType == oa_model.TypeOutWorkBefore { + duration := common.CalcDuration(common.ConvertActionTime(workDays[i].Records[j].ActionTime), common.ConvertWorkDateAndWorkTime(workDays[i].WorkDate, workDays[i].Records[j].WorkTime)) + + //fmt.Println("=============================================== SelectBefore ===============================================") + //fmt.Printf("workDays[i] %+v\n", workDays[i].WorkDate) + //fmt.Printf("workDays[i] WorkTime %+v\n", workDays[i].Records[j].WorkTime) + //fmt.Printf("workDays[i] ActionTime %+v\n", workDays[i].Records[j].ActionTime) + //fmt.Printf("workDays[i].work %+v\n", common.ConvertWorkDateAndWorkTime(workDays[i].WorkDate, workDays[i].Records[j].WorkTime)) + //fmt.Printf("workDays[i].action %+v\n", common.ConvertActionTime(workDays[i].Records[j].ActionTime)) + //fmt.Printf("duration %+v\n", duration) + //fmt.Println("=============================================== SelectBefore ===============================================") + + if duration <= 0 { + duration = 0 + } else { + commonBeforeDuration += duration + } + before = append(before, &model.BeforeDetail{ + WorkDate: workDays[i].WorkDate, + Weekly: workDays[i].Weekly, + WorkTime: workDays[i].Records[j].WorkTime, + ActionTime: workDays[i].Records[j].ActionTime, + Duration: duration, + ActionType: workDays[i].Records[j].ActionType, + }) + beforeNum++ + } + } + } + + return +} + +func SelectAbsent(workDays []*model.WorkDayDetail) (missDayNum int, missDay []*model.MissDayDetail, err error) { + missDayNum = 0 + missDay = make([]*model.MissDayDetail, 0) + + for i := 0; i < len(workDays); i++ { + + if workDays[i].IsWork == model.IsFree { + continue + } + + allMiss := true + for j := 0; j < len(workDays[i].Records); j++ { + if workDays[i].Records[j].ActionType != oa_model.TypeMiss { + allMiss = false + break + } + } + + if allMiss { + missDay = append(missDay, &model.MissDayDetail{ + WorkDate: workDays[i].WorkDate, + Weekly: workDays[i].Weekly, + Day: 1, + }) + missDayNum++ + } + } + + return +} + +func SelectOutWork(workDays []*model.WorkDayDetail) (outWorkNum int, outWork []*model.OutWorkDetail, err error) { + outWorkNum = 0 + outWork = make([]*model.OutWorkDetail, 0) + + outWorkMap := make(map[string][]*model.DayRecord) + + for i := 0; i < len(workDays); i++ { + + records := workDays[i].Records + + var applyID string + //var applyType string + var applyStatus int32 + + for j := 0; j < len(records); j++ { + if records[j].ActionType == oa_model.TypeOutWork || + records[j].ActionType == oa_model.TypeOutWorkLate || + records[j].ActionType == oa_model.TypeOutWorkBefore { + outWorkMap[workDays[i].WorkDate] = append(outWorkMap[workDays[i].WorkDate], records[j]) + for k := 0; k < len(records[j].ApplyInfo); k++ { + if records[j].ApplyInfo[k].ApplyType == oa_model.TypeOutWork { + applyID = records[j].ApplyInfo[k].ApplyID + applyStatus = records[j].ApplyInfo[k].ApplyStatus + break + } + } + outWorkNum++ + } + } + + if outWorkMap[workDays[i].WorkDate] != nil { + outWork = append(outWork, &model.OutWorkDetail{ + WorkDate: workDays[i].WorkDate, + Weekly: workDays[i].Weekly, + Records: outWorkMap[workDays[i].WorkDate], + WorkTimes: workDays[i].WorkTimes, + ApplyID: applyID, + ApplyStatus: applyStatus, + }) + } + + } + + return +} + +func SelectOverTimeOld(req *model.CollectionDetailReq, workDays []*model.WorkDayDetail) (overTimeNum int, overTime *model.OverWorkDetail, err error) { + overTime = new(model.OverWorkDetail) + overTime.OverWorkDetail = make([]*model.LeaveDetail, 0) + + oaApply := make([]*oa.OAApply, 0) + var oaApplyErr error + + if req.Month != "" { + // 查询 oa审批 + + oaApply, oaApplyErr = QueryOaApplyMonth(req.StaffUID, req.Month, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeOverTime}) + if oaApplyErr != nil { + return 0, nil, oaApplyErr + } + } else { + // 查询 oa审批 + oaApply, oaApplyErr = QueryOaApplyDates(req.StaffUID, req.Dates, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeOverTime}) + if oaApplyErr != nil { + return 0, nil, oaApplyErr + } + } + + workDaysMap := make(map[string]*model.WorkDayDetail) + for i := 0; i < len(workDays); i++ { + workDaysMap[workDays[i].WorkDate] = workDays[i] + } + + for i := 0; i < len(oaApply); i++ { + apply := oaApply[i] + + // 如果开始时间不在当前月份内 则跳过 + if !common.IsInMonth(apply.ApplyTimes[0].Date, req.Month) && req.Month != "" { + continue + } + + hours := decimal.NewFromFloat(float64(apply.Hours)) + + leaveDetail := &model.LeaveDetail{ + ApplyID: apply.ApprovalID, + ApplyStatus: apply.Status, + ApplyStartTime: apply.ApplyTimes[0].Date + " " + apply.ApplyTimes[0].Hour, + ApplyEndTime: apply.ApplyTimes[len(apply.ApplyTimes)-1].Date + " " + apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour, + DurationType: model.DurationTypeHour, + Duration: hours.InexactFloat64(), + ApplyType: apply.ApplyType, + } + + if workDaysMap[apply.ApplyTimes[0].Date] != nil { + //fmt.Println("=============================================== SelectOverTime MakeOverTimeAbnormal ===============================================") + //fmt.Printf("workDaysMap[apply.ApplyTimes[0].Date] %+v\n", workDaysMap[apply.ApplyTimes[0].Date]) + //fmt.Printf("apply.ApplyTimes[0].Date %+v\n", apply.ApplyTimes[0].Date) + //fmt.Printf("apply.ApplyTimes[0].Hour %+v\n", apply.ApplyTimes[0].Hour) + //fmt.Printf("apply.ApplyTimes[len(apply.ApplyTimes)-1].Date %+v\n", apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + //fmt.Printf("apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour %+v\n", apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + //fmt.Println("=============================================== SelectOverTime MakeOverTimeAbnormal ===============================================") + + leaveDetail.StartAbnormal, leaveDetail.EndAbnormal, leaveDetail.StartActionTime, leaveDetail.EndActionTime = MakeOverTimeAbnormal(workDaysMap[apply.ApplyTimes[0].Date], common.ConvertApplyTimeToTime(apply.ApplyTimes[0].Date, apply.ApplyTimes[0].Hour), common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour)) + } + + holidaysMap, holidaysMapErr := HolidayList([]string{apply.ApplyTimes[0].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Date}) + if holidaysMapErr != nil { + return 0, nil, holidaysMapErr + } + + leaveDetail.StartDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[0].Date].WeekDay] + leaveDetail.StartDayType = int32(holidaysMap[apply.ApplyTimes[0].Date].Type) + leaveDetail.EndDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].WeekDay] + leaveDetail.EndDayType = int32(holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type) + + overTime.OverWorkDetail = append(overTime.OverWorkDetail, leaveDetail) + + // 总加班时长 + overTime.OverWorkHour = overTime.OverWorkHour + hours.InexactFloat64() + + if apply.ApplyTimes[0].Date == apply.ApplyTimes[len(apply.ApplyTimes)-1].Date { + + if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WorkDayType && holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + overTime.WorkDayHour = overTime.WorkDayHour + hours.InexactFloat64() + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WeekendDayType && holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + overTime.RestDayHour = overTime.RestDayHour + hours.InexactFloat64() + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.HolidayDayType && holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + overTime.HolidayHour = overTime.HolidayHour + hours.InexactFloat64() + } + } else { + // 拆分 日期 + dates := holiday.SplitDates(apply.ApplyTimes[0].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, common.YYMMDD) + + if len(dates) == 2 { + // 工作日加班时长 + if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WorkDayType { + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + overTime.WorkDayHour = overTime.WorkDayHour + float64(apply.Hours) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + // 申请结束时间的凌晨 + applyEndTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + + // 申请结束时间 + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + overTime.RestDayHour = overTime.RestDayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + overTime.OverWorkHour = overTime.OverWorkHour + hours.InexactFloat64() - common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + // 申请结束时间的凌晨 + applyEndTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + + // 申请结束时间 + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + overTime.HolidayHour = overTime.HolidayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + overTime.OverWorkHour = overTime.OverWorkHour + hours.InexactFloat64() - common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + + } + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WeekendDayType { + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + // 申请结束时间的凌晨 + applyEndTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + + // 申请结束时间 + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + overTime.WorkDayHour = overTime.WorkDayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + overTime.RestDayHour = overTime.RestDayHour + hours.InexactFloat64() - common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + overTime.RestDayHour = overTime.RestDayHour + hours.InexactFloat64() + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + // 申请结束时间的凌晨 + applyEndTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + + // 申请结束时间 + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + overTime.HolidayHour = overTime.HolidayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + overTime.RestDayHour = overTime.RestDayHour + hours.InexactFloat64() - common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + + } + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.HolidayDayType { + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + // 申请结束时间的凌晨 + applyEndTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + + // 申请结束时间 + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + overTime.WorkDayHour = overTime.WorkDayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + overTime.HolidayHour = overTime.HolidayHour + hours.InexactFloat64() - common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + // 申请结束时间的凌晨 + applyEndTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + + // 申请结束时间 + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + overTime.RestDayHour = overTime.RestDayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + overTime.HolidayHour = overTime.HolidayHour + hours.InexactFloat64() - common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + overTime.HolidayHour = overTime.HolidayHour + hours.InexactFloat64() + } + } + + } else if len(dates) > 2 { + var workDayHour, restDayHour, holidayHour float64 + + for j := 0; j < len(dates); j++ { + if j == 0 && dates[j] == apply.ApplyTimes[0].Date { + // 申请开始时间的夜里 + applyStartTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[0].Date) + + // 申请开始时间 + applyStartTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[0].Date, apply.ApplyTimes[0].Hour) + + if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WorkDayType { + // 工作日加班时长 + workDayHour = workDayHour + common.HandleHourLeaveASeatV3(applyStartTimeZero.Sub(applyStartTime).Hours()) + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour + hours.InexactFloat64() + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour + common.HandleHourLeaveASeatV3(applyStartTimeZero.Sub(applyStartTime).Hours()) + } + + } else if j == len(dates)-1 && dates[j] == apply.ApplyTimes[len(apply.ApplyTimes)-1].Date { + // 申请结束时间的凌晨 + applyEndTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date) + + // 申请结束时间 + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + workDayHour = workDayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour + hours.InexactFloat64() + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour + common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()) + } + + } else { + if holidaysMap[dates[j]].Type == model.WorkDayType { + // 工作日加班时长 + // TODO 工作日 待确认 目前 是 减去 固定 8小时 + workDayHour = workDayHour + float64(24-8) + } else if holidaysMap[dates[j]].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour + float64(24) + } else if holidaysMap[dates[j]].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour + float64(24) + } + } + } + } + + } + + // 加班次数 + overTimeNum++ + } + + return +} + +func SelectOverTime(req *model.CollectionDetailReq, workDays []*model.WorkDayDetail) (overTimeNum, doingNum int, overTime *model.OverWorkDetail, err error) { + overTime = new(model.OverWorkDetail) + overTime.OverWorkDetail = make([]*model.LeaveDetail, 0) + + oaApply := make([]*oa.OAApply, 0) + var oaApplyErr error + + if req.Month != "" { + // 查询 oa审批 + oaApply, oaApplyErr = QueryOaApplyMonth(req.StaffUID, req.Month, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeOverTime}) + if oaApplyErr != nil { + return 0, 0, nil, oaApplyErr + } + } else { + // 查询 oa审批 + oaApply, oaApplyErr = QueryOaApplyDates(req.StaffUID, req.Dates, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeOverTime}) + if oaApplyErr != nil { + return 0, 0, nil, oaApplyErr + } + } + + workDaysMap := make(map[string]*model.WorkDayDetail) + for i := 0; i < len(workDays); i++ { + workDaysMap[workDays[i].WorkDate] = workDays[i] + } + + var overWorkHour, workDayHour, restDayHour, holidayHour decimal.Decimal + + for i := 0; i < len(oaApply); i++ { + apply := oaApply[i] + + // 如果开始时间不在当前月份内 则跳过 + if !common.IsInMonth(apply.ApplyTimes[0].Date, req.Month) && req.Month != "" { + continue + } + + // 如果开始时间不在当前月份内 则跳过 + if !common.IsInDates(apply.ApplyTimes[0].Date, req.Dates) && req.Dates != nil { + continue + } + + hours := decimal.NewFromFloat(float64(apply.Hours)) + + leaveDetail := &model.LeaveDetail{ + ApplyID: apply.ApprovalID, + ApplyStatus: apply.Status, + ApplyStartTime: apply.ApplyTimes[0].Date + " " + apply.ApplyTimes[0].Hour, + ApplyEndTime: apply.ApplyTimes[len(apply.ApplyTimes)-1].Date + " " + apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour, + DurationType: model.DurationTypeHour, + Duration: hours.InexactFloat64(), + ApplyType: apply.ApplyType, + } + + overWorkHour = overWorkHour.Add(decimal.NewFromFloat(float64(apply.Hours))) + + if workDaysMap[apply.ApplyTimes[0].Date] != nil { + leaveDetail.StartAbnormal, leaveDetail.EndAbnormal, leaveDetail.StartActionTime, leaveDetail.EndActionTime = MakeOverTimeAbnormal(workDaysMap[apply.ApplyTimes[0].Date], common.ConvertApplyTimeToTime(apply.ApplyTimes[0].Date, apply.ApplyTimes[0].Hour), common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour)) + } + + holidaysMap, holidaysMapErr := HolidayList([]string{apply.ApplyTimes[0].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Date}) + if holidaysMapErr != nil { + return 0, 0, nil, holidaysMapErr + } + + leaveDetail.StartDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[0].Date].WeekDay] + leaveDetail.StartDayType = int32(holidaysMap[apply.ApplyTimes[0].Date].Type) + leaveDetail.EndDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].WeekDay] + leaveDetail.EndDayType = int32(holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type) + + overTime.OverWorkDetail = append(overTime.OverWorkDetail, leaveDetail) + + if apply.ApplyTimes[0].Date == apply.ApplyTimes[len(apply.ApplyTimes)-1].Date { + + if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WorkDayType && holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + workDayHour = workDayHour.Add(hours) + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WeekendDayType && holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour.Add(hours) + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.HolidayDayType && holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour.Add(hours) + } + } else { + // 拆分 日期 + dates := holiday.SplitDates(apply.ApplyTimes[0].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, common.YYMMDD) + if len(dates) == 2 { + applyEndTimeZero := common.ConvertApplyStartDateToTimeWithMinute(apply.ApplyTimes[0].Date, strings.Split(apply.ApplyTimes[0].Hour, ":")[1]) + fmt.Println("======================== applyEndTimeZero ================") + fmt.Println("applyEndTimeZero := ", applyEndTimeZero) + fmt.Println("======================== applyEndTimeZero ================") + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WorkDayType { + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + //workDayHour = workDayHour.Add(decimal.NewFromFloat(float64(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours())))) + workDayHour = workDayHour.Add(hours) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + //restDayHour = restDayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()))) + //workDayHour = workDayHour.Add(hours.Sub(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours())))) + hour := decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours())) + restDayHour = restDayHour.Add(hour) + workDayHour = workDayHour.Add(hours.Sub(hour)) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // // 节假日加班时长 + //holidayHour = holidayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()))) + //workDayHour = workDayHour.Add(hours.Sub(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours())))) + hour := decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours())) + holidayHour = holidayHour.Add(hour) + workDayHour = workDayHour.Add(hours.Sub(hour)) + } + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WeekendDayType { + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + //workDayHour = workDayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()))) + //restDayHour = restDayHour.Add(hours.Sub(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours())))) + hour := decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours())) + workDayHour = workDayHour.Add(hour) + restDayHour = restDayHour.Add(hours.Sub(hour)) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour.Add(hours) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + //holidayHour = holidayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()))) + //restDayHour = restDayHour.Add(hours.Sub(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours())))) + hour := decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours())) + holidayHour = holidayHour.Add(hour) + restDayHour = restDayHour.Add(hours.Sub(hour)) + } + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.HolidayDayType { + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + //workDayHour = workDayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()))) + //holidayHour = holidayHour.Add(hours.Sub(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours())))) + hour := decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours())) + workDayHour = workDayHour.Add(hour) + holidayHour = holidayHour.Add(hours.Sub(hour)) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + //restDayHour = restDayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours()))) + //holidayHour = holidayHour.Add(hours.Sub(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTimeZero.Sub(applyEndTime).Hours())))) + hour := decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours())) + restDayHour = restDayHour.Add(hour) + holidayHour = holidayHour.Add(hours.Sub(hour)) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour.Add(hours) + } + } + } else if len(dates) > 2 { + + for j := 0; j < len(dates); j++ { + if j == 0 && dates[j] == apply.ApplyTimes[0].Date { + applyStartTimeZero := common.ConvertApplyStartDateToTimeZero(apply.ApplyTimes[0].Date) + applyStartTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[0].Date, apply.ApplyTimes[0].Hour) + + if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WorkDayType { + // 工作日加班时长 + workDayHour = workDayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyStartTimeZero.Sub(applyStartTime).Hours()))) + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour.Add(decimal.NewFromFloat(float64(apply.Hours))) + } else if holidaysMap[apply.ApplyTimes[0].Date].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyStartTimeZero.Sub(applyStartTime).Hours()))) + } + + } else if j == len(dates)-1 && dates[j] == apply.ApplyTimes[len(apply.ApplyTimes)-1].Date { + applyEndTimeZero := common.ConvertApplyStartDateToTimeWithMinute(apply.ApplyTimes[0].Date, strings.Split(apply.ApplyTimes[0].Hour, ":")[1]) + applyEndTime := common.ConvertApplyTimeToTime(apply.ApplyTimes[len(apply.ApplyTimes)-1].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour) + + if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WorkDayType { + // 工作日加班时长 + workDayHour = workDayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours()))) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour.Add(decimal.NewFromFloat(float64(apply.Hours))) + } else if holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour.Add(decimal.NewFromFloat(common.HandleHourLeaveASeatV3(applyEndTime.Sub(applyEndTimeZero).Hours()))) + } + + } else { + if holidaysMap[dates[j]].Type == model.WorkDayType { + // 工作日加班时长 + workDayHour = workDayHour.Add(decimal.NewFromFloat(24 - 8)) + } else if holidaysMap[dates[j]].Type == model.WeekendDayType { + // 休息日加班时长 + restDayHour = restDayHour.Add(decimal.NewFromFloat(24)) + } else if holidaysMap[dates[j]].Type == model.HolidayDayType { + // 节假日加班时长 + holidayHour = holidayHour.Add(decimal.NewFromFloat(24)) + } + } + } + } + } + + fmt.Printf("=============================================== SelectOverTime %+v ===============================================\n", i) + + fmt.Println("=============================================== SelectOverTime workDayHour ===============================================") + fmt.Printf("workDayHour %+v\n", workDayHour.InexactFloat64()) + fmt.Println("=============================================== SelectOverTime workDayHour ===============================================") + fmt.Println("=============================================== SelectOverTime restDayHour ===============================================") + fmt.Printf("restDayHour %+v\n", restDayHour.InexactFloat64()) + fmt.Println("=============================================== SelectOverTime restDayHour ===============================================") + fmt.Println("=============================================== SelectOverTime holidayHour ===============================================") + fmt.Printf("holidayHour %+v\n", holidayHour.InexactFloat64()) + fmt.Println("=============================================== SelectOverTime holidayHour ===============================================") + fmt.Println("=============================================== SelectOverTime overWorkHour ===============================================") + fmt.Printf("overWorkHour %+v\n", overWorkHour.InexactFloat64()) + fmt.Println("=============================================== SelectOverTime overWorkHour ===============================================") + + // 加班次数 + overTimeNum++ + + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum++ + } + } + + overTime.WorkDayHour = workDayHour.InexactFloat64() + overTime.RestDayHour = restDayHour.InexactFloat64() + overTime.HolidayHour = holidayHour.InexactFloat64() + overTime.OverWorkHour = overWorkHour.InexactFloat64() + + return +} + +// SelectLeave 仅为事假 +func SelectLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectAnnualLeave 年假详情 +func SelectAnnualLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeAnnualLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectSick 病假详情 +func SelectSick(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeSick}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectBreastFeedingLeave 哺乳假详情 +func SelectBreastFeedingLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeBreastFeedingLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectPaternityLeave 陪产假详情 +func SelectPaternityLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum int, leave []*model.LeaveDetail, err error) { + var num float64 + var doing float64 + leaveNum = 0 + doingNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + num, doing, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypePaternityLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + leaveNum = int(num) + doingNum = int(doing) + + return +} + +// SelectMaritalLeave 婚假详情 +func SelectMaritalLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum int, leave []*model.LeaveDetail, err error) { + var num float64 + var doing float64 + leaveNum = 0 + doingNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + num, doing, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeMaritalLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + leaveNum = int(num) + doingNum = int(doing) + + return +} + +// SelectFuneralLeave 丧假详情 +func SelectFuneralLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeFuneralLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectMaternityLeave 产假详情 +func SelectMaternityLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeMaternityLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectGoOut 外出详情 +func SelectGoOut(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeGoOut}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectBusinessTrip 出差详情 +func SelectBusinessTrip(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeBusinessTrip}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectParentalLeave 育儿假详情 +func SelectParentalLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeParentalLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectNursingLeave 独生子女护理假详情 +func SelectNursingLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeNursingLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectAbortLeave 流产假详情 +func SelectAbortLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeAbortLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectMatingCheckLeave 孕检假详情 +func SelectMatingCheckLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + // []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeLeave} + leaveNum, doingNum, leave, err = selectLeave(req, []int32{e.ApprovalWorkStatusOk, e.ApprovalWorkStatusDoing}, []string{oa_model.TypeMatingCheckLeave}, workingTime) + if err != nil { + return 0, 0, nil, err + } + + return +} + +// SelectAllLeave 全部请假详情 +func SelectAllLeave(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (allLeaveNum int, allLeave []*model.AllLeaveDetail, err error) { + + allLeave = make([]*model.AllLeaveDetail, 0) + + // 事假 + leaveNum, _, leave, err := SelectLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(leave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeLeave, + LeaveNum: leaveNum, + DurationType: leave[0].DurationType, + Leave: leave, + }) + + allLeaveNum += len(leave) + } + + // 年假 + annualLeaveNum, _, annualLeave, err := SelectAnnualLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(annualLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeAnnualLeave, + LeaveNum: annualLeaveNum, + DurationType: annualLeave[0].DurationType, + Leave: annualLeave, + }) + + allLeaveNum += len(annualLeave) + } + + // 病假 + sickLeaveNum, _, sickLeave, err := SelectSick(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(sickLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeSick, + LeaveNum: sickLeaveNum, + DurationType: sickLeave[0].DurationType, + Leave: sickLeave, + }) + + allLeaveNum += len(sickLeave) + } + + // 哺乳假 + breastFeedingLeaveNum, _, breastFeedingLeave, err := SelectBreastFeedingLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(breastFeedingLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeBreastFeedingLeave, + LeaveNum: breastFeedingLeaveNum, + DurationType: breastFeedingLeave[0].DurationType, + Leave: breastFeedingLeave, + }) + + allLeaveNum += len(breastFeedingLeave) + } + + // 陪产假 + paternityLeaveNum, _, paternityLeave, err := SelectPaternityLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(paternityLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypePaternityLeave, + LeaveNum: float64(paternityLeaveNum), + DurationType: paternityLeave[0].DurationType, + Leave: paternityLeave, + }) + + allLeaveNum += len(paternityLeave) + } + + // 婚假 + maritalLeaveNum, _, maritalLeave, err := SelectMaritalLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(maritalLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeMaritalLeave, + LeaveNum: float64(maritalLeaveNum), + DurationType: maritalLeave[0].DurationType, + Leave: maritalLeave, + }) + + allLeaveNum += len(maritalLeave) + } + + // 丧假 + funeralLeaveNum, _, funeralLeave, err := SelectFuneralLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(funeralLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeFuneralLeave, + LeaveNum: funeralLeaveNum, + DurationType: funeralLeave[0].DurationType, + Leave: funeralLeave, + }) + + allLeaveNum += len(funeralLeave) + } + + // 产假 + maternityLeaveNum, _, maternityLeave, err := SelectMaternityLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(maternityLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeMaternityLeave, + LeaveNum: maternityLeaveNum, + DurationType: maternityLeave[0].DurationType, + Leave: maternityLeave, + }) + + allLeaveNum += len(maternityLeave) + } + + // 育儿假 + parentalLeaveNum, _, parentalLeave, err := SelectParentalLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(parentalLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeParentalLeave, + LeaveNum: float64(parentalLeaveNum), + DurationType: parentalLeave[0].DurationType, + Leave: parentalLeave, + }) + + allLeaveNum += len(parentalLeave) + } + + // 独生子女护理假 + nursingLeaveNum, _, nursingLeave, err := SelectNursingLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(nursingLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeNursingLeave, + LeaveNum: float64(nursingLeaveNum), + DurationType: nursingLeave[0].DurationType, + Leave: nursingLeave, + }) + + allLeaveNum += len(nursingLeave) + } + + // 流产假 + abortLeaveNum, _, abortLeave, err := SelectAbortLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(abortLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeAbortLeave, + LeaveNum: float64(abortLeaveNum), + DurationType: abortLeave[0].DurationType, + Leave: abortLeave, + }) + + allLeaveNum += len(abortLeave) + } + + // 孕检假 + matingCheckLeaveNum, _, matingCheckLeave, err := SelectMatingCheckLeave(req, workingTime) + if err != nil { + return 0, nil, err + } + + if len(matingCheckLeave) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeMatingCheckLeave, + LeaveNum: float64(matingCheckLeaveNum), + DurationType: matingCheckLeave[0].DurationType, + Leave: matingCheckLeave, + }) + + allLeaveNum += len(matingCheckLeave) + } + + /*// 外出 + goOutNum, goOut, err := SelectGoOut(req) + if err != nil { + return 0, nil, err + } + + if len(goOut) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeGoOut, + LeaveNum: goOutNum, + DurationType: goOut[0].DurationType, + Leave: goOut, + }) + + allLeaveNum += len(goOut) + } + + // 出差 + businessTripNum, businessTrip, err := SelectBusinessTrip(req) + if err != nil { + return 0, nil, err + } + + if len(businessTrip) > 0 { + allLeave = append(allLeave, &model.AllLeaveDetail{ + LeaveType: oa_model.TypeGoOut, + LeaveNum: businessTripNum, + DurationType: businessTrip[0].DurationType, + Leave: businessTrip, + }) + + allLeaveNum += len(businessTrip) + }*/ + + return +} + +// 公用方法 +func selectLeave(req *model.CollectionDetailReq, applyStatus []int32, applyType []string, workingTime *oa.WorkingTime) (leaveNum, doingNum float64, leave []*model.LeaveDetail, err error) { + leaveNum = 0 + leave = make([]*model.LeaveDetail, 0) + + oaApply := make([]*oa.OAApply, 0) + var oaApplyErr error + + if req.Month != "" { + // 查询 oa审批 + + oaApply, oaApplyErr = QueryOaApplyMonth(req.StaffUID, req.Month, applyStatus, applyType) + if oaApplyErr != nil { + return 0, 0, nil, oaApplyErr + } + } else { + // 查询 oa审批 + oaApply, oaApplyErr = QueryOaApplyDates(req.StaffUID, req.Dates, applyStatus, applyType) + if oaApplyErr != nil { + return 0, 0, nil, oaApplyErr + } + } + + for i := 0; i < len(oaApply); i++ { + + apply := oaApply[i] + + leaveDetail := &model.LeaveDetail{ + ApplyID: apply.ApprovalID, + ApplyStatus: apply.Status, + ApplyType: apply.ApplyType, + } + + if len(apply.ApplyTimes) > 0 { + + // 判断是否 跨考勤时间 + day, hour, allIn := CalcDurationForDates(req.Month, req.Dates, apply.ApplyTimes, workingTime, apply.ApplyType) + + if apply.ApplyTimes[0].Hour != "" && apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour != "" { + leaveDetail.ApplyStartTime = apply.ApplyTimes[0].Date + " " + apply.ApplyTimes[0].Hour + leaveDetail.ApplyEndTime = apply.ApplyTimes[len(apply.ApplyTimes)-1].Date + " " + apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour + leaveDetail.DurationType = model.DurationTypeHour + if allIn { + leaveDetail.Duration = float64(apply.Hours) + leaveNum = leaveNum + float64(apply.Hours) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum += float64(apply.Hours) + } + } else { + leaveDetail.Duration = float64(hour) + leaveNum = leaveNum + float64(hour) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum += float64(hour) + } + } + + } else if apply.ApplyTimes[0].M != "" && apply.ApplyTimes[len(apply.ApplyTimes)-1].M != "" { + leaveDetail.ApplyStartTime = apply.ApplyTimes[0].Date + " " + apply.ApplyTimes[0].M + leaveDetail.ApplyEndTime = apply.ApplyTimes[len(apply.ApplyTimes)-1].Date + " " + apply.ApplyTimes[len(apply.ApplyTimes)-1].M + leaveDetail.DurationType = model.DurationTypeDay + if allIn { + leaveDetail.Duration = float64(apply.Days) + leaveNum = leaveNum + float64(apply.Days) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum += float64(apply.Days) + } + } else { + leaveDetail.Duration = float64(day) + leaveNum = leaveNum + float64(day) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum += float64(day) + } + } + } + + holidaysMap, holidaysMapErr := HolidayList([]string{apply.ApplyTimes[0].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Date}) + if holidaysMapErr != nil { + return 0, 0, nil, holidaysMapErr + } + + leaveDetail.StartDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[0].Date].WeekDay] + leaveDetail.StartDayType = int32(holidaysMap[apply.ApplyTimes[0].Date].Type) + leaveDetail.EndDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].WeekDay] + leaveDetail.EndDayType = int32(holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type) + } + + if apply.ItineraryList != nil && len(apply.ItineraryList) > 0 { + leaveDetail.ItineraryList = make([]*model.Itinerary, 0) + for j := 0; j < len(apply.ItineraryList); j++ { + + holidaysMap, holidaysMapErr := HolidayList([]string{apply.ItineraryList[j].ApplyTimes[0].Date, apply.ItineraryList[j].ApplyTimes[len(apply.ItineraryList[j].ApplyTimes)-1].Date}) + if holidaysMapErr != nil { + return 0, 0, nil, holidaysMapErr + } + + leaveDetail.ItineraryList = append(leaveDetail.ItineraryList, &model.Itinerary{ + StartAddress: apply.ItineraryList[j].StartAddress, + EndAddress: apply.ItineraryList[j].EndAddress, + ApplyStartTime: apply.ItineraryList[j].ApplyTimes[0].Date + " " + apply.ItineraryList[j].ApplyTimes[0].M, + StartDayType: int32(holidaysMap[apply.ItineraryList[j].ApplyTimes[0].Date].Type), + StartDayWeekly: oa_model.WeekZhCN[holidaysMap[apply.ItineraryList[j].ApplyTimes[0].Date].WeekDay], + ApplyEndTime: apply.ItineraryList[j].ApplyTimes[1].Date + " " + apply.ItineraryList[j].ApplyTimes[1].M, + EndDayType: int32(holidaysMap[apply.ItineraryList[j].ApplyTimes[1].Date].Type), + EndDayWeekly: oa_model.WeekZhCN[holidaysMap[apply.ItineraryList[j].ApplyTimes[1].Date].WeekDay], + Days: apply.ItineraryList[j].Days, + Vehicle: apply.ItineraryList[j].Vehicle, + }) + + // 判断是否 跨考勤时间 + day, _, allIn := CalcDurationForDates(req.Month, req.Dates, apply.ItineraryList[j].ApplyTimes, workingTime, apply.ApplyType) + if allIn { + leaveDetail.Duration += float64(apply.ItineraryList[j].Days) + leaveNum += float64(apply.ItineraryList[j].Days) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum += float64(apply.ItineraryList[j].Days) + } + } else { + leaveDetail.Duration += float64(day) + leaveNum += float64(day) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum += float64(day) + } + } + } + } + + // 放到 出差详情 中 判断 + //if apply.TotalDays > 0 { + // leaveDetail.DurationType = model.DurationTypeDay + // leaveDetail.Duration += float64(apply.TotalDays) + // leaveNum += float64(apply.TotalDays) + // if apply.Status == e.ApprovalWorkStatusDoing { + // doingNum += float64(apply.TotalDays) + // } + //} + + leaveDetail.Reason = apply.Reason + + leave = append(leave, leaveDetail) + + } + + return +} + +func SelectDayOff(req *model.CollectionDetailReq, workingTime *oa.WorkingTime) (dayOffNum, doingNum int, dayOffHours float64, dayOff []*model.LeaveDetail, err error) { + dayOffNum = 0 + dayOff = make([]*model.LeaveDetail, 0) + + oaApply := make([]*oa.OAApply, 0) + var oaApplyErr error + + if req.Month != "" { + // 查询 oa审批 + + oaApply, oaApplyErr = QueryOaApplyMonth(req.StaffUID, req.Month, []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeDayOff}) + if oaApplyErr != nil { + return 0, 0, 0, nil, oaApplyErr + } + } else { + // 查询 oa审批 + oaApply, oaApplyErr = QueryOaApplyDates(req.StaffUID, req.Dates, []int32{e.ApprovalWorkStatusOk}, []string{oa_model.TypeDayOff}) + if oaApplyErr != nil { + return 0, 0, 0, nil, oaApplyErr + } + } + + for i := 0; i < len(oaApply); i++ { + apply := oaApply[i] + + // 判断是否 跨考勤时间 + _, hour, allIn := CalcDurationForDates(req.Month, req.Dates, apply.ApplyTimes, workingTime, apply.ApplyType) + + dayOffDetail := &model.LeaveDetail{ + ApplyID: apply.ApprovalID, + ApplyStatus: apply.Status, + ApplyStartTime: apply.ApplyTimes[0].Date + " " + apply.ApplyTimes[0].Hour, + ApplyEndTime: apply.ApplyTimes[len(apply.ApplyTimes)-1].Date + " " + apply.ApplyTimes[len(apply.ApplyTimes)-1].Hour, + DurationType: model.DurationTypeHour, + Duration: float64(apply.Hours), + ApplyType: apply.ApplyType, + } + + holidaysMap, holidaysMapErr := HolidayList([]string{apply.ApplyTimes[0].Date, apply.ApplyTimes[len(apply.ApplyTimes)-1].Date}) + if holidaysMapErr != nil { + return 0, 0, 0, nil, holidaysMapErr + } + + dayOffDetail.StartDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[0].Date].WeekDay] + dayOffDetail.StartDayType = int32(holidaysMap[apply.ApplyTimes[0].Date].Type) + dayOffDetail.EndDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].WeekDay] + dayOffDetail.EndDayType = int32(holidaysMap[apply.ApplyTimes[len(apply.ApplyTimes)-1].Date].Type) + + dayOff = append(dayOff, dayOffDetail) + + // 调休次数 + dayOffNum++ + // 调休时长 + if allIn { + dayOffHours = dayOffHours + float64(apply.Hours) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum++ + } + } else { + dayOffHours = dayOffHours + float64(hour) + if apply.Status == e.ApprovalWorkStatusDoing { + doingNum++ + } + } + + } + + return +} + +// OrderByRecordOld 考勤记录排序 +func OrderByRecordOld(records []*model.DayRecord) []*model.DayRecord { + if records == nil { + return records + } + recordsMap := make(map[string]*model.DayRecord) + times := make([]string, 0) + for i := 0; i < len(records); i++ { + if records[i].WorkTime != "" && records[i].IsWork == oa_model.IsWork { + recordsMap[records[i].WorkTime] = records[i] + times = append(times, records[i].WorkTime) + } else if records[i].ActionTime != "" && records[i].WorkTime == "" { + recordsMap[strings.Split(records[i].ActionTime, " ")[1]] = records[i] + times = append(times, strings.Split(records[i].ActionTime, " ")[1]) + } else if records[i].IsWork == oa_model.IsFree { + if records[i].OnOff == oa_model.OffWork { + if i == len(records)-1 { + recordsMap[strings.Split(records[i].ActionTime, " ")[1]] = records[i] + times = append(times, strings.Split(records[i].ActionTime, " ")[1]) + } + continue + } + recordsMap[strings.Split(records[i].ActionTime, " ")[1]] = records[i] + times = append(times, strings.Split(records[i].ActionTime, " ")[1]) + } + } + sort.Strings(times) + newRecords := make([]*model.DayRecord, 0) + for i := 0; i < len(times); i++ { + newRecords = append(newRecords, recordsMap[times[i]]) + } + return newRecords +} + +// OrderByRecord 考勤记录排序 +func OrderByRecord(records []*model.DayRecord) []*model.DayRecord { + if records == nil { + return records + } + recordsMap := make(map[string]*model.DayRecord) + times := make([]string, 0) + for i := 0; i < len(records); i++ { + if records[i].WorkTime != "" && records[i].IsWork == oa_model.IsWork { + recordsMap[records[i].WorkTime] = records[i] + times = append(times, records[i].WorkTime) + } else if records[i].ActionTime != "" && records[i].WorkTime == "" { + recordsMap[strings.Replace(records[i].ActionTime, " ", "", -1)] = records[i] + times = append(times, strings.Replace(records[i].ActionTime, " ", "", -1)) + } else if records[i].IsWork == oa_model.IsFree { + if records[i].OnOff == oa_model.OffWork { + if i == len(records)-1 { + recordsMap[strings.Replace(records[i].ActionTime, " ", "", -1)] = records[i] + times = append(times, strings.Replace(records[i].ActionTime, " ", "", -1)) + } + continue + } + recordsMap[strings.Replace(records[i].ActionTime, " ", "", -1)] = records[i] + times = append(times, strings.Replace(records[i].ActionTime, " ", "", -1)) + } + } + sort.Strings(times) + newRecords := make([]*model.DayRecord, 0) + for i := 0; i < len(times); i++ { + newRecords = append(newRecords, recordsMap[times[i]]) + } + return newRecords +} + +func RemoveRecord(workDays []*model.WorkDayDetail) (retWorkDay []*model.WorkDayDetail) { + retWorkDay = make([]*model.WorkDayDetail, 0) + // 剔除 特殊情况的记录 + if workDays != nil || len(workDays) > 0 { + for i := 0; i < len(workDays); i++ { + workDay := workDays[i] + if len(workDay.Records) > 0 { + missNum := 0 + for j := 0; j < len(workDay.Records); j++ { + if workDay.Records[j].ActionType == oa_model.TypeCommon || + workDay.Records[j].ActionType == oa_model.TypeLate || + workDay.Records[j].ActionType == oa_model.TypeBefore || + workDay.Records[j].ActionType == oa_model.TypeMakeUpSys || + workDay.Records[j].ActionType == oa_model.TypeOutWork || + workDay.Records[j].ActionType == oa_model.TypeMakeUp || + workDay.Records[j].ActionType == oa_model.TypeOverTime || + workDay.Records[j].ActionType == oa_model.TypeOutWorkLate || + workDay.Records[j].ActionType == oa_model.TypeOutWorkBefore { + break + } else { + missNum++ + } + } + + if missNum != len(workDay.Records) { + retWorkDay = append(retWorkDay, workDay) + } + } + } + } + return +} + +// MakeDefaultRecord 组装默认的考勤记录 +func MakeDefaultRecord(workTimes []*model.TimeOption) (records []*model.DayRecord) { + records = make([]*model.DayRecord, 0) + for i := 0; i < len(workTimes); i++ { + records = append(records, &model.DayRecord{ + WorkTime: workTimes[i].OnWorkTime, + OnOff: model.OnWork, + }) + + records = append(records, &model.DayRecord{ + WorkTime: workTimes[i].OffWorkTime, + OnOff: model.OffWork, + }) + } + return + +} + +// MakeApplyType 组装 申请记录 +func MakeApplyType(apply *oa.OAApply) (applyDetail *model.ApplyDetail) { + applyDetail = new(model.ApplyDetail) + + applyDetail = &model.ApplyDetail{ + ApplyID: apply.ApprovalID, + ApplyType: apply.ApplyType, + ApplyTypeZhCN: common.LeaveTypeZhCN[apply.ApplyType], + ApplyStatus: apply.Status, + } + + applyDetail.ItineraryList = make([]*model.Itinerary, 0) + + if len(apply.ApplyTimes) > 0 { + date := []string{apply.ApplyTimes[0].Date} + has := false + if len(apply.ApplyTimes) == 2 { + date = append(date, apply.ApplyTimes[1].Date) + has = true + } + holidaysMap, holidaysMapErr := HolidayList(date) + if holidaysMapErr != nil { + return + } + itinerary := &model.Itinerary{ + ApplyStartTime: apply.ApplyTimes[0].Date + " " + apply.ApplyTimes[0].M, + StartDayType: int32(holidaysMap[apply.ApplyTimes[0].Date].Type), + StartDayWeekly: oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[0].Date].WeekDay], + } + if has { + itinerary.ApplyEndTime = apply.ApplyTimes[1].Date + " " + apply.ApplyTimes[1].M + itinerary.EndDayType = int32(holidaysMap[apply.ApplyTimes[1].Date].Type) + itinerary.EndDayWeekly = oa_model.WeekZhCN[holidaysMap[apply.ApplyTimes[1].Date].WeekDay] + } + + applyDetail.ItineraryList = append(applyDetail.ItineraryList) + + } + + if apply.ItineraryList != nil && len(apply.ItineraryList) > 0 { + + for j := 0; j < len(apply.ItineraryList); j++ { + + holidaysMap, holidaysMapErr := HolidayList([]string{apply.ItineraryList[j].ApplyTimes[0].Date, apply.ItineraryList[j].ApplyTimes[len(apply.ItineraryList[j].ApplyTimes)-1].Date}) + if holidaysMapErr != nil { + return + } + + applyDetail.ItineraryList = append(applyDetail.ItineraryList, &model.Itinerary{ + StartAddress: apply.ItineraryList[j].StartAddress, + EndAddress: apply.ItineraryList[j].EndAddress, + ApplyStartTime: apply.ItineraryList[j].ApplyTimes[0].Date + " " + apply.ItineraryList[j].ApplyTimes[0].M, + StartDayType: int32(holidaysMap[apply.ItineraryList[j].ApplyTimes[0].Date].Type), + StartDayWeekly: oa_model.WeekZhCN[holidaysMap[apply.ItineraryList[j].ApplyTimes[0].Date].WeekDay], + ApplyEndTime: apply.ItineraryList[j].ApplyTimes[1].Date + " " + apply.ItineraryList[j].ApplyTimes[1].M, + EndDayType: int32(holidaysMap[apply.ItineraryList[j].ApplyTimes[1].Date].Type), + EndDayWeekly: oa_model.WeekZhCN[holidaysMap[apply.ItineraryList[j].ApplyTimes[1].Date].WeekDay], + Days: apply.ItineraryList[j].Days, + Vehicle: apply.ItineraryList[j].Vehicle, + }) + } + } + + return +} + +// CheckActionTypeAndApplyType 判断 当前考勤是否存在 action_type 和 apply_type +func CheckActionTypeAndApplyType(workDay *model.WorkDayDetail) bool { + if workDay.Records == nil || len(workDay.Records) == 0 { + return true + } + + missActionType := 0 + for i := 0; i < len(workDay.Records); i++ { + if workDay.Records[i].ActionType == "" { + missActionType++ + } + } + + if missActionType == len(workDay.Records) && (workDay.ApplyTypes == nil || len(workDay.ApplyTypes) == 0) { + return true + } + + return false +} + +func MakeOverTimeAbnormal(workDayDetail *model.WorkDayDetail, applyStartTime, applyEndTime time.Time) (startAbnormal, endAbnormal int32, startActionTime, endActionTime string) { + + //fmt.Println("===================== MakeOverTimeAbnormal ======================") + //fmt.Printf("workDayDetail: %+v \n ", workDayDetail) + //fmt.Println("applyStartTime: ", applyStartTime) + //fmt.Println("applyEndTime: ", applyEndTime) + //fmt.Println("===================== MakeOverTimeAbnormal ======================") + + if workDayDetail.Records == nil || len(workDayDetail.Records) == 0 { + return 0, 0, "", "" + } + + if workDayDetail.IsWork == model.IsWork { + if workDayDetail.WorkTimes == nil || len(workDayDetail.WorkTimes) == 0 { + return 0, 0, "", "" + } + + onWorkTime := common.ConvertWorkDateAndWorkTime(workDayDetail.WorkDate, workDayDetail.WorkTimes[0].OnWorkTime) + + offWorkTime := common.ConvertWorkDateAndWorkTime(workDayDetail.WorkDate, workDayDetail.WorkTimes[len(workDayDetail.WorkTimes)-1].OffWorkTime) + + fmt.Println("================ 情况一 ======================") + // 加班的 申请时间在 开始时间之前 + if !applyStartTime.After(onWorkTime) && !applyEndTime.After(onWorkTime) { + actionTime := common.ConvertActionTime(workDayDetail.Records[0].ActionTime) + + if workDayDetail.Records[0].ActionTime == "" { + // 未打卡 + startAbnormal = model.IsAbnormal + startActionTime = workDayDetail.Records[0].ActionTime + endAbnormal = model.IsAbnormal + endActionTime = workDayDetail.Records[0].ActionTime + } else if !applyStartTime.Before(actionTime) && !applyEndTime.Before(actionTime) { + startAbnormal = model.NotAbnormal + endAbnormal = model.NotAbnormal + } else { + startAbnormal = model.IsAbnormal + startActionTime = workDayDetail.Records[0].ActionTime + endAbnormal = model.IsAbnormal + endActionTime = workDayDetail.Records[0].ActionTime + } + //fmt.Println("startAbnormal: ", startAbnormal) + //fmt.Println("startActionTime: ", startActionTime) + //fmt.Println("endAbnormal: ", endAbnormal) + //fmt.Println("endActionTime: ", endActionTime) + } + fmt.Println("================ 情况一 ======================") + + fmt.Println("================ 情况二 ======================") + // 加班的 申请时间在 开始时间之后 + if !applyStartTime.Before(offWorkTime) && !applyEndTime.Before(offWorkTime) { + actionTime := common.ConvertActionTime(workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime) + //fmt.Println("actionTime: ", actionTime) + //fmt.Println("workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime: ", workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime) + + if workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime == "" { + // 未打卡 + startAbnormal = model.IsAbnormal + startActionTime = workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime + endAbnormal = model.IsAbnormal + endActionTime = workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime + //} else if !applyEndTime.Before(actionTime) { + } else if applyEndTime.After(actionTime) { + //startAbnormal = model.IsAbnormal + //startActionTime = workDayDetail.Records[len(workDayDetail.Records)-1].WorkTime + endAbnormal = model.IsAbnormal + endActionTime = workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime + } else { + startAbnormal = model.NotAbnormal + endAbnormal = model.NotAbnormal + } + //fmt.Println("startAbnormal: ", startAbnormal) + //fmt.Println("startActionTime: ", startActionTime) + //fmt.Println("endAbnormal: ", endAbnormal) + //fmt.Println("endActionTime: ", endActionTime) + } + fmt.Println("================ 情况二 ======================") + + fmt.Println("================ 情况三 ======================") + // 加班的 申请时间在 开始时间 在上班时间之前 结束时间 在下班时间之 后 + if !applyStartTime.After(onWorkTime) && !applyEndTime.Before(offWorkTime) { + onActionTime := common.ConvertActionTime(workDayDetail.Records[0].ActionTime) + offActionTime := common.ConvertActionTime(workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime) + //fmt.Println("onActionTime: ", onActionTime) + //fmt.Println("offActionTime: ", offActionTime) + if workDayDetail.Records[0].ActionTime == "" { + // 未打卡 + startAbnormal = model.IsAbnormal + startActionTime = workDayDetail.Records[0].ActionTime + } else if !applyStartTime.Before(onActionTime) { + startAbnormal = model.NotAbnormal + } else { + startAbnormal = model.IsAbnormal + startActionTime = workDayDetail.Records[0].ActionTime + } + //fmt.Println("startAbnormal: ", startAbnormal) + //fmt.Println("startActionTime: ", startActionTime) + + if workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime == "" { + // 未打卡 + endAbnormal = model.IsAbnormal + endActionTime = workDayDetail.Records[0].ActionTime + } else if !applyEndTime.After(offActionTime) { + endAbnormal = model.NotAbnormal + } else { + endAbnormal = model.IsAbnormal + endActionTime = workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime + } + //fmt.Println("endAbnormal: ", endAbnormal) + //fmt.Println("endActionTime: ", endActionTime) + } + + } + fmt.Println("================ 情况三 ======================") + + fmt.Println("================ 情况四 ======================") + if workDayDetail.IsWork == model.IsFree { + onActionTime := common.ConvertActionTime(workDayDetail.Records[0].ActionTime) + offActionTime := common.ConvertActionTime(workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime) + //fmt.Println("===================== MakeOverTimeAbnormal ======================") + //fmt.Println("onActionTime: ", onActionTime) + //fmt.Println("offActionTime: ", offActionTime) + //fmt.Println("===================== MakeOverTimeAbnormal ======================") + if !applyStartTime.Before(onActionTime) { + startAbnormal = model.NotAbnormal + } else { + startAbnormal = model.IsAbnormal + startActionTime = workDayDetail.Records[0].ActionTime + } + + if !applyEndTime.After(offActionTime) { + endAbnormal = model.NotAbnormal + } else { + endAbnormal = model.IsAbnormal + endActionTime = workDayDetail.Records[len(workDayDetail.Records)-1].ActionTime + } + } + fmt.Println("================ 情况四 ======================") + + return startAbnormal, endAbnormal, startActionTime, endActionTime +} + +type ExcelAttendanceInfo struct { + Date string // 日期 + Attendance string // 考勤提示信息 + Colour *excelize.Style // 考勤提示信息颜色 +} +type ExcelAttendanceList struct { + StaffUID uint64 + List []*ExcelAttendanceInfo +} + +func GenerateAttendanceInfo(workDays []*model.WorkDayDetail, staffUID uint64, Month string) []ExcelAttendanceInfo { + attendanceList := &ExcelAttendanceList{ + StaffUID: staffUID, + List: []*ExcelAttendanceInfo{}, + } + + // 优先级高的颜色在后面,逐渐覆盖 + colourPriority := map[string]int{ + "#F0E0FF": 4, // 旷工 + "#FFDCE3": 3, // 请假、加班、外勤等 + "#FFEECB": 2, // 迟到、早退、缺卡 + "#D5E6FF": 1, // 正常 + "#FFFFFF": 0, // 休息 + } + + // 解析查询的月份 + parsedMonth, err := time.Parse("2006-01", Month) + if err != nil { + // 处理解析错误,返回空或日志 + return []ExcelAttendanceInfo{} + } // 上一个月 + startDate := time.Date(parsedMonth.Year(), parsedMonth.Month()-1, 26, 0, 0, 0, 0, parsedMonth.Location()) // 上一个月26号 + endDate := time.Date(parsedMonth.Year(), parsedMonth.Month(), 25, 0, 0, 0, 0, parsedMonth.Location()) // 本月25号 + existingDates := make(map[string]bool) + + beginDateFormatted := startDate.Format("20060102") + endDateFormatted := endDate.Format("20060102") + + holidays, err := holiday.GetMultiData(beginDateFormatted, endDateFormatted, false) + allDates := make(map[string]bool) + for _, i := range holidays { + formattedDate := fmt.Sprintf("%04d-%02d-%02d", i.Year, i.Month, i.Day) // 确保格式为 "MM-DD" + allDates[formattedDate] = i.Type != 0 // 非0表示假期 + } + // 处理考勤记录 + for _, workDay := range workDays { + var attendanceInfo string + var finalColour *excelize.Style // 用于存储样式 + var highestPriority int = 0 // 最高优先级,初始为休息的优先级 + allMiss := true // 假设当天所有记录都是缺卡 + // 标记当前日期为存在 + existingDates[workDay.WorkDate] = true + // 判断是否存在异常考勤 + allCommon := true + for _, record := range workDay.Records { + if record.ActionType != "common" { + allCommon = false + break + } + } + if !workDay.Abnormal && allCommon { + attendanceInfo = "正常" + // 判断是否为休息日 + if isHoliday, exists := allDates[workDay.WorkDate]; exists && isHoliday { + // 如果有打卡记录,显示上下班打卡时间 + if len(workDay.Records) == 1 { + // 只有一次打卡,显示为单次打卡的时间 + attendanceInfo = fmt.Sprintf("休息日单次打卡: %s", workDay.Records[0].ActionTime) + } else if len(workDay.Records) > 1 { + // 多次打卡,显示上下班时间 + clockInTime := workDay.Records[0].ActionTime // 第一条记录为上班打卡时间 + clockOutTime := workDay.Records[len(workDay.Records)-1].ActionTime // 最后一条记录为下班打卡时间 + + attendanceInfo = fmt.Sprintf("休息日打卡:\n %s - %s", clockInTime, clockOutTime) + } else { + attendanceInfo = "休息日" + } + } + finalColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#D5E6FF"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 正常 + allMiss = false + } else { + // 处理每条打卡记录 + for _, record := range workDay.Records { + //hasAttendanceRecord = true // 发现打卡记录或申请 + shift := "未知" // 默认值 + + if record.OnOff == "on" { + shift = "上班" + } else if record.OnOff == "off" { + shift = "下班" + } + + var currentInfo string + var currentColour *excelize.Style // 用于存储当前记录的样式 + + switch record.ActionType { + case "common": + currentInfo = fmt.Sprintf("%s正常打卡", shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#D5E6FF"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 正常 + allMiss = false // 有正常打卡,非全缺卡 + case "goOut": + currentInfo = fmt.Sprintf("%s %s外出", record.ActionTime, shift) + actionTime, err := time.Parse("2006-01-02 15:04", record.ActionTime) + if err != nil { + fmt.Println("无法解析 ActionTime:", err) + break + } + if len(record.ApplyInfo) > 0 { + for _, s := range record.ApplyInfo { + if len(s.ItineraryList) > 0 { + for _, m := range s.ItineraryList { + applyStartDate := strings.Split(m.ApplyStartTime, " ")[0] + applyEndDate := strings.Split(m.ApplyStartTime, " ")[0] + // 提取 ActionTime 的日期部分 + actionDate := actionTime.Format("2006-01-02") + // 当 ApplyStartTime 和 ActionTime 的日期匹配时,更新出差信息 + if applyStartDate == actionDate { + currentInfo = fmt.Sprintf("%s %s外出至%s", actionDate, shift, applyEndDate) + break // 找到匹配的记录后退出循环 + } + } + } + } + } + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 正常 + allMiss = false // 有正常打卡,非全缺卡 + case "miss": + currentInfo = fmt.Sprintf("%s %s缺卡", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFEECB"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 缺卡 + //allCommon = false + case "late": + if record.IsExtremeLateness { + currentInfo = fmt.Sprintf("%s %s严重迟到", shift, record.ActionTime) + } else { + currentInfo = fmt.Sprintf("%s %s迟到", shift, record.ActionTime) + } + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFEECB"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 迟到 + allMiss = false // 有迟到记录,非全缺卡 + //allCommon = false + case "before": + currentInfo = fmt.Sprintf("%s %s早退", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFEECB"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 早退 + allMiss = false + case "overTime": + currentInfo = fmt.Sprintf("%s %s加班", shift, record.ActionTime) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 加班 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "leave": + currentInfo = fmt.Sprintf("%s %s事假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "sick": + currentInfo = fmt.Sprintf("%s %s病假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "dayOff": + currentInfo = fmt.Sprintf("%s %s调休", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "annualLeave": + currentInfo = fmt.Sprintf("%s %s年假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "maritalLeave": + currentInfo = fmt.Sprintf("%s %s婚假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "matingCheckLeave": + currentInfo = fmt.Sprintf("%s %s孕检假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "maternityLeave": + currentInfo = fmt.Sprintf("%s %s产假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "paternityLeave": + currentInfo = fmt.Sprintf("%s %s陪产假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "parentalLeave": + currentInfo = fmt.Sprintf("%s %s育儿假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "nursingLeave": + currentInfo = fmt.Sprintf("%s %s独生子女护理假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "funeralLeave": + currentInfo = fmt.Sprintf("%s %s丧假", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "makeUp": + currentInfo = fmt.Sprintf("%s %s补卡", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "outWork": + currentInfo = fmt.Sprintf("%s外勤", shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "makeUpSys": + currentInfo = fmt.Sprintf("%s %s系统补卡", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + case "businessTrip": + currentInfo = fmt.Sprintf("%s %s出差", record.ActionTime, shift) + actionTime, err := time.Parse("2006-01-02 15:04", record.ActionTime) + if err != nil { + fmt.Println("无法解析 ActionTime:", err) + break + } + if len(record.ApplyInfo) > 0 { + for _, s := range record.ApplyInfo { + if len(s.ItineraryList) > 0 { + for _, m := range s.ItineraryList { + applyStartDate := strings.Split(m.ApplyStartTime, " ")[0] + applyEndDate := strings.Split(m.ApplyStartTime, " ")[0] + // 提取 ActionTime 的日期部分 + actionDate := actionTime.Format("2006-01-02") + // 当 ApplyStartTime 和 ActionTime 的日期匹配时,更新出差信息 + if applyStartDate == actionDate { + currentInfo = fmt.Sprintf("%s %s出差至%s", actionDate, shift, applyEndDate) + break // 找到匹配的记录后退出循环 + } + } + } + } + } + //currentInfo = fmt.Sprintf("%s %s出差", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFDCE3"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 事假 + allMiss = false // 有早退记录,非全缺卡 + //allCommon = false + default: + currentInfo = fmt.Sprintf("%s %s未知记录类型", record.ActionTime, shift) + currentColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFFFFF"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 默认白色 + allMiss = false // 有其他记录,非全缺卡 + //allCommon = false + } + + // 拼接考勤提示信息 + if attendanceInfo == "" { + attendanceInfo = currentInfo + } else { + attendanceInfo = fmt.Sprintf("%s\n%s", attendanceInfo, currentInfo) // 换行拼接 + } + + // 检查颜色优先级 + if priority, exists := colourPriority[currentColour.Fill.Color[0]]; exists && priority > highestPriority { + highestPriority = priority + finalColour = currentColour // 更新为优先级最高的颜色 + } + } + } + + // 如果当天所有记录都是缺卡,将考勤信息标记为旷工 + if allMiss && workDay.IsWork == 1 { + attendanceInfo = "旷工" + finalColour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#F0E0FF"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 旷工的颜色 + } + // 添加到列表中 + attendanceList.List = append(attendanceList.List, &ExcelAttendanceInfo{ + Date: workDay.WorkDate, + Attendance: attendanceInfo, + Colour: finalColour, + }) + } + // 处理缺失日期 + // 遍历日期范围 + for day := startDate; day.Before(endDate) || day.Equal(endDate); day = day.AddDate(0, 0, 1) { + formattedDay := day.Format("2006-01-02") // 将日期格式化为 "YYYY-MM-DD" + + if _, exists := existingDates[formattedDay]; !exists { + isHoliday := allDates[formattedDay] // 检查当前日期是否是假期 + var attendance string + var colour *excelize.Style + + if isHoliday { + // 假期处理 + attendance = "休息日" + colour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#FFFFFF"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 白色 + } else { + // 工作日旷工处理 + attendance = "旷工" + colour = &excelize.Style{Fill: excelize.Fill{Type: "pattern", Color: []string{"#F0E0FF"}, Pattern: 1}, + Alignment: &excelize.Alignment{ + Horizontal: "center", // 水平居中 + Vertical: "center", // 垂直居中 + WrapText: true, // 启用换行 + }, + Border: []excelize.Border{ + {Type: "left", Style: 1, Color: "#000000"}, + {Type: "right", Style: 1, Color: "#000000"}, + {Type: "top", Style: 1, Color: "#000000"}, + {Type: "bottom", Style: 1, Color: "#000000"}, + }} // 旷工颜色 + } + + // 添加到考勤列表 + attendanceList.List = append(attendanceList.List, &ExcelAttendanceInfo{ + Date: formattedDay, + Attendance: attendance, + Colour: colour, + }) + } + } + sort.Slice(attendanceList.List, func(i, j int) bool { + return attendanceList.List[i].Date < attendanceList.List[j].Date + }) + + // 将指针切片转换为值切片返回 + var result []ExcelAttendanceInfo + for _, info := range attendanceList.List { + result = append(result, *info) // 解引用并添加到值切片 + } + + return result +} diff --git a/pkg/service/oa_new/oa_logic/outWorkCheckLogic.go b/pkg/service/oa_new/oa_logic/outWorkCheckLogic.go new file mode 100644 index 0000000..edef36c --- /dev/null +++ b/pkg/service/oa_new/oa_logic/outWorkCheckLogic.go @@ -0,0 +1,27 @@ +package oa_logic + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" +) + +func QueryOutWorkCheck(staffUID uint64, applyUUID string) (outWorkCheck []*oa.OutWorkCheck, err error) { + // 获取 记录 + req := new(oa.OutWorkCheckReq) + req.ApplyUUID = applyUUID + req.StaffUID = staffUID + checkRecordRes, checkRecordResErr := service.GrpcOAImpl.QueryCheckRecord(context.Background(), req) + if checkRecordResErr != nil { + logger.Errorf("查询外出回归记录失败:%s", checkRecordResErr.Error()) + fmt.Printf("查询外出回归记录失败:%s", checkRecordResErr.Error()) + return nil, errors.New(e.ErrorQueryOutWorkCheck) + } + + outWorkCheck = checkRecordRes.Data + return +} diff --git a/pkg/service/oa_new/oa_logic/splitOaApply.go b/pkg/service/oa_new/oa_logic/splitOaApply.go new file mode 100644 index 0000000..0e374c6 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/splitOaApply.go @@ -0,0 +1,263 @@ +package oa_logic + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "go.uber.org/zap" +) + +/* 拆分 oa 申请 */ + +func CheckLeaveIn(dates []string, applyTimes []*oa.ApplyTime) (allIn, startIn, endIn bool) { + if dates != nil && len(dates) > 0 { + if applyTimes != nil { + if len(applyTimes) == 1 { + if common.IsInDates(applyTimes[0].Date, dates) { + return true, false, false + } + } else if len(applyTimes) == 2 { + + if common.IsInDates(applyTimes[0].Date, dates) { + startIn = true + } + if common.IsInDates(applyTimes[1].Date, dates) { + endIn = true + } + if startIn && endIn { + allIn = true + } + } + } + } + return +} + +func CheckLeaveOut(dates []string, applyTimes []*oa.ApplyTime) (within bool) { + if dates != nil && len(dates) > 0 { + if applyTimes != nil { + if len(applyTimes) == 1 { + if !common.IsInDates(applyTimes[0].Date, dates) { + return true + } + } else if len(applyTimes) == 2 { + var beforeStartOut, afterEndOut bool + if common.BeforeStartDate(applyTimes[0].Date, dates) { + beforeStartOut = true + } + + if common.AfterEndDate(applyTimes[1].Date, dates) { + afterEndOut = true + } + + // 申请时间 开始时间 在时间段之前 且 结束时间 在时间段之后 + if beforeStartOut && afterEndOut { + within = true + return + } + } + } + } + return +} + +func CalcDurationForDates(month string, dates []string, applyTimes []*oa.ApplyTime, workingTime *oa.WorkingTime, leaveType string) (day, hour float32, allIn bool) { + if month != "" { + dates = holiday.SplitMonthV1(common.Add25ForMonth(month), common.YYMMDD) + } + + fmt.Println("============================================ CalcDurationForDates ============================================") + fmt.Printf("dates: %+v\n", dates) + fmt.Println("===========================================================================================================") + fmt.Println("============================================ applyTimes ============================================") + fmt.Printf("applyTimes: %+v\n", applyTimes) + fmt.Println("===========================================================================================================") + + allIn, startIn, endIn := CheckLeaveIn(dates, applyTimes) + fmt.Println("============================================ CheckLeaveIn ============================================") + fmt.Printf("allIn: %v, startIn: %v, endIn: %v\n", allIn, startIn, endIn) + fmt.Println("===========================================================================================================") + if allIn { + return 0, 0, allIn + } + + // 开始时间 在 查询的 时间段内 + if startIn { + newApplyTimes := applyTimes + if len(newApplyTimes) == 2 { + newApplyTimes[1].Date = dates[len(dates)-1] + if newApplyTimes[1].M != "" { + newApplyTimes[1].M = "下午" + } + if newApplyTimes[1].Hour != "" { + newApplyTimes[1].Hour = workingTime.Time[len(workingTime.Time)-1].OffWorkTime + } + } + fmt.Println("============================================ newApplyTimes ============================================") + fmt.Printf("newApplyTimes: %+v\n", newApplyTimes) + fmt.Println("===========================================================================================================") + fmt.Println("============================================ workingTime ============================================") + fmt.Printf("workingTime: %+v\n", workingTime) + fmt.Println("===========================================================================================================") + fmt.Println("============================================ leaveType ============================================") + fmt.Printf("leaveType: %s\n", leaveType) + fmt.Println("===========================================================================================================") + day, hour = calcDuration(newApplyTimes, workingTime, leaveType) + return day, hour, allIn + } + + // 结束时间 在 查询的 时间段内 + if endIn { + newApplyTimes := applyTimes + + newApplyTimes[0].Date = dates[0] + if newApplyTimes[0].M != "" { + newApplyTimes[0].M = "上午" + } + if newApplyTimes[0].Hour != "" { + newApplyTimes[0].Hour = workingTime.Time[0].OnWorkTime + } + + day, hour = calcDuration(newApplyTimes, workingTime, leaveType) + return day, hour, allIn + } + + within := CheckLeaveOut(dates, applyTimes) + fmt.Println("============================================ CheckLeaveOut ============================================") + fmt.Printf("within: %v\n", within) + fmt.Println("===========================================================================================================") + if within { + newApplyTimes := applyTimes + + newApplyTimes[0].Date = dates[0] + if newApplyTimes[0].M != "" { + newApplyTimes[0].M = "上午" + } + if newApplyTimes[0].Hour != "" { + newApplyTimes[0].Hour = workingTime.Time[0].OnWorkTime + } + + if len(newApplyTimes) == 2 { + newApplyTimes[1].Date = dates[len(dates)-1] + if newApplyTimes[1].M != "" { + newApplyTimes[1].M = "下午" + } + if newApplyTimes[1].Hour != "" { + newApplyTimes[1].Hour = workingTime.Time[len(workingTime.Time)-1].OffWorkTime + } + } + + day, hour = calcDuration(newApplyTimes, workingTime, leaveType) + } + + return +} + +/* +包含节假日的假期类型 +婚假 +产假 +陪产假 +流产假 +*/ +func calcDuration(applyTimes []*oa.ApplyTime, workingTime *oa.WorkingTime, leaveType string) (day, hour float32) { + + switch leaveType { + case oa_model.TypeAnnualLeave: + data := copyApplyTimes(applyTimes) + res, err := AnnualLeaveDurationHandle(data, workingTime) + if err != nil { + zap.L().Error("calcDuration AnnualLeaveDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ AnnualLeaveDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return res.NotTakeOut.Days, 0 + case oa_model.TypeBusinessTrip: + data := copyApplyTimes(applyTimes) + res, err := CalcAllDayDurationHandle(data) + if err != nil { + zap.L().Error("calcDuration BusinessTripDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ BusinessTripDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return res.NotTakeOut.Days, 0 + case oa_model.TypeOutWork: + data := copyApplyTimes(applyTimes) + res, err := OutWorkDurationHandle(data) + if err != nil { + zap.L().Error("calcDuration OutWorkDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ OutWorkDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return 0, res.NotTakeOut.Hours + case oa_model.TypeMaritalLeave: + data := copyApplyTimes(applyTimes) + res, err := CalcAllDayDurationHandle(data) + if err != nil { + zap.L().Error("calcDuration BusinessTripDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ BusinessTripDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return res.NotTakeOut.Days, 0 + case oa_model.TypeMaternityLeave: + data := copyApplyTimes(applyTimes) + res, err := CalcAllDayDurationHandle(data) + if err != nil { + zap.L().Error("calcDuration BusinessTripDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ BusinessTripDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return res.NotTakeOut.Days, 0 + case oa_model.TypeAbortLeave: + data := copyApplyTimes(applyTimes) + res, err := CalcAllDayDurationHandle(data) + if err != nil { + zap.L().Error("calcDuration BusinessTripDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ BusinessTripDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return res.NotTakeOut.Days, 0 + case oa_model.TypePaternityLeave: + data := copyApplyTimes(applyTimes) + res, err := CalcAllDayDurationHandle(data) + if err != nil { + zap.L().Error("calcDuration BusinessTripDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ BusinessTripDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return res.NotTakeOut.Days, 0 + default: + data := copyApplyTimes(applyTimes) + res, err := LeaveDurationHandle(data, workingTime) + if err != nil { + zap.L().Error("calcDuration LeaveDurationHandle ", zap.Error(err)) + } + fmt.Println("============================================ LeaveDurationHandle ============================================") + fmt.Printf("res: %+v\n", res) + fmt.Println("===========================================================================================================") + return res.NotTakeOut.Days, res.NotTakeOut.Hours + } +} + +func copyApplyTimes(applyTimes []*oa.ApplyTime) model.Data { + var date = model.Data{} + date.ApplyTimes = make([]model.ApplyTime, 0) + for i := 0; i < len(applyTimes); i++ { + date.ApplyTimes = append(date.ApplyTimes, model.ApplyTime{ + Date: applyTimes[i].Date, + M: applyTimes[i].M, + Hour: applyTimes[i].Hour, + }) + } + return date +} diff --git a/pkg/service/oa_new/oa_logic/workTimeTemplateLogic.go b/pkg/service/oa_new/oa_logic/workTimeTemplateLogic.go new file mode 100644 index 0000000..46e4276 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/workTimeTemplateLogic.go @@ -0,0 +1,354 @@ +package oa_logic + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/jinzhu/copier" + "strconv" + "strings" +) + +// VerifyDepartmentAndPositionAndUserForSave 给 保存 考勤组规则使用 +func VerifyDepartmentAndPositionAndUserForSave(relationReq *oa.WorkingTimeTemplateRelation) (duplicatePersonals []*oa_model.DuplicatePersonnel, err error) { + // 查询 已有的考勤组规则 + workingTimeListReq := new(oa.WorkingTimeListReq) + workingTimeListReq.Page = 1 + workingTimeListReq.PageSize = 99999999 + workingTimeListReq.InUse = e.InUseAndEffectiveDateIsNextDate + workingTimeListReq.EffectiveDate = holiday.NextDate() + workingTimes, workingTimeListErr := service.GrpcOAImpl.WorkingTimeList(context.Background(), workingTimeListReq) + if workingTimeListErr != nil { + logger.Errorf("查询考勤组规则失败:%s", workingTimeListErr.Error()) + return nil, errors.New(e.ErrQueryWorkingTimeList) + } + + hadWorkingTimeUser := make(map[uint64]*account.AccountInfo) + + for i := 0; i < len(workingTimes.Data); i++ { + oldRelationErr := queryWorkingTimeUser(workingTimes.Data[i], hadWorkingTimeUser) + if oldRelationErr != nil { + return nil, oldRelationErr + } + } + + // 查询 新增的考勤规则 + for i := 0; i < len(relationReq.AddPositions); i++ { + + fmt.Println("============================================= relationReq.AddPositions ============================================== ") + fmt.Printf("relationReq.AddPositions[%d] = %v\n", i, relationReq.AddPositions[i]) + fmt.Println("============================================= relationReq.AddPositions ============================================== ") + duplicatePersonnel, newRelationErr := queryNewWorkingTimeUser(relationReq.AddPositions[i], hadWorkingTimeUser) + if newRelationErr != nil { + return nil, newRelationErr + } + + if duplicatePersonnel != nil { + duplicatePersonals = append(duplicatePersonals, duplicatePersonnel...) + } + } + + return duplicatePersonals, nil +} + +func VerifyDepartmentAndPositionAndUser(relationReq *oa.WorkingTimeTemplateRelation) (duplicatePersonals []*oa_model.DuplicatePersonnel, err error) { + // 查询 已有的考勤组规则 + workingTimeListReq := new(oa.WorkingTimeListReq) + workingTimeListReq.Page = 1 + workingTimeListReq.PageSize = 99999999 + workingTimeListReq.InUse = e.InUseAndEffectiveDateIsNextDate + workingTimeListReq.EffectiveDate = holiday.NextDate() + workingTimes, workingTimeListErr := service.GrpcOAImpl.WorkingTimeList(context.Background(), workingTimeListReq) + if workingTimeListErr != nil { + logger.Errorf("查询考勤组规则失败:%s", workingTimeListErr.Error()) + return nil, errors.New(e.ErrQueryWorkingTimeList) + } + + hadWorkingTimeUser := make(map[uint64]*account.AccountInfo) + + for i := 0; i < len(workingTimes.Data); i++ { + oldRelationErr := queryWorkingTimeUser(workingTimes.Data[i], hadWorkingTimeUser) + if oldRelationErr != nil { + return nil, oldRelationErr + } + } + + // 查询 新增的考勤规则 + for i := 0; i < len(relationReq.AddPositions); i++ { + + fmt.Println("============================================= relationReq.AddPositions ============================================== ") + fmt.Printf("relationReq.AddPositions[%d] = %v\n", i, relationReq.AddPositions[i]) + fmt.Println("============================================= relationReq.AddPositions ============================================== ") + duplicatePersonnel, newRelationErr := queryNewWorkingTimeUser(relationReq.AddPositions[i], hadWorkingTimeUser) + if newRelationErr != nil { + return nil, newRelationErr + } + + if duplicatePersonnel != nil { + duplicatePersonals = append(duplicatePersonals, duplicatePersonnel...) + } + } + + return duplicatePersonals, nil +} + +func queryWorkingTimeUser(workingTime *oa.WorkingTime, hadWorkingTimeUser map[uint64]*account.AccountInfo) error { + + queryAccount := new(account.ListV2Request) + departmentId, _ := strconv.Atoi(workingTime.DepartmentUID) + queryAccount.DepartmentId = uint32(departmentId) + queryAccount.DepartmentName = workingTime.DepartmentName + + positionId, _ := strconv.Atoi(workingTime.PositionUID) + queryAccount.PositionId = uint32(positionId) + queryAccount.PositionName = workingTime.PositionName + + listRes, err := service.AccountProvider.ListV2(context.Background(), queryAccount) + if err != nil { + logger.Errorf("查询账户失败:%s", err.Error()) + return errors.New(e.ErrorWorkingTimeFindUser) + } + + for j := 0; j < len(listRes.Data); j++ { + user := new(account.AccountInfo) + _ = copier.CopyWithOption(&user, listRes.Data[j], copier.Option{DeepCopy: true}) + user.Positions = append(user.Positions, &account.PositionUser{ + DepartmentId: uint64(departmentId), + DepartmentName: workingTime.DepartmentName, + PositionID: uint64(positionId), + PositionName: workingTime.PositionName, + }) + hadWorkingTimeUser[listRes.Data[j].ID] = user + fmt.Println("============================================= hadWorkingTimeUser ============================================== ") + fmt.Printf("hadWorkingTimeUser[%d] = %v\n", listRes.Data[j].ID, hadWorkingTimeUser[listRes.Data[j].ID]) + fmt.Println("============================================= hadWorkingTimeUser ============================================== ") + } + + return nil +} + +func queryNewWorkingTimeUser(positions *oa.WorkingTimeTemplateRelationPosition, hadWorkingTimeUser map[uint64]*account.AccountInfo) ([]*oa_model.DuplicatePersonnel, error) { + queryAccount := new(account.ListV2Request) + departmentId, _ := strconv.Atoi(positions.DepartmentUID) + queryAccount.DepartmentId = uint32(departmentId) + queryAccount.DepartmentName = positions.DepartmentName + + positionId, _ := strconv.Atoi(positions.PositionUID) + queryAccount.PositionId = uint32(positionId) + queryAccount.PositionName = positions.PositionName + + listRes, err := service.AccountProvider.ListV2(context.Background(), queryAccount) + if err != nil { + logger.Errorf("查询账户失败:%s", err.Error()) + return nil, errors.New(e.ErrorWorkingTimeFindUser) + } + + if len(listRes.Data) <= 0 { + return nil, nil + } + + var res []*oa_model.DuplicatePersonnel + + for i := 0; i < len(listRes.Data); i++ { + fmt.Println("========================================= listRes.Data ================================================") + fmt.Printf("listRes.Data[%d] = %v\n", i, listRes.Data[i]) + fmt.Println("========================================= listRes.Data ================================================") + if v, ok := hadWorkingTimeUser[listRes.Data[i].ID]; ok { + fmt.Printf("hadWorkingTimeUser[%d] = %v\n", v.ID, v) + fmt.Println("========================================= listRes.Data ================================================") + if v != nil && len(v.Positions) == 1 { + res = append(res, &oa_model.DuplicatePersonnel{ + Name: v.NickName, + DepartmentName: v.Positions[0].PositionName, + PositionName: v.Positions[0].DepartmentName, + AddPositionName: positions.PositionName, + }) + } + } + } + + return res, nil + +} + +// VerifyNewRelationDepartmentAndPositionAndUserForSave 给 保存 考勤组规则使用 +func VerifyNewRelationDepartmentAndPositionAndUserForSave(relationReq *oa.WorkingTimeTemplateRelation) (multipleDepartments []*oa_model.MultipleDepartments, err error) { + + addWorkingTimeUser := make(map[string][]*oa_model.PositionInfo) + + addPosition := make([]*oa.WorkingTimeTemplateRelationPosition, 0) + + if relationReq.AddPositions != nil { + addPosition = append(addPosition, relationReq.AddPositions...) + } else if relationReq.AddPositionsNow != nil { + addPosition = append(addPosition, relationReq.AddPositionsNow...) + } + + for i := 0; i < len(addPosition); i++ { + err = queryUserByDepartmentAndPosition(addPosition[i], addWorkingTimeUser) + if err != nil { + logger.Errorf("查询部门岗位信息失败:%s", err.Error()) + return nil, errors.New(e.ErrQueryPositionInfo) + } + } + + if len(addWorkingTimeUser) > 0 { + fmt.Println("====================================================== queryUserByDepartmentAndPosition addWorkingTimeUser =======================") + fmt.Printf("addWorkingTimeUser : %+v\n", addWorkingTimeUser) + fmt.Println("====================================================== queryUserByDepartmentAndPosition addWorkingTimeUser =======================") + } + + multipleDepartments = make([]*oa_model.MultipleDepartments, 0) + + for k, position := range addWorkingTimeUser { + if len(position) > 1 { + multipleDepartment := new(oa_model.MultipleDepartments) + multipleDepartment.StaffUID, _ = strconv.ParseUint(strings.Split(k, ",")[0], 10, 64) + multipleDepartment.Name = strings.Split(k, ",")[1] + for j := 0; j < len(position); j++ { + multipleDepartment.Positions = append(multipleDepartment.Positions, oa_model.PositionInfo{ + DepartmentName: position[j].DepartmentName, + DepartmentUID: position[j].DepartmentUID, + PositionName: position[j].PositionName, + PositionUID: position[j].PositionUID, + }) + } + multipleDepartments = append(multipleDepartments, multipleDepartment) + } + } + + if len(multipleDepartments) > 0 { + fmt.Println("====================================================== queryUserByDepartmentAndPosition multipleDepartments =======================") + fmt.Printf("multipleDepartments : %+v\n", multipleDepartments) + fmt.Println("====================================================== queryUserByDepartmentAndPosition multipleDepartments =======================") + } + + return multipleDepartments, nil +} + +func VerifyNewRelationDepartmentAndPositionAndUser(relationReq *oa.WorkingTimeTemplateRelation) (multipleDepartments []*oa_model.MultipleDepartments, err error) { + + addWorkingTimeUser := make(map[string][]*oa_model.PositionInfo) + + addPosition := make([]*oa.WorkingTimeTemplateRelationPosition, 0) + + if relationReq.AddPositions != nil { + addPosition = append(addPosition, relationReq.AddPositions...) + } else if relationReq.AddPositionsNow != nil { + addPosition = append(addPosition, relationReq.AddPositionsNow...) + } + + for i := 0; i < len(addPosition); i++ { + err = queryUserByDepartmentAndPosition(addPosition[i], addWorkingTimeUser) + if err != nil { + logger.Errorf("查询部门岗位信息失败:%s", err.Error()) + return nil, errors.New(e.ErrQueryPositionInfo) + } + } + + if len(addWorkingTimeUser) > 0 { + fmt.Println("====================================================== queryUserByDepartmentAndPosition addWorkingTimeUser =======================") + fmt.Printf("addWorkingTimeUser : %+v\n", addWorkingTimeUser) + fmt.Println("====================================================== queryUserByDepartmentAndPosition addWorkingTimeUser =======================") + } + + multipleDepartments = make([]*oa_model.MultipleDepartments, 0) + + for k, position := range addWorkingTimeUser { + if len(position) > 1 { + multipleDepartment := new(oa_model.MultipleDepartments) + multipleDepartment.StaffUID, _ = strconv.ParseUint(strings.Split(k, ",")[0], 10, 64) + multipleDepartment.Name = strings.Split(k, ",")[1] + for j := 0; j < len(position); j++ { + multipleDepartment.Positions = append(multipleDepartment.Positions, oa_model.PositionInfo{ + DepartmentName: position[j].DepartmentName, + DepartmentUID: position[j].DepartmentUID, + PositionName: position[j].PositionName, + PositionUID: position[j].PositionUID, + }) + } + multipleDepartments = append(multipleDepartments, multipleDepartment) + } + } + + if len(multipleDepartments) > 0 { + fmt.Println("====================================================== queryUserByDepartmentAndPosition multipleDepartments =======================") + fmt.Printf("multipleDepartments : %+v\n", multipleDepartments) + fmt.Println("====================================================== queryUserByDepartmentAndPosition multipleDepartments =======================") + } + + return multipleDepartments, nil +} + +func queryUserByDepartmentAndPosition(position *oa.WorkingTimeTemplateRelationPosition, addWorkingTimeUser map[string][]*oa_model.PositionInfo) error { + // key ID +","+name + queryAccount := new(account.ListV2Request) + departmentId, _ := strconv.Atoi(position.DepartmentUID) + queryAccount.DepartmentId = uint32(departmentId) + queryAccount.DepartmentName = position.DepartmentName + + positionId, _ := strconv.Atoi(position.PositionUID) + queryAccount.PositionId = uint32(positionId) + queryAccount.PositionName = position.PositionName + + listRes, err := service.AccountProvider.ListV2(context.Background(), queryAccount) + if err != nil { + logger.Errorf("查询账户失败:%s", err.Error()) + return errors.New(e.ErrorWorkingTimeFindUser) + } + + for j := 0; j < len(listRes.Data); j++ { + accountInfo := listRes.Data[j] + fmt.Println("====================================================== queryUserByDepartmentAndPosition ListV2 =======================") + fmt.Printf("listRes.Data : %+v\n", accountInfo) + fmt.Println("====================================================== queryUserByDepartmentAndPosition ListV2 =======================") + key := strings.Join([]string{strconv.FormatUint(accountInfo.ID, 10), accountInfo.NickName}, ",") + + fmt.Println("====================================================== queryUserByDepartmentAndPosition PositionInfo key=======================") + fmt.Printf("addWorkingTimeUser key : %+v\n", key) + fmt.Println("====================================================== queryUserByDepartmentAndPosition PositionInfo key=======================") + + if addWorkingTimeUser[key] == nil { + addWorkingTimeUser[key] = make([]*oa_model.PositionInfo, 0) + } + + userInfo, userInfoErr := service.RuleProvider.UserInfo(context.Background(), &rule.RulesRequest{AccountID: accountInfo.ID}) + if userInfoErr != nil { + logger.Errorf("查询账户失败:%s", userInfoErr.Error()) + return errors.New(e.ErrorWorkingTimeFindUser) + } + + for k := 0; k < len(userInfo.PositionUsers); k++ { + addWorkingTimeUser[key] = append(addWorkingTimeUser[key], &oa_model.PositionInfo{ + DepartmentName: userInfo.PositionUsers[k].DepartmentName, + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[k].DepartmentId, 10), + PositionName: userInfo.PositionUsers[k].PositionName, + PositionUID: strconv.FormatUint(userInfo.PositionUsers[k].PositionID, 10), + }) + } + + //addWorkingTimeUser[key] = append(addWorkingTimeUser[key], &oa_model.PositionInfo{ + // DepartmentName: position.DepartmentName, + // DepartmentUID: position.DepartmentUID, + // PositionName: position.PositionName, + // PositionUID: position.PositionUID, + //}) + fmt.Println("====================================================== queryUserByDepartmentAndPosition PositionInfo for=======================") + fmt.Printf("addWorkingTimeUser : %+v\n", addWorkingTimeUser) + fmt.Println("====================================================== queryUserByDepartmentAndPosition PositionInfo for=======================") + } + + fmt.Println("====================================================== queryUserByDepartmentAndPosition PositionInfo =======================") + fmt.Printf("addWorkingTimeUser : %+v\n", addWorkingTimeUser) + fmt.Println("====================================================== queryUserByDepartmentAndPosition PositionInfo =======================") + + return nil +} diff --git a/pkg/service/oa_new/oa_logic/workingTimeLogic.go b/pkg/service/oa_new/oa_logic/workingTimeLogic.go new file mode 100644 index 0000000..53b11c1 --- /dev/null +++ b/pkg/service/oa_new/oa_logic/workingTimeLogic.go @@ -0,0 +1,197 @@ +package oa_logic + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "strconv" + "strings" +) + +// QueryWorkingTimeInUse 临时用于查询员工的考勤信息 +func QueryWorkingTimeInUse(positions []*rule.PositionUser, staffUID uint64) (workingTime *oa.WorkingTime, err error) { + + workingTime = new(oa.WorkingTime) + + if staffUID != 0 { + //checkTheCurrentAttendanceShift, checkTheCurrentAttendanceShiftErr := service.GrpcEmployeeProvider.CheckTheCurrentAttendanceShift(context.Background(), &employee.CheckTheCurrentAttendanceShiftRequest{UserId: staffUID}) + checkTheCurrentAttendanceShift, _ := service.GrpcEmployeeProvider.CheckTheCurrentAttendanceShift(context.Background(), &employee.CheckTheCurrentAttendanceShiftRequest{UserId: staffUID}) + //if checkTheCurrentAttendanceShiftErr != nil { + // logger.Errorf("查询员工档案 绑定的 考勤信息失败:%s", checkTheCurrentAttendanceShiftErr.Error()) + // return nil, errors.New(e.ErrQueryEmployeeAttendance) + //} + if checkTheCurrentAttendanceShift != nil { + fmt.Println("=========== checkTheCurrentAttendanceShift ===========") + fmt.Printf("checkTheCurrentAttendanceShift %+v \n", checkTheCurrentAttendanceShift.AttendanceSectionUuid) + fmt.Println("=========== checkTheCurrentAttendanceShift ===========") + if checkTheCurrentAttendanceShift.AttendanceSectionUuid != "" { + var queryWorkingTimeFormalErr error + workingTime, queryWorkingTimeFormalErr = QueryWorkingTimeFormal(checkTheCurrentAttendanceShift.AttendanceSectionUuid) + if err != nil { + logger.Errorf("查询员工档案 后查询 考勤信息失败:%s", queryWorkingTimeFormalErr.Error()) + } + } + + } + } + + if workingTime != nil && workingTime.UUID != "" { + //departmentUID, _ := strconv.ParseUint(workingTime.DepartmentUID, 10, 64) + //positionUID, _ := strconv.ParseUint(workingTime.PositionUID, 10, 64) + //departmentName, positionName := queryDepartmentNameAndPositionName(departmentUID, positionUID) + //if departmentName != "" { + // workingTime.DepartmentName = departmentName + //} + //if positionName != "" { + // workingTime.PositionName = positionName + //} + return workingTime, nil + } + + // 查询 考勤信息 + workingTimeWithPositionsReq := new(oa.WorkingTimeWithPositionsReq) + workingTimeWithPositionsReq.Page = 1 + workingTimeWithPositionsReq.PageSize = 99999 + for i := 0; i < len(positions); i++ { + workingTimeWithPositionsReq.Positions = append(workingTimeWithPositionsReq.Positions, &oa.WorkingTimeWithPositionsReqPosition{ + PositionUID: strconv.FormatUint(positions[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(positions[i].DepartmentId, 10), + }) + } + + workingTimeWithPositionsReq.InUse = oa_model.InUse + + workingTimeWithPositionsRes, workingTimeWithPositionsResErr := service.GrpcOAImpl.QueryWorkingTimeWithPositions(context.Background(), workingTimeWithPositionsReq) + if workingTimeWithPositionsResErr != nil { + logger.Errorf("查询考勤信息失败:%s", workingTimeWithPositionsResErr.Error()) + return nil, errors.New(e.ErrorQueryWorkingTime) + } + + if workingTimeWithPositionsRes == nil || len(workingTimeWithPositionsRes.Data) == 0 { + logger.Errorf("查询考勤信息失败:%s", "workingTimeWithPositionsRes is nil") + return nil, errors.New(e.ErrorMissWorkingTime) + } + + return workingTimeWithPositionsRes.Data[0], nil +} + +func QueryWorkingTimeInUseTempAccount(positions []*account.PositionUser) (workingTime *oa.WorkingTime, err error) { + // 查询 考勤信息 + workingTimeWithPositionsReq := new(oa.WorkingTimeWithPositionsReq) + workingTimeWithPositionsReq.Page = 1 + workingTimeWithPositionsReq.PageSize = 99999 + for i := 0; i < len(positions); i++ { + workingTimeWithPositionsReq.Positions = append(workingTimeWithPositionsReq.Positions, &oa.WorkingTimeWithPositionsReqPosition{ + PositionUID: strconv.FormatUint(positions[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(positions[i].DepartmentId, 10), + }) + } + + workingTimeWithPositionsReq.InUse = oa_model.InUse + + workingTimeWithPositionsRes, workingTimeWithPositionsResErr := service.GrpcOAImpl.QueryWorkingTimeWithPositions(context.Background(), workingTimeWithPositionsReq) + if workingTimeWithPositionsResErr != nil { + logger.Errorf("查询考勤信息失败:%s", workingTimeWithPositionsResErr.Error()) + return nil, errors.New(e.ErrorQueryWorkingTime) + } + + if workingTimeWithPositionsRes == nil || len(workingTimeWithPositionsRes.Data) == 0 { + logger.Errorf("查询考勤信息失败:%s", "workingTimeWithPositionsRes is nil") + return nil, errors.New(e.ErrorMissWorkingTime) + } + + return workingTimeWithPositionsRes.Data[0], nil +} + +// QueryWorkingTimeFormal 用于查询员工的考勤信息 正式 +func QueryWorkingTimeFormal(workingTimeUUID string) (workingTime *oa.WorkingTime, err error) { + // 查询 考勤信息 + workingTimeListReq := new(oa.WorkingTimeListReq) + workingTimeListReq.WorkingTimeUUID = workingTimeUUID + workingTimeListReq.InUse = oa_model.InUse + + workingTimeListRes, workingTimeListResErr := service.GrpcOAImpl.WorkingTimeList(context.Background(), workingTimeListReq) + if workingTimeListResErr != nil { + logger.Errorf("查询考勤信息失败:%s", workingTimeListResErr.Error()) + return nil, workingTimeListResErr + } + + if workingTimeListRes == nil || len(workingTimeListRes.Data) == 0 { + logger.Errorf("查询考勤信息失败:%s", "workingTimeWithPositionsRes is nil") + return nil, errors.New(e.ErrorQueryWorkingTime) + } + + if workingTimeListRes.Data[0].InUse != oa_model.InUse { + return nil, errors.New(strings.Replace(e.ErrWorkingTimeNotInUse, "a", workingTimeListRes.Data[0].EffectiveDate, -1)) + } + + return workingTimeListRes.Data[0], nil +} + +func queryDepartmentNameAndPositionName(departmentUID, positionUID uint64) (departmentName, positionName string) { + + departmentDetailReq := new(department.DetailsRequest) + departmentDetailReq.IDs = make([]uint64, 0) + departmentDetailReq.IDs = append(departmentDetailReq.IDs, departmentUID) + departmentDetailReq.Domain = "fontree" + res, err := service.DepartmentProvider.Details(context.Background(), departmentDetailReq) + if err != nil { + return + } + for i := 0; i < len(res.Data); i++ { + if res.Data[i].ID == departmentUID { + departmentName = res.Data[i].Name + for j := 0; j < len(res.Data[i].AllPositions); j++ { + if res.Data[i].AllPositions[j].ID == int64(positionUID) { + positionName = res.Data[i].AllPositions[j].Name + break + } + } + if positionName != "" { + break + } + } + } + + return departmentName, positionName +} + +// 使用考勤组设置的 是否用于加班调休 +func QueryCanDayOffUserWithWorkTimeTemplate(userInfo login.Info) (use bool, forMoney bool, err error) { + canDayOff := false + forMoney = false + // 查询 考勤信息 + workingTime, workingTimeErr := QueryWorkingTimeInUse(userInfo.PositionUsers, userInfo.ID) + if workingTimeErr != nil { + canDayOff = true + return canDayOff, forMoney, workingTimeErr + } + logger.Infof("workingTime: %+v", workingTime) + fmt.Printf("workingTime: %+v", workingTime) + + if len(workingTime.OaRules) > 0 { + for i := 0; i < len(workingTime.OaRules); i++ { + if workingTime.OaRules[i].Keyword == model.OvertimeRule && workingTime.OaRules[i].OvertimeRule != nil { + if workingTime.OaRules[i].OvertimeRule.ForDayOff == model.ForDayOffYes { + canDayOff = true + } + if workingTime.OaRules[i].OvertimeRule.ForDayOff == model.ForDayOffYes && (workingTime.OaRules[i].OvertimeRule.ForMoney == model.ForMoneyYes || workingTime.OaRules[i].OvertimeRule.ForMoney == model.ForMoneyYesDefaultZero) { + forMoney = true + } + } + } + } + + return canDayOff, forMoney, nil +} diff --git a/pkg/service/oa_new/tempGroup.go b/pkg/service/oa_new/tempGroup.go new file mode 100644 index 0000000..c589220 --- /dev/null +++ b/pkg/service/oa_new/tempGroup.go @@ -0,0 +1,88 @@ +package oa_new + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func SaveTemplateGroup(c *gin.Context) { + var req oa.TempGroup + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.SaveTemplateGroup(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func QueryTemplateGroup(c *gin.Context) { + var req oa.TempGroupListReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.QueryTemplateGroup(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func DeleteTemplateGroup(c *gin.Context) { + var req oa.DeleteTempGroupReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.DeleteTemplateGroup(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/versionHis.go b/pkg/service/oa_new/versionHis.go new file mode 100644 index 0000000..c098012 --- /dev/null +++ b/pkg/service/oa_new/versionHis.go @@ -0,0 +1,117 @@ +package oa_new + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/model" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +// QueryVersionHis 查询发版信息 +func QueryVersionHis(c *gin.Context) { + var req model.Version + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + his := new(oa.VersionHisReq) + res, err := service.GrpcOAImpl.QueryVersionHis(c, his) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +// SaveVersionHis 查询发版信息 +func SaveVersionHis(c *gin.Context) { + var req model.Version + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + his := oa.VersionHis{ + Describe: req.Describe, + EditionUrl: req.EditionUrl, + EditionForce: req.EditionForce, + PackageType: req.PackageType, + EditionIssue: req.EditionIssue, + EditionNumber: req.EditionNumber, + EditionName: req.EditionName, + EditionSilence: req.EditionSilence, + VersionType: req.VersionType, + } + + res, err := service.GrpcOAImpl.SaveVersionHis(c, &his) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func QueryVersionHisList(c *gin.Context) { + var req model.Version + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + his := new(oa.VersionHisListReq) + res, err := service.GrpcOAImpl.QueryVersionHisList(c, his) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + list := new(model.VersionList) + list.Total = res.Total + list.Msg = res.Msg + list.List = make([]*model.Version, 0) + for i := 0; i < len(res.Data); i++ { + list.List = append(list.List, &model.Version{ + Describe: res.Data[i].Describe, + EditionUrl: res.Data[i].EditionUrl, + EditionForce: res.Data[i].EditionForce, + PackageType: res.Data[i].PackageType, + EditionIssue: res.Data[i].EditionIssue, + EditionNumber: res.Data[i].EditionNumber, + EditionName: res.Data[i].EditionName, + EditionSilence: res.Data[i].EditionSilence, + VersionType: res.Data[i].VersionType, + }) + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} diff --git a/pkg/service/oa_new/workTimeRule.go b/pkg/service/oa_new/workTimeRule.go new file mode 100644 index 0000000..47b11f3 --- /dev/null +++ b/pkg/service/oa_new/workTimeRule.go @@ -0,0 +1,88 @@ +package oa_new + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func SaveWorkTimeRule(c *gin.Context) { + var req oa.WorkTimeRule + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.SaveWorkTimeRule(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func GetWorkTimeRuleList(c *gin.Context) { + var req oa.WorkTimeRuleListReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.GetWorkTimeRuleList(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func DeleteWorkTimeRule(c *gin.Context) { + var req oa.WorkTimeRule + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.DeleteWorkTimeRule(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} diff --git a/pkg/service/oa_new/workTimeTemplate.go b/pkg/service/oa_new/workTimeTemplate.go new file mode 100644 index 0000000..1170153 --- /dev/null +++ b/pkg/service/oa_new/workTimeTemplate.go @@ -0,0 +1,542 @@ +package oa_new + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/oa_logic" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "strconv" + "strings" +) + +func SaveWorkTimeTemplate(c *gin.Context) { + var req oa.SaveWorkTimeTemplateReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("============================================================= SaveWorkTimeTemplateRelation ===================================================") + fmt.Printf("WorkingTimeTemplateRelation is %+v\n", req) + fmt.Println("============================================================= SaveWorkTimeTemplateRelation ====================================if=============") + + resData := serializer.Response{} + + if req.Relations != nil { + // 新的关联 内部去重 + multipleDepartments, err := oa_logic.VerifyNewRelationDepartmentAndPositionAndUserForSave(req.Relations) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + + } + + fmt.Println("============================================================= multipleDepartments ===================================================") + fmt.Printf("multipleDepartments is %+v\n", multipleDepartments) + fmt.Println("============================================================= multipleDepartments ===================================================") + + if len(multipleDepartments) > 0 { + resData.Data = multipleDepartments + resData.Status = common.DuplicatePersonnelsCode + } + + // 新的关联 和 旧的关联对比 + duplicatePersonals, err := oa_logic.VerifyDepartmentAndPositionAndUserForSave(req.Relations) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + + } + + fmt.Println("============================================================= duplicatePersonals ===================================================") + fmt.Printf("duplicatePersonals is %+v\n", duplicatePersonals) + fmt.Println("============================================================= duplicatePersonals ===================================================") + + if duplicatePersonals != nil { + text := make([]string, 0) + addPositionName := make([]string, 0) + addPositionNameMap := make(map[string]string) + for i := 0; i < len(duplicatePersonals); i++ { + text = append(text, fmt.Sprintf("%s (%s/%s)", duplicatePersonals[i].Name, duplicatePersonals[i].DepartmentName, duplicatePersonals[i].PositionName)) + if addPositionNameMap[duplicatePersonals[i].AddPositionName] == "" { + addPositionNameMap[duplicatePersonals[i].AddPositionName] = duplicatePersonals[i].AddPositionName + addPositionName = append(addPositionName, duplicatePersonals[i].AddPositionName) + } + } + + fmt.Println("============================================================= addPositionName ===================================================") + fmt.Printf("addPositionName is %+v\n", addPositionName) + fmt.Printf("text is %+v\n", text) + fmt.Println("============================================================= addPositionName ===================================================") + + resData.Msg = fmt.Sprintf("员工 %s 已存在考勤,无法对 %s 岗位进行考勤创建", strings.Join(text, ","), strings.Join(addPositionName, ",")) + resData.Status = common.DuplicatePersonnelsCode + } + + } + + userInfo := login.GetUserInfoFromC(c) + + req.WorkTimeTemplate.Operator = userInfo.NickName + + res, err := service.GrpcOAImpl.SaveWorkTimeTemplate(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + go updateEmployeeWorkingTime(req.Relations) + + if resData.Status == common.DuplicatePersonnelsCode { + service.ResponseMsg(c, e.SUCCESS, resData) + return + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + } + +} + +func GetWorkTimeTemplateList(c *gin.Context) { + var req oa.WorkTimeTemplateListReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //if req.TempGroupUUID == "" { + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: "分类参数缺失", + // Status: e.Failed, + // }) + // return + //} + + res, err := service.GrpcOAImpl.GetWorkTimeTemplateList(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func DeleteWorkTimeTemplate(c *gin.Context) { + var req oa.WorkTimeTemplate + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.DeleteWorkTimeTemplate(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func WorkingTimeTemplateEffective(c *gin.Context) { + var req oa.CommonReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.WorkingTimeTemplateEffective(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +func WorkingTimeTemplateNotEffective(c *gin.Context) { + var req oa.CommonReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.WorkingTimeTemplateNotEffective(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + +} + +// SaveWorkTimeTemplateRelation 次日生效 +func SaveWorkTimeTemplateRelation(c *gin.Context) { + var req oa.WorkingTimeTemplateRelation + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("============================================================= SaveWorkTimeTemplateRelation ===================================================") + fmt.Printf("WorkingTimeTemplateRelation is %+v\n", req) + fmt.Println("============================================================= SaveWorkTimeTemplateRelation ===================================================") + + resData := serializer.Response{} + + // 新的关联 内部去重 + multipleDepartments, err := oa_logic.VerifyNewRelationDepartmentAndPositionAndUser(&req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + + } + + fmt.Println("============================================================= multipleDepartments ===================================================") + fmt.Printf("multipleDepartments is %+v\n", multipleDepartments) + fmt.Println("============================================================= multipleDepartments ===================================================") + + if len(multipleDepartments) > 0 { + resData.Data = multipleDepartments + resData.Status = common.DuplicatePersonnelsCode + } + + // 新的关联 和 旧的关联对比 + duplicatePersonals, err := oa_logic.VerifyDepartmentAndPositionAndUser(&req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + + } + + fmt.Println("============================================================= duplicatePersonals ===================================================") + fmt.Printf("duplicatePersonals is %+v\n", duplicatePersonals) + fmt.Println("============================================================= duplicatePersonals ===================================================") + + if duplicatePersonals != nil { + text := make([]string, 0) + addPositionName := make([]string, 0) + addPositionNameMap := make(map[string]string) + for i := 0; i < len(duplicatePersonals); i++ { + text = append(text, fmt.Sprintf("%s (%s/%s)", duplicatePersonals[i].Name, duplicatePersonals[i].DepartmentName, duplicatePersonals[i].PositionName)) + if addPositionNameMap[duplicatePersonals[i].AddPositionName] == "" { + addPositionNameMap[duplicatePersonals[i].AddPositionName] = duplicatePersonals[i].AddPositionName + addPositionName = append(addPositionName, duplicatePersonals[i].AddPositionName) + } + } + + fmt.Println("============================================================= addPositionName ===================================================") + fmt.Printf("addPositionName is %+v\n", addPositionName) + fmt.Printf("text is %+v\n", text) + fmt.Println("============================================================= addPositionName ===================================================") + + resData.Msg = fmt.Sprintf("员工 %s 已存在考勤,无法对 %s 岗位进行考勤创建", strings.Join(text, ","), strings.Join(addPositionName, ",")) + resData.Status = common.DuplicatePersonnelsCode + } + + //if resData.Status == common.DuplicatePersonnelsCode { + // service.ResponseMsg(c, e.SUCCESS, resData) + // return + //} + + res, err := service.GrpcOAImpl.SaveWorkingTimeTemplateRelation(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if resData.Status == common.DuplicatePersonnelsCode { + service.ResponseMsg(c, e.SUCCESS, resData) + return + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + } +} + +func BatchCancelWorkingTimeTemplateRelation(c *gin.Context) { + var req oa.WorkingTimeTemplateRelationBatch + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.Relations == nil || len(req.Relations) == 0 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) + return + } + + res, err := service.GrpcOAImpl.BatchCancelWorkingTimeTemplateRelation(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func WorkingTimeWithPositions(c *gin.Context) { + var req oa.WorkingTimeWithPositionsReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.QueryWorkingTimeWithPositions(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +// SaveWorkTimeTemplateRelationEffectiveNow 立即生效 +func SaveWorkTimeTemplateRelationEffectiveNow(c *gin.Context) { + var req oa.WorkingTimeTemplateRelation + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("============================================================= SaveWorkTimeTemplateRelation ===================================================") + fmt.Printf("WorkingTimeTemplateRelation is %+v\n", req) + fmt.Println("============================================================= SaveWorkTimeTemplateRelation ===================================================") + + resData := serializer.Response{} + + // 新的关联 内部去重 + multipleDepartments, err := oa_logic.VerifyNewRelationDepartmentAndPositionAndUser(&req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if len(multipleDepartments) > 0 { + resData.Data = multipleDepartments + resData.Status = common.DuplicatePersonnelsCode + } + + fmt.Println("============================================================= multipleDepartments ===================================================") + fmt.Printf("multipleDepartments is %+v\n", multipleDepartments) + fmt.Println("============================================================= multipleDepartments ===================================================") + + res, err := service.GrpcOAImpl.WorkingTimeTemplateEffectiveNow(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if resData.Status == common.DuplicatePersonnelsCode { + service.ResponseMsg(c, e.SUCCESS, resData) + return + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + } +} + +// QueryWorkTimeTemplateDate 查询考勤组的生效时间以及失效时间 +func QueryWorkTimeTemplateDate(c *gin.Context) { + var req oa.WorkTimeTemplateDateReq + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := service.GrpcOAImpl.QueryWorkTimeTemplateDate(c, &req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if res != nil { + if res.EffectiveDate != common.NextDate() { + res.EffectiveDate = "" + } + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) +} + +func updateEmployeeWorkingTime(relations *oa.WorkingTimeTemplateRelation) { + if relations == nil { + return + } + // 删除 + if relations.DelPositionsNow != nil && len(relations.DelPositionsNow) > 0 { + + fmt.Println("=====================================================================================") + fmt.Println("============================================================= workingTimeWithPositions ===================================================") + fmt.Printf("workingTimeWithPositions is %+v\n", relations) + fmt.Println("============================================================= workingTimeWithPositions ===================================================") + fmt.Println("=====================================================================================") + + // 更新 员工档案的 考勤信息 + for i := 0; i < len(relations.DelPositionsNow); i++ { + req := new(employee.ModifyTheEmployeeAttendanceGroupByOtherReq) + req.PositionId, _ = strconv.ParseUint(relations.DelPositionsNow[i].PositionUID, 10, 64) + req.DepartmentId, _ = strconv.ParseUint(relations.DelPositionsNow[i].DepartmentUID, 10, 64) + _, err := service.GrpcEmployeeProvider.ModifyTheEmployeeAttendanceGroupByOther(context.Background(), req) + if err != nil { + logger.Errorf("删除 员工档案 考勤绑定 :%s", err.Error()) + } + } + } + + // 保存成功后,根据 addPositionNow 的 部门和岗位信息 查询 workingTime 信息 + if relations.AddPositionsNow != nil && len(relations.AddPositionsNow) > 0 { + positionsReq := new(oa.WorkingTimeWithPositionsReq) + for i := 0; i < len(relations.AddPositionsNow); i++ { + positionsReq.Positions = append(positionsReq.Positions, &oa.WorkingTimeWithPositionsReqPosition{ + PositionUID: relations.AddPositionsNow[i].PositionUID, + DepartmentUID: relations.AddPositionsNow[i].DepartmentUID, + }) + } + positionsReq.InUse = oa_model.InUse + positionsReq.Page = 1 + positionsReq.PageSize = 99999 + workingTimeWithPositions, workingTimeWithPositionsErr := service.GrpcOAImpl.QueryWorkingTimeWithPositions(context.Background(), positionsReq) + if workingTimeWithPositionsErr != nil { + logger.Errorf("查询考勤信息失败:%s", workingTimeWithPositionsErr.Error()) + } + + fmt.Println("=====================================================================================") + fmt.Println("============================================================= workingTimeWithPositions ===================================================") + fmt.Printf("workingTimeWithPositions is %+v\n", workingTimeWithPositions) + fmt.Println("============================================================= workingTimeWithPositions ===================================================") + fmt.Println("=====================================================================================") + + // 更新 员工档案的 考勤信息 + for i := 0; i < len(workingTimeWithPositions.Data); i++ { + req := new(employee.ModifyTheEmployeeAttendanceGroupByOtherReq) + req.PositionId, _ = strconv.ParseUint(workingTimeWithPositions.Data[i].PositionUID, 10, 64) + req.DepartmentId, _ = strconv.ParseUint(workingTimeWithPositions.Data[i].DepartmentUID, 10, 64) + req.AttendanceSectionId = workingTimeWithPositions.Data[i].UUID + req.AttendanceSectionName = workingTimeWithPositions.Data[i].WorkTimeTemplateName + _, err := service.GrpcEmployeeProvider.ModifyTheEmployeeAttendanceGroupByOther(context.Background(), req) + if err != nil { + logger.Errorf("更新 员工档案 考勤绑定 :%s", err.Error()) + } + } + + } + +} diff --git a/pkg/service/oa_rule_handle.go b/pkg/service/oa_rule_handle.go new file mode 100644 index 0000000..f5841e2 --- /dev/null +++ b/pkg/service/oa_rule_handle.go @@ -0,0 +1,1131 @@ +package service + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/oa_new/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/holiday" + "github.com/gin-gonic/gin" + "github.com/jinzhu/copier" + "math" + "strconv" + "strings" + "time" +) + +// WorkingTimeBest +// 生成 最优 考勤班次 针对 特殊员工 +func WorkingTimeBest(staffUID uint64, in []oa_model.QueryTimeOption) (bestOptions []*oa_model.TimeOption, err error) { + /* + 多个部门 组合 最优 考勤班次 + + 9:00 17:00 10:00 18:00 + => 10:00 17:00 + */ + + if in == nil { + in = make([]oa_model.QueryTimeOption, 0) + in, err = MakeQueryTimeOption(staffUID) + if err != nil { + return bestOptions, err + } + } + + timesMap := make(map[int][]*oa_model.TimeOption, 0) + for i := 0; i < len(in); i++ { + res, _, _ := WorkingTimeSetting(in[i]) + + // 如果 考勤规则 为 空 则跳过 + if len(res) == 0 { + continue + } + + /* 比较 打卡次数 一致的 班次规则 */ + + v, isExist := timesMap[len(res)] + if isExist { + /* 打卡 次数 一致 + 判断 时间点 先后 + 宗旨 上班晚 下班早 + */ + for i := 0; i < len(v); i++ { + oldOnWorkTime := "2006-01-02 " + v[i].OnWorkTime + ":00" + newOnWorkTime := "2006-01-02 " + res[i].OnWorkTime + ":00" + oldOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOnWorkTime, time.Local) + newOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOnWorkTime, time.Local) + if err == nil && newOnWorkTimeF.After(oldOnWorkTimeF) { + v[i].OnWorkTime = res[i].OnWorkTime + } + + oldOffWorkTime := "2006-01-02 " + v[i].OffWorkTime + ":00" + newOffWorkTime := "2006-01-02 " + res[i].OffWorkTime + ":00" + oldOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOffWorkTime, time.Local) + newOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOffWorkTime, time.Local) + if err == nil && newOffWorkTimeF.Before(oldOffWorkTimeF) { + v[i].OffWorkTime = res[i].OffWorkTime + } + } + + } else { + timesMap[len(res)] = res + } + } + + // 至此 已筛选出 每一类 打卡次数 的 最优 时间 + bestOptions = make([]*oa_model.TimeOption, 0) + + if len(timesMap) == 1 { + for _, v := range timesMap { + bestOptions = v + } + return bestOptions, nil + } + + // 判断 是否存在 两次 打卡 + // 默认 两次 打卡 为 最优打卡次数 其次 四次 以此类推 + + currentBestClockInNum := 9999 + + for k, v := range timesMap { + + if currentBestClockInNum > k { + currentBestClockInNum = k + bestOptions = v + } + } + + // 当前 默认 只有 两次 或者 四次 + // 注: 超过 四次 不适用 + for k, v := range timesMap { + + if k == currentBestClockInNum { + continue + } + + for i := 0; i < k; { + + oldOnWorkTime := "2006-01-02 " + bestOptions[i].OnWorkTime + ":00" + newOnWorkTime := "2006-01-02 " + v[i].OnWorkTime + ":00" + oldOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOnWorkTime, time.Local) + newOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOnWorkTime, time.Local) + if err == nil && newOnWorkTimeF.After(oldOnWorkTimeF) { + bestOptions[i].OnWorkTime = v[i].OnWorkTime + } + + oldOffWorkTime := "2006-01-02 " + bestOptions[i].OffWorkTime + ":00" + newOffWorkTime := "2006-01-02 " + v[i+1].OffWorkTime + ":00" + oldOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOffWorkTime, time.Local) + newOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOffWorkTime, time.Local) + if err == nil && newOffWorkTimeF.Before(oldOffWorkTimeF) { + bestOptions[i].OffWorkTime = v[i+1].OffWorkTime + } + + i = k + } + } + + for i := 0; i < len(bestOptions); i++ { + + fmt.Printf("%+v\n", bestOptions[i]) + } + + return bestOptions, nil +} + +// WorkingTimeBestV1 +// 生成 最优 考勤班次 针对 特殊员工 +func WorkingTimeBestV1(c *gin.Context, in []oa_model.QueryTimeOption) (times []*oa_model.TimeOption, err error) { + /* + 多个部门 组合 最优 考勤班次 + + 9:00 17:00 10:00 18:00 + => 10:00 17:00 + */ + + timesMap := make(map[int][]*oa_model.TimeOption, 0) + for i := 0; i < len(in); i++ { + res, _, err := WorkingTimeSetting(in[i]) + if err != nil { + return nil, err + } + + /* 比较 打卡次数 一致的 班次规则 */ + + v, isExist := timesMap[len(res)] + if isExist { + /* 打卡 次数 一致 + 判断 时间点 先后 + 宗旨 上班晚 下班早 + */ + for i := 0; i < len(v); i++ { + oldOnWorkTime := "2006-01-02 " + v[i].OnWorkTime + ":00" + newOnWorkTime := "2006-01-02 " + res[i].OnWorkTime + ":00" + oldOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOnWorkTime, time.Local) + newOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOnWorkTime, time.Local) + if err == nil && newOnWorkTimeF.After(oldOnWorkTimeF) { + v[i].OnWorkTime = res[i].OnWorkTime + } + + oldOffWorkTime := "2006-01-02 " + v[i].OffWorkTime + ":00" + newOffWorkTime := "2006-01-02 " + res[i].OffWorkTime + ":00" + oldOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOffWorkTime, time.Local) + newOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOffWorkTime, time.Local) + if err == nil && newOffWorkTimeF.Before(oldOffWorkTimeF) { + v[i].OffWorkTime = res[i].OffWorkTime + } + } + + } else { + timesMap[len(res)] = res + } + } + + // 至此 已筛选出 每一类 打卡次数 的 最优 时间 + bestOptions := make([]*oa_model.TimeOption, 0) + + if len(timesMap) == 1 { + for _, v := range timesMap { + bestOptions = v + } + return bestOptions, nil + } + + // 判断 是否存在 两次 打卡 + // 默认 两次 打卡 为 最优打卡次数 其次 四次 以此类推 + currentBestClockInNum := 9999 + + for k, v := range timesMap { + + if currentBestClockInNum > k { + currentBestClockInNum = k + bestOptions = v + } + } + + for k, v := range timesMap { + bestClockInIndex := 0 + bestOnWorkTimeIsChange := false + for i := 0; i < k; { + + if bestClockInIndex > currentBestClockInNum { + return + } + + if !bestOnWorkTimeIsChange { + oldOnWorkTime := "2006-01-02 " + bestOptions[bestClockInIndex].OnWorkTime + ":00" + newOnWorkTime := "2006-01-02 " + v[i].OnWorkTime + ":00" + oldOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOnWorkTime, time.Local) + newOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOnWorkTime, time.Local) + if err == nil && newOnWorkTimeF.After(oldOnWorkTimeF) { + bestOptions[bestClockInIndex].OnWorkTime = v[i].OnWorkTime + bestOnWorkTimeIsChange = true + } + } + + if k > currentBestClockInNum { + i++ + continue + } + + oldOffWorkTime := "2006-01-02 " + bestOptions[bestClockInIndex].OffWorkTime + ":00" + newOffWorkTime := "2006-01-02 " + v[i].OffWorkTime + ":00" + oldOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOffWorkTime, time.Local) + newOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOffWorkTime, time.Local) + if err == nil && newOffWorkTimeF.Before(oldOffWorkTimeF) { + bestOptions[bestClockInIndex].OffWorkTime = v[i].OffWorkTime + } + + bestClockInIndex++ + + } + + //if isBestOnWorkTime == "" { + // isBestOnWorkTime = currentOnWorkTime + //} else { + // oldOnWorkTime := "2006-01-02 " + isBestOnWorkTime + ":00" + // newOnWorkTime := "2006-01-02 " + currentOnWorkTime + ":00" + // oldOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOnWorkTime, time.Local) + // newOnWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOnWorkTime, time.Local) + // if err == nil && newOnWorkTimeF.After(oldOnWorkTimeF) { + // isBestOnWorkTime = currentOnWorkTime + // } + //} + // + //if isBestOffWorkTime == "" { + // isBestOffWorkTime = currentOffWorkTime + //} else { + // oldOffWorkTime := "2006-01-02 " + isBestOffWorkTime + ":00" + // newOffWorkTime := "2006-01-02 " + currentOffWorkTime + ":00" + // oldOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", oldOffWorkTime, time.Local) + // newOffWorkTimeF, err := time.ParseInLocation("2006-01-02 15:04:05", newOffWorkTime, time.Local) + // if err == nil && newOffWorkTimeF.Before(oldOffWorkTimeF) { + // isBestOffWorkTime = currentOffWorkTime + // } + //} + } + + //currentClockInNum := 0 + //currentClockInRule := make([]*oaApi.TimeOption, 0) + //for i, options := range timesMap { + // if currentClockInNum == 0 { + // currentClockInNum = i + // currentClockInRule = options + // } + // if i < currentClockInNum { + // currentClockInNum = i + // currentClockInRule = options + // } + //} + + return bestOptions, nil +} + +// WorkingTimeSetting +// 获取 考勤班次设置 +func WorkingTimeSetting(in oa_model.QueryTimeOption) (times []*oa_model.TimeOption, week string, err error) { + timeOptions := new(oa.WorkingTimeListReq) + timeOptions.DepartmentUID = in.DepartmentUID + timeOptions.PositionUID = in.PositionUID + timeOptions.InUse = oa_model.InUse + timeOptions.Page = 1 + timeOptions.PageSize = 9999 + + list, err := GrpcOAImpl.WorkingTimeList(context.Background(), timeOptions) + if err != nil { + return nil, "", nil + } + + fmt.Println("WorkingTimeSetting department uid is = ==============================================") + fmt.Println("department uid is :", timeOptions.DepartmentUID) + fmt.Println("position uid is :", timeOptions.PositionUID) + fmt.Println("WorkingTimeSetting department uid is = ==============================================") + + fmt.Println("WorkingTimeSetting timeOptions is = ==============================================") + fmt.Printf("WorkingTimeSetting timeOptions is :%+v\n", list.Data) + fmt.Println("WorkingTimeSetting timeOptions is = ==============================================") + + times = make([]*oa_model.TimeOption, 0) + for i := 0; i < len(list.Data); i++ { + for j := 0; j < len(list.Data[i].Time); j++ { + times = append(times, &oa_model.TimeOption{ + OnWorkTime: list.Data[i].Time[j].OnWorkTime, + OffWorkTime: list.Data[i].Time[j].OffWorkTime, + }) + } + week = list.Data[i].Week + } + return times, week, nil +} + +func WorkingTimeWeek(in oa_model.QueryTimeOption) (list *oa.WorkingTimeListRes, err error) { + + timeOptions := new(oa.WorkingTimeListReq) + timeOptions.DepartmentUID = in.DepartmentUID + timeOptions.PositionUID = in.PositionUID + timeOptions.InUse = oa_model.InUse + timeOptions.Page = 1 + timeOptions.PageSize = 9999 + + list, err = GrpcOAImpl.WorkingTimeList(context.Background(), timeOptions) + if err != nil { + return nil, err + } + + fmt.Println("WorkingTimeWeek department uid is = ==============================================") + fmt.Println("department uid is :", timeOptions.DepartmentUID) + fmt.Println("position uid is :", timeOptions.PositionUID) + fmt.Println("WorkingTimeWeek department uid is = ==============================================") + + fmt.Println("WorkingTimeWeek timeOptions is = ==============================================") + fmt.Printf("WorkingTimeWeek timeOptions is :%+v\n", list.Data) + fmt.Println("WorkingTimeWeek timeOptions is = ==============================================") + return +} + +// 获取 工作周期 ( 如果 开始周期 是 0 则不变 结束周期 是 0 则将 0 -> 7 ) +func WorkingTimeWeekBest(queryTimeOptions []oa_model.QueryTimeOption) (startDay, endDay int, err error) { + + startDay, endDay = -1, -1 + for i := 0; i < len(queryTimeOptions); i++ { + list, err := WorkingTimeWeek(queryTimeOptions[i]) + if err != nil { + return 0, 0, errors.New(e.ErrConfirmweek) + } + if len(list.Data) == 0 { + continue + } + inStartDay, inEndDay := -1, -1 + for j := 0; j < len(list.Data); j++ { + fmt.Println("===================== 打印 数据库 week ===================================") + fmt.Printf("week info is : %+v\n", list.Data[j].Week) + fmt.Printf("week info is : %+v\n", list.Data[j].IsWorkDay) + fmt.Println("===================== 打印 数据库 week ===================================") + if list.Data[j].Week == "" && list.Data[j].IsWorkDay == e.IsWorkDay { + list.Data[j].Week = "1,5" + } + weekStr := strings.Split(list.Data[j].Week, ",") + if len(weekStr) != 2 { + return 0, 0, errors.New("考勤规则,week错误") + } + inInStartDay, err := strconv.Atoi(weekStr[0]) + if err != nil { + return 0, 0, err + } + inInEndDay, err := strconv.Atoi(weekStr[1]) + if err != nil { + return 0, 0, err + } + // 特别注意的点 起始位是 0 无需关注 + if inInEndDay == 0 { + inInEndDay = 7 + } + if j == 0 { + inStartDay = inInStartDay + inEndDay = inInEndDay + } else { + if inInStartDay >= inStartDay { + inStartDay = inInStartDay + } + if inInEndDay <= inEndDay { + inEndDay = inInEndDay + } + } + } + + if inStartDay >= startDay { + startDay = inStartDay + } + if endDay == -1 { + endDay = inEndDay + } + if inEndDay <= endDay { + endDay = inEndDay + } + } + return +} + +func WorkingTimeInWeek(currentDay, startDay, endDay int) bool { + if startDay <= currentDay && currentDay <= endDay { + return true + } + return false +} + +func MakeQueryTimeOption(staffUID uint64) (option []oa_model.QueryTimeOption, err error) { + rulesRequest := new(rule.RulesRequest) + rulesRequest.AccountID = staffUID + rulesRes, err := RuleProvider.UserInfo(context.Background(), rulesRequest) + if err != nil { + //logger.Error("查询岗位信息错误 ListByDid err", err) + return option, err + } + + for i := 0; i < len(rulesRes.PositionUsers); i++ { + option = append(option, oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(rulesRes.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(rulesRes.PositionUsers[i].DepartmentId, 10), + }) + } + return +} + +func HandleHourLeaveFive(originHour float64) float32 { + var hour float64 + hour = math.Floor(originHour / 1) + if math.Mod(originHour, 1) >= 0.5 { + hour = hour + 0.5 + } + return float32(hour) +} + +func HandleHourLeaveASeat(originHour float64) float32 { + var hour float64 + if originHour > 0 && originHour < 0.1 { + hour = 0.1 + } else { + //hour, _ = strconv.ParseFloat(strconv.FormatFloat(originHour-0.05, 'f', 1, 64), 10) + hour, _ = strconv.ParseFloat(strconv.FormatFloat(originHour, 'f', 1, 64), 10) + } + return float32(hour) +} + +func WorkingTimeAndWeekBest(staffUID uint64, in []oa_model.QueryTimeOption) (best *oa_model.TimeOptionBest, err error) { + times, err := WorkingTimeBest(0, in) + if err != nil { + return best, err + } + + fmt.Println("timeOptions is = ==============================================") + fmt.Printf("timeOptions is :%+v\n", times) + fmt.Println("timeOptions is = ==============================================") + + best = new(oa_model.TimeOptionBest) + for i := 0; i < len(times); i++ { + best.Times = append(best.Times, &oa_model.TimeOption{ + OnWorkTime: times[i].OnWorkTime, + OffWorkTime: times[i].OffWorkTime, + }) + } + + startDay, endDay, err := WorkingTimeWeekBest(in) + if err != nil { + return best, err + } + + if startDay == 7 { + startDay = 0 + } + if endDay == 7 { + endDay = 0 + } + + best.Week = strings.Join([]string{strconv.Itoa(startDay), strconv.Itoa(endDay)}, ",") + + return +} + +// 婚假 +func MaritalLeave(req *oa_model.CheckLeave, setting *oa.OaSettingRes) (res *oa_model.CheckLeaveRes, err error) { + + res = new(oa_model.CheckLeaveRes) + res.OtherLeave.StartTime = req.StartTime + + // 判断 是否存在国假 + startTime, _ := time.Parse("2006-01-02", req.StartTime) + + var i int32 = 1 +next: + respData, _ := holiday.GetSingleData(holiday.ConvertTime(startTime.Format("2006-01-02")), true) + if respData.Type == 1 && respData.TypeDes != "休息日" && i <= 3 { // 节假日 + i++ + } else if respData.Type == 0 || (respData.Type == 1 && respData.TypeDes == "休息日") { // 工作日 || 休息日 + i++ + } + startTime = startTime.AddDate(0, 0, 1) + if i <= setting.Data[0].Value.MaritalLeaveBalance { + goto next + } + + //second: + // endData, _ := holiday.GetSingleData(holiday.ConvertTime(startTime.Format("2006-01-02")), false) + // if endData.Type == 1 { + // startTime = startTime.AddDate(0, 0, 1) + // goto second + // } + + res.OtherLeave.EndTime = startTime.AddDate(0, 0, -1).Format("2006-01-02") + res.CommonLeave.Total = float32(setting.Data[0].Value.MaritalLeaveBalance) + return +} + +func OtherLeave(startDate string, Days int, startM string) (endDate, endM string) { + if startDate == "" || startM == "" { + return "", "" + } + start, _ := time.Parse("2006-01-02", startDate) + if startM == "上午" { + endDate = start.AddDate(0, 0, Days-1).Format("2006-01-02") + endM = "下午" + } else if startM == "下午" { + endDate = start.AddDate(0, 0, Days).Format("2006-01-02") + endM = "上午" + } + return +} + +// 余额 +func BalanceLeave(workYear float32, enterDate string, nowTime time.Time, req *oa_model.CheckLeave, setting *oa.OaSettingRes, apply *oa.ApplyRecordRes, overTimeApply *oa.ApplyRecordRes, leaveApply *oa.LeaveApplyInfoRes) (res *oa_model.CheckLeaveRes, err error) { + res = new(oa_model.CheckLeaveRes) + + switch req.ApplyType { + case oa_model.TypeAnnualLeave: // 年假 + /* 年假不在计算 */ + /*for i := 0; i < len(setting.Data[0].Value.AnnualLeaveBalance); i++ { + if workYear >= float32(setting.Data[0].Value.AnnualLeaveBalance[i].Start) && (setting.Data[0].Value.AnnualLeaveBalance[i].Start != 0 || setting.Data[0].Value.AnnualLeaveBalance[i].End == 0) { + if workYear >= 2 { + enterTime, _ := time.Parse("2006-01-02", enterDate) + enterTime.AddDate(int(setting.Data[0].Value.AnnualLeaveBalance[i].Start), 0, 0) + if !time.Date(nowTime.Year(), 1, 1, 0, 0, 0, 0, time.Local).Before(enterTime.AddDate(int(setting.Data[0].Value.AnnualLeaveBalance[i].Start), 0, 0)) { + res.CommonLeave.Total = float32(setting.Data[0].Value.AnnualLeaveBalance[i].Days) + } else { + if i > 1 { + res.CommonLeave.Total = float32(setting.Data[0].Value.AnnualLeaveBalance[i-1].Days) + } + } + } else { + enterDateTime, _ := time.Parse("2006-01-02", enterDate) + if time.Now().Year()-enterDateTime.Year() >= 1 { + if nowTime.Year()-enterDateTime.Year() >= 2 { + res.CommonLeave.Total = float32(setting.Data[0].Value.AnnualLeaveBalance[0].Days) + } else { + currentYear := time.Date(time.Now().Year(), 12, 31, 0, 0, 0, 0, time.Local) + res.CommonLeave.Total = float32(math.Floor(float64(currentYear.Sub(time.Date(currentYear.Year(), enterDateTime.Month(), enterDateTime.Day()-1, 0, 0, 0, 0, time.Local)).Hours()/24/365) * float64(5))) + } + } + } + } + } + + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Days + } + res.CommonLeave.Balance = res.CommonLeave.Total - res.CommonLeave.Used + */ + + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Days + } + + res.CommonLeave.Balance = leaveApply.LeaveApply.LeaveBalance + + case oa_model.TypeParentalLeave: // 育儿假 + if leaveApply != nil { + //res.CommonLeave.Total = float32(leaveApply.LeaveApply.Total) + //res.CommonLeave.Used = float32(leaveApply.LeaveApply.Total) - leaveApply.LeaveApply.LeaveBalance + res.CommonLeave.Balance = leaveApply.LeaveApply.LeaveBalance + } + //for i := 0; i < len(apply.Data); i++ { + // res.CommonLeave.Used += apply.Data[i].Days + //} + //res.CommonLeave.Balance = res.CommonLeave.Total - res.CommonLeave.Used + case oa_model.TypeNursingLeave: // 独生子女护理假 + if leaveApply != nil { + //res.CommonLeave.Total = float32(leaveApply.LeaveApply.Total) + //res.CommonLeave.Used = float32(leaveApply.LeaveApply.Total) - leaveApply.LeaveApply.LeaveBalance + res.CommonLeave.Balance = leaveApply.LeaveApply.LeaveBalance + } + //for i := 0; i < len(apply.Data); i++ { + // res.CommonLeave.Used += apply.Data[i].Days + //} + //res.CommonLeave.Balance = res.CommonLeave.Total - res.CommonLeave.Used + case oa_model.TypeSick: // 病假 + for i := 0; i < len(setting.Data[0].Value.SickBalance); i++ { + if workYear >= float32(setting.Data[0].Value.SickBalance[i].Start) && workYear < float32(setting.Data[0].Value.SickBalance[i].End) { + enterTime, _ := time.Parse("2006-01-02", enterDate) + enterTime.AddDate(int(setting.Data[0].Value.SickBalance[i].Start), 0, 0) + if !time.Date(nowTime.Year(), 1, 1, 0, 0, 0, 0, time.Local).Before(enterTime.AddDate(int(setting.Data[0].Value.SickBalance[i].Start), 0, 0)) { + res.CommonLeave.Total = float32(setting.Data[0].Value.SickBalance[i].Days) + } else { + if i > 1 { + res.CommonLeave.Total = float32(setting.Data[0].Value.SickBalance[i-1].Days) + } + } + } else { + res.CommonLeave.Total = float32(setting.Data[0].Value.SickBalance[i].Days) + } + } + //for i := 0; i < len(apply.Data); i++ { + // res.CommonLeave.Used += apply.Data[i].Days + //} + case oa_model.TypeDayOff: // 调休 + for i := 0; i < len(overTimeApply.Data); i++ { + res.CommonLeave.Total += overTimeApply.Data[i].Hours + } + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Hours + } + res.CommonLeave.Balance = res.CommonLeave.Total - res.CommonLeave.Used + case oa_model.TypeMaternityLeave: // 产假 + res.CommonLeave.Total = float32(setting.Data[0].Value.MaternityLeaveBalance.BasicDays) + if req.Dystocia == 1 { + res.CommonLeave.Total += float32(setting.Data[0].Value.MaternityLeaveBalance.Dystocia) + } + if req.Children > 1 { + res.CommonLeave.Total += float32(setting.Data[0].Value.MaternityLeaveBalance.OneMore * (req.Children - 1)) + } + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Days + } + + res.OtherLeave.StartTime = req.StartTime + res.OtherLeave.StartM = req.M + res.OtherLeave.EndTime, res.OtherLeave.EndM = OtherLeave(req.StartTime, int(res.CommonLeave.Total), req.M) + case oa_model.TypeAbortLeave: // 流产假 + for i := 0; i < len(setting.Data[0].Value.AbortLeaveBalance); i++ { + if req.Month >= setting.Data[0].Value.AbortLeaveBalance[i].Start && req.Month <= setting.Data[0].Value.AbortLeaveBalance[i].End { + res.CommonLeave.Total = float32(setting.Data[0].Value.AbortLeaveBalance[i].Days) + } else if req.Month >= setting.Data[0].Value.AbortLeaveBalance[i].Start && setting.Data[0].Value.AbortLeaveBalance[i].End == 0 { + res.CommonLeave.Total = float32(setting.Data[0].Value.AbortLeaveBalance[i].Days) + } + } + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Days + } + + res.OtherLeave.StartTime = req.StartTime + res.OtherLeave.StartM = req.M + res.OtherLeave.EndTime, res.OtherLeave.EndM = OtherLeave(req.StartTime, int(res.CommonLeave.Total), req.M) + case oa_model.TypePaternityLeave: // 陪产假 + res.CommonLeave.Total = float32(setting.Data[0].Value.PaternityLeaveBalance) + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Days + } + res.OtherLeave.StartTime = req.StartTime + res.OtherLeave.StartM = req.M + res.OtherLeave.EndTime, res.OtherLeave.EndM = OtherLeave(req.StartTime, int(res.CommonLeave.Total), req.M) + case oa_model.TypeMatingCheckLeave: // 孕检假 + for i := 0; i < len(setting.Data[0].Value.MatingCheckLeaveBalance); i++ { + if req.Month >= setting.Data[0].Value.MatingCheckLeaveBalance[i].Start && req.Month <= setting.Data[0].Value.MatingCheckLeaveBalance[i].End { + res.CommonLeave.Total = float32(setting.Data[0].Value.MatingCheckLeaveBalance[i].Months) + } else if req.Month >= setting.Data[0].Value.MatingCheckLeaveBalance[i].Start && setting.Data[0].Value.MatingCheckLeaveBalance[i].End == 0 { + res.CommonLeave.Total = float32(setting.Data[0].Value.MatingCheckLeaveBalance[i].Weeks) + } + } + + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used++ + } + res.CommonLeave.Balance = res.CommonLeave.Total - res.CommonLeave.Used + // 暂时默认为 1 + res.CommonLeave.Total = 1 + res.OtherLeave.StartTime = req.StartTime + res.OtherLeave.StartM = req.M + res.OtherLeave.EndTime, res.OtherLeave.EndM = OtherLeave(req.StartTime, 1, req.M) + //case oa_model.TypeFuneralLeave: // 丧假 + // res.CommonLeave.Total = float32(setting.Data[0].Value.FuneralLeaveBalance) + // res.OtherLeave.StartTime = req.StartTime + // res.OtherLeave.StartM = req.M + // res.OtherLeave.EndTime, res.OtherLeave.EndM = OtherLeave(req.StartTime, int(res.CommonLeave.Total), req.M) + case oa_model.TypeMaritalLeave: // 婚假 + res.CommonLeave.Total = float32(setting.Data[0].Value.MaritalLeaveBalance) + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Days + } + res.OtherLeave.StartTime = req.StartTime + res.OtherLeave.StartM = req.M + res.OtherLeave.EndTime, res.OtherLeave.EndM = OtherLeave(req.StartTime, int(res.CommonLeave.Total), req.M) + case oa_model.TypeBreastFeedingLeave: // 哺乳假 + res.CommonLeave.Total = float32(setting.Data[0].Value.BreastFeedingLeaveBalance) * 2 * float32(req.Children) + for i := 0; i < len(apply.Data); i++ { + res.CommonLeave.Used += apply.Data[i].Hours + } + res.CommonLeave.Balance = res.CommonLeave.Total - res.CommonLeave.Used + } + + return +} + +func CheckLeaveHandle(checkLeaveReq *oa_model.CheckLeave, userInfo login.Info, forMoney bool) (res *oa_model.CheckLeaveRes, err error) { + accountInfoReq := new(account.InfoRequest) + accountInfoReq.ID = userInfo.ID + // 工作年限 + accountInfoRes, err := AccountProvider.Info(context.Background(), accountInfoReq) + if err != nil { + return + } + + // 设置查询 + oaSettingReq := new(oa.OaSettingReq) + oaSettingRes := new(oa.OaSettingRes) + keyword := oa_model.SettingKeyWordMap[checkLeaveReq.ApplyType] + if keyword != "" { + oaSettingReq.Keyword = keyword + oaSettingRes, err = GrpcOAImpl.QueryOaSetting(context.Background(), oaSettingReq) + if err != nil || len(oaSettingRes.Data) != 1 { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ERR_QUERY_OA_SETTING, + // Status: e.Failed, + //}) + return res, errors.New(e.ErrQueryOaSetting) + } + } else if checkLeaveReq.ApplyType != oa_model.TypeDayOff { + //service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: e.ERR_NOT_NEED_BALANCE, + // Status: e.Ok, + //}) + //return res, errors.New(e.ERR_NOT_NEED_BALANCE) + return res, nil + } + + // 申请请假查询 + nowTime := time.Now() + var StartTime time.Time + var year string + var month string + if checkLeaveReq.StartTime != "" { + StartTime, _ = time.Parse("2006-01-02", checkLeaveReq.StartTime) + year = StartTime.Format("2006") + month = common.CurrentMonth() + "-25" + } else { + year = nowTime.Format("2006") + month = common.CurrentMonth() + "-25" + } + + // 特殊处理 调休 + if checkLeaveReq.ApplyType == oa_model.TypeDayOff && !forMoney { + res = new(oa_model.CheckLeaveRes) + var checkDayOffBalanceErr error + res.CommonLeave.Balance, checkDayOffBalanceErr = CheckDayOffBalance(userInfo.ID) + if checkDayOffBalanceErr != nil { + return nil, checkDayOffBalanceErr + } + return res, nil + } + + applyReq := new(oa.ApplyRecordReq) + applyReq.StaffUID = userInfo.ID + applyReq.ApplyType = []string{checkLeaveReq.ApplyType} + applyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusRevoking} + applyReq.Page = 1 + applyReq.PageSize = 9999 + applyRes := new(oa.ApplyRecordRes) + overTimeApply := new(oa.ApplyRecordRes) + if checkLeaveReq.ApplyType == oa_model.TypeParentalLeave || checkLeaveReq.ApplyType == oa_model.TypeAnnualLeave || checkLeaveReq.ApplyType == oa_model.TypeNursingLeave || checkLeaveReq.ApplyType == oa_model.TypeSick { + applyReq.BeginTime = year + "-01-01" + applyReq.EndTime = year + "-12-31" + } else if checkLeaveReq.ApplyType == oa_model.TypeDayOff { + dates := holiday.SplitMonthV1(month, "2006-01-02") + applyReq.BeginTime = dates[0] + applyReq.EndTime = dates[len(dates)-1] + + overTimeApplyReq := new(oa.ApplyRecordReq) + _ = copier.CopyWithOption(&overTimeApplyReq, applyReq, copier.Option{DeepCopy: true}) + overTimeApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + overTimeApplyReq.ApplyType = []string{oa_model.TypeOverTime} + overTimeApplyReq.BeginTime = dates[0] + overTimeApplyReq.EndTime = dates[len(dates)-1] + overTimeApply, err = GrpcOAImpl.QueryOaApply(context.Background(), overTimeApplyReq) + if err != nil { + return nil, errors.New(e.ErrQueryOaApply) + } + for i := 0; i < len(overTimeApply.Data); i++ { + if !CheckDateInMonth(overTimeApply.Data[i].ApplyTimes[0].Date, dates) { + overTimeApply.Data = append(overTimeApply.Data[:i], overTimeApply.Data[i+1:]...) + } + } + + } else if checkLeaveReq.ApplyType == oa_model.TypeMatingCheckLeave { + for i := 0; i < len(oaSettingRes.Data[0].Value.MatingCheckLeaveBalance); i++ { + if checkLeaveReq.Month >= oaSettingRes.Data[0].Value.MatingCheckLeaveBalance[i].Start && checkLeaveReq.Month <= oaSettingRes.Data[0].Value.MatingCheckLeaveBalance[i].End { + dates := holiday.SplitMonthV1(month, "2006-01-02") + applyReq.BeginTime = dates[0] + applyReq.EndTime = dates[len(dates)-1] + } else if checkLeaveReq.Month >= oaSettingRes.Data[0].Value.MatingCheckLeaveBalance[i].Start && oaSettingRes.Data[0].Value.MatingCheckLeaveBalance[i].End == 0 { + applyReq.BeginTime, applyReq.EndTime = holiday.CurrentWeek(StartTime) + } + } + } else if checkLeaveReq.ApplyType == oa_model.TypeBreastFeedingLeave { + currentDate := nowTime.Format("2006-01-02") + if checkLeaveReq.StartTime != "" { + currentDate = checkLeaveReq.StartTime + } + applyReq.BeginTime = currentDate + applyReq.EndTime = currentDate + } + + fmt.Println("========= applyReq 1 ========================= ") + fmt.Printf("=== %+v\n", applyReq) + fmt.Println("========= applyReq 2 ========================= ") + + applyRes, err = GrpcOAImpl.QueryOaApply(context.Background(), applyReq) + if err != nil { + return nil, errors.New(e.ErrQueryOaApply) + } + fmt.Println("========= QueryOaApply 1 ========================= ") + fmt.Printf("=== %+v\n", applyRes.Data) + fmt.Println("========= QueryOaApply 2 ========================= ") + + // 查询余额申请 育儿假 独生子女护理假 + /* 丢弃 2025-01-06 */ + /* + leaveApplyRes := new(oa.LeaveApplyInfoRes) + if checkLeaveReq.ApplyType == oa_model.TypeParentalLeave || checkLeaveReq.ApplyType == oa_model.TypeNursingLeave { + leaveApplyReq := new(oa.LeaveApplyInfoReq) + leaveApplyReq.StaffUID = userInfo.ID + leaveApplyReq.LeaveApplyType = e.CheckLeaveApplyMap[checkLeaveReq.ApplyType] + leaveApplyReq.IsOver = e.IsNotOver + leaveApplyReq.UsefulTime = year + leaveApplyRes, err = GrpcOAImpl.QueryLeaveApplyInfo(context.Background(), leaveApplyReq) + if err != nil { + if err.Error() == e.ErrNotHaveBalance { + return nil, err + } else { + return nil, errors.New(e.ErrQueryOaLeaveApply) + } + } + }*/ + + leaveApplyRes := new(oa.LeaveApplyInfoRes) + leaveApplyRes.LeaveApply = new(oa.LeaveApply) + if checkLeaveReq.ApplyType == oa_model.TypeParentalLeave || checkLeaveReq.ApplyType == oa_model.TypeNursingLeave || checkLeaveReq.ApplyType == oa_model.TypeAnnualLeave { + var leaveBalanceInfoReq *oa.LeaveBalanceInfoReq + var leaveBalanceInfoRes *oa.LeaveBalance + leaveBalanceInfoReq = new(oa.LeaveBalanceInfoReq) + leaveBalanceInfoReq.StaffUID = userInfo.ID + yearInt, _ := strconv.Atoi(year) + leaveBalanceInfoReq.Year = int32(yearInt) + leaveBalanceInfoRes, err = GrpcOAImpl.GetLeaveBalanceInfo(context.Background(), leaveBalanceInfoReq) + if err != nil { + return nil, err + } + + if leaveBalanceInfoRes != nil { + if checkLeaveReq.ApplyType == oa_model.TypeParentalLeave { + if leaveBalanceInfoRes.ParentalLeave > 0 { + leaveApplyRes.LeaveApply.LeaveBalance = leaveBalanceInfoRes.ParentalLeave + } else { + return nil, errors.New(e.ErrNoBalance) + } + } + if checkLeaveReq.ApplyType == oa_model.TypeNursingLeave { + if leaveBalanceInfoRes.NursingLeave > 0 { + leaveApplyRes.LeaveApply.LeaveBalance = leaveBalanceInfoRes.NursingLeave + } else { + return nil, errors.New(e.ErrNoBalance) + } + } + if checkLeaveReq.ApplyType == oa_model.TypeAnnualLeave { + if leaveBalanceInfoRes.AnnualLeave > 0 { + leaveApplyRes.LeaveApply.LeaveBalance = leaveBalanceInfoRes.AnnualLeave + } else { + return nil, errors.New(e.ErrNoBalance) + } + } + } + + } + + // 婚假 暂时先不单独处理 + //if req.ApplyType == oa_model.TypeMaritalLeave { + // res, err = MaritalLeave(req, oaSettingRes) + //} + res, err = BalanceLeave(accountInfoRes.Info.WorkYear, accountInfoRes.Info.EnterDate, nowTime, checkLeaveReq, oaSettingRes, applyRes, overTimeApply, leaveApplyRes) // 育儿假 + + return +} + +func VerifyTimeOrder(applyTimes []oa_model.ApplyTime) error { + if len(applyTimes) != 2 { + return errors.New(e.ErrApplyTime) + } + + start, _ := time.ParseInLocation("2006-01-02", applyTimes[0].Date, time.Local) + end, _ := time.ParseInLocation("2006-01-02", applyTimes[1].Date, time.Local) + + if !start.After(end) { + if applyTimes[0].M != "" || applyTimes[1].M != "" { + if start.Equal(end) { + if applyTimes[0].M == "下午" && applyTimes[1].M == "上午" { + return errors.New(e.ErrTimeOrder) + } + } + return nil + } + + if applyTimes[0].Hour != "" && applyTimes[1].Hour != "" { + if start.Equal(end) { + startTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[0].Date+" "+applyTimes[0].Hour+":00", time.Local) + endTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[1].Date+" "+applyTimes[1].Hour+":00", time.Local) + if startTime.After(endTime) { + return errors.New(e.ErrTimeOrder) + } + } + return nil + } + + } + return errors.New(e.ErrTimeOrder) +} + +func CheckWifi(ip string) (isInWifi bool, err error) { + req := new(oa.OaSettingReq) + + req.Keyword = e.ChickInWifi + + isInWifi = false + + res, err := GrpcOAImpl.QueryOaSetting(context.Background(), req) + if err != nil { + return isInWifi, err + } + + if res.Data != nil { + for i := 0; i < len(res.Data); i++ { + for _, ipOpt := range res.Data[i].Value.ChickInWifiOptions.IP { + if ip == ipOpt { + isInWifi = true + } + } + } + } + return isInWifi, err +} + +// CheckDayOffBalance 统计 前两个月的 加班时间 和 调休时间 +func CheckDayOffBalance(staffUID uint64) (balance float32, err error) { + _, _, balance, err = checkSingleDayOffBalance(staffUID, common.CurrentMonth()) + return balance, err +} + +// checkSingleDayOffBalance 统计单个月的加班时间和调休时间 +// 截止至 2024-12 +func checkSingleDayOffBalance(staffUID uint64, inMonth string) (overTime float32, dayOff float32, balance float32, err error) { + dates := make([]string, 0) + var month string + + if len(strings.Split(inMonth, "-")) == 2 { + month = common.Add25ForMonth(inMonth) + } else if len(strings.Split(inMonth, "-")) == 3 { + month = inMonth + } + dates = holiday.SplitMonthV1(month, "2006-01-02") + + // 上个月 根据 传入的月份 获取上个月的月份 + preMonth := common.PreMonth(inMonth) + preMonth = common.Add25ForMonth(preMonth) + preDates := holiday.SplitMonthV1(preMonth, "2006-01-02") + + // 加班时间 + overTimeApplyReq := new(oa.ApplyRecordReq) + overTimeApplyReq.StaffUID = staffUID + overTimeApplyReq.ApplyType = []string{oa_model.TypeOverTime} + overTimeApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + overTimeApplyReq.Page = 1 + overTimeApplyReq.PageSize = 9999 + overTimeApplyReq.BeginTime = dates[0] + overTimeApplyReq.EndTime = dates[len(dates)-1] + + overTimeApplyRes, overTimeApplyResErr := GrpcOAImpl.QueryOaApply(context.Background(), overTimeApplyReq) + if overTimeApplyResErr != nil { + return 0, 0, 0, overTimeApplyResErr + } + + fmt.Println("========= overTimeApplyRes 1 ========================= ") + + fmt.Printf("month := %+v\n", month) + + fmt.Printf("=== %+v\n", overTimeApplyRes.Data) + + overTime = 0 + for i := 0; i < len(overTimeApplyRes.Data); i++ { + overTime += overTimeApplyRes.Data[i].Hours + } + + fmt.Printf("=== overTime is :%+v\n", overTime) + + fmt.Println("========= overTimeApplyRes 2 ========================= ") + + // 调休时间 + dayOffApplyReq := new(oa.ApplyRecordReq) + dayOffApplyReq.StaffUID = staffUID + dayOffApplyReq.ApplyType = []string{oa_model.TypeDayOff} + dayOffApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusRevoking} + dayOffApplyReq.Page = 1 + dayOffApplyReq.PageSize = 9999 + dayOffApplyReq.BeginTime = dates[0] + dayOffApplyReq.EndTime = dates[len(dates)-1] + dayOffApplyRes, dayOffApplyResErr := GrpcOAImpl.QueryOaApply(context.Background(), dayOffApplyReq) + if dayOffApplyResErr != nil { + return 0, 0, 0, dayOffApplyResErr + } + + fmt.Println("========= dayOffApplyRes 1 ========================= ") + + for i := 0; i < len(dayOffApplyRes.Data); i++ { + dayOff += dayOffApplyRes.Data[i].Hours + } + fmt.Printf("=== dayOff is :%+v\n", dayOff) + fmt.Println("========= dayOffApplyRes 2 ========================= ") + + retTime, _ := time.Parse("2006-01-02", dates[0]) + pointTime, _ := time.Parse("2006-01-02", "2024-11-25") + + if retTime.Before(pointTime) { + balance = float32(math.Floor(float64(overTime-dayOff)*10) / 10) + fmt.Printf("retTime.Before(pointTime) \n === balance is :%+v\n", balance) + return overTime, dayOff, balance, nil + } + + var preBalance float32 + + // 上个月的 加班时间 + preOverTimeApplyReq := new(oa.ApplyRecordReq) + preOverTimeApplyReq.StaffUID = staffUID + preOverTimeApplyReq.ApplyType = []string{oa_model.TypeOverTime} + preOverTimeApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusOk} + preOverTimeApplyReq.Page = 1 + preOverTimeApplyReq.PageSize = 9999 + preOverTimeApplyReq.BeginTime = preDates[0] + preOverTimeApplyReq.EndTime = preDates[len(preDates)-1] + + preOverTimeApplyRes, preOverTimeApplyResErr := GrpcOAImpl.QueryOaApply(context.Background(), preOverTimeApplyReq) + if preOverTimeApplyResErr != nil { + return 0, 0, 0, preOverTimeApplyResErr + } + + fmt.Println("========= pre overTimeApplyRes 1 ========================= ") + + fmt.Printf("preMonth := %+v\n", preMonth) + + fmt.Printf("=== %+v\n", overTimeApplyRes.Data) + + var preOverTime float32 = 0 + for i := 0; i < len(preOverTimeApplyRes.Data); i++ { + preOverTime += preOverTimeApplyRes.Data[i].Hours + } + + fmt.Printf("=== preOverTime is :%+v\n", preOverTime) + fmt.Println("========= pre overTimeApplyRes 2 ========================= ") + + // 上个月的 调休时间 + preDayOffApplyReq := new(oa.ApplyRecordReq) + preDayOffApplyReq.StaffUID = staffUID + preDayOffApplyReq.ApplyType = []string{oa_model.TypeDayOff} + preDayOffApplyReq.ApplyStatus = []int32{e.ApprovalWorkStatusDoing, e.ApprovalWorkStatusOk, e.ApprovalWorkStatusRevoking} + preDayOffApplyReq.Page = 1 + preDayOffApplyReq.PageSize = 9999 + preDayOffApplyReq.BeginTime = preDates[0] + preDayOffApplyReq.EndTime = preDates[len(preDates)-1] + preDayOffApplyRes, preDayOffApplyResErr := GrpcOAImpl.QueryOaApply(context.Background(), preDayOffApplyReq) + if preDayOffApplyResErr != nil { + return 0, 0, 0, preDayOffApplyResErr + } + + fmt.Println("========= pre dayOffApplyRes 1 ========================= ") + + var preDayOff float32 = 0 + for i := 0; i < len(preDayOffApplyRes.Data); i++ { + preDayOff += preDayOffApplyRes.Data[i].Hours + } + + fmt.Printf("=== preDayOff is :%+v\n", preDayOff) + fmt.Println("========= pre dayOffApplyRes 2 ========================= ") + + prePreMonth := common.PreMonth(preMonth) + + // 上上个月的 可用 + _, _, prePreBalance, prePreBalanceErr := checkSingleDayOffBalance(staffUID, prePreMonth) + if prePreBalanceErr != nil { + return 0, 0, 0, prePreBalanceErr + } + + fmt.Println("========= prePreBalance 1 ========================= ") + fmt.Printf("=== prePreBalance is :%+v\n", prePreBalance) + fmt.Println("========= prePreBalance 2 ========================= ") + + if prePreBalance-preDayOff > 0 { + preBalance = preOverTime + } else { + preBalance = preOverTime + prePreBalance - preDayOff + } + + fmt.Println("========= preBalance 1 ========================= ") + fmt.Printf("=== preBalance is :%+v\n", preBalance) + fmt.Println("========= preBalance 2 ========================= ") + + balance = overTime + preBalance - dayOff + + fmt.Println("========= balance 1 ========================= ") + fmt.Printf("=== balance is :%+v\n", balance) + fmt.Println("========= balance 2 ========================= ") + + return overTime, dayOff, balance, nil +} diff --git a/pkg/service/ocr/card.go b/pkg/service/ocr/card.go new file mode 100644 index 0000000..3ea4bff --- /dev/null +++ b/pkg/service/ocr/card.go @@ -0,0 +1,72 @@ +package ocr + +import ( + "encoding/base64" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/response" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + baiduUtils "github.com/fonchain_enterprise/utils/baidu" + "github.com/gin-gonic/gin" + "github.com/google/uuid" + "github.com/jinzhu/copier" + "go.uber.org/zap" + "os" + "path" +) + +func CardInfo(ctx *gin.Context) { + var err error + file, err := ctx.FormFile("file") + side := ctx.PostForm("side") + source := ctx.PostForm("source") + mask := ctx.PostForm("mask") + typeS := ctx.PostForm("type") + if file == nil { + err = errors.New(e.GetMsg(e.InvalidParams)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if source == "" || mask == "" || typeS == "" || side == "" { + err = errors.New(e.GetMsg(e.InvalidParams)) + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + uuidNew := uuid.NewString() + imgPath := fmt.Sprintf("%s/%s/%s/%s", "./runtime", source, typeS, mask) + _, _ = utils.CheckDirPath(imgPath, true) + dst := fmt.Sprintf("%s/%s%s", imgPath, uuidNew, path.Ext(file.Filename)) + err = ctx.SaveUploadedFile(file, dst) + fileByte, err := os.ReadFile(dst) + defer os.Remove(dst) + btBase64 := base64.StdEncoding.EncodeToString(fileByte) + result, err := baiduUtils.OcrGetIdCard(btBase64, side) + zap.L().Info("result", zap.Any("result", result)) + if err != nil { + service.ResponseQuickMsg(ctx, e.Failed, err.Error(), nil) + return + } + if side == "front" { + if result.IdCard == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.ERROR_CARDID_OCR, nil) + return + } + } else { + if result.ExpireEndTime == "" { + service.ResponseQuickMsg(ctx, e.Failed, e.ERROR_CARDID_OCR, nil) + return + } + } + url, _err := service.PutBos(dst, "image", true) + if _err != nil { + service.ResponseQuickMsg(ctx, e.Failed, _err.Error(), nil) + return + } + var resp response.OrcInfoRes + _ = copier.Copy(&resp, result) + resp.Url = url + service.ResponseQuickMsg(ctx, e.Ok, e.GetMsg(e.SUCCESS), resp) + return +} diff --git a/pkg/service/oneQueryExt.go b/pkg/service/oneQueryExt.go new file mode 100644 index 0000000..893f9ff --- /dev/null +++ b/pkg/service/oneQueryExt.go @@ -0,0 +1,774 @@ +// Package service ----------------------------- +// @file : oneQueryExt.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2024/2/4 13:53 +// ------------------------------------------- +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + dubboConfig "dubbo.apache.org/dubbo-go/v3/config" + "encoding/json" + "errors" + "fmt" + "github.com/dorlolo/simpleRequest" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/go-redis/redis" + "github.com/robfig/cron/v3" + "go.uber.org/zap" + "io" + "net/http" + "strings" + "sync" +) + +var ( + ArtistOneQueryAuditLock sync.RWMutex + ArtistOneQueryAuditCacheKey = "artist:one_query_audit" +) +var ( + ArtworkOneQueryAuditLock sync.RWMutex + ArtworkOneQueryAuditCacheKey = "artwork:one_query_audit" +) + +type ArtistOneQueryAuditReq struct { + artist.OneQueryAuditReq + UseCache bool `json:"useCache"` //暂存数据 +} + +func ArtistOneQueryAudit(c *gin.Context) { + fmt.Println("一键查询-画家管理-核验") + var req ArtistOneQueryAuditReq + var err error + if err = c.ShouldBindJSON(&req); err != nil { + fmt.Println("参数解析失败", err.Error()) + logger.Errorf("ArtistOneQueryAudit ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("一键查询-画家管理-核验 1") + //查询数据详情 + auditRecordRes, err := GrpcArtistImpl.GetArtistOneQueryCheckRecordDetail(c, &artist.GetArtistOneQueryCheckRecordByIdRequest{Id: req.ID}) + if err != nil { + ErrorWithMark(c, e.Failed, err, "GetArtistOneQueryCheckRecordDetail Err:"+err.Error(), "更新失败") + return + } + fmt.Println("一键查询-画家管理-核验 2") + //判断是否需要暂存数据 + if cache.RedisClient == nil { + logger.Error("redis 客户端没有启动") + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("一键查询-画家管理-核验 3") + ArtistOneQueryAuditLock.Lock() + defer ArtistOneQueryAuditLock.Unlock() + value := cache.RedisClient.Get(ArtistOneQueryAuditCacheKey) + var cacheData = make(map[string]string) + if value.Err() == nil { + var cacheBytes []byte + err2 := value.Scan(&cacheBytes) + if err2 != nil { + logger.Error("查询暂存数据失败", zap.Error(err)) + Error(c, e.Failed, err, "查询暂存数据失败") + return + } + err = json.Unmarshal(cacheBytes, &cacheData) + if err != nil { + Error(c, e.Failed, err, "暂存数据解析失败") + return + } + } + fmt.Println("一键查询-画家管理-核验 4") + // 按要求同步到总部 + go func() { + if req.Resume2 != "" && config.Env == "prod" { + artistProfile, errs := GrpcArtistImpl.ArtistInfo(context.Background(), &artist.ArtistInfoRequest{ + Uid: auditRecordRes.ArtistUID, + }) + if errs != nil { + logger.Error("同步画家简介2到总部失败", zap.Error(errs)) + } else { + Resume2SyncToHeadOffice(artistProfile.ProfileInfo.Name, artistProfile.ProfileInfo.Phone, req.Resume2, auditRecordRes.ArtistUID) + } + } + }() + fmt.Println("一键查询-画家管理-核验 5") + if req.UseCache { //暂存Resume2 + cacheData[auditRecordRes.ArtistUID] = req.Resume2 + cacheBytes, err := json.Marshal(&cacheData) + logger.Error("暂存数据失败1111", zap.Error(err)) + if err != nil { + Error(c, e.Failed, err, "暂存数据失败") + return + } + _, err = cache.RedisClient.Set(ArtistOneQueryAuditCacheKey, cacheBytes, 0).Result() + if err != nil { + logger.Error("暂存数据失败2222", zap.Error(err)) + Error(c, e.Failed, err, "暂存数据失败") + return + } + ResponseQuickMsg(c, e.Ok, "暂存成功", struct{}{}) + return + } else { + fmt.Println("一键查询-画家管理-核验 6") + //如果是待画家确认,则判断是否存在邀请函,如果已存在则改为已核验 + if req.OneQueryAuditReq.CheckStatus == 4 { + fmt.Println("一键查询-画家管理-核验 6.1") + recordResp, errs := GrpcArtistImpl.GetArtistOneQueryCheckRecordDetail(c, &artist.GetArtistOneQueryCheckRecordByIdRequest{Id: req.ID}) + if errs != nil { + ErrorWithMark(c, e.Failed, errs, "GetArtistOneQueryCheckRecordDetail Err", "更新失败") + return + } + fmt.Println("一键查询-画家管理-核验 6.1.1") + letterResp, errs := GrpcArtistImpl.GetInvitationLetterList(c, &artist.GetInvitationLetterListRequest{Page: 1, PageSize: 1, Query: &artist.InvitationLetterData{ShowUid: recordResp.ShowUid}}) + if errs != nil { + ErrorWithMark(c, e.Failed, errs, "GetInvitationLetterList Err", "更新失败") + return + } + fmt.Println("一键查询-画家管理-核验 6.1.2") + if letterResp.Total > 0 { + req.OneQueryAuditReq.CheckStatus = 3 + req.OneQueryAuditReq.ConfirmType = 1 + } + fmt.Println("一键查询-画家管理-核验 6.1.3") + //魏鹏说这段代码用不到了 2024-12-12 + //魏鹏说审核通过调用这个接口 + //_, _ = GrpcExhibitionFClientImpl.Verification(c, &exhibition_f.VerificationReq{Type: 1, ShowUid: recordResp.ShowUid}) + //fmt.Println("一键查询-画家管理-核验 6.1.4") + } + fmt.Println("一键查询-画家管理-核验 6.2") + resp, errs := GrpcArtistImpl.OneQueryAudit(c, &req.OneQueryAuditReq) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + fmt.Println("一键查询-画家管理-核验 6.3") + //清理暂存 + if req.CheckStatus == 3 { + fmt.Println("一键查询-画家管理-核验 6.4") + if _, ok := cacheData[auditRecordRes.ArtistUID]; ok { + delete(cacheData, auditRecordRes.ArtistUID) + cacheBytes, err := json.Marshal(&cacheData) + if err != nil { + logger.Error("暂存数据清理失败1111", zap.Error(err)) + Error(c, e.Failed, err, "暂存数据清理失败") + return + } + fmt.Println("一键查询-画家管理-核验 6.5") + _, err = cache.RedisClient.Set(ArtistOneQueryAuditCacheKey, cacheBytes, 0).Result() + if err != nil { + logger.Error("清理暂存数据失败2222", zap.Error(err)) + Error(c, e.Failed, err, "清理暂存数据失败") + return + } + } + } + fmt.Println("一键查询-画家管理-核验 6.6") + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + } + return +} + +type ArtworkOneQueryAuditRequest struct { + ArtworkUid string `json:"artworkUid"` + CheckStatus int32 `json:"checkStatus"` + EduEvaluation string `json:"eduEvaluation"` +} + +func ArtworkOneQueryAudit(c *gin.Context) { + var req ArtworkOneQueryAuditRequest + var err error + if err = c.ShouldBindJSON(&req); err != nil { + fmt.Println("参数解析失败", err.Error()) + logger.Error("ArtworkOneQueryAudit ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if cache.RedisClient == nil { + logger.Error("redis 客户端没有启动") + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + go func() { + var artworkProfileRes *artwork_query.GetArtworkProfileListResp + artworkProfileRes, err = GrpcArtworkQueryImpl.GetArtworkProfileList(context.Background(), &artwork_query.GetArtworkProfileListRequest{Query: &artwork_query.ArtworkProfileData{Uuid: req.ArtworkUid}, Page: 1, PageSize: 1}) + if err != nil { + zap.L().Error("ArtworkOneQueryAudit.GetArtworkProfileList Err", zap.Error(err)) + return + } + SyncArtworkResume2ToHeadOffice(artworkProfileRes.List[0].Tfnum, req.EduEvaluation) + }() + //判断是否需要暂存数据 + ArtworkOneQueryAuditLock.Lock() + defer ArtworkOneQueryAuditLock.Unlock() + value := cache.RedisClient.Get(ArtworkOneQueryAuditCacheKey) + var cacheData = make(map[string]string) + if value.Err() == nil { + var cacheBytes []byte + err2 := value.Scan(&cacheBytes) + if err2 != nil { + logger.Error("查询暂存数据失败", zap.Error(err)) + Error(c, e.Failed, err, "查询暂存数据失败") + return + } + err = json.Unmarshal(cacheBytes, &cacheData) + if err != nil { + Error(c, e.Failed, err, "暂存数据解析失败") + return + } + } + if req.CheckStatus == 4 { //暂存Resume2 + cacheData[req.ArtworkUid] = req.EduEvaluation + cacheBytes, err := json.Marshal(&cacheData) + if err != nil { + logger.Error("暂存数据失败1111", zap.Error(err)) + Error(c, e.Failed, err, "暂存数据失败") + return + } + _, err = cache.RedisClient.Set(ArtworkOneQueryAuditCacheKey, cacheBytes, 0).Result() + if err != nil { + logger.Error("暂存数据失败2222", zap.Error(err)) + Error(c, e.Failed, err, "暂存数据失败") + return + } + ResponseQuickMsg(c, e.Ok, "暂存成功", struct{}{}) + return + } else { + var protoReq = &artwork.OneQueryAuditReq{ + ArtworkUid: req.ArtworkUid, + CheckStatus: req.CheckStatus, + EduEvaluation: req.EduEvaluation, + } + resp, errs := GrpcArtworkImpl.OneQueryAudit(context.Background(), protoReq) + if errs != nil { + ResponseQuickMsg(c, e.Failed, errs.Error(), nil) + return + } + //清理暂存 + if req.CheckStatus == 3 && len(cacheData) > 0 { + if _, ok := cacheData[req.ArtworkUid]; ok { + delete(cacheData, req.ArtworkUid) + cacheBytes, err := json.Marshal(&cacheData) + if err != nil { + logger.Error("ArtworkOneQueryAudit缓存数据解析失败", zap.Error(err)) + Error(c, e.Failed, err, "暂存数据清理失败") + return + } + _, err = cache.RedisClient.Set(ArtworkOneQueryAuditCacheKey, cacheBytes, 0).Result() + if err != nil { + logger.Error("ArtworkOneQueryAudit清理暂存数据失败", zap.Error(err)) + Error(c, e.Failed, err, "清理暂存数据失败") + return + } + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + } + + return +} +func GetArtistUidListFromOneQueryDataCache() (artistList []string, err error) { + ArtistOneQueryAuditLock.RLock() + //获取画家的缓存数据 + value := cache.RedisClient.Get(ArtistOneQueryAuditCacheKey) + //获取需要删除的画家缓存 + deleteValue, deleteErrs := cache.RedisClient.Get("artist_one_query_audit_delete_cache").Result() + ArtistOneQueryAuditLock.RUnlock() + var cacheBytes []byte + var cacheData = make(map[string]string) + if value.Err() == nil { + err2 := value.Scan(&cacheBytes) + if err2 != nil { + logger.Error("GetArtistListFromOneQueryDataCache Err:获取暂存数据失败", zap.Error(err2)) + err = errors.New("获取暂存数据失败") + return + } + err = json.Unmarshal(cacheBytes, &cacheData) + if err != nil { + return + } + if deleteErrs == nil && deleteValue != "" { + deleteArtistUidList := strings.Split(deleteValue, ",") + for _, deleteArtistUid := range deleteArtistUidList { + if _, ok := cacheData[deleteArtistUid]; ok { + delete(cacheData, deleteArtistUid) + } + } + cache.RedisClient.Set("artist_one_query_audit_delete_cache", nil, 0) + } + } + if len(cacheData) == 0 { + return + } + for k, _ := range cacheData { + artistList = append(artistList, k) + } + return +} + +type AristOneQueryRespData struct { + artist.OneQueryResp_Info + CacheContent string `json:"CacheContent"` + QueryShowTime string `json:"QueryShowTime"` //用户筛选的画展时间 + //邀请函中的数据 + HasInvitationLetter bool `json:"HasInvitationLetter"` //存在邀请函 + SuggestionStatus int32 `json:"SuggestionStatus"` + ModifySuggestion string `json:"ModifySuggestion"` + ShowUid string `json:"ShowUid"` + //画展包中的数据, 通过邀请函中的ShowUid查询 + ShowName string `json:"ShowName"` //画展名称 + ShowTime string `json:"ShowTime"` //实际画展时间 + PreTime string `json:"PreTime"` //预计画展时间 +} + +func UpdateArtistOneQueryDataUseCache(data []*artist.OneQueryResp_Info, permission string, queryShowTime string) (resp []*AristOneQueryRespData, err error) { + fmt.Println("data len", len(data)) + fmt.Println("data len", len(data)) + fmt.Println("data len", len(data)) + if len(data) == 0 { + return + } + resp = []*AristOneQueryRespData{} + //如果用户角色为model.PermissionPublicize,则从缓存中读取暂存数据 + // 注意这个判断逻辑在本函数中有两处 + var cacheData map[string]string + cacheData, err = GetOneQueryCacheData() + if err != nil { + return + } + for _, v := range data { + v := v + var cacheContent string + if permission == model.PermissionPublicize { + if len(cacheData) > 0 { + resume2, ok := cacheData[v.ArtistUuid] + if ok { + cacheContent = resume2 + } + } + } + fmt.Println("1111showUid:", v.ShowUid) + resp = append(resp, &AristOneQueryRespData{ + CacheContent: cacheContent, + QueryShowTime: queryShowTime, + OneQueryResp_Info: artist.OneQueryResp_Info{ + CardId: v.CardId, + Tnum: v.Tnum, + StyleFaction: v.StyleFaction, + Resume: v.Resume, + Age: v.Age, + CaaCertNum: v.CaaCertNum, + PenName: v.PenName, + CoopPlatform: v.CoopPlatform, + Gender: v.Gender, + Student: v.Student, + Teacher: v.Teacher, + NativePlace: v.NativePlace, + Name: v.Name, + School: v.School, + Position: v.Position, + StageName: v.StageName, + CaaJoinTime: v.CaaJoinTime, + ArtistUuid: v.ArtistUuid, + JoinShow: v.JoinShow, + Phone: v.Phone, + Resume2: v.Resume2, + CheckStatus: v.CheckStatus, + ShowUid: v.ShowUid, + ID: v.ID, + PkUuid: v.PkUuid, + }, + ShowUid: v.ShowUid, + }) + } + return +} + +func UpdateArtistOneQueryDataUseInvitationLetter(data []*AristOneQueryRespData) error { + if len(data) == 0 { + return nil + } + var showUids []string + for _, v := range data { + showUids = append(showUids, v.ShowUid) + } + fmt.Println("showUids:", showUids) + invitationList, err := GrpcArtistImpl.GetInvitationLetterList(context.Background(), &artist.GetInvitationLetterListRequest{ShowUids: showUids}) + if err != nil { + logger.Error("UpdateArtistOneQueryDataUseInvitationLetter.GetInvitationLetterList error", zap.Error(err)) + fmt.Println("GrpcArtistImpl.GetInvitationLetterLis err:", err.Error()) + return err + } + fmt.Println("invitationList.Total:", invitationList.Total) + for i, v1 := range data { + fmt.Println("ShowUid1:", v1.ShowUid) + var findedLetter bool + for _, v2 := range invitationList.List { + v2 := v2 + if v1.ShowUid == v2.ShowUid { + findedLetter = true + fmt.Println("ShowUid2:", v2.ShowUid) + data[i].SuggestionStatus = v2.SuggestionStatus + data[i].ModifySuggestion = v2.ModifySuggestion + break + } + data[i].HasInvitationLetter = findedLetter + } + } + return nil +} + +func UpdateArtistOneQueryDataUseArtShow(data []*AristOneQueryRespData) error { + if len(data) == 0 { + return nil + } + var showUids []string + for _, v := range data { + showUids = append(showUids, v.ShowUid) + } + fmt.Println("UpdateArtistOneQueryDataUseArtShow --1") + showTimeRes, err := GrpcArtShowImpl.GetShowTimeWithShowUid(context.Background(), &artShow.GetShowTimeWithShowUidReq{ShowUids: showUids}) + if err != nil { + return err + } + fmt.Println("UpdateArtistOneQueryDataUseArtShow --2") + recordRes, errs := GrpcArtistImpl.GetArtistOneQueryCheckRecordList(context.Background(), &artist.GetArtistOneQueryCheckRecordListRequest{Page: 1, PageSize: -1, ShowUids: showUids}) + if errs != nil { + return errs + } + fmt.Println("UpdateArtistOneQueryDataUseArtShow --3") + fmt.Printf("UpdateArtistOneQueryDataUseArtShow data:%+v\n\n", data) + fmt.Printf("UpdateArtistOneQueryDataUseArtShow showTimeRes:%+v\n\n", showTimeRes) + fmt.Printf("UpdateArtistOneQueryDataUseArtShow recordRes.List:%+v\n\n", showTimeRes) + for i, v := range data { + for _, sub := range showTimeRes.Data { + if v.ShowUid == sub.ShowUid { + sub := sub + data[i].PreTime = sub.PreTime + data[i].ShowTime = sub.ShowTime + data[i].ShowName = sub.ShowName + } + } + for _, r := range recordRes.List { + if r.ShowUid == v.ShowUid { + r := r + data[i].ConfirmType = r.ConfirmType + data[i].ConfirmTime = r.ConfirmTime + } + } + } + fmt.Println("UpdateArtistOneQueryDataUseArtShow --4") + return nil +} +func GetArtworkUidListFromOneQueryDataCache() (artworkUidList []string, err error) { + ArtworkOneQueryAuditLock.RLock() + value := cache.RedisClient.Get(ArtworkOneQueryAuditCacheKey) + ArtworkOneQueryAuditLock.RUnlock() + var cacheBytes []byte + var cacheData = make(map[string]string) + if value.Err() == nil { + err2 := value.Scan(&cacheBytes) + if err2 != nil { + logger.Error("GetArtworkUidListFromOneQueryDataCache Err:获取暂存数据失败", zap.Error(err2)) + err = errors.New("获取暂存数据失败") + return + } + err = json.Unmarshal(cacheBytes, &cacheData) + if err != nil { + return + } + } + if len(cacheData) > 0 { + for k, _ := range cacheData { + artworkUidList = append(artworkUidList, k) + } + } + return +} + +type ArtworkOneQueryRespData struct { + artwork_query.OneQueryResp_Info + CacheContent string `json:"CacheContent"` +} + +func UpdateArtworkOneQueryDataUseCache(data []*artwork_query.OneQueryResp_Info, permission string) (resp []ArtworkOneQueryRespData, err error) { + resp = []ArtworkOneQueryRespData{} + //判断是否需要暂存数据 + var value *redis.StringCmd + var cacheData = make(map[string]string) + //如果是permission=auth_search_training,需要从缓存中获取暂存的画作简介2 + //注意permission这个判断逻辑在本函数中有两个地方 + if permission == "auth_search_training" { + ArtworkOneQueryAuditLock.RLock() + value = cache.RedisClient.Get(ArtworkOneQueryAuditCacheKey) + ArtworkOneQueryAuditLock.RUnlock() + if value.Err() == nil { + var cacheBytes []byte + err2 := value.Scan(&cacheBytes) + if err2 != nil { + logger.Error("获取暂存数据失败", zap.Error(err2)) + err = errors.New("获取暂存数据失败") + return + } + err = json.Unmarshal(cacheBytes, &cacheData) + if err != nil { + return + } + } + } + for _, v := range data { + v := v + var cacheContent string + if permission == "auth_search_training" { + content, ok := cacheData[v.ArtworkUuid] + fmt.Println("for:", v.ArtworkUuid, ok, content) + if ok { + cacheContent = content + } + } + resp = append(resp, ArtworkOneQueryRespData{ + OneQueryResp_Info: artwork_query.OneQueryResp_Info{ + ArtworkName: v.ArtworkName, + ArtistName: v.ArtistName, + Length: v.Length, + Width: v.Width, + Ruler: v.Ruler, + Abstract: v.Abstract, + Comment: v.Comment, + ArtworkUuid: v.ArtworkUuid, + DigiArtImg: v.DigiArtImg, + EduEvaluation: v.EduEvaluation, + CheckStatus: v.CheckStatus, + ArtistUuid: v.ArtistUuid, + }, + CacheContent: cacheContent, + }) + + } + return +} + +func ArtistOneQueryShowTimePoint(c *gin.Context) { + var showUidList = []string{} + recordRes, err := GrpcArtistImpl.GetArtistOneQueryCheckRecordList(c, + &artist.GetArtistOneQueryCheckRecordListRequest{Query: nil, Where: "check_status = 2 OR check_status=5", Page: 1, PageSize: -1}, + ) + fmt.Println("recordRes.Total:", recordRes.Total) + if err != nil { + logger.Error("ArtistOneQueryShowTimePoint Err:", zap.Error(err)) + ResponseData(c, showUidList) + return + } + if len(recordRes.List) == 0 { + ResponseData(c, showUidList) + return + } else { + for _, v := range recordRes.List { + showUidList = append(showUidList, v.ShowUid) + } + } + fmt.Println("showUidList :", showUidList) + res, err := GrpcArtShowImpl.GetShowTimeWithShowUid(c, &artShow.GetShowTimeWithShowUidReq{ShowUids: showUidList}) + if err != nil { + fmt.Println("GetShowTimeWithShowUid err", err.Error()) + ResponseData(c, []struct{}{}) + return + } + if len(res.Data) == 0 { + fmt.Println("GetShowTimeWithShowUid 数据为空") + ResponseData(c, []struct{}{}) + return + } + var showTimeList []string + for _, v := range res.Data { + if v.ShowTime != "" { + showTimeList = append(showTimeList, getYearMonth(v.ShowTime)) + } else if v.PreTime != "" { + showTimeList = append(showTimeList, getYearMonth(v.PreTime)) + } + } + showTimeList = utils.ArrayDeduplicate(showTimeList) + fmt.Println("ShowTimeList :", showTimeList) + ResponseData(c, showTimeList) +} +func getYearMonth(timeStr string) string { + items := strings.Split(timeStr, "-") + return fmt.Sprintf("%s-%s", items[0], items[1]) +} + +func OneQueryTask(c *cron.Cron) { + if dubboConfig.GetConsumerService("ArtistInfoUserClientImpl") != nil && dubboConfig.GetConsumerService("ArtistClientImpl") != nil { + var cronSchedulerSpaceTime = "0 0 * * *" //每天凌晨执行 + if config.Env == "test" || config.Env == "dev" { + cronSchedulerSpaceTime = "*/1 * * * *" //每分钟执行一次 + } + _, err := c.AddFunc(cronSchedulerSpaceTime, func() { + resp, err := GrpcArtistImpl.UpdateOneQueryCheckStatusThatUserNotPerformed(context.Background(), &artist.UpdateOneQueryCheckStatusThatUserNotPerformedReq{}) + if err != nil { + zap.L().Error("执行定时任务[更新用户在7天内没有确认的'一键查询画家'的审批状态]失败", zap.Error(err)) + } + //个人简介2同步到总部 + if config.Env == "prod" { + for _, artistUid := range resp.ArtistUidList { + artistProfileRes, errs := GrpcArtistImpl.ArtistInfo(context.Background(), &artist.ArtistInfoRequest{Uid: artistUid}) + if errs != nil { + zap.L().Error("OneQueryTask 获取画家信息失败", zap.Error(errs), zap.String("artistUid", artistUid)) + continue + } + cacheData, cacheErr := GetOneQueryCacheData() + if cacheErr != nil { + zap.L().Error("OneQueryTask 获取暂存数据失败", zap.Error(cacheErr), zap.String("artistUid", artistUid)) + continue + } + var resume2 string + if len(cacheData) > 0 { + var ok bool + resume2, ok = cacheData[artistUid] + if ok { + cacheData[artistUid] = resume2 + } else { + var recordRes *artist.GetArtistOneQueryCheckRecordListResp + recordRes, err = GrpcArtistImpl.GetArtistOneQueryCheckRecordList(context.Background(), &artist.GetArtistOneQueryCheckRecordListRequest{Query: &artist.ArtistOneQueryCheckRecordData{ArtistUID: artistUid}, Page: 1, PageSize: -1, Order: "id desc"}) + if err != nil { + zap.L().Error("OneQueryTask 获取画家审核记录失败", zap.Error(err), zap.String("artistUid", artistUid)) + continue + } + if recordRes.Total > 0 { + resume2 = recordRes.List[0].Resume2 + } + } + } + Resume2SyncToHeadOffice(artistProfileRes.ProfileInfo.Name, artistProfileRes.ProfileInfo.Phone, resume2, artistUid) + } + } + + }) + if err != nil { + zap.L().Error("添加定时任务[[更新用户在7天内没有确认的'一键查询画家'的审批状态]失败", zap.Error(err)) + return + } + + } +} + +// Resume2SyncToHeadOffice 个人简介2同步到总部 +func Resume2SyncToHeadOffice(artistName, phone, resume2, artistUid string) { + httpReq := simpleRequest.NewRequest() + httpReq.Headers().ConentType_json() + httpReq.Body().Sets(map[string]interface{}{ + "artist_name": artistName, + "brand_phone": phone, + "artist_desc": resume2, + }) + results, errs := httpReq.POST("https://www.tyfon.com.cn/index.php?app=fontree&act=add_brand") + if errs != nil { + zap.L().Error("同步画家简介2到总部失败,请求失败", zap.Error(errs), zap.String("artist_uid", artistUid)) + fmt.Println("同步画家简介2到总部失败,请求失败", errs) + } else { + var resultBody = struct { + Code int `json:"code"` + Msg string `json:"msg"` + }{} + _ = json.Unmarshal(results, &resultBody) + if resultBody.Code != 200 { + zap.L().Error("同步画家简介2到总部失败,请求失败", zap.Error(errs), zap.String("artist_uid", artistUid), zap.Any("resultBody", resultBody)) + fmt.Println("同步画家简介2到总部失败", resultBody.Msg) + } else { + zap.L().Info("同步画家简介2到总部成功", zap.String("artist_uid", artistUid)) + } + } +} + +// GetOneQueryCacheData 获取redis中缓存的个人简介2数据 map[{artistUid}]{resume2} +func GetOneQueryCacheData() (cacheData map[string]string, err error) { + ArtistOneQueryAuditLock.RLock() + value := cache.RedisClient.Get(ArtistOneQueryAuditCacheKey) + ArtistOneQueryAuditLock.RUnlock() + if value.Err() == nil { + var cacheBytes []byte + err2 := value.Scan(&cacheBytes) + if err2 != nil { + logger.Error("获取暂存数据失败", zap.Error(err2)) + err = errors.New("获取暂存数据失败") + } + fmt.Println("cacheBytes:", string(cacheBytes)) + err = json.Unmarshal(cacheBytes, &cacheData) + return + } + return nil, value.Err() +} + +// 同步画家评价2到总部 +func SyncArtworkResume2ToHeadOffice(tfnum, resume2 string) error { + httpReq := simpleRequest.NewRequest() + httpReq.Headers().ConentType_json() + httpReq.Body().Sets(map[string]any{ + "app": "fontree", + "act": "batch_add_art", + "art_arr": []map[string]any{ + { + "cert_id": tfnum, + "art_desc": resume2, + }, + }, + }) + resBytes, err := httpReq.POST("https://www.tyfon.com.cn/index.php?app=fontree&act=batch_add_art") + if err != nil { + return err + } + var res struct { + Code int `json:"code"` + Msg string `json:"msg"` + } + _ = json.Unmarshal(resBytes, &res) + if res.Code != 0 { + zap.L().Error("同步画作评价2到总部失败", zap.String("msg", res.Msg), zap.Any("res", res), zap.String("tfnum", tfnum)) + } else { + zap.L().Info("同步画作评价2到总部成功", zap.String("tfnum", tfnum)) + } + return nil +} +func SyncArtworkTest(c *gin.Context) { + var req = struct { + Tfnum string `json:"tfnum"` + Resume2 string `json:"resume2"` + }{} + if err := c.ShouldBindJSON(&req); err != nil { + fmt.Println("参数解析失败", err.Error()) + logger.Error("SyncArtworkTest ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + err := SyncArtworkResume2ToHeadOffice(req.Tfnum, req.Resume2) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, "同步成功", nil) +} + +// 下载长文本字符串 +func DownloadIfHttpLongText(resume string) string { + if strings.HasPrefix(resume, "http") { + //下载文字内容 + resumeResp, _ := http.Get(resume) + defer resumeResp.Body.Close() + body, _ := io.ReadAll(resumeResp.Body) + if body != nil { + return string(body) + } + } + return resume +} diff --git a/pkg/service/order/entrust.go b/pkg/service/order/entrust.go new file mode 100644 index 0000000..8eb8c11 --- /dev/null +++ b/pkg/service/order/entrust.go @@ -0,0 +1,790 @@ +package order + +import ( + "crypto/sha256" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/shopspring/decimal" + "github.com/tealeg/xlsx" + "io/ioutil" + "net/url" + "os" + "strconv" + "strings" + "time" +) + +func GetWeeklyStaffList(c *gin.Context) { + req := &order.StaffWeeklyListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + weeklyReq := &order.StaffWeeklyListRequest{ + StartDate: req.StartDate, + EndDate: req.EndDate, + Status: 1, + //UserIds: userIds.UserIds, + UserName: req.UserName, + SiteName: req.SiteName, + JobNumber: req.JobNumber, + Page: req.Page, + PageSize: req.PageSize, + } + res, err := service.OrderProvider.StaffWeeklyList(c, weeklyReq) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func GetWeeklyStaffExcel(c *gin.Context) { + req := &order.StaffWeeklyListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + weeklyReq := &order.StaffWeeklyListRequest{ + StartDate: req.StartDate, + EndDate: req.EndDate, + Status: 1, + UserName: req.UserName, + SiteName: req.SiteName, + JobNumber: req.JobNumber, + } + res, err := service.OrderProvider.StaffWeeklyList(c, weeklyReq) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + // 创建临时文件 + tmpfile, err := ioutil.TempFile("", "StaffWeeklyReport_*.xlsx") + if err != nil { + service.Error(c, e.Error, err) + return + } + // 将数据写入 Excel + err = CreateWeeklyStaffExcel(res, tmpfile) + if err != nil { + service.Error(c, e.Error, err) + return + } + defer os.Remove(tmpfile.Name()) // 删除临时文件 + + // 返回文件流 + fileName := "员工汇报.xlsx" + escapedFileName := url.QueryEscape(fileName) + c.Header("Content-Disposition", "attachment; filename*=UTF-8''"+escapedFileName) + c.Header("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") + c.File(tmpfile.Name()) +} +func GetWeeklyBossList(c *gin.Context) { + req := &order.WeeklyListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if len(req.Status) != 0 { + for _, i := range req.Status { + if i == 1 { + req.Status = append(req.Status, 2) + } + } + } else { + req.Status = append(req.Status, 1, 2, 3) + } + res, err := service.OrderProvider.WeeklyList(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func GetWeeklyBossInfo(c *gin.Context) { + type WeeklyInfoRequest struct { + Id uint64 `json:"id"` + } + req := &WeeklyInfoRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + infoReq := &order.WeeklyInfoRequest{ + Id: strconv.FormatUint(req.Id, 10), + } + res, err := service.OrderProvider.WeeklyInfo(c, infoReq) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func GetWeeklyComment(c *gin.Context) { + req := &order.GetWeeklyCommentRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + if req.WeeklyId == 0 { + service.Error(c, e.InvalidParams, errors.New("id不能为空")) + return + } + res, err := service.OrderProvider.GetWeeklyComment(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} +func CreateWeeklyComment(c *gin.Context) { + req := &order.WeeklyCommentRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfo := login.GetUserInfoFromC(c) + req.UserId = userInfo.ID + req.UserName = userInfo.NickName + req.ReportTime = time.Now().Format("2006-01-02 15:04:05") + if req.WeeklyId == 0 { + service.Error(c, e.InvalidParams, errors.New("id不能为空")) + return + } + res, err := service.OrderProvider.CreateWeeklyComment(c, req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +// 将数据写入 Excel 文件 +func CreateWeeklyStaffExcel(data *order.StaffWeeklyResponseList, file *os.File) error { + // 创建 Excel 文件 + xlsFile := xlsx.NewFile() + sheet, err := xlsFile.AddSheet("员工汇报列表") + if err != nil { + return err + } + // 添加表头 + row := sheet.AddRow() + row.AddCell().SetValue("姓名") + row.AddCell().SetValue("工号") + row.AddCell().SetValue("站点") + row.AddCell().SetValue("提交日期") + row.AddCell().SetValue("当前业务金额") + // 将数据写入 Excel + for _, req := range data.WeeklyList { + row := sheet.AddRow() + row.AddCell().SetValue(req.StaffName) + row.AddCell().SetValue(req.JobNumber) + row.AddCell().SetValue(req.SiteName) + row.AddCell().SetValue(req.FillingDate) + row.AddCell().SetValue(req.BusinessAmount) + } + // 保存 Excel 文件 + err = xlsFile.Write(file) + if err != nil { + return err + } + + return nil +} +func GetWeeklyStaffInfo(c *gin.Context) { + req := &order.ReportUserDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + infoReq := &order.ReportUserDetail{ + ID: req.ID, + } + res, err := service.OrderProvider.StaffWeeklyInfo(c, infoReq) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, res) + return +} + +// GetEntrust 提交的报表列表 +func GetEntrust(c *gin.Context) { + req := &order.CommonRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.GetEntrust(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func EntrustDelete(c *gin.Context) { + req := &order.CommonRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.EntrustDelete(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func EntrustBatchDelete(c *gin.Context) { + req := &order.UpDateOrderEntrustsRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.OrderProvider.EntrustBatchDelete(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} +func EntrustCreate(c *gin.Context) { + req := &order.EntrustRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.EntrustCreate(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// GetEntrusts 列表 +func GetEntrusts(c *gin.Context) { + req := &order.EntrustList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.GetEntrusts(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// ImportEntrusts 导入 +func ImportEntrusts(c *gin.Context) { + + file, err := c.FormFile("file") + if err != nil { + service.Error(c, e.Error, err) + } + + c.SaveUploadedFile(file, file.Filename) + + err = importReal(c, file.Filename) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, nil) + return +} + +func isNum(s string) bool { + _, err := strconv.ParseFloat(s, 64) + return err == nil +} + +func importReal(c *gin.Context, filename string) error { + err := ExcelParse(c, filename) + + if err != nil { + return err + } + + /* + if len(list) >= 2 { + entrusts := getListFromRaw(list) + if len(entrusts) > 0 { + req := &order.EntrustListResponse{ + Data: entrusts, + } + fmt.Println("1--------", req) + _, err := service.OrderProvider.EntrustCreates(c, req) + if err != nil { + return err + } + } + } + */ + + return nil +} + +func getListFromRaw(list []map[int]string) ([]*order.EntrustRequest, error) { + + var entrusts []*order.EntrustRequest + + kkMap := map[string]string{ + "序号": "index", + "委托人": "clientName", + "客户服务编码": "serviceCode", + "是否关联员工": "associatedEmployee", + "身份证后8位": "clientId", + "联系电话": "clientTel", + "开户行": "bank", + "银行账号": "bankNo", + "委托申请单号": "entrustNo", + "画家": "artistName", + "画作编号": "artworkNum", + "版权编号": "artworkNum", + "画作名称": "artworkName", + "画作尺寸(平尺)": "artworkSize", + "成交价格": "price", + "委托价格最低": "entrustPriceLow", + "委托价格(最低价)": "entrustPriceLow", + "委托价格(最低价)": "entrustPriceLow", + "委托价格(最高价)": "entrustPrice", + "委托价格(最高价)": "entrustPrice", + "服务费最低": "serviceChargeLow", + "服务费最低金额": "serviceChargeLow", + "服务费(最低金额)": "serviceChargeLow", + "服务费最高": "serviceCharge", + "服务费最高金额": "serviceCharge", + "服务费(最高金额)": "serviceCharge", + "个税最低": "personTaxLow", + "代扣个税最低金额": "personTaxLow", + "代扣个税(最低金额)": "personTaxLow", + "代扣个税最低": "personTaxLow", + "代扣个税最高": "personTax", + "个税最高": "personTax", + "代扣个税最高金额": "personTax", + "代扣个税(最高金额)": "personTax", + "实际支付最低": "realPayLow", + "实际支付(最低金额)": "realPayLow", + "实际支付最低金额": "realPayLow", + "实际支付金额最高": "realPay", + "实际支付最高": "realPay", + "实际支付(最高金额)": "realPay", + "保真证明": "realProve", + "销售公司": "saleSite", + "委托人所属销售公司": "saleSite", + "业务员": "sellerName", + "日期": "optionDate", + "受委托期限开始日期": "optionStartDate", + "受委托期限结束日期": "optionEndDate", + "委托押金款付款日期": "entrustDate", + "是否有居间服务协议": "brokerage", + "备注": "remark", + "是否长期": "isLong", + "数据是否有误": "mistake", + } + + keyMap := list[0] + fmt.Println("第一行头部", keyMap) + + for index, tt := range list { + if index == 0 { + continue + } + + temp := &order.EntrustRequest{} + + fmt.Println("当前是行:", index) + fmt.Println(tt) + + for i, r := range tt { + var err error + t := strings.TrimSpace(r) + + if _, ok := keyMap[i]; !ok { + //fmt.Println("跳出", i) + continue + } + + keyString := strings.TrimSpace(keyMap[i]) + + //fmt.Println("字段i:", i) + //fmt.Println("字段keystring", keyString) + //fmt.Println("字段内容", t) + if _, ok := kkMap[keyString]; !ok { + //return entrusts, errors.New(fmt.Sprintf("行数:%d字段信息(%s)没有匹配,请以模版为准", i, keyString)) + fmt.Println(fmt.Sprintf("行数:%d字段信息(%s)没有匹配,请以模版为准", i, keyString)) + continue + } + + switch kkMap[keyString] { + + case "index": + temp.Index = t + case "serviceCode": + temp.ServiceCode = t + case "clientName": + temp.ClientName = t + case "associatedEmployee": + temp.AssociatedEmployee = t + case "clientId": + temp.ClientId = t + case "clientTel": + temp.ClientTel = t + case "bank": + temp.Bank = t + case "bankNo": + temp.BankNo = t + case "entrustNo": + temp.EntrustNo = t + case "artistName": + temp.ArtistName = t + case "artworkNum": + temp.ArtworkNum = t + case "artworkName": + temp.ArtworkName = t + //case "artworkSize": + // temp.ArtworkSize, err = stringToNumString(t) + case "price": + temp.Price, err = stringToNumString(t) + case "entrustPriceLow": + temp.EntrustPriceLow, err = stringToNumString(t) + case "entrustPrice": + temp.EntrustPrice, err = stringToNumString(t) + case "serviceChargeLow": + temp.ServiceChargeLow, err = stringToNumString(t) + case "serviceCharge": + temp.ServiceCharge, err = stringToNumString(t) + case "personTaxLow": + temp.PersonTaxLow, err = stringToNumString(t) + case "personTax": + temp.PersonTax, err = stringToNumString(t) + case "realPayLow": + temp.RealPayLow, err = stringToNumString(t) + case "realPay": + temp.RealPay, err = stringToNumString(t) + case "realProve": + temp.RealProve = t + case "saleSite": + temp.SaleSite = t + case "sellerName": + temp.SellerName = t + case "optionDate": + temp.OptionDate = t + case "optionStartDate": + temp.OptionStartDate = TimeProcessing(t) + case "optionEndDate": + temp.OptionEndDate = TimeProcessing(t) + case "entrustDate": + //时间格式做处理 + temp.EntrustDate = TimeProcessing(t) + + case "brokerage": + temp.Brokerage = t + case "remark": + temp.Remark = t + case "isLong": + temp.IsLong = t + } + + if err != nil { + return entrusts, errors.New(fmt.Sprintf("字段:%s提示错误:%s", keyString, err.Error())) + } + + } + if temp.ClientName == "" { + //if !isNum(temp.Index) || temp.ClientName == "" { + continue + } + EntrustPriceNum, err1 := strconv.ParseFloat(temp.EntrustPrice, 64) + ServiceChargeNum, err2 := strconv.ParseFloat(temp.ServiceCharge, 64) + PriceNum, err3 := strconv.ParseFloat(temp.Price, 64) + PersonTaxNum, err4 := strconv.ParseFloat(temp.PersonTax, 64) + RealPayNum, err5 := strconv.ParseFloat(temp.RealPay, 64) + + if err1 != nil || err2 != nil || err3 != nil || err4 != nil || err5 != nil { + temp.Mistake = "1" + fmt.Println("转换失败:", err1, err2, err3, err4, err5) + } + + // 计算最高金额 + var maxPersonTax int64 + + maxServiceCharge := int64(EntrustPriceNum) * 6 / 100 + if temp.IsLong == "是" { + maxPersonTax = (int64(EntrustPriceNum) - int64(PriceNum) - maxServiceCharge) * 3 / 100 + } else { + maxPersonTax = (int64(EntrustPriceNum) - int64(PriceNum) - maxServiceCharge) / 5 + } + maxRealPay := int64(EntrustPriceNum) - maxServiceCharge - maxPersonTax + + // 核对测算逻辑 + if int64(EntrustPriceNum) != maxServiceCharge+maxPersonTax+maxRealPay || + int64(ServiceChargeNum) != maxServiceCharge || + int64(PersonTaxNum) != maxPersonTax || + int64(RealPayNum) != maxRealPay { + temp.Mistake = "1" + } else { + temp.Mistake = "0" + } + temp.IsCopyright = 2 + if find := strings.Contains(temp.ArtworkNum, "IP"); find { + temp.IsCopyright = 1 + } + + entrusts = append(entrusts, temp) + } + sha256.New() + fmt.Println("等待插入数据", entrusts) + return entrusts, nil +} +func TimeProcessing(t string) (res string) { + dayNum, err := strconv.Atoi(t) + if err == nil { + currentTime, _ := time.Parse("2006-01-02", "1899-12-31") + oldTime := currentTime.AddDate(0, 0, dayNum-1) //若要获取3天前的时间,则应将-2改为-3 + res = oldTime.Format("2006-01-02") + } else { + times, err := time.Parse("01-02-06", t) + if err == nil { + res = times.Format("2006-01-02") + } else { + times, err := time.Parse("2006.1.2", t) + if err == nil { + res = times.Format("2006-01-02") + } + } + } + return res +} + +// UpdateEntrustKeys 批量更新 +func UpdateEntrustKeys(c *gin.Context) { + req := &order.EntrustListResponse{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.UpdateEntrustKeys(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// ExcelParseToList xlsx文件解析 +func ExcelParseToList(filePath string) ([]map[int]string, error) { + //func ExcelParse(filePath string) ([][]string, error) { + //filePath := "upload/" + fileName + xlFile, err := xlsx.OpenFile(filePath) + + if err != nil { + return []map[int]string{}, err + } + + //开辟除表头外的行数的数组内存 + //遍历sheet + var resourceArr []map[int]string + for _, sheet := range xlFile.Sheets { + //遍历每一行 + //for rowIndex, row := range sheet.Rows { + for _, row := range sheet.Rows { + //跳过第一行表头信息 + /* + if rowIndex == 0 { + continue + } + + */ + //遍历每一个单元 + + //开辟除表头外的行数的数组内存 + objMap := make(map[int]string) + + if len(row.Cells) <= 0 || row.Cells[0].String() == "" { + continue + } + + for cellIndex, cell := range row.Cells { + text := cell.String() + //如果是每一行的第一个单元格 + objMap[cellIndex] = text + /* + if cellIndex == 0 { + resourceArr[rowIndex-1][cellIndex] = text + } + */ + } + resourceArr = append(resourceArr, objMap) + } + + } + + return resourceArr, nil +} + +// ExcelParse xlsx文件解析 +// func ExcelParse(filePath string) ([]map[int]string, error) { +func ExcelParse(c *gin.Context, filePath string) error { + //func ExcelParse(filePath string) ([][]string, error) { + //filePath := "upload/" + fileName + xlFile, err := xlsx.OpenFile(filePath) + + if err != nil { + return err + } + + //开辟除表头外的行数的数组内存 + //遍历sheet + for sheetIndex, sheet := range xlFile.Sheets { + var resourceArr []map[int]string + + //遍历每一行 + //for rowIndex, row := range sheet.Rows { + for _, row := range sheet.Rows { + //跳过第一行表头信息 + /* + if rowIndex == 0 { + continue + } + + */ + //遍历每一个单元 + + //开辟除表头外的行数的数组内存 + objMap := make(map[int]string) + + if len(row.Cells) <= 0 || row.Cells[0].String() == "" { + continue + } + + for cellIndex, cell := range row.Cells { + text := cell.String() + //如果是每一行的第一个单元格 + objMap[cellIndex] = text + /* + if cellIndex == 0 { + resourceArr[rowIndex-1][cellIndex] = text + } + */ + } + resourceArr = append(resourceArr, objMap) + } + + if len(resourceArr) >= 2 { + entrusts, err := getListFromRaw(resourceArr) + if err != nil { + return errors.New(fmt.Sprintf("页码:%d,文件读取错误信息%s", sheetIndex+1, err.Error())) + } + var sellerNames []string + if len(entrusts) > 0 { + for _, entrust := range entrusts { + sellerNames = append(sellerNames, entrust.SellerName) + } + sellerNameList, _ := service.AccountProvider.QueryPersonnelWithTheSameName(c, &account.QueryPersonnelWithTheSameNameRequest{ + Names: sellerNames, + Domain: "fontree", + //Status: "notactive", + }) + duplicateNameSet := make(map[string]struct{}) + for _, name := range sellerNameList.Names { + duplicateNameSet[name] = struct{}{} + } + for i := range entrusts { + if _, exists := duplicateNameSet[entrusts[i].SellerName]; exists { + entrusts[i].DuplicateName = true + } else { + entrusts[i].DuplicateName = false + } + } + req := &order.EntrustListResponse{ + Data: entrusts, + } + _, err = service.OrderProvider.EntrustCreates(c, req) + if err != nil { + return errors.New(fmt.Sprintf("页码:%d,数据生成错误信息%s", sheetIndex+1, err.Error())) + } + } + } + break + } + + return nil +} + +func stringToNumString(str string) (string, error) { + + if str == "" { + return "0", nil + } + + if str == "-" { + return "0", nil + } + + num, err := decimal.NewFromString(str) + if err != nil { + return "0", err + } + roundedNum := num.Floor() + return roundedNum.String(), nil + +} + +func stringTofloat64(str string) (float64, error) { + + if str == "" { + return 0, nil + } + + vv, err := strconv.ParseFloat(str, 64) + + if err != nil { + return 0, err + } + + res, err := strconv.ParseFloat(fmt.Sprintf("%.2f", vv), 64) + + if err != nil { + return 0, err + } + + return res, nil +} diff --git a/pkg/service/order/order.go b/pkg/service/order/order.go new file mode 100644 index 0000000..e1a6713 --- /dev/null +++ b/pkg/service/order/order.go @@ -0,0 +1,732 @@ +package order + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/untils/timetool" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/query" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func ControlSure(c *gin.Context) { + req := &order.SetStatusRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Status = e.Order_Need_Finance_Sure + res, err := service.OrderProvider.SetStatus(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Statist(c *gin.Context) { + req := &order.OrderStatisticsInfoRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.OrderStatisticsInfo(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func FinanceSures(c *gin.Context) { + + rr := &query.BatchOrderIds{} + + if err := c.ShouldBindBodyWith(&rr, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + for _, id := range rr.IDs { + req := &order.SetStatusRequest{ID: id} + req.Status = e.Order_Done + _, err := service.OrderProvider.SetStatus(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + } + + service.Success(c, nil) + + return +} + +func FinanceSure(c *gin.Context) { + req := &order.SetStatusRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Status = e.Order_Done + res, err := service.OrderProvider.SetStatus(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func FinancePass(c *gin.Context) { + req := &order.OrderStageSetStatusReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.IsPass = true + res, err := service.OrderProvider.OrderStageSetStatus(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func FinanceRefuse(c *gin.Context) { + req := &order.OrderStageSetStatusReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.IsPass = false + res, err := service.OrderProvider.OrderStageSetStatus(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// Transactions 提交的销售报表列表 +func Transactions(c *gin.Context) { + req := &order.TransactionsRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + var SiteUidS []uint32 + userInfo := login.GetUserInfoFromC(c) + + if len(userInfo.PositionUsers) <= 0 { + service.Error(c, e.InvalidParams, errors.New("无销售部门")) + return + } + + for _, tt := range userInfo.PositionUsers { + SiteUidS = append(SiteUidS, uint32(tt.DepartmentId)) + } + userList, err := service.AccountProvider.ListV2(c, &account.ListV2Request{ + Domain: "fontree", + Page: 1, + DepartmentIds: SiteUidS, + }) + var userIds []uint64 + for _, i := range userList.Data { + userIds = append(userIds, i.ID) + } + req.SellerIds = userIds + //if len(SiteUidS) <= 0 { + // service.Error(c, e.InvalidParams, errors.New("less data")) + // return + //} + // + //req.SaleSiteUidS = SiteUidS + + res, err := service.OrderProvider.GetTransactions(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + puRequest := &rule.PositionUserListRequest{ + //SiteUidS: SiteUidS, + } + puRes, err := service.RuleProvider.PositionUserList(c, puRequest) + res1 := &order.TransactionsResponse{} + + for _, i := range res.Data { + if len(i.TransactionStages) == 0 { + continue + } + found := false // 标志是否找到匹配 + for _, s := range puRes.Data { + //if i.SaleSiteUid == s.SyncId && i.SellerName == s.UserName { + if i.SellerName == s.UserName { + i.Colour = "black" + found = true // 找到匹配,设置标志为 true + break // 不再继续搜索 + } + } + if !found { // 如果未找到匹配,设置颜色为 red + i.Colour = "red" + } + res1.Data = append(res1.Data, i) + } + res1.Count = res.Count + service.Success(c, serializer.BuildTransactionPage(res1)) + return +} + +func Users(c *gin.Context) { + + response := vo.PageRes{ + Count: 0, + } + + req := &order.TransactionsRequest{} + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if req.SaleSite == "" { + service.Error(c, e.InvalidParams, errors.New("less Data")) + return + + } + + departmentID := getSaleSiteIDFromContext(c, req.SaleSite) + if departmentID == 0 { + service.Error(c, e.InvalidParams, errors.New("less Data 0")) + return + } + + UserInfoMap := make(map[uint64]*department.UserInfo, 0) + + positionIds, ok := getSellerPositionID(c, []uint64{departmentID}) + + if ok == false { //不存在销售的岗位 + service.Success(c, response) + return + } + + dUsersreq := department.UsersRequest{ + InPositionIds: positionIds, + } + + res, err := service.DepartmentProvider.Users(c, &dUsersreq) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + if res.Count == 0 { + service.Success(c, response) + return + } + + var userIds []uint64 + + for i, tt := range res.Users { + userIds = append(userIds, tt.UserID) + UserInfoMap[tt.UserID] = res.Users[i] + } + + IdsReq := account.ListByIDsRequest{ + IDs: userIds, + } + + userRes, userErr := service.AccountProvider.ListByIDs(c, &IdsReq) + + if userErr != nil { + service.Error(c, e.Error, err) + return + } + + response = vo.PageRes{ + Count: userRes.Count, + } + + response.Data = serializer.BuildUsers(userRes.Data, UserInfoMap) + + service.Success(c, response) +} + +func Publish(c *gin.Context) { + req := &order.SetStatusRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Status = e.ORDER_STATUS_NEED_CONFIRM + res, err := service.OrderProvider.SetStatus(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// OrderList 订单列表 +func OrderList(c *gin.Context) { + req := &order.OrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Page = 1 + req.PageSize = 999 + + res, err := service.OrderProvider.GetOrders(c, req) + + fmt.Println("1----", err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + resPage := vo.PageRes{ + Count: uint64(len(res.Data)), + Data: serializer.BuildOrders(res.Data), + } + service.Success(c, resPage) + + return +} + +// OrderDetail 订单列表 +func OrderDetail(c *gin.Context) { + req := &order.CommonRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.GetOrder(c, req) + + fmt.Println("1----", err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + infoReq := &account.InfoRequest{ + ID: res.SellerId, + } + + infoRes, err := service.AccountProvider.Info(c, infoReq) + if err == nil && infoRes != nil && res != nil { + res.SellerName = infoRes.Info.NickName + res.SellerNum = infoRes.Info.JobNum + res.SellerImg = infoRes.Info.Avatar + } + + service.Success(c, serializer.BuildOrder(res)) + + return +} + +// SetOrder 更新订单 +func SetOrder(c *gin.Context) { + req := &order.OrderRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Gtv = req.Price + res, err := service.OrderProvider.OrderUpdate(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func UpdateOrder(c *gin.Context) { + req := &order.OrderBatchUpdateRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.OrderBatchUpdate(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func CashierSure(c *gin.Context) { + req := &order.SetStatusRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Status = e.Order_Need_Finance_Sure + res, err := service.OrderProvider.SetStatus(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// FinanceOrders 订单列表 +func FinanceOrders(c *gin.Context) { + req := &order.OrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + //Todo 徐嘉红修改需求:内控管理 取消查看订单状态限制,查询所有订单数据 + //if len(req.Status) == 0 { + // req.Status = []uint64{e.Order_Need_Finance_Sure, e.Order_Done} + //} + + res, err := service.OrderProvider.GetOrders(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + for index, tt := range res.Data { + if tt.Status == e.Order_Need_Finance_Sure { + res.Data[index].IsSure = 2 + } else { + res.Data[index].IsSure = 1 + } + } + + for i, t := range res.Data { + res.Data[i].SellTime = timetool.GetYmdFromString(t.SellTime) + } + + service.Success(c, res) + + return +} + +// ControlOrders 订单列表 +func ControlOrders(c *gin.Context) { + req := &order.OrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if len(req.Status) == 0 { + req.Status = []uint64{e.Order_Need_Control_Sure, e.Order_Need_Finance_Sure, e.Order_Done} + } + + res, err := service.OrderProvider.GetOrders(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + for index, tt := range res.Data { + if tt.Status == e.Order_Need_Control_Sure { + res.Data[index].IsSure = 2 + } else { + res.Data[index].IsSure = 1 + } + } + + service.Success(c, res) + + return +} + +// CashierOrders 订单列表 +func CashierOrders(c *gin.Context) { + req := &order.OrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + + if len(userInfo.PositionUsers) <= 0 { + service.Success(c, nil) + return + } + + var saleSites []string + for _, tt := range userInfo.PositionUsers { + saleSites = append(saleSites, tt.DepartmentName) + } + + req.SaleSites = saleSites + //req.SaleSite = userInfo.PositionUsers[0].DepartmentName + + if len(req.Status) == 0 { + req.Status = []uint64{e.Order_Done, e.Order_Need_Control_Sure, e.Order_Need_Finance_Sure} //查看内控和财务,以及完成的数据 + } + + res, err := service.OrderProvider.GetOrders(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + for i, t := range res.Data { + res.Data[i].SellTime = timetool.GetYmdFromString(t.SellTime) + } + + service.Success(c, res) + + return +} + +// SiteOrders 订单列表 +func SiteOrders(c *gin.Context) { + req := &order.OrderList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.SaleSite = userInfo.PositionUsers[0].DepartmentName + + res, err := service.OrderProvider.GetOrders(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + + return +} + +func Transaction(c *gin.Context) { + req := &order.CommonRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.GetTransaction(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + for i, t := range res.Orders { + res.Orders[i].SellTime = timetool.GetYmdFromString(t.SellTime) + } + + service.Success(c, res) + + return +} + +func SiteTransactions(c *gin.Context) { + req := &order.TransactionsRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + if len(userInfo.PositionUsers) <= 0 { + service.Success(c, nil) + return + } + + //var saleSiteUids []string + //for _, tt := range userInfo.PositionUsers { + // saleSiteUids = append(saleSiteUids, tt.SyncId) + //} + + //req.SaleSiteUidS = saleSiteUids + + //req.SaleSite = userInfo.PositionUsers[0].DepartmentName + req.Status = []uint64{e.Transaction_Need_Cashier_Sure} + + res, err := service.OrderProvider.GetTransactions(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + orderNotSureMap := make(map[uint64]struct{}) + orderNotSureMap[e.Order_Done] = struct{}{} + orderNotSureMap[e.Order_Need_Finance_Sure] = struct{}{} + orderNotSureMap[e.Order_Need_Control_Sure] = struct{}{} + + //修改 + for index, tt := range res.Data { + for i, t := range tt.Orders { + if _, ok := orderNotSureMap[t.Status]; ok { //是完成的 + res.Data[index].Orders[i].IsSure = 1 + } else { + res.Data[index].Orders[i].IsSure = 2 + } + + res.Data[index].Orders[i].SellTime = timetool.GetYmdFromString(t.SellTime) + } + } + + service.Success(c, res) + + return +} + +func DepartmentBases(c *gin.Context) { + var req = department.DepartmentsByAuthRequest{ + Url: e.SellerBossKey, + } + + infoByUserIdResponse, err1 := service.DepartmentProvider.DepartmentsByAuth(c, &req) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + service.Success(c, infoByUserIdResponse.Data) + +} +func TransactionUpdate(c *gin.Context) { + req := &order.UpdateTransactionDateReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + infoByUserIdResponse, err1 := service.OrderProvider.UpdateTransactionDate(c, req) + + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + service.Success(c, infoByUserIdResponse.ID) +} +func getDepartmentIds(c *gin.Context) []uint64 { + + var depatmentIds []uint64 + userInfo := login.GetUserInfoFromC(c) + + if len(userInfo.PositionUsers) <= 0 { + return depatmentIds + } + + for _, tt := range userInfo.PositionUsers { + depatmentIds = append(depatmentIds, tt.DepartmentId) + } + + return depatmentIds +} + +func getSaleSiteIDFromContext(c *gin.Context, departmentName string) uint64 { + + userInfo := login.GetUserInfoFromC(c) + + if len(userInfo.PositionUsers) <= 0 { + return 0 + } + + for _, tt := range userInfo.PositionUsers { + if departmentName == tt.DepartmentName { + return tt.DepartmentId + } + } + + return 0 + +} + +func getSaleSitesFromContext(c *gin.Context) []string { + + var saleSites []string + userInfo := login.GetUserInfoFromC(c) + + if len(userInfo.PositionUsers) <= 0 { + return saleSites + } + + for _, tt := range userInfo.PositionUsers { + saleSites = append(saleSites, tt.SyncId) + } + + return saleSites + +} + +func getSellerPositionID(c *gin.Context, departmentIds []uint64) (id []uint64, ok bool) { + var ids []uint64 + ok = false + fReq := position.PositionByUrlsRequest{ + Urls: []string{e.SellerStaffKey, e.SellerBossKey}, + DepartmentIds: departmentIds, + } + + fres, err := service.PositionProvider.PositionByUrls(c, &fReq) + + if err == nil && fres != nil && fres.List != nil { + for _, tt := range fres.List { + ids = append(ids, tt.ID) + ok = true + } + } + + return ids, ok +} diff --git a/pkg/service/order/pay.go b/pkg/service/order/pay.go new file mode 100644 index 0000000..11e459a --- /dev/null +++ b/pkg/service/order/pay.go @@ -0,0 +1,376 @@ +package order + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/chain" + "github.com/fonchain_enterprise/fonchain-main/api/collections" + "github.com/fonchain_enterprise/fonchain-main/api/order" + frontSeries "github.com/fonchain_enterprise/fonchain-main/api/series" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/dingding" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "time" +) + +// PayDetail 提交的报表列表 +func PayDetail(c *gin.Context) { + req := &order.PayDetailRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Domain = "mall" + + res, err := service.OrderProvider.PayDetail(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func SynPaySeriesData(c *gin.Context, seriesUID string) error { + + fmt.Println("1---", seriesUID) + seriesInfo, err := getSeriesDetail(c, seriesUID) + + fmt.Println("2---", seriesInfo, err) + if err != nil { + return err + } + + if seriesInfo == nil { + return nil + } + + seriesReq := &order.PaySeriesDataRequest{ + SeriesStatus: uint64(seriesInfo.ShelfState), + SeriesBrandName: seriesInfo.BrandName, + LaunchStartTime: seriesInfo.LaunchStartTime, + LaunchEndTime: seriesInfo.LaunchEndTime, + SeriesUid: seriesUID, + } + + if len(seriesInfo.SeriesLang) > 0 { + lang := c.GetString("lang") + if lang == "" { + lang = "zh-CN" + } + if len(seriesInfo.SeriesLang) > 0 { + for _, tt := range seriesInfo.SeriesLang { + if tt.Language == lang { + seriesReq.SeriesName = tt.SeriesName + } + } + } + } + + req := &order.PaySynSeriesDataRequest{ + IsInsert: false, + Series: seriesReq, + } + + fmt.Println("3---", req) + _, err = service.OrderProvider.PaySynSeriesData(c, req) + fmt.Println("4---", err) + + if err != nil { + return err + } + + return nil +} + +// SynPayCollectionData 更新统计 +func SynPayCollectionData(c *gin.Context, artworkUid string) error { + fmt.Println("1---", artworkUid) + collectionInfo, err := getCollectionsInfoByID(c, artworkUid) + if err != nil { + return err + } + + fmt.Println("2---", collectionInfo) + + //同步数量 + collectionReq := &order.PayCollectionDataRequest{ + Name: collectionInfo.Name, + Img: collectionInfo.CollectionImg, + Level: collectionInfo.Level, + Total: uint64(collectionInfo.Num), //总量 + Price: fmt.Sprintf("%.2f", collectionInfo.Price), //单价 + StockAmount: uint64(collectionInfo.Num), //库存 + Uid: artworkUid, + } + + req := &order.PaySynSeriesDataRequest{ + Collection: collectionReq, + IsInsert: false, + } + + fmt.Println("3---", req) + _, err = service.OrderProvider.PaySynSeriesData(c, req) + if err != nil { + return err + } + + return nil + +} + +func getCollectionsInfoByID(c *gin.Context, CollectionsUID string) (*collections.CollectionsInfo, error) { + req := collections.CollectionsListReq{ + CollectionsUID: CollectionsUID, + Language: c.GetString("lang"), + } + + fmt.Println("2---") + + resp, err := service.GrpcCollectionImpl.CollectionsList(c, &req) + + fmt.Println("2---", err) + fmt.Println("2---", resp) + + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return nil, err + } + + if len(resp.Data) > 0 { + data := resp.Data[0] + return data, nil + } + + return nil, errors.New("no found") +} + +func getSeriesDetail(c *gin.Context, seriesUid string) (*frontSeries.SeriesDetailResp, error) { + req := frontSeries.SeriesDetailReq{ + SeriesUuid: seriesUid, + } + + resp, err := service.GrpcBackendSeriesImpl.SeriesDetail(c, &req) + if err != nil { + return nil, err + } + + return resp, nil +} + +func OfflinePayList(c *gin.Context) { + req := &order.PayListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Domain = "mall" + req.Status = []uint64{e.Pay_Express_Agree, e.Pay_Express, e.Pay_Success} + req.PayType = 7 + + res, err := service.OrderProvider.PayList(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + for i, t := range res.Data { + timeTemp, err := time.Parse("2006-01-02 15:04:05", t.CreatedAt) + if err == nil { + res.Data[i].CreatedAt = timeTemp.Format("2006-01-02") + } + } + + service.Success(c, res) + return +} + +func AddTrackingNumber(c *gin.Context) { + req := &order.AddTrackingNumberRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.AddTrackingNumber(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// PayList 申请快递 +func PayList(c *gin.Context) { + req := &order.PayListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Domain = "mall" + req.Status = []uint64{e.Pay_Express_Agree, e.Pay_Express} + + res, err := service.OrderProvider.PayList(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// Refund 申请退款,退款成功销毁nft,同时 +func Refund(c *gin.Context) { + req := &order.PayDetailRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Domain = e.Domain_Mall + + //0-退钱 + res, err := service.OrderProvider.PayRefund(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //1-获取隐私数据 + privateReq := &account.PrivacyInfoRequest{ + Domain: e.Domain_Mall, + ID: res.BuyerId, + } + + privateInfo, err := service.AccountProvider.PrivacyInfo(c, privateReq) + fmt.Println("1--", privateInfo, err) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + //2-销毁nft + burnReq := &chain.BurnNFTRequest{ + Mnemonic: privateInfo.MnemonicWords, + Address: privateInfo.Account, + Hash: res.Hash, + } + + _, err = service.ChainProvider.BurnNFT(c, burnReq) + + if err != nil { + dingding.Send("退款(藏品)销毁藏品失败,info"+res.String(), err) + service.Error(c, e.Error, err) + return + } + + //3-藏品数量+1 + subReq := &collections.SubCollectionsNumReq{ + CollectionUID: res.ArtworkUid, + AddNum: 1, + SubNum: 0, + } + + _, err = service.GrpcCollectionImpl.SubCollectionsNum(c, subReq) + + if err != nil { + dingding.Send("退款(藏品)数量回滚,info"+res.String(), err) + fmt.Println("退款(藏品)数量回滚,info", err) + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// PayHasExpress 申请快递的状态 +func PayHasExpress(c *gin.Context) { + req := &order.PayListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Domain = "mall" + req.Status = []uint64{e.Pay_Express} + + res, err := service.OrderProvider.PayList(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + newRes := make(map[string]uint64) + + newRes["Num"] = res.Count + + service.Success(c, newRes) + return +} + +// PayAgreeExpress 修改订单状态 +func PayAgreeExpress(c *gin.Context) { + req := &order.PaySetExpressRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.PaySetExpressRemark(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// SeriesList 系列列表 +func SeriesList(c *gin.Context) { + req := &order.PaySeriesDataListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Domain = "mall" + + res, err := service.OrderProvider.PaySeriesDataList(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// CollectionsList 藏品列表 +func CollectionsList(c *gin.Context) { + req := &order.PayCollectionsDataListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Domain = "mall" + + res, err := service.OrderProvider.PayCollectionsDataList(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} diff --git a/pkg/service/order/payment.go b/pkg/service/order/payment.go new file mode 100644 index 0000000..1e88c16 --- /dev/null +++ b/pkg/service/order/payment.go @@ -0,0 +1,462 @@ +package order + +import ( + "context" + "errors" + "fmt" + "os" + + "github.com/fonchain_enterprise/fonchain-main/api/collection_record" + "github.com/fonchain_enterprise/fonchain-main/api/payment" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/gin-gonic/gin" + "github.com/nacos-group/nacos-sdk-go/common/logger" +) + +func AddShop(c *gin.Context) { + var req payment.AddShopreq + + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("Add ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcPaymentImpl.AddShop(context.Background(), &req) + fmt.Println("输出是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ShopList(c *gin.Context) { + var req payment.ShopListreq + + fmt.Println("输入是:", req) + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("ShopList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcPaymentImpl.ShopList(context.Background(), &req) + fmt.Println("输出是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func EditShop(c *gin.Context) { + var req payment.EditShopreq + + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("EditShop ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcPaymentImpl.EditShop(context.Background(), &req) + fmt.Println("输出是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, "修改成功", nil) + return +} + +func DelShop(c *gin.Context) { + var req payment.DelShopreq + + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("DelShop ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcPaymentImpl.DelShop(context.Background(), &req) + fmt.Println("输出是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, "删除成功", nil) + return +} + +// 生成二维码 +func AddQr(c *gin.Context) { + var req payment.AddQrreq + + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的 err 是:", err) + logger.Errorf("AddQr ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + qrContent := "http://paycode.szjixun.cn/#/pages/index/index?shopUid=" + req.Uuid + qrBytes, err := utils.CreateQr(qrContent, "") // Assuming CreateQr returns []byte + // fmt.Println("qrBytes 是:", qrBytes) + + if err != nil { + fmt.Println("创建二维码失败:", err) + service.ResponseQuickMsg(c, e.Failed, "创建二维码失败", nil) + return + } + + // 设置响应头,指定内容类型为 image/apng,这是一个 APNG 图像格式 + // c.Writer.Header().Set("content-type", "image/apng") + // _, _ = c.Writer.Write([]byte(qrBytes)) // 将生成的二维码字节切片写入响应体 + + qrbytess := []byte(qrBytes) + + var objectName string = fmt.Sprintf("%s/%s/%s.jpg", config.ConfigData.Oss.BaseDir, config.Env, req.Uuid) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, qrbytess) + if err != nil { + logger.Errorf("quickBos err", err) + return + } + + //url := fmt.Sprintf("%s%s%s/%s", config.BosHttp, config.BosBucketName, config.BosUrl, objectName) + url := fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + + fmt.Println("得到的url是", url) + + // bosurl, err = quickBos(file, mediaType, mask, source, &req) + // if err != nil { + // fmt.Println("quickBos 处理失败:", err) + // service.ResponseQuickMsg(c, e.Failed, "quickBos 处理失败", nil) + // return + // } + + // 将二维码内容赋给 req 的 Qr 字段 + req.Qr = url + + resp, err := service.GrpcPaymentImpl.AddQr(context.Background(), &req) + fmt.Println("resp是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, "生成二维码成功", nil) + return +} + +// func AddQr(c *gin.Context) { + +// var req payment.AddQrreq +// if err := c.ShouldBind(&req); err != nil { +// fmt.Println("req 的err 是:", err) +// logger.Errorf("AddQr ShouldBind err", err) +// service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) +// return +// } + +// s, _ := utils.CreateQr("http://paycode.szjixun.cn/"+req.Uuid, "") +// c.Writer.Header().Set("content-type", "image/apng") +// _, _ = c.Writer.WriteString(s) +// req.Qr = s +// fmt.Println(s) + +// resp, err := service.GrpcPaymentImpl.AddQr(context.Background(), &req) +// fmt.Println("输出是:", resp) +// if err != nil { +// fmt.Println("err 是:", err) +// service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) +// return +// } + +// return + +// } + +// 生成二维码base64 +func AddQrBase64(c *gin.Context) { + + var req payment.AddQrreq + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("AddQrBase64 ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + s, _ := utils.CreateQrBase64("http://paycode.szjixun.cn/"+req.Uuid, "") + c.Writer.Header().Set("content-type", "image/apng") + _, _ = c.Writer.WriteString(s) + + fmt.Println(s) + + req.Qr = s + + resp, err := service.GrpcPaymentImpl.AddQr(context.Background(), &req) + fmt.Println("输出是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + return +} + +// 启用二维码 +func OnQr(c *gin.Context) { + var req payment.OnQrreq + + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("OnQr ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcPaymentImpl.OnQr(context.Background(), &req) + fmt.Println("输出是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, "启用二维码成功", nil) + return +} + +// 停用二维码 +func OffQr(c *gin.Context) { + var req payment.OffQrreq + + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("OffQr ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcPaymentImpl.OffQr(context.Background(), &req) + fmt.Println("输出是:", resp) + if err != nil { + fmt.Println("err 是:", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, "二维码停用成功", nil) + return +} + +// 下载二维码并做成压缩包 +func Downloadqr(c *gin.Context) { + var req payment.Downloadqrreq + + if err := c.ShouldBind(&req); err != nil { + fmt.Println("req 的err 是:", err) + logger.Errorf("OffQr ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + var adminId uint64 + if config.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + adminId = userInfo.ID + } + } + + var downloadshopQr string = fmt.Sprintf("%s%d", "qrimage", adminId) + var zipName string = "聚合支付商家二维码.zip" + var zipFilepath string = "runtime/" + zipName + var ImgNum int + + for i, v := range req.Qrs { + if v == "" { + service.ResponseQuickMsg(c, e.Failed, fmt.Sprintf("您选择的第 %d 条数据未生成二维码图片,请生成之后再下载", i+1), nil) + return + } + } + + for _, v := range req.Qrs { + + fmt.Println("参与下载压缩的图片有:", v) + + var qrnamereq payment.NameQrreq + qrnamereq.Qr = v + + qrnameres, err1 := service.GrpcPaymentImpl.NameQr(context.Background(), &qrnamereq) + fmt.Println("输出是:", qrnameres) + if err1 != nil { + fmt.Println("err 是:", err1) + service.ResponseQuickMsg(c, e.Failed, err1.Error(), nil) + return + } + + imagePath, err := utils.SaveUrlFileDisk(v, downloadshopQr, qrnameres.Name+".jpg") + fmt.Println("imagepath是:", imagePath) + fmt.Println("SaveUrlFileDisk 保存图片到本地的错误是", err) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + ImgNum++ + } + + if ImgNum == 0 { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + + if err1 := utils.ZipFile(downloadshopQr, zipFilepath); err1 != nil { + fmt.Println("压缩的错误是:", err1) + logger.Errorf("utils.ZipFile err", err1) + err1 = errors.New(e.GetMsg(e.ERROR_ZIP)) + return + } + + os.RemoveAll(downloadshopQr) + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + + var exportUrl string = fmt.Sprintf("%s%s/static/%s", httpType, c.Request.Host, zipName) + service.ResponseQuickMsg(c, e.Ok, "下载成功", map[string]string{ + "url": exportUrl, + }) + return + +} + +func CollectionRecordList(c *gin.Context) { + var req collection_record.CollectionRecordListRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CollectionRecordList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcCollectionRecordImpl.CollectionRecordList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ExportForm(c *gin.Context) { + var req collection_record.ExportExcelRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ExportForm ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcCollectionRecordImpl.ExportExcel(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + if len(resp.CollectionRecordInfo) == 0 { + service.ResponseQuickMsg(c, e.Failed, errors.New("所选条件无可导出数据").Error(), nil) + return + } + + columns := []string{"订单Uid", "商户名", "地址", "支付金额", "支付时间", "支付方式", "备注", "总价"} + var totalPrice int64 + var data []interface{} + // 添加数据行 + for k, collectionRecord := range resp.CollectionRecordInfo { + var info []string + info = append(info, collectionRecord.CollectionRecordUid) + info = append(info, collectionRecord.MerchantName) + info = append(info, collectionRecord.MerchantAddress) + info = append(info, fmt.Sprintf("%.2f", float64(collectionRecord.Cent)/100)) //将 int32 转换为 float64 然后 格式化为带两位小数的字符串 + info = append(info, collectionRecord.PayTimeFormat) + if collectionRecord.PayType == 1 { + info = append(info, "微信支付") + } else if collectionRecord.PayType == 2 { + info = append(info, "支付宝支付") + } + info = append(info, collectionRecord.Remark) + totalPrice = totalPrice + collectionRecord.Cent + if k == len(resp.CollectionRecordInfo)-1 { + info = append(info, fmt.Sprintf("%.2f", float64(totalPrice)/100)) //总价 以元为单位 + } + data = append(data, &info) + } + + filePath := "./runtime/收款记录表.xlsx" + _, err = utils.ToExcelByType(columns, data, "slice", filePath) + if err != nil { + fmt.Println("err", err) + service.ResponseQuickMsg(c, e.Failed, errors.New("转换为excel类型出错").Error(), nil) + return + } + + var httpType string + if config.IsHttps { + httpType = model.HttpsType + } else { + httpType = model.HttpType + } + var exportUrl string = fmt.Sprintf("%s%s/static/收款记录表.xlsx", httpType, c.Request.Host) + + resp.ExportUrl = exportUrl + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ModifyRemarks(c *gin.Context) { + var req collection_record.ModifyRemarksRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ExportForm ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := service.GrpcCollectionRecordImpl.ModifyRemarks(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} diff --git a/pkg/service/order/report.go b/pkg/service/order/report.go new file mode 100644 index 0000000..8c5e4f9 --- /dev/null +++ b/pkg/service/order/report.go @@ -0,0 +1,994 @@ +package order + +import ( + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/untils/timetool" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/query" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + "github.com/shopspring/decimal" + "strconv" + "strings" + "time" +) + +// ReportsList 提交的报表列表 +func ReportsList(c *gin.Context) { + req := &order.ReportList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + fmt.Println(userInfo) + req.Status = []uint64{e.REPORT_PUBLISH} + + res, err := service.OrderProvider.GetReports(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + Tels := &account.UsersByTelRequest{ + Domain: "fontree", + Tels: []string{ + "13862003100", + "13773091883", + "15895559080", + }, + } + fmt.Println(res.Data) + userMap, err := fetchUserMap(c, Tels) + if err != nil { + service.Error(c, e.Error, err) + return + } + + serializer.ProcessReportReads(res.Data, userMap) + response := vo.PageResponse{ + Count: res.Count, + Data: serializer.BuildReports(res.Data), + } + + service.Success(c, response) + return +} + +// ReportsMyList 历史周报 +func ReportsMyList(c *gin.Context) { + req := &order.ReportList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + fmt.Println(userInfo) + if len(userInfo.PositionUsers) == 0 { + service.Success(c, vo.PageResponse{ + Count: 0, + Data: nil, + }) + return + } + req.Status = []uint64{e.REPORT_PUBLISH} + departmentIds := []uint64{} + //todo 判断当前人员是否有出纳权限 + for _, i := range userInfo.PositionUsers { + tellerRes, _ := service.PositionProvider.DoIHavaAuth(c, &position.DoIHavaAuthRequest{ + Domain: "fontree", + UserId: userInfo.ID, + Url: e.SellerTellerKey, + DepartmentID: i.DepartmentId, + }) + if tellerRes.Hava == true { + departmentIds = append(departmentIds, i.DepartmentId) + } + } + if len(departmentIds) == 0 { + service.Success(c, vo.PageResponse{ + Count: 0, + Data: nil, + }) + return + } + req.SiteIds = departmentIds + res, err := service.OrderProvider.GetReports(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + response := vo.PageResponse{ + Count: res.Count, + Data: serializer.BuildReports(res.Data), + } + + service.Success(c, response) + return +} + +func ReportRe(c *gin.Context) { + req := &order.SetStatusRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Status = e.REPORT_NEED_CASHIER_SURE + + res, err := service.OrderProvider.SetReportStatus(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + detailReq := &order.ReportDetail{ID: req.ID} + + detailRes, err := service.OrderProvider.GetReport(c, detailReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + fmt.Println(detailRes) + if len(detailRes.ReportUsers) > 0 { + var users []*order.ReportUserRequest + + for _, tt := range detailRes.ReportUsers { + temp := &order.ReportUserRequest{ + ID: tt.ID, + DueAmount: "0", + } + users = append(users, temp) + } + + upReq := &order.UpdateReportUserList{Data: users} + + res, err = service.OrderProvider.UpdateReportUsers(c, upReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + } + + service.Success(c, res) + return +} + +func ReportSure(c *gin.Context) { + req := &order.SetStatusRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Status = e.REPORT_NEED_BOSS_SURE + + res, err := service.OrderProvider.SetReportStatus(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +// ReportUsersUpdate 提交的报表列表 +func ReportUsersUpdate(c *gin.Context) { + req := &order.UpdateReportUserList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.UpdateReportUsers(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + err = MakeReportSure(c, req.ID, e.REPORT_CASHIER_FINAL_OPTION) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +// CashierReportsList 出纳查看列表 +func CashierReportsList(c *gin.Context) { + + var saleSites []string + req := &order.ReportList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + if len(req.Status) == 0 { + req.Status = []uint64{e.REPORT_NEED_CASHIER_SURE, e.REPORT_NEED_BOSS_SURE, e.REPORT_CASHIER_FINAL_OPTION} + } + + userInfo := login.GetUserInfoFromC(c) + for _, tt := range userInfo.PositionUsers { + saleSites = append(saleSites, tt.DepartmentName) + } + + req.SaleSites = saleSites + //req.SaleSite = userInfo.PositionUsers[0].DepartmentName + + res, err := service.OrderProvider.GetReports(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + fmt.Println(res.Data) + + response := vo.PageResponse{ + Count: res.Count, + Data: serializer.BuildReports(res.Data), + } + + service.Success(c, response) + return +} + +// ReportUsers 提交的销售报表列表 +func ReportUsers(c *gin.Context) { + req := &order.ReportUserList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.OrderProvider.GetReportUsers(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + if userInfo.TelNum == "13773091883" || userInfo.TelNum == "15895559080" || userInfo.TelNum == "13862003100" { + orderRead := &order.ReportReadRequest{ + UserId: userInfo.ID, + ReportId: req.ReportId, + UserName: userInfo.NickName, + } + _, err = service.OrderProvider.ReportRead(c, orderRead) + if err != nil { + fmt.Println(err) + } + } + getUserMap(c, res.Data) + + response := vo.PageResponse{ + Count: res.Count, + Data: serializer.BuildReportUsers(res.Data), + } + + service.Success(c, response) + return +} + +// DownOrders 下载报表 +func DownOrders(c *gin.Context) { + StartDate := c.DefaultQuery("StartDate", "") + EndDate := c.DefaultQuery("EndDate", "") + SaleSite := c.DefaultQuery("SaleSite", "") + IdsString := c.DefaultQuery("IDs", "") + StartPayDate := c.DefaultQuery("StartPayDate", "") + EndPayDate := c.DefaultQuery("EndPayDate", "") + StartArrivalDate := c.DefaultQuery("StartArrivalDate", "") + EndArrivalDate := c.DefaultQuery("EndArrivalDate", "") + PayType := c.DefaultQuery("PayType", "") + var ids []string + if IdsString != "" { + ids = strings.Split(IdsString, ",") + } + payTypeInt := 0 + if PayType != "" { + payTypeInt, _ = strconv.Atoi(PayType) + } + req := &order.OrderList{ + Page: 1, + PageSize: 999999, + StartDate: StartDate, + EndDate: EndDate, + Ids: ids, + SaleSite: SaleSite, + StartPayDate: StartPayDate, + EndPayDate: EndPayDate, + StartArrivalDate: StartArrivalDate, + EndArrivalDate: EndArrivalDate, + PayType: uint32(payTypeInt), + } + + fmt.Println(req) + + res, err := service.OrderProvider.GetOrders(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + var data []interface{} + if len(res.Data) > 0 { + for i, v := range res.Data { + var artworkTypeString = "一手画" + var payTypeString = query.GetPayTypeString(v.PayType) + var isOutSeller = "否" + if v.ArtworkType == 2 { + artworkTypeString = "二手画" + } + + if v.IsOutSeller == 1 { + isOutSeller = "是" + } + + temp := query.DownOrderColumnName{ + Index: fmt.Sprintf("%d", i+1), + ClientName: v.ClientName, + ClientIdNum: v.ClientIdNum, + ArtistName: v.ArtistName, + BuyerName: v.BuyerName, + BuyerIdNum: v.BuyerIdNum, + OrderNum: v.OrderNum, + ArtworkNum: v.ArtworkNum, + ArtworkName: v.ArtworkName, + ArtworkTypeString: artworkTypeString, + ArtworkSellNum: v.ArtworkSellNum, + EntryYear: v.EntryYear, + EntryMonth: v.EntryMonth, + SellTime: timetool.GetYmdFromString(v.SellTime), + PayDate: v.PayDate, + SignDate: v.SignDate, + ArrivalDate: v.ArrivalDate, + PayTypeString: payTypeString, + Bank: v.Bank, + ArtworkSize: v.ArtworkSize, + Price: v.Price, + CopyrightFee: v.CopyrightFee, + EntrustPrice: v.EntrustPrice, + PersonTax: v.PersonTax, + //Commission: v.Commission, + //AfterTaxIncome: v.AfterTaxIncome, + Commission: "", + AfterTaxIncome: "", + SaleSite: v.SaleSite, + SellerName: v.SellerName, + RecordCompany: v.RecordCompany, + ShowName: v.ShowName, + IsOutSellerString: isOutSeller, + ShowRegion: v.ShowRegion, + CompanyRegion: v.CompanyRegion, + //EntrustStartDate: v.EntrustStartDate, + //EntrustEndDate: v.EntrustEndDate, + //RetrievalStartDate: v.RetrievalStartDate, + //RetrievalEndDate: v.RetrievalEndDate, + MerchantNo: v.MerchantNo, + Remark: v.Remark, + } + data = append(data, &temp) + } + } + fmt.Println(data) + content := utils.ToExcel(query.OrderColumnName, data, "struct") + + utils.ResponseXls(c, content, query.OrderUserExcelName) + return +} + +// DownReportUsers 下载报表 +func DownReportUsers(c *gin.Context) { + id := c.Query("id") + parseInt, err := strconv.ParseInt(id, 10, 64) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if parseInt == 0 { + service.Error(c, e.Error, errors.New(e.GetMsg(e.InvalidParams))) + return + } + + req := &order.ReportUserList{ + ReportId: uint64(parseInt), + Page: 1, + PageSize: 999999, + } + + res, err := service.OrderProvider.GetReportUsers(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + getUserMap(c, res.Data) + + var data []interface{} + if len(res.Data) > 0 { + for _, v := range res.Data { + remark := " " + + decAmount, err := decimal.NewFromString(v.Amount) + if err == nil && decAmount.GreaterThanOrEqual(decimal.NewFromInt(150000)) { + remark = "喜报" + } + + temp := query.DownReportUser{ + IDNum: v.SellerNum, + Name: v.SellerName, + Amount: v.Amount, + DueAmount: v.DueAmount, + IncreaseAmount: v.IncreaseAmount, + IncreaseRate: v.IncreaseRate, + Remark: remark, + } + data = append(data, &temp) + } + } + fmt.Println(data) + content := utils.ToExcel(query.ReportUserColumnName, data, "struct") + + utils.ResponseXls(c, content, query.ReportUserExcelName) + return +} + +func getUserMap(c *gin.Context, list []*order.ReportUserRequest) { + + var userIds []uint64 + for _, tt := range list { + userIds = append(userIds, tt.SellerID) + } + + userMap := make(map[uint64]*account.AccountInfo) + + IdsReq := account.ListByIDsRequest{ + IDs: userIds, + PageSize: 999999, + Page: 1, + } + + userRes, userErr := service.AccountProvider.ListByIDs(c, &IdsReq) + + if userErr != nil || userRes == nil || len(userRes.Data) == 0 { + return + } + + for _, t := range userRes.Data { + userMap[t.ID] = t + } + + for index, t := range list { + if _, ok := userMap[t.SellerID]; ok { + list[index].SellerAvatar = userMap[t.SellerID].Avatar + list[index].SellerNum = userMap[t.SellerID].JobNum + } + } + return +} + +func MakeReportSure(c *gin.Context, id uint64, status uint64) error { + req := &order.SetStatusRequest{ID: id} + req.Status = status + + _, err := service.OrderProvider.SetReportStatus(c, req) + if err != nil { + return err + } + return nil + +} + +// BeforeUser 未发布之前的业绩报表 +func BeforeUser(c *gin.Context) { + pageRes := vo.PageRes{ + Count: 0, + } + reqJson := &query.ReportCreateQuery{} + if err := c.ShouldBindBodyWith(&reqJson, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + //todo 判断当前人员是否有出纳权限 + tellerRes, _ := service.PositionProvider.DoIHavaAuth(c, &position.DoIHavaAuthRequest{ + Domain: "fontree", + UserId: userInfo.ID, + Url: e.SellerTellerKey, + DepartmentID: reqJson.DepartmentId, + }) + if tellerRes.Hava == false { + service.Success(c, nil) + return + } + ////todo 李菲丽账号特殊处理 账号不存在吴江站 但要统计在吴江站总金额下 用户id写死 徐嘉鸿的奇怪需求 + //specialLi := false + //if reqJson.DepartmentId == 74 { + // specialLi = true + //} + //0 获取当前提交的now数据 + report, err := GetNowDoingReport(c, reqJson.DepartmentName) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if report != nil { + pageRes = vo.PageRes{ + Count: uint64(len(report.ReportUsers)), + Data: serializer.BuildReportUsers(report.ReportUsers), + } + + service.Success(c, pageRes) + return + } + ReportQuery := &order.ReportQueryRequest{ + EndDate: reqJson.EndDate, + StartDate: reqJson.StartDate, + EndDateDue: reqJson.EndDateDue, + StartDateDue: reqJson.StartDateDue, + DepartmentName: reqJson.DepartmentName, + DepartmentId: reqJson.DepartmentId, + } + repReq := &order.ReportList{ + SiteIds: []uint64{reqJson.DepartmentId}, + } + reportRes, _ := service.OrderProvider.GetReports(c, repReq) + if len(reportRes.Data) == 0 { + ReportQuery.Success = true + } else { + ReportQuery.Success = false + } + reportQuery, _ := service.OrderProvider.GetReportQuery(c, ReportQuery) + reqJson.EndDate = reportQuery.EndDate + reqJson.StartDateDue = reportQuery.StartDateDue + reqJson.EndDateDue = reportQuery.EndDateDue + if ReportQuery.Success == false { + reqJson.StartDate = reportQuery.StartDate + } + + //1 没有now数据,实时获取数据 + req := &order.ReportCreateRequest{ + SaleSite: reqJson.SaleSite, + Status: reqJson.Status, + StartDate: reqJson.StartDate, + EndDate: reqJson.EndDate, + LeaderId: reqJson.LeaderId, + LeaderName: reqJson.LeaderName, + } + + userReq := &rule.FindByUrlRequest{ + Url: e.SellerStaffKey, + Domain: "fontree", + DepartmentIds: []uint64{reqJson.DepartmentId}, + } + + user, err := service.RuleProvider.FindUsersByUrl(c, userReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + for _, i := range user.List { + fmt.Println("================ service.RuleProvider.FindUsersByUrl =======================", i.UserName, i.UserId) + } + //if specialLi { + // user.List = append(user.List, &rule.UserInfo{ + // UserId: 102, + // UserName: "李菲莉", + // }) + //} + var staffs []*order.Staff + var userIds []uint64 + for _, i := range user.List { + temp := &order.Staff{ + ID: i.UserId, + Name: i.UserName, + } + staffs = append(staffs, temp) + userIds = append(userIds, i.UserId) + } + + if userIds == nil || len(userIds) == 0 { + service.Success(c, pageRes) + return + } + + IdsReq := account.ListByIDsRequest{ + IDs: userIds, + PageSize: reqJson.PageSize, + Page: reqJson.Page, + } + + userRes, userErr := service.AccountProvider.ListByIDs(c, &IdsReq) + + if userErr != nil { + service.Error(c, e.Error, err) + return + } + for _, i := range userRes.Data { + fmt.Println("================ service.AccountProvider.ListByIDs=======================", i.NickName, i.ID) + } + req.Staffs = staffs + req.LeaderId = userInfo.ID + req.LeaderName = userInfo.NickName + req.StartDateDue = reqJson.StartDateDue + req.EndDateDue = reqJson.EndDateDue + //depid := &department.DetailRequest{ + // ID: int64(reqJson.DepartmentId), + //} + //siteUid, err := service.DepartmentProvider.Detail(c, depid) + //req.SiteUid = siteUid.SyncID + req.SaleSite = reqJson.DepartmentName + res, err := service.OrderProvider.BeforeCreateUsers(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + for _, i := range res.Data { + fmt.Println("================ service.AccountProvider.ListByIDs=======================", i.SellerName, i.ID) + } + reportUserMap := make(map[uint64]*order.ReportUserRequest) + processedNames := make(map[string]bool) // 用于记录已经处理过的姓名 + sumAmount := float64(0) + sumDueAmount := float64(0) + //sumIncreaseAmount := float64(0) + for _, i := range res.Data { + //amount, _ := strconv.ParseFloat(i.Amount, 64) + //sumAmount += amount + if processedNames[i.SellerName] { + continue // 如果姓名已存在,跳过当前记录 + } + + // 标记该姓名已处理 + processedNames[i.SellerName] = true + sumDue, _ := strconv.ParseFloat(i.DueAmount, 64) + sumDueAmount += sumDue + //sumIncrease, _ := strconv.ParseFloat(i.IncreaseAmount, 64) + //sumIncreaseAmount += sumIncrease + } + //if len(res.Data) >= 0 { + // data := &order.ReportUserRequest{ + // SellerID: 0, + // Amount: strconv.FormatFloat(sumAmount, 'f', -1, 64), + // DueAmount: strconv.FormatFloat(sumDueAmount, 'f', -1, 64), + // IncreaseAmount: strconv.FormatFloat(sumIncreaseAmount, 'f', -1, 64), + // ReportID: 3, + // Color: getColor(sumAmount, sumDueAmount), + // } + // res.Data = append(res.Data, data) + //} + for _, tt := range res.Data { + reportUserMap[tt.SellerID] = tt + } + //列表 + var reportUsers []*vo.ReportUser + + //if len(userRes.Data) >= 0 { + // data := &account.AccountInfo{ + // ID: 0, + // NickName: "团队", + // } + // userRes.Data = append(userRes.Data, data) + //} + fmt.Println("================ 销售宝 周报生成前用户=======================", userRes.Data) + for _, tt := range userRes.Data { + temp := &order.ReportUserRequest{ + SellerID: tt.ID, + SellerName: tt.NickName, + SellerNum: tt.JobNum, + Amount: "0", + DueAmount: "0", + IncreaseAmount: "0", + IncreaseRate: "1", + } + if tt.Status == "left" && reportUserMap[tt.ID].Amount == "0.00" { + continue + } + //if tt.ID == 102 && specialLi { + // amli := reportUserMap[tt.ID].Amount + // amount, _ := strconv.ParseFloat(amli, 64) + // sumAmount += amount + // continue + //} + if _, ok := reportUserMap[tt.ID]; ok { + temp.Amount = reportUserMap[tt.ID].Amount + temp.DueAmount = reportUserMap[tt.ID].DueAmount + temp.IncreaseRate = reportUserMap[tt.ID].IncreaseRate + temp.IncreaseAmount = reportUserMap[tt.ID].IncreaseAmount + temp.Color = reportUserMap[tt.ID].Color + amount, _ := strconv.ParseFloat(temp.Amount, 64) + sumAmount += amount + //sumDue, _ := strconv.ParseFloat(temp.DueAmount, 64) + //sumDueAmount += sumDue + //sumIncrease, _ := strconv.ParseFloat(temp.IncreaseAmount, 64) + //sumIncreaseAmount += sumIncrease + } + //sumIncreaseAmount = sumAmount - sumDueAmount + reportUsers = append(reportUsers, serializer.BuildReportUserReq(temp)) + } + + fmt.Println("================ 销售宝 周报生成后用户=======================", reportUsers) + reportUsers = append(reportUsers, serializer.BuildReportUserReq(&order.ReportUserRequest{ + SellerID: 0, + SellerName: "团队", + Amount: strconv.FormatFloat(sumAmount, 'f', -1, 64), + DueAmount: strconv.FormatFloat(sumDueAmount, 'f', -1, 64), + IncreaseAmount: strconv.FormatFloat(sumAmount-sumDueAmount, 'f', -1, 64), + ReportID: 3, + Color: getColor(sumAmount, sumDueAmount), + })) + pageRes = vo.PageRes{ + Count: userRes.Count, + EndDate: reqJson.EndDate, + StartDate: reqJson.StartDate, + EndDateDue: reqJson.EndDateDue, + StartDateDue: reqJson.StartDateDue, + Data: reportUsers, + DepartmentId: reqJson.DepartmentId, + } + + service.Success(c, pageRes) + + return +} + +// ReportCreate 生成报表 +func ReportCreate(c *gin.Context) { + req := &order.ReportCreateRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + + req.SaleSite = req.DepartmentName + + userReq := &department.UsersRequest{} + + userReq.ID = req.DepartmentId + //siteid := &department.DetailRequest{ + // ID: int64(req.DepartmentId), + //} + //siteUid, err := service.DepartmentProvider.Detail(c, siteid) + //req.SiteUid = siteUid.SyncID + + ures, err := service.DepartmentProvider.Users(c, userReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + //specialLi := false + //if req.DepartmentId == 74 { + // specialLi = true + //} + var userIds []uint64 + //if specialLi { + // userIds = append(userIds, 102) + //} + for _, tt := range ures.Users { + positionRes, _ := service.PositionProvider.DoIHavaAuth(c, &position.DoIHavaAuthRequest{ + Domain: "fontree", + UserId: tt.UserID, + Url: e.SellerStaffKey, + DepartmentID: req.DepartmentId, + }) + if positionRes.Hava == false { + continue + } + userIds = append(userIds, tt.UserID) + } + if userIds == nil || len(userIds) == 0 { + service.Error(c, e.Error, err) + return + } + idsReq := &account.ListByIDsRequest{IDs: userIds} + + idRes, err := service.AccountProvider.ListByIDs(c, idsReq) + if err != nil { + service.Error(c, e.Error, err) + return + } + + var staffs []*order.Staff + for _, tt := range idRes.Data { + temp := &order.Staff{ + ID: tt.ID, + Name: tt.NickName, + JobNum: tt.JobNum, + Status: tt.Status, + } + staffs = append(staffs, temp) + } + + req.Staffs = staffs + req.LeaderId = userInfo.ID + req.LeaderName = userInfo.NickName + + res, err := service.OrderProvider.ReportCreate(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + transactionsRes, err := service.OrderProvider.GetTransactions(c, &order.TransactionsRequest{ + Domain: "fontree", + StartDate: req.StartDate, + EndDate: req.EndDate, + SaleSites: []string{req.DepartmentName}, + //SaleSiteUid: siteUid.SyncID, + }) + var ids []uint64 + for _, i := range transactionsRes.Data { + ids = append(ids, i.ID) + } + _, err = service.OrderProvider.UpdateTransactionStage(c, &order.UpdateTransactionStageReq{ + Ids: ids, + Status: 2, + }) + service.Success(c, serializer.BuilderIDRes(res.ID)) + return +} + +// ReportPublish 发布报表 +func ReportPublish(c *gin.Context) { + req := &order.ReportDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.OrderProvider.ReportPublic(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +//GetNowDoingReport 获取流程中的报告 + +func GetNowDoingReport(c *gin.Context, departName string) (*order.ReportRequest, error) { + // ReportsList 提交的报表列表 + req := &order.ReportList{} + + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + req.SaleSite = departName + req.Status = []uint64{e.REPORT_NEED_CASHIER_SURE, e.REPORT_NEED_BOSS_SURE, e.REPORT_CASHIER_FINAL_OPTION} + req.LeaderId = userInfo.ID + + res, err := service.OrderProvider.GetReports(c, req) + if err != nil { + return nil, err + } + + if len(res.Data) > 0 { + return res.Data[0], nil + } + + return nil, nil + +} + +// CheckSalesAmount 查询销售员到期金额 +func CheckSalesAmount(c *gin.Context) { + req := &order.ReportCheckSales{} + req.SalesmanName = c.Query("salesmanName") + + req.DepartmentName = c.Query("departmentName") + req.StartDate = c.Query("startDate") + req.EndDate = c.Query("endDate") + //userInfoAny, _ := c.Get("jwtInfo") + //userInfo := userInfoAny.(login.Info) + //req.DepartmentName = userInfo.DepartmentName + res, err := service.OrderProvider.GetCheckSalesAmount(c, req) + //pageRes := vo.PageRes{ + // Count: res.Money, + // //Data: res, + //} + if err != nil { + //return res.Money, err + service.Success(c, res) + } else { + service.Success(c, res) + } + //return 0, err + // + //service.Success(c, pageRes) +} +func NowReport(c *gin.Context) { + // ReportsList 提交的报表列表 + depid := c.Query("departmentName") + report, err := GetNowDoingReport(c, depid) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if report != nil { + service.Success(c, report) + } else { + service.Success(c, struct{}{}) + } + + return +} + +// FindDates 查询周报日期 +func FindDates(c *gin.Context) { + req := &order.ReportList{} + req.SaleSite = c.Query("departmentName") + req.Status = []uint64{e.REPORT_PUBLISH} + res, err := service.OrderProvider.GetReports(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + if len(res.Data) == 0 { + service.Success(c, "") + } + if len(res.Data) > 0 { + lastElement := res.Data[0] + date, err := time.Parse("2006-01-02", lastElement.EndDate) + if err != nil { + fmt.Println("日期解析错误:", err) + return + } + nextDate := date.Add(24 * time.Hour).Format("2006-01-02") + service.Success(c, nextDate) + } + return +} +func getColor(increase, rate float64) string { + //到期 rate //当此increase + if rate == 0 { + return "newValue" + } else { + increaseOverRate := increase / rate + if increaseOverRate < 1 { + return "red" + } else if increaseOverRate < 1.3 && increaseOverRate > 1 { + return "yellow" + } else if increaseOverRate >= 1.3 { + return "green" + } + } + + return "unknown" +} +func fetchUserMap(c *gin.Context, Tels *account.UsersByTelRequest) (map[uint64]string, error) { + userList, err := service.AccountProvider.UsersByTel(c, Tels) + if err != nil { + return nil, err + } + + userMap := make(map[uint64]string) + if len(userList.Data) != 0 { + for _, i := range userList.Data { + userMap[i.ID] = i.NickName + } + } + + return userMap, nil +} diff --git a/pkg/service/order/transaction.go b/pkg/service/order/transaction.go new file mode 100644 index 0000000..175f0c1 --- /dev/null +++ b/pkg/service/order/transaction.go @@ -0,0 +1 @@ +package order diff --git a/pkg/service/orderproduct.go b/pkg/service/orderproduct.go new file mode 100644 index 0000000..ccbd862 --- /dev/null +++ b/pkg/service/orderproduct.go @@ -0,0 +1,184 @@ +package service + +import ( + "context" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/order" + "github.com/fonchain_enterprise/fonchain-main/api/orderproduct" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +//商品列表 +func ProductList(c *gin.Context) { + var req orderproduct.ProductListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ProductList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcProductImpl.ProductList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//商品详情 +func ProductInfo(c *gin.Context) { + var req orderproduct.ProductInforeq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ProductInfo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcProductImpl.ProductInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return + +} + +//售卖列表 +func SellList(c *gin.Context) { + var req orderproduct.SellListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SellList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcProductImpl.SellList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return + +} + +//新建商品 +func AddProduct(c *gin.Context) { + var req orderproduct.AddProductreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AddProduct ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcProductImpl.AddProduct(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]interface{}{ + "Uuid": resp.Data.Uuid, + }) + return +} + +//更新商品状态 +func UpdateProductState(c *gin.Context) { + var req orderproduct.UpdateStatereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateState ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcProductImpl.UpdateProductState(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +//删除未上架的商品 +func DelProduct(c *gin.Context) { + var req orderproduct.DeleteProductreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelProduct ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcProductImpl.DelProduct(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + +} + +//修改未上架的商品 +func UpdateProduct(c *gin.Context) { + var req orderproduct.UpdateProductreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Update ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcProductImpl.UpdateProduct(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + +} + +//没有商品版的售卖记录 +func SaleLog(c *gin.Context) { + var req orderproduct.SaleLogreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcProductImpl.SaleLog(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//以下是微信jsapi退款 +func WechatRefunds(ctx *gin.Context) { + var req order.WechatJsApiRefundsRequest + + if err := ctx.ShouldBindBodyWith(&req, binding.JSON); err != nil { + Error(ctx, e.InvalidParams, err) + return + } + req.Reason = "退款" + req.NotifyUrl = "https://appointtest.szjixun.cn/api/appointment/pay/SNsadfSkaAPyadfk" + + //调用其他微服务,还差两个字段,需要从订单表里面拿出来 + + req.OutRefundNo = req.OutTradeNo + res, err := OrderProvider.WechatJsApiRefunds(ctx, &req) + if err != nil { + Error(ctx, e.Error, err) + return + } + Success(ctx, res) + return +} diff --git a/pkg/service/out_work_handle.go b/pkg/service/out_work_handle.go new file mode 100644 index 0000000..ddee3af --- /dev/null +++ b/pkg/service/out_work_handle.go @@ -0,0 +1,79 @@ +package service + +import ( + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/oa_model" + "strconv" + "time" +) + +func OutWorkCheckVerify(applyTimes []*oa.ApplyTime, userInfo login.Info, currentActionType string) (retCurrentActionType string, isNeed bool, err error) { + fmt.Println("=== OutWorkCheckVerify 0 =================================================") + fmt.Printf("++ applyTime %+v \n", applyTimes) + fmt.Printf("++ userInfo %+v \n", userInfo) + fmt.Printf("++ currentActionType %+v \n", currentActionType) + fmt.Println("=== OutWorkCheckVerify 0 =================================================") + // 查询 考勤规则 + departmentUUIDs := make([]string, 0) + queryTimeOptions := make([]oa_model.QueryTimeOption, 0) + for i := 0; i < len(userInfo.PositionUsers); i++ { + departmentUUIDs = append(departmentUUIDs, strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10)) + queryTimeOption := oa_model.QueryTimeOption{ + PositionUID: strconv.FormatUint(userInfo.PositionUsers[i].PositionID, 10), + DepartmentUID: strconv.FormatUint(userInfo.PositionUsers[i].DepartmentId, 10), + } + queryTimeOptions = append(queryTimeOptions, queryTimeOption) + } + + timesOptionBest, err := WorkingTimeAndWeekBest(0, queryTimeOptions) + if err != nil { + return "", false, err + } + + for i := 0; i < len(applyTimes); i++ { + // 非工作日 无需确认 + if !ConfirmIsWork(timesOptionBest.Week, applyTimes[i].Date) { + continue + } + + // 回公司 记录 必须在 外勤结束时间之后 外勤结束当天 12点之前 创建 否则不再处理 + zeroTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[len(applyTimes)-1].Date+" 23:59:59", time.Local) + applyEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[len(applyTimes)-1].Date+" "+applyTimes[len(applyTimes)-1].Hour+":00", time.Local) + + fmt.Println("=== OutWorkCheckVerify time =================================================") + fmt.Println("applyEndTime : ", applyEndTime) + fmt.Println("zeroTime : ", zeroTime) + fmt.Println("=== OutWorkCheckVerify time =================================================") + + applyTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[i].Date+" "+applyTimes[i].Hour+":00", time.Local) + + for j := 0; j < len(timesOptionBest.Times); j++ { + workStartTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[i].Date+" "+timesOptionBest.Times[j].OnWorkTime+":00", time.Local) + workEndTime, _ := time.ParseInLocation("2006-01-02 15:04:05", applyTimes[i].Date+" "+timesOptionBest.Times[j].OffWorkTime+":00", time.Local) + fmt.Println("applyTime.After(workStartTime) && applyTime.Before(workEndTime) : ", applyTime.After(workStartTime) && applyTime.Before(workEndTime)) + fmt.Println(" time.Now().After(applyEndTime) && time.Now().Before(zeroTime) : ", time.Now().After(applyEndTime) && time.Now().Before(zeroTime)) + if applyTime.After(workStartTime) && applyTime.Before(workEndTime) { + if currentActionType == e.OutWorkOut { + if time.Now().In(time.Local).After(applyEndTime) && time.Now().In(time.Local).Before(zeroTime) { + return e.OutWorkBack, true, nil + } else { + return e.OutWorkOut, false, nil + } + } + + if currentActionType == e.OutWorkBack { + return e.OutWorkBack, false, nil + } + + if currentActionType == "" { + return e.OutWorkOut, true, nil + } + } + } + } + + return "", false, nil +} diff --git a/pkg/service/patent/patent.go b/pkg/service/patent/patent.go new file mode 100644 index 0000000..3c48683 --- /dev/null +++ b/pkg/service/patent/patent.go @@ -0,0 +1,106 @@ +package patent + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/patent" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Create(c *gin.Context) { + req := &patent.PatentRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + req.Creator = userInfo.NickName + res, err := service.GrpcPatentClientImpl.Create(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func BeforeCreate(c *gin.Context) { + req := &patent.PatentInfoReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcPatentClientImpl.BeforeCreate(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Update(c *gin.Context) { + req := &patent.PatentRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcPatentClientImpl.Update(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func List(c *gin.Context) { + req := &patent.ListRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcPatentClientImpl.List(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func Info(c *gin.Context) { + req := &patent.PatentInfoReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcPatentClientImpl.Info(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} + +func Deleted(c *gin.Context) { + req := &patent.PatentInfoReq{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.GrpcPatentClientImpl.Deleted(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + return +} diff --git a/pkg/service/pay_bill/pay_bill.go b/pkg/service/pay_bill/pay_bill.go new file mode 100644 index 0000000..6771f02 --- /dev/null +++ b/pkg/service/pay_bill/pay_bill.go @@ -0,0 +1,99 @@ +package pay_bill + +import ( + "errors" + api "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Des(c *gin.Context) { + var req api.GetSecretDataRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if err := isHaveDriverAuth(c); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.GrpcPayBillImpl.GetSecretData(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Update(c *gin.Context) { + var req api.UpdateSecretDataRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if err := isHaveDriverAuth(c); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.GrpcPayBillImpl.UpdateSecretData(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func Send(c *gin.Context) { + var req api.GetPhoneSecretRequest + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.Error, err) + return + } + + if err := isHaveDriverAuth(c); err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.GrpcPayBillImpl.GetPhoneSecret(c, &req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) +} + +func isHaveDriverAuth(c *gin.Context) error { + + userInfoAny, _ := c.Get("jwtInfo") + userInfo := userInfoAny.(login.Info) + if len(userInfo.PositionUsers) <= 0 { + return errors.New("缺少权限,没有绑定岗位") + } + + req := position.DoIHavaAuthRequest{ + UserId: userInfo.ID, + Url: e.SecretDataBoss, + DepartmentID: userInfo.PositionUsers[0].DepartmentId, + } + + res, err := service.PositionProvider.DoIHavaAuth(c, &req) + + if err == nil && res.Hava == true { + return nil + } + + return errors.New("缺少权限") +} diff --git a/pkg/service/pay_bill/paybill.go b/pkg/service/pay_bill/paybill.go new file mode 100644 index 0000000..7de8969 --- /dev/null +++ b/pkg/service/pay_bill/paybill.go @@ -0,0 +1,849 @@ +package pay_bill + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + "io" + + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/jinzhu/copier" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" +) + +func StaticsInfo(c *gin.Context) { + //声明一个变量 + var req paybill.PayBillListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 账单列表 + resp, err := service.GrpcPayBillImpl.StaticInfo(context.Background(), &req) + if err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp) + return + +} + +func DateList(c *gin.Context) { + //声明一个变量 + var req paybill.DateListRequest + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 账单列表 + resp, err := service.GrpcPayBillImpl.DateList(context.Background(), &req) + if err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, "", resp) + return + +} + +func UpdateProcessStatus(c *gin.Context) { + bodyByte, _ := io.ReadAll(c.Request.Body) + c.Request.Body = io.NopCloser(bytes.NewBuffer(bodyByte)) + //声明一个变量 + var req paybill.UpdateProcessStatusRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + userInfo, err := login.GetUserInfoFromCV2(c) + + if err != nil { + service.NotLoginRes(c, err.Error()) + return + } + req.OperatorId = uint32(userInfo.ID) + req.OperatorName = userInfo.NickName + // 账单列表 + resp, err := service.GrpcPayBillImpl.UpdateProcessStatus(context.Background(), &req) + if err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if req.ProcessStatus == 4 { + var mm = make(map[string]interface{}, 20) + _ = json.Unmarshal(bodyByte, &mm) + if mm["artistUid"] != "" { + go func() { + _, _ = service.GrpcArtistImpl.UpdateArtistJoinShow(context.Background(), &artist.UpdateArtistJoinShowReq{ArtistUuid: fmt.Sprint(mm["artistUid"]), JoinShow: 1, ID: fmt.Sprint(req.Id)}) + }() + } + } + + service.ResponseQuickMsg(c, e.Ok, "", resp) + return + +} + +func PayBillList(c *gin.Context) { + //声明一个变量 + var req paybill.PayBillListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 账单列表 + resp, err := service.GrpcPayBillImpl.PayBillList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + logger.Errorf(fmt.Sprintf("service.GrpcPayBillImpl.PayBillList,%+v %+v %+v \n", req, err, resp)) + + retPayBillInfo := make([]*paybill.PayBillListres_Info, 0) + + if len(resp.Data) <= 0 { + newObj := new(vo.PayBillListres) + + err = copier.Copy(&newObj, resp) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) + + return + } + + //前端是否传经纪人 + if req.Agent == "" { + showDetailReq := artShow.ShowDetailReq{} + uids := make([]string, 0) + for i := 0; i < len(resp.Data); i++ { + uids = append(uids, resp.Data[i].ShowUid) + } + + showDetailReq.ShowUID = uids + showDetailRes, err := service.GrpcArtShowImpl.ShowDetail(context.Background(), &showDetailReq) + + logger.Errorf(fmt.Sprintf("paybill service.GrpcArtShowImpl.ShowDetail,%+v %+v %+v \n", uids, err, showDetailRes)) + if err != nil { + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 把画家画展次数塞进列表,屎山堆屎不能怪我,实在不想看这块代码 + + showMap := make(map[string]*artShow.ShowDetail) + for _, singleShow := range showDetailRes.Data { + showMap[singleShow.ShowUID] = singleShow + } + + logger.Errorf(fmt.Sprintf("paybill map,%+v \n", showMap)) + var artistUids []string + for i, data := range resp.Data { + if showMap[data.ShowUid] != nil { + resp.Data[i].ArtistShowCount = showMap[data.ShowUid].ArtistShowCount + resp.Data[i].ArtistUid = showMap[data.ShowUid].ArtistUID + artistUids = append(artistUids, showMap[data.ShowUid].ArtistUID) + } else { + data.ArtistShowCount = "" + } + } + + logger.Errorf("paybill --- ", showDetailRes.Data) + logger.Errorf("paybill showDetailRes.Data 的len:", showDetailRes.Data) + + // // 组装 画展包付款单 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(resp.Data)) + fmt.Println("==============================================") + for i := 0; i < len(resp.Data); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(showDetailRes.Data); j++ { + if showDetailRes.Data[j].ShowUID == resp.Data[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + resp.Data[i].Agent = showDetailRes.Data[j].Agent + // resp.Data[i].BankName = showDetailRes.Data[j].BankName + // resp.Data[i].BankNum = showDetailRes.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + + // // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + artworkDataReq.ArtShowIds = uids + // // 获取 画作 基础信息 以及 画家 账户信息 + data, err := service.GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + //var data = &artwork_third_party.AwDataByShowIdResponse{} + + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + fmt.Println(len(data.Data)) + return + } + if len(data.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + newObj := new(vo.PayBillListres) + + err = copier.Copy(&newObj, resp) + fmt.Println("12-3-123-") + if err != nil { + service.Error(c, e.Error, err) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: newObj, + Msg: "画作信息为空", + Status: e.Ok, + }) + return + } + + // // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(resp.Data)) + fmt.Println("===========123123===================================") + for i := 0; i < len(resp.Data); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(data.Data); j++ { + if data.Data[j].ArtShowId == resp.Data[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + // resp.Data[i].Agent = data.Data[j].Agent + resp.Data[i].BankName = data.Data[j].BankName + resp.Data[i].BankNum = data.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + fmt.Println("1---------", resp.Data) + // service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + // return + //retPayBillInfo = resp.Data + //service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + + } else { + showListReq := artShow.ShowListReq{} + uids := make([]string, 0) + for i := 0; i < len(resp.Data); i++ { + uids = append(uids, resp.Data[i].ShowUid) + } + fmt.Println(uids) + + showListReq.Agent = req.Agent + showListReq.IsShow = append(showListReq.IsShow, 4) + showListReq.StartShowTime = req.StartShowDate + showListReq.EndShowTime = req.EndShowDate + showListReq.ArtistName = req.ArtistName + showListRes, err := service.GrpcArtShowImpl.ShowListWithRel(context.Background(), &showListReq) + fmt.Println(showListRes.Data) + if len(showListRes.Data) == 0 { + // 经纪人参数不为空,但是showListRes.Data为空的处理逻辑 + logger.Errorf("ShowListWithRel query err: 未查到相关经纪人,需用汉字查询") + service.ResponseQuickMsg(c, e.Ok, "未查到相关经纪人,需用汉字查询", "未查到相关经纪人,需用汉字查询") + return + } + + fmt.Println("ShowListWithRel err is : ", err) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(showListRes.Data) > 0 { + for i := 0; i < len(uids); i++ { + for j := 0; j < len(showListRes.Data); j++ { + if uids[i] == showListRes.Data[j].ShowUID { + resp.Data[i].Agent = showListRes.Data[j].Agent + // break + } + } + } + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uidshow := make([]string, 0) + for i := 0; i < len(showListRes.Data); i++ { + uidshow = append(uidshow, showListRes.Data[i].ShowUID) + } + artworkDataReq.ArtShowIds = uidshow + fmt.Println("artworkDataReq.ArtShowIds is :", artworkDataReq.ArtShowIds) + + // // 获取 画作 基础信息 以及 画家 账户信息 + data, err := service.GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + fmt.Println("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(data.Data)) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(data.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: showListRes.Data, + // Msg: "画作信息为空1", + Status: e.Ok, + }) + return + } + + // // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(showListRes.Data)) + fmt.Println("=================123123=============================") + for _, respItem := range resp.Data { + found := false + for _, dataItem := range data.Data { + if found { + break + } + for _, showItem := range showListRes.Data { + if dataItem.ArtShowId == showItem.ShowUID && showItem.ShowUID == respItem.ShowUid { + respItem.BankName = dataItem.BankName + respItem.BankNum = dataItem.BankNum + retPayBillInfo = append(retPayBillInfo, respItem) + found = true + break + } + } + } + } + resp.Data = retPayBillInfo + + //service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + } + + newObj := new(vo.PayBillListres) + + err = copier.Copy(&newObj, resp) + fmt.Println("2-----", newObj, err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) + return +} +func SyncArtShowTalentAgency(c *gin.Context) { + var req paybill.PayBillListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 账单列表 + resp, err := service.GrpcPayBillImpl.PayBillList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + logger.Errorf(fmt.Sprintf("service.GrpcPayBillImpl.PayBillList,%+v %+v %+v \n", req, err, resp)) + + if len(resp.Data) <= 0 { + newObj := new(vo.PayBillListres) + + err = copier.Copy(&newObj, resp) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, newObj) + + return + } + showDetailReq := artShow.ShowDetailReq{} + + //showDetailReq := artShow.ShowListReq{} + uids := make([]string, 0) + for i := 0; i < len(resp.Data); i++ { + uids = append(uids, resp.Data[i].ShowUid) + } + + showDetailReq.ShowUID = uids + showDetailRes, err := service.GrpcArtShowImpl.ShowDetail(context.Background(), &showDetailReq) + + logger.Errorf(fmt.Sprintf("paybill service.GrpcArtShowImpl.ShowDetail,%+v %+v %+v \n", uids, err, showDetailRes)) + if err != nil { + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + for _, respItem := range resp.Data { + for _, showItem := range showDetailRes.Data { + if showItem.ShowUID == respItem.ShowUid { + //更新代理经纪公司 + if showItem.TalentAgency != "" && showItem.TalentAgency != "无" { + updatePaybill := paybill.UpdatePaybillTalentAgencyRequest{} + updatePaybill.ShowUid = respItem.ShowUid + updatePaybill.TalentAgency = showItem.TalentAgency + re, err := service.GrpcPayBillImpl.UpdatePaybillTalentAgency(context.Background(), &updatePaybill) + if err != nil { + logger.Errorf(fmt.Sprintf("paybill service.GrpcPayBillImpl.UpdatePaybillTalentAgency,%+v %+v %+v \n", updatePaybill, err, re)) + return + } + } + } + } + } + service.Success(c, resp) + return + +} +func PayBillProcesses(c *gin.Context) { + var req paybill.DetailRequest + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillUpdate ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcPayBillImpl.PayBillProcesses(context.Background(), &req) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + service.Success(c, resp) + return +} + +func UpdatePayBill(c *gin.Context) { + var req paybill.UpdatePayBillreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillUpdate ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcPayBillImpl.UpdatePayBill(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +// 回滚画展包状态 +func RollbackState(c *gin.Context) { + bodyByte, _ := io.ReadAll(c.Request.Body) + c.Request.Body = io.NopCloser(bytes.NewBuffer(bodyByte)) + var req paybill.RollbackStatereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("RollbackState ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + userInfo, err := login.GetUserInfoFromCV2(c) + + if err != nil { + service.NotLoginRes(c, err.Error()) + return + } + + req.OperatorId = uint32(userInfo.ID) + req.OperatorName = userInfo.NickName + + resp, err := service.GrpcPayBillImpl.RollbackState(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + if req.ProcessStatus == 5 { + var mm = make(map[string]interface{}, 20) + _ = json.Unmarshal(bodyByte, &mm) + if mm["artistUid"] != "" { + go func() { + _, _ = service.GrpcArtistImpl.UpdateArtistJoinShow(context.Background(), &artist.UpdateArtistJoinShowReq{ArtistUuid: fmt.Sprint(mm["artistUid"]), JoinShow: 2, ID: fmt.Sprint(req.Id)}) + }() + } + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +// 未处理画展包数量 +func NoCount(c *gin.Context) { + var req paybill.NoCountreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Count ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcPayBillImpl.NoCount(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, "返回值有问题", nil) + return + } + + service.ResponseQuickMsg(c, e.Ok, "", map[string]int32{"noCount": resp.NoCount}) + return +} + +// 付款单导出 +func ExcelBill(c *gin.Context) { + var req paybill.PayBillListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 账单列表 + resp, err := service.GrpcPayBillImpl.PayBillList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + payBillList := resp.Data + + if len(payBillList) <= 0 { + service.ResponseQuickMsg(c, e.Failed, "暂无数据可导出", nil) + return + } + + // // 组装 获取 画作 基础信息参数 + // artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + // uids := make([]string, 0) + // for i := 0; i < len(resp.Data); i++ { + // uids = append(uids, resp.Data[i].ShowUid) + // } + // artworkDataReq.ArtShowIds = uids + // fmt.Println(artworkDataReq.ArtShowIds) + + // // // 获取 画作 基础信息 以及 画家 账户信息 + // data, err := service.GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + // if err != nil { + // logger.Errorf("AwDataByShowId query err", err) + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Ok, + // }) + // fmt.Println(len(data.Data)) + // return + // } + // if len(data.Data) < 1 { + // logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Data: resp.Data, + // Msg: "画作信息为空", + // Status: e.Ok, + // }) + // return + // } + // // // 组装 画作 基础信息 + // // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + // for i := 0; i < len(resp.Data); i++ { + // // 账单列表 画作及画家信息 + // for j := 0; j < len(data.Data); j++ { + // if data.Data[j].ArtShowId == resp.Data[i].ShowUid { + // // resp.Data[i].ArtistName = data.Data[j].ArtistName + // resp.Data[i].Agent = data.Data[j].Agent + // resp.Data[i].BankName = data.Data[j].BankName + // resp.Data[i].BankNum = data.Data[j].BankNum + // break + // } + // } + // // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + // } + + showDetailReq := artShow.ShowDetailReq{} + uids := make([]string, 0) + for i := 0; i < len(payBillList); i++ { + uids = append(uids, payBillList[i].ShowUid) + } + + showDetailReq.ShowUID = uids + showDetailRes, err := service.GrpcArtShowImpl.ShowDetail(context.Background(), &showDetailReq) + if err != nil { + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println(showDetailRes.Data) + fmt.Println("showDetailRes.Data 的len:", showDetailRes.Data) + + if len(showDetailRes.Data) < 1 { + logger.Errorf("ShowDetail query err :", "画展包信息为空,请选择其他日期") + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: "", + Msg: "画展包信息为空,请选择其他日期", + Status: 0, + }) + return + } + + // // 组装 画展包付款单 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(payBillList)) + fmt.Println("==============================================") + for i := 0; i < len(payBillList); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(showDetailRes.Data); j++ { + if showDetailRes.Data[j].ShowUID == payBillList[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + payBillList[i].Agent = showDetailRes.Data[j].Agent + // resp.Data[i].BankName = showDetailRes.Data[j].BankName + // resp.Data[i].BankNum = showDetailRes.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + + // // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + artworkDataReq.ArtShowIds = uids + + // // 获取 画作 基础信息 以及 画家 账户信息 + data, err := service.GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + fmt.Println(len(data.Data)) + return + } + //if len(data.Data) < 1 { + // logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + // service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Data: resp, + // Msg: "画作信息为空", + // Status: e.Ok, + // }) + // return + //} + + // // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(payBillList)) + fmt.Println("==============================================") + for i := 0; i < len(payBillList); i++ { + // 账单列表 画作及画家信息 + if len(data.Data) > 0 { + for j := 0; j < len(data.Data); j++ { + if data.Data[j].ArtShowId == payBillList[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + // resp.Data[i].Agent = data.Data[j].Agent + payBillList[i].BankName = data.Data[j].BankName + payBillList[i].BankNum = data.Data[j].BankNum + break + } + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + fmt.Println("导出画展包测试:", resp.Data) + + var exportUrl string + if exportUrl, err = logic.PayBillExcel(c, payBillList); err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "ExportUrl": exportUrl, + }) + return +} + +// 下拉框画家所有列表 +func ArtistAll(c *gin.Context) { + var req paybill.ArtistAllreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ArtistList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + //下拉框 + resp, err := service.GrpcPayBillImpl.ArtistAll(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var list []*vo.ArtistAllres_Info + + err = copier.Copy(&list, resp.Data) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.ResponseQuickMsg(c, e.Ok, resp.Msg, list) + return +} + +// 根据画家来查找画展包付款单 +func ArtistBill(c *gin.Context) { + var req paybill.ArtistBillreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ArtistBill ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + //查找画展包付款单 + resp, err := service.GrpcPayBillImpl.ArtistBill(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(resp.Data); i++ { + uids = append(uids, resp.Data[i].ShowUid) + } + artworkDataReq.ArtShowIds = uids + + // 获取 画作 基础信息 以及 画家 账户信息 + data, err := service.GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + fmt.Println(len(data.Data)) + return + } + if len(data.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp.Data, + Msg: "画作信息为空", + Status: e.Ok, + }) + return + } + + // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(resp.Data)) + fmt.Println("==============================================") + for i := 0; i < len(resp.Data); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(data.Data); j++ { + if data.Data[j].ArtShowId == resp.Data[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + resp.Data[i].Agent = data.Data[j].Agent + resp.Data[i].BankName = data.Data[j].BankName + resp.Data[i].BankNum = data.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +// 根据画展包uid和姓名来更新画展包时间和地址 +func UpdateAddress(c *gin.Context) { + var req paybill.UpdateAddressreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateAddress ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcPayBillImpl.UpdateAddress(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func GetArtistMapByIds(artistIds []string) map[string]*artShow.ArtistCount { + + if len(artistIds) > 0 { + artshowResp, err := service.GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistIds}) + if err != nil { + return nil + } + artistMap := make(map[string]*artShow.ArtistCount, len(artshowResp.ArtistShowCount)) + + if artshowResp != nil && len(artshowResp.ArtistShowCount) >= 1 { + for k, v := range artshowResp.ArtistShowCount { + artistMap[v.ArtistUid] = artshowResp.ArtistShowCount[k] + } + } + + return artistMap + } + + return nil + +} diff --git a/pkg/service/paybill.go b/pkg/service/paybill.go new file mode 100644 index 0000000..6f8af03 --- /dev/null +++ b/pkg/service/paybill.go @@ -0,0 +1,594 @@ +package service + +import ( + "context" + "fmt" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" +) + +func PayBillList(c *gin.Context) { + //声明一个变量 + var req paybill.PayBillListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 账单列表 + resp, err := GrpcPayBillImpl.PayBillList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + if resp.Data == nil || len(resp.Data) == 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp, + Status: e.Ok, + }) + return + } + + retPayBillInfo := make([]*paybill.PayBillListres_Info, 0) + + //前端是否传经纪人 + if req.Agent == "" { + showDetailReq := artShow.ShowDetailReq{} + uids := make([]string, 0) + for i := 0; i < len(resp.Data); i++ { + uids = append(uids, resp.Data[i].ShowUid) + } + + showDetailReq.ShowUID = uids + showDetailRes, err := GrpcArtShowImpl.ShowDetail(context.Background(), &showDetailReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 把画家画展次数塞进列表,屎山堆屎不能怪我,实在不想看这块代码 + + showMap := make(map[string]*artShow.ShowDetail) + for _, singleShow := range showDetailRes.Data { + showMap[singleShow.ShowUID] = singleShow + } + for _, data := range resp.Data { + if showMap[data.ShowUid] != nil { + data.ArtistShowCount = showMap[data.ShowUid].ArtistShowCount + } else { + data.ArtistShowCount = "" + } + } + + fmt.Println(showDetailRes.Data) + fmt.Println("showDetailRes.Data 的len:", showDetailRes.Data) + + // if len(showDetailRes.Data) < 1 { + // logger.Errorf("ShowDetail query err :", "画展包信息为空,请选择其他日期") + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Data: resp, + // Msg: "画展包信息为空,请选择其他日期", + // Status: 0, + // }) + // return + // } + + // // 组装 画展包付款单 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(resp.Data)) + fmt.Println("==============================================") + for i := 0; i < len(resp.Data); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(showDetailRes.Data); j++ { + if showDetailRes.Data[j].ShowUID == resp.Data[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + resp.Data[i].Agent = showDetailRes.Data[j].Agent + // resp.Data[i].BankName = showDetailRes.Data[j].BankName + // resp.Data[i].BankNum = showDetailRes.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + + // // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + artworkDataReq.ArtShowIds = uids + + // // 获取 画作 基础信息 以及 画家 账户信息 + data, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + fmt.Println(len(data.Data)) + return + } + if len(data.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp, + Msg: "画作信息为空", + Status: e.Ok, + }) + return + } + + // // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(resp.Data)) + fmt.Println("==============================================") + for i := 0; i < len(resp.Data); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(data.Data); j++ { + if data.Data[j].ArtShowId == resp.Data[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + // resp.Data[i].Agent = data.Data[j].Agent + resp.Data[i].BankName = data.Data[j].BankName + resp.Data[i].BankNum = data.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + // ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + // return + retPayBillInfo = resp.Data + //ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + + } else { + showListReq := artShow.ShowListReq{} + uids := make([]string, 0) + for i := 0; i < len(resp.Data); i++ { + uids = append(uids, resp.Data[i].ShowUid) + } + fmt.Println(uids) + + showListReq.Agent = req.Agent + showListReq.IsShow = append(showListReq.IsShow, 4) + showListReq.StartShowTime = req.StartShowDate + showListReq.EndShowTime = req.EndShowDate + showListReq.ArtistName = req.ArtistName + showListRes, err := GrpcArtShowImpl.ShowListWithRel(context.Background(), &showListReq) + fmt.Println(showListRes.Data) + if len(showListRes.Data) == 0 { + // 经纪人参数不为空,但是showListRes.Data为空的处理逻辑 + logger.Errorf("ShowListWithRel query err: 未查到相关经纪人,需用汉字查询") + ResponseQuickMsg(c, e.Ok, "未查到相关经纪人,需用汉字查询", "未查到相关经纪人,需用汉字查询") + return + } + + fmt.Println("ShowListWithRel err is : ", err) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(showListRes.Data) > 0 { + for i := 0; i < len(uids); i++ { + for j := 0; j < len(showListRes.Data); j++ { + if uids[i] == showListRes.Data[j].ShowUID { + resp.Data[i].Agent = showListRes.Data[j].Agent + // break + } + } + } + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uidshow := make([]string, 0) + for i := 0; i < len(showListRes.Data); i++ { + uidshow = append(uidshow, showListRes.Data[i].ShowUID) + } + artworkDataReq.ArtShowIds = uidshow + fmt.Println("artworkDataReq.ArtShowIds is :", artworkDataReq.ArtShowIds) + + // // 获取 画作 基础信息 以及 画家 账户信息 + data, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + fmt.Println("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(data.Data)) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(data.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: showListRes.Data, + // Msg: "画作信息为空1", + Status: e.Ok, + }) + return + } + + // // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(showListRes.Data)) + fmt.Println("==============================================") + for _, respItem := range resp.Data { + found := false + for _, dataItem := range data.Data { + if found { + break + } + for _, showItem := range showListRes.Data { + if dataItem.ArtShowId == showItem.ShowUID && showItem.ShowUID == respItem.ShowUid { + respItem.BankName = dataItem.BankName + respItem.BankNum = dataItem.BankNum + retPayBillInfo = append(retPayBillInfo, respItem) + found = true + break + } + } + } + } + resp.Data = retPayBillInfo + + //ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + } + + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func UpdatePayBill(c *gin.Context) { + var req paybill.UpdatePayBillreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillUpdate ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPayBillImpl.UpdatePayBill(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +// 回滚画展包状态 +func RollbackState(c *gin.Context) { + var req paybill.RollbackStatereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("RollbackState ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPayBillImpl.RollbackState(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +// 未处理画展包数量 +func NoCount(c *gin.Context) { + var req paybill.NoCountreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Count ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPayBillImpl.NoCount(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, "返回值有问题", nil) + return + } + ResponseQuickMsg(c, e.Ok, "成功", resp) + return +} + +// 付款单导出 +func ExcelBill(c *gin.Context) { + var req paybill.PayBillListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PayBillList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 账单列表 + resp, err := GrpcPayBillImpl.PayBillList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + payBillList := make([]*paybill.PayBillListres_Info, 0) + for i := 0; i < len(resp.Data); i++ { + if resp.Data[i].Rollback == 1 { + payBillList = append(payBillList, resp.Data[i]) + } + } + + if len(payBillList) < 1 { + ResponseQuickMsg(c, e.Failed, "暂无数据可导出", nil) + return + } + + // // 组装 获取 画作 基础信息参数 + // artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + // uids := make([]string, 0) + // for i := 0; i < len(resp.Data); i++ { + // uids = append(uids, resp.Data[i].ShowUid) + // } + // artworkDataReq.ArtShowIds = uids + // fmt.Println(artworkDataReq.ArtShowIds) + + // // // 获取 画作 基础信息 以及 画家 账户信息 + // data, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + // if err != nil { + // logger.Errorf("AwDataByShowId query err", err) + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Ok, + // }) + // fmt.Println(len(data.Data)) + // return + // } + // if len(data.Data) < 1 { + // logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Data: resp.Data, + // Msg: "画作信息为空", + // Status: e.Ok, + // }) + // return + // } + // // // 组装 画作 基础信息 + // // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + // for i := 0; i < len(resp.Data); i++ { + // // 账单列表 画作及画家信息 + // for j := 0; j < len(data.Data); j++ { + // if data.Data[j].ArtShowId == resp.Data[i].ShowUid { + // // resp.Data[i].ArtistName = data.Data[j].ArtistName + // resp.Data[i].Agent = data.Data[j].Agent + // resp.Data[i].BankName = data.Data[j].BankName + // resp.Data[i].BankNum = data.Data[j].BankNum + // break + // } + // } + // // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + // } + + showDetailReq := artShow.ShowDetailReq{} + uids := make([]string, 0) + for i := 0; i < len(payBillList); i++ { + uids = append(uids, payBillList[i].ShowUid) + } + + showDetailReq.ShowUID = uids + showDetailRes, err := GrpcArtShowImpl.ShowDetail(context.Background(), &showDetailReq) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println(showDetailRes.Data) + fmt.Println("showDetailRes.Data 的len:", showDetailRes.Data) + + if len(showDetailRes.Data) < 1 { + logger.Errorf("ShowDetail query err :", "画展包信息为空,请选择其他日期") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: "", + Msg: "画展包信息为空,请选择其他日期", + Status: 0, + }) + return + } + + // // 组装 画展包付款单 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(payBillList)) + fmt.Println("==============================================") + for i := 0; i < len(payBillList); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(showDetailRes.Data); j++ { + if showDetailRes.Data[j].ShowUID == payBillList[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + payBillList[i].Agent = showDetailRes.Data[j].Agent + // resp.Data[i].BankName = showDetailRes.Data[j].BankName + // resp.Data[i].BankNum = showDetailRes.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + + // // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + artworkDataReq.ArtShowIds = uids + + // // 获取 画作 基础信息 以及 画家 账户信息 + data, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + fmt.Println(len(data.Data)) + return + } + if len(data.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp, + Msg: "画作信息为空", + Status: e.Ok, + }) + return + } + + // // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(payBillList)) + fmt.Println("==============================================") + for i := 0; i < len(payBillList); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(data.Data); j++ { + if data.Data[j].ArtShowId == payBillList[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + // resp.Data[i].Agent = data.Data[j].Agent + payBillList[i].BankName = data.Data[j].BankName + payBillList[i].BankNum = data.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + fmt.Println("导出画展包测试:", resp.Data) + + var exportUrl string + if exportUrl, err = logic.PayBillExcel(c, payBillList); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "ExportUrl": exportUrl, + }) + return +} + +// 下拉框画家所有列表 +func ArtistAll(c *gin.Context) { + var req paybill.ArtistAllreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ArtistList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + //下拉框 + resp, err := GrpcPayBillImpl.ArtistAll(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +// 根据画家来查找画展包付款单 +func ArtistBill(c *gin.Context) { + var req paybill.ArtistBillreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("ArtistBill ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + //查找画展包付款单 + resp, err := GrpcPayBillImpl.ArtistBill(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + uids := make([]string, 0) + for i := 0; i < len(resp.Data); i++ { + uids = append(uids, resp.Data[i].ShowUid) + } + artworkDataReq.ArtShowIds = uids + + // 获取 画作 基础信息 以及 画家 账户信息 + data, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + fmt.Println(len(data.Data)) + return + } + if len(data.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: resp.Data, + Msg: "画作信息为空", + Status: e.Ok, + }) + return + } + + // 组装 画作 基础信息 + // artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + // artworkData := make(map[string]*paybill.PayBillListres_Info, 0) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++++") + fmt.Println(len(resp.Data)) + fmt.Println("==============================================") + for i := 0; i < len(resp.Data); i++ { + // 账单列表 画作及画家信息 + for j := 0; j < len(data.Data); j++ { + if data.Data[j].ArtShowId == resp.Data[i].ShowUid { + // resp.Data[i].ArtistName = data.Data[j].ArtistName + resp.Data[i].Agent = data.Data[j].Agent + resp.Data[i].BankName = data.Data[j].BankName + resp.Data[i].BankNum = data.Data[j].BankNum + break + } + } + // artworkData[resp.Data[i].ShowUID] = resp.Data[i] + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +// 根据画展包uid和姓名来更新画展包时间和地址 +func UpdateAddress(c *gin.Context) { + var req paybill.UpdateAddressreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateAddress ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPayBillImpl.UpdateAddress(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} diff --git a/pkg/service/prebook.go b/pkg/service/prebook.go new file mode 100644 index 0000000..9cb67d9 --- /dev/null +++ b/pkg/service/prebook.go @@ -0,0 +1,199 @@ +package service + +import ( + "context" + service "github.com/fonchain_enterprise/fonchain-main/api" + "github.com/fonchain_enterprise/fonchain-main/api/buy" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/prebook" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/gin-gonic/gin" +) + +// 管理系统预约列表 +func PrebookList(c *gin.Context) { + + //声明一个变量 + var req prebook.PrebookListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("PrebookList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //管理系统预约列表 + resp, err := GrpcPrebookImpl.PrebookList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 查看对应预约下的人员资料 +func CustomerList(c *gin.Context) { + + //声明一个变量 + var req prebook.CustomerListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CustomerList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //查看对应预约下的人员资料 + resp, err := GrpcPrebookImpl.CustomerList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +// 新预约列表 +func NewList(c *gin.Context) { + //声明一个变量 + var req prebook.NewListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CustomerList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //查看对应预约下的人员资料 + resp, err := GrpcPrebookImpl.NewList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for i := 0; i < len(resp.Data); i++ { + if resp.Data[i].Detail == nil || len(resp.Data[i].Detail) == 0 { + resp.Data[i].Detail = make([]*prebook.NewListres_Info_BaseInfo, 0) + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 私宴列表 +func FeastList(c *gin.Context) { + //声明一个变量 + var req prebook.FeastListreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CustomerList ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //查看对应预约下的人员资料 + resp, err := GrpcPrebookImpl.FeastList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +// 添加团队备注和团队实际人数 +func Addpulg(c *gin.Context) { + var req prebook.Addpulgreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Addpulg ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPrebookImpl.Addpulg(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +// 确认团队预约 +func SureNo(c *gin.Context) { + var req prebook.SureNoreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SureNo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPrebookImpl.SureNo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +// 修改私宴金额 +func AlterPrice(c *gin.Context) { + var req prebook.AlterPricereq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SureNo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPrebookImpl.AlterPrice(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + +} + +// 删除私宴列表 +func DelFeast(c *gin.Context) { + var req prebook.DelFeastreq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SureNo ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPrebookImpl.DelFeast(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func GetAllFeastInfo(c *gin.Context) { + var getAllFeastInfoRequest buy.GetAllFeastInfoRequest + if err := c.ShouldBind(&getAllFeastInfoRequest); err != nil { + logger.Errorf("getAllFeastInfoRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := BuyProvider.GetAllFeastInfo(context.Background(), &getAllFeastInfoRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} diff --git a/pkg/service/preorder.go b/pkg/service/preorder.go new file mode 100644 index 0000000..3e78c80 --- /dev/null +++ b/pkg/service/preorder.go @@ -0,0 +1,355 @@ +package service + +import ( + "context" + "fmt" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/preorder" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/gin-gonic/gin" +) + +//增加团队预约类型 +func AddTeamType(c *gin.Context) { + var req preorder.AddTeamTypereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Add ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcPreorderImpl.AddTeamType(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(resp.Data) > 0 { + // 获取第一个元素的唯一标识 + uuid := resp.Data[0].Uuid + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]interface{}{ + "Uuid": uuid, + }) + } else { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + } + + return +} + +//团队预约类型列表 +func TeamTypeList(c *gin.Context) { + var req preorder.TeamTypeListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcPreorderImpl.TeamTypeList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//修改团队预约类型 +func EditTeamType(c *gin.Context) { + var req preorder.EditTeamTypereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("EditTeamType ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + addData := make([]*preorder.AddTeamTypereq_Info, 0) + delUuid := make([]*preorder.DelTeamTypereq_Info, 0) + editData := make([]*preorder.EditTeamTypereq_Info, 0) + + for i := 0; i < len(req.Data); i++ { + switch { + case req.Data[i].Uuid == "": + fmt.Println("第一次:", i) + fmt.Println(req.Data) + fmt.Println("++++++++++++++++++++++++++++++++++++++++++++") + + info := &preorder.AddTeamTypereq_Info{ + TypeName: req.Data[i].TypeName, + TypePrice: req.Data[i].TypePrice, + Resolve: req.Data[i].Resolve, + } + addData = append(addData, info) + continue // 跳过当前迭代,继续下一个迭代 + + case req.Data[i].Uuid != "": + fmt.Println("第二次:", i) + needEdit := &preorder.EditTeamTypereq_Info{ + Uuid: req.Data[i].Uuid, + TypeName: req.Data[i].TypeName, + TypePrice: req.Data[i].TypePrice, + } + + // 更新 + editData = append(editData, needEdit) + + // 删除 + uuid := &preorder.DelTeamTypereq_Info{ + Uuid: req.Data[i].Uuid, + } + + delUuid = append(delUuid, uuid) + + continue + + } + } + + if len(editData) > 0 { + req3 := &preorder.EditTeamTypereq{ + Data: editData, + } + fmt.Println(req3.Data) + + _, err := GrpcPreorderImpl.EditTeamType(context.Background(), req3) + if err != nil { + ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + // ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + } + + if len(delUuid) > 0 { + req2 := &preorder.DelTeamTypereq{ + Data: delUuid, + } + fmt.Println(req2.Data) + _, err := GrpcPreorderImpl.DelTeamType(context.Background(), req2) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + + if len(addData) > 0 { + req1 := &preorder.AddTeamTypereq{ + Data: addData, + } + + fmt.Println(req1.Data) + _, err := GrpcPreorderImpl.AddTeamType(context.Background(), req1) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + + ResponseQuickMsg(c, e.Ok, "成功", nil) + return +} + +//删除团队预约类型 +func DelTeamType(c *gin.Context) { + var req preorder.DelTeamTypereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelTeamType ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcPreorderImpl.DelTeamType(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +//批量设置 +func LotSet(c *gin.Context) { + var req preorder.LotSetreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Add ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcPreorderImpl.LotSet(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]interface{}{ + "Uuid": resp.Data.Uuid, + }) + return +} + +//日历查看批量设置列表 +func SetList(c *gin.Context) { + var req preorder.SetListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcPreorderImpl.SetList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//删除当天 +func EditSet(c *gin.Context) { + var req preorder.EditSetreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Edit ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcPreorderImpl.EditSet(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +//设置当天的时间段 +func AddLongTime(c *gin.Context) { + var req preorder.AddLongTimereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Add ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcPreorderImpl.AddLongTime(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + if len(resp.Data) > 0 { + // 获取第一个元素的唯一标识 + uuid := resp.Data[0].Uuid + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]interface{}{ + "Uuid": uuid, + }) + } else { + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + } +} + +//时间段的增删改查 +func EditTime(c *gin.Context) { + var req preorder.EditTimereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("EditTime", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + addData := make([]*preorder.AddLongTimereq_Info, 0) + delUuid := make([]*preorder.DelTimereq_Info, 0) + editData := make([]*preorder.EditTimereq_Info, 0) + + for i := 0; i < len(req.Data); i++ { + switch { + case req.Data[i].Uuid == "": + fmt.Println("新增", i) + fmt.Println(req.Data) + fmt.Println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!") + + info := &preorder.AddLongTimereq_Info{ + StartTime: req.Data[i].StartTime, + EndTime: req.Data[i].EndTime, + MaxCount: req.Data[i].MaxCount, + } + addData = append(addData, info) + continue + + case req.Data[i].Uuid != "": + fmt.Println("第二次", i) + needEdit := &preorder.EditTimereq_Info{ + Uuid: req.Data[i].Uuid, + StartTime: req.Data[i].StartTime, + EndTime: req.Data[i].EndTime, + MaxCount: req.Data[i].MaxCount, + } + + editData = append(editData, needEdit) + uuid := &preorder.DelTimereq_Info{ + Uuid: req.Data[i].Uuid, + } + delUuid = append(delUuid, uuid) + continue + } + } + + if len(editData) > 0 { + req3 := &preorder.EditTimereq{ + Data: editData, + } + fmt.Println(req3.Data) + + _, err := GrpcPreorderImpl.EditTime(context.Background(), req3) + if err != nil { + ResponseQuickMsg(c, e.Ok, err.Error(), nil) + return + } + } + + if len(delUuid) > 0 { + req2 := &preorder.DelTimereq{ + Data: delUuid, + } + fmt.Println(req2.Data) + _, err := GrpcPreorderImpl.DelTime(context.Background(), req2) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + + if len(addData) > 0 { + req1 := &preorder.AddLongTimereq{ + Data: addData, + } + + fmt.Println(req1.Data) + _, err := GrpcPreorderImpl.AddLongTime(context.Background(), req1) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + } + ResponseQuickMsg(c, e.Ok, "时间段设置成功", nil) + return + +} + +//时间列表 +func AllTime(c *gin.Context) { + var req preorder.AllTimereq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Select ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + resp, err := GrpcPreorderImpl.AllTime(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} diff --git a/pkg/service/print_manage.go b/pkg/service/print_manage.go new file mode 100644 index 0000000..e453865 --- /dev/null +++ b/pkg/service/print_manage.go @@ -0,0 +1,819 @@ +/** + * @Author: sun + * @Company: 苏州泰丰文化 + * @Description: + * @File: print_manage + * @Version: 1.0.0 + * @Date: 2024/10/12 15:43 + */ + +package service + +import ( + "bytes" + "context" + "errors" + "fmt" + "io" + "mime/multipart" + "net/http" + "os" + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" + "github.com/lukasjarosch/go-docx" + "github.com/qifengzhang007/gooxml/document" + "github.com/qifengzhang007/gooxml/schema/soo/wml" +) + +func ArtShowListForPrint(c *gin.Context) { + var showListReq artShow.ArtShowListForPrintReq + if err := c.ShouldBindJSON(&showListReq); err != nil { + logger.Errorf("ShowList ShouldBindJSON err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showListRes, err := GrpcArtShowImpl.ArtShowListForPrint(context.Background(), &showListReq) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: showListRes.Msg, + Data: showListRes, + Status: e.Ok, + }) +} + +// 我仅仅是加了三个分支逻辑 +func PrintPreviewFile(c *gin.Context) { + var req artShow.PrintPreviewFileReq + if err := c.ShouldBindJSON(&req); err != nil { + logger.Errorf("Print Preview File err: %v", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + artworkDataReq.ArtShowIds = append(artworkDataReq.ArtShowIds, req.ShowUid) + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("Print Preview File query err: %v", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if resp.Data == nil { + logger.Errorf("Print Preview File query err: %v", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + if len(resp.Data) <= 0 { + logger.Errorf("Print Preview File query err: %v", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + // 获取 画作价格信息 + artworkPriceReq := artShow.ShowDetailReq{} + artworkPriceReq.ShowUID = append(artworkPriceReq.ShowUID, req.ShowUid) + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = append(showDetailReq.ShowUID, req.ShowUid) + artShowInfo, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("Print Preview File query err: %v", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artShowMap := make(map[string]*artShow.ShowDetail, 0) + for i := 0; i < len(artShowInfo.Data); i++ { + if artShowInfo.Data[i].Price == 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorNoPrice, + Status: e.Failed, + }) + return + } + artShowMap[artShowInfo.Data[i].ShowUID] = artShowInfo.Data[i] + } + + // 获取画家 信息 + artistInfoReq := new(artist.ArtistDetailDataReq) + artistInfoReq.Uids = append(artistInfoReq.Uids, artShowInfo.Data[0].ArtistUID) + artistInfo, err := GrpcArtistImpl.ArtistDetailData(context.Background(), artistInfoReq) + if err != nil { + logger.Errorf("Print Preview File query artiest info err: %v", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + artistMap := make(map[string]*artist.ArtistDetailDataResp_Info, 0) + for i := 0; i < len(artistInfo.Data); i++ { + if artistMap[artistInfo.Data[i].ProfileInfo.Name] == nil { + artistMap[artistInfo.Data[i].ProfileInfo.Name] = artistInfo.Data[i] + } + } + + if len(artworkPriceList.Data) == 0 || len(artworkData) == 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorNoPrice, + Status: e.Failed, + }) + } + priceInfo := serializer.BuildInvoiceInfo(artworkPriceList.Data, artworkData, artistMap) + + priceInfo.Address = artShowMap[req.ShowUid].Address + priceInfo.ShowTime = artShowMap[req.ShowUid].ShowTime + + if artistMap[artShowInfo.Data[0].ArtistName] != nil { + priceInfo.BankNo = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankNum + priceInfo.Bank = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankName + priceInfo.BankCode = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankCode + } + var urlMap = make(map[string]string) + switch req.PrintType { // 1-代销合同 2-销售清单 3-委托书 4-转让合同 + case 1: + saleContractPath := "./data/代销合同_模版.docx" + doc, err := docx.Open(saleContractPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + replaceMap := docx.PlaceholderMap{ + "art_name": artShowInfo.Data[0].ArtistName, + "address": artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.Address, + "id_no": artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.CardId, + "telephone": artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.Phone, + } + if err = doc.ReplaceAll(replaceMap); err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + now := time.Now().UnixMilli() + tmpPath := fmt.Sprintf("./data/%d.docx", now) + err = doc.WriteToFile(tmpPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + pdfPath, err := docxToPdf(now) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + url, err := PutBos(pdfPath, "pdf", true) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + _ = os.Remove(tmpPath) + //if _, err = GrpcArtShowImpl.CreateContractPath(context.Background(), &artShow.CreateContractPathReq{ + // ShowUid: req.ShowUid, + // ContractType: 1, + // ContractPath: url, + //}); err != nil { + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Ok, + // }) + //} + urlMap["serviceContractPath"] = url + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: urlMap, + Status: e.Ok, + }) + //} + case 2: + //priceInfo.AuthList = nil + res := &model.PriceRightListRes{} + for _, v := range priceInfo.ArtworkPriceList { + for _, vv := range priceInfo.CopyrightPriceList { + if v.Num == vv.Num { + tmp := &model.PrintRightItem{ + ArtworkName: v.ArtworkName, + ArtistName: v.ArtistName, + DoTime: v.DoTime, + Num: v.Num, + Ruler: v.Ruler, + TfNum: v.TfNum, + FloorPrice: v.ArtworkPrice + vv.CopyrightPrice, + } + res.List = append(res.List, tmp) + } + } + } + res.RuleTotal = priceInfo.TotalRuler + res.PriceTotal = priceInfo.Price + res.Principal = artShowInfo.Data[0].ArtistName + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + case 3: + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: priceInfo.AuthList, + Status: e.Ok, + }) + case 4: + //resData, err := GrpcArtShowImpl.GetContractPath(context.Background(), &artShow.GetContractPathReq{ + // ShowUid: req.ShowUid, + // ContractType: 4, + //}) + //if err != nil { + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Ok, + // }) + //} + //if len(resData.ContractPath) > 0 { + // urlMap["tranContractPath"] = resData.ContractPath + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Data: urlMap, + // Status: e.Ok, + // }) + //} else { + tranContractPath := "./data/转让合同_模版.docx" + doc, err := document.Open(tranContractPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + if len(doc.Tables()) != 2 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "模版格式不合格", + Status: e.Ok, + }) + } + + //获取表格中的文本 + for _, table := range doc.Tables()[1:] { // 所有表 + if len(table.Rows()) < len(resp.Data) { + firstRow := table.Rows()[0] + lineNumber := len(resp.Data) - len(table.Rows()) + 2 + for i := 0; i < lineNumber; i++ { + newRow := table.InsertRowAfter(firstRow) + for l := 0; l < 5; l++ { + newCell := newRow.AddCell() + newCell.AddParagraph().AddRun().AddText("") + } + } + } + for i, lines := range table.Rows() { // 所有行 + if i < 1 || i == len(table.Rows())-1 || i > len(resp.Data) { + continue + } + for ii, cell := range lines.Cells() { + switch ii { + case 0: + p := cell.AddParagraph() + p.Properties().SetAlignment(wml.ST_JcCenter) + r := p.AddRun() + r.Properties().SetBold(true) + r.Properties().SetSize(6.5) + r.AddText(fmt.Sprintf("%d", i)) + case 1: + p := cell.AddParagraph() + p.Properties().SetAlignment(wml.ST_JcCenter) + r := p.AddRun() + r.Properties().SetBold(true) + r.Properties().SetSize(6.5) + r.AddText(fmt.Sprintf("{work_name_%d}", i)) + case 2: + p := cell.AddParagraph() + p.Properties().SetAlignment(wml.ST_JcCenter) + r := p.AddRun() + r.Properties().SetBold(true) + r.Properties().SetSize(6.5) + r.AddText(fmt.Sprintf("{hash_%d}", i)) + case 3: + p := cell.AddParagraph() + p.Properties().SetAlignment(wml.ST_JcCenter) + r := p.AddRun() + r.Properties().SetBold(true) + r.Properties().SetSize(6.5) + r.AddText(fmt.Sprintf("原始")) + default: + continue + } + } + } + } + now := time.Now().UnixMilli() + tmpPath := fmt.Sprintf("./data/%d.docx", now) + if err = doc.SaveToFile(tmpPath); err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + + doc3, err := docx.Open(tmpPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + replaceMap := docx.PlaceholderMap{ + "art_name": artShowInfo.Data[0].ArtistName, + "address": artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.Address, + "id_no": artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.CardId, + "telephone": artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.Phone, + } + for k, v := range resp.Data { + replaceMap["work_name_"+fmt.Sprintf("%d", k+1)] = v.ArtworkName + replaceMap["hash_"+fmt.Sprintf("%d", k+1)] = v.CopyrightHash + } + if err = doc3.ReplaceAll(replaceMap); err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + now2 := time.Now().UnixMilli() + tmpPath1 := fmt.Sprintf("./data/%d.docx", now2) + err = doc3.WriteToFile(tmpPath1) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + + pdfPath, err := docxToPdf(now2) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + url, err := PutBos(pdfPath, "pdf", true) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + _ = os.Remove(tmpPath) + _ = os.Remove(tmpPath1) + + urlMap["tranContractPath"] = url + + //if _, err = GrpcArtShowImpl.CreateContractPath(context.Background(), &artShow.CreateContractPathReq{ + // ShowUid: req.ShowUid, + // ContractPath: url, + // ContractType: 4, + //}); err != nil { + // ResponseMsg(c, e.SUCCESS, serializer.Response{ + // Msg: err.Error(), + // Status: e.Ok, + // }) + //} + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: urlMap, + Status: e.Ok, + }) + //} + case 5: + saleContractPath := "./data/print_model/版权代理登记委托合同.docx" + doc, err := docx.Open(saleContractPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + defer doc.Close() + replaceMap := docx.PlaceholderMap{ + "art_name": artShowInfo.Data[0].ArtistName, + "id_no": artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.CardId, + } + if err = doc.ReplaceAll(replaceMap); err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + now := time.Now().UnixMilli() + tmpPath := fmt.Sprintf("./data/%d.docx", now) + err = doc.WriteToFile(tmpPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + pdfPath, err := docxToPdf(now) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + url, err := PutBos(pdfPath, "pdf", true) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + _ = os.Remove(tmpPath) + urlMap["path"] = url + // urlMap["path"] = config.ApiHost + "/pdfst/print_model/版权代理登记委托合同.pdf" + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: urlMap, + Status: e.Ok, + }) + return + case 6: //excel + res := &model.PriceRightListRes{} + for _, v := range priceInfo.ArtworkPriceList { + for _, vv := range priceInfo.CopyrightPriceList { + if v.Num == vv.Num { + tmp := &model.PrintRightItem{ + ArtworkName: v.ArtworkName, + ArtistName: v.ArtistName, + DoTime: v.DoTime, + Num: v.Num, + Ruler: v.Ruler, + TfNum: v.TfNum, + FloorPrice: v.ArtworkPrice + vv.CopyrightPrice, + } + res.List = append(res.List, tmp) + } + } + } + res.RuleTotal = priceInfo.TotalRuler + res.PriceTotal = priceInfo.Price + res.Principal = artShowInfo.Data[0].ArtistName + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + return + case 7: //文档更新内容,然后pdf + var talentAgency, address string + + if _, isExist := artShowMap[req.ShowUid]; isExist { + talentAgency = artShowMap[req.ShowUid].TalentAgency + var addressMap = map[string]string{ + "上海泰初澹然文化传播有限公司": "上海市黄浦区西藏中路268号2201室", + "浙江蓝丰文化科技有限公司": "浙江省宁波市鄞州区实怡中心7幢13号17-1-1", + "常熟虞丰文化艺术交流有限公司": "江苏省苏州市常熟市虞山街道虞景文华31幢F2部分", + "合肥常丰文化传播有限公司": "安徽省合肥市瑶海区明光路街道芜湖路2号坝上街环球中心7层商协会大厦 716-2062", + } + + if _, isOk := addressMap[talentAgency]; isOk == true { + address = addressMap[talentAgency] + } + } + + saleContractPath := "./data/print_model/居间服务协议-20241210.docx" + doc, err := docx.Open(saleContractPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + replaceMap := docx.PlaceholderMap{ + "company": talentAgency, + "address": address, + } + if err = doc.ReplaceAll(replaceMap); err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + now := time.Now().UnixMilli() + tmpPath := fmt.Sprintf("./data/%d.docx", now) + err = doc.WriteToFile(tmpPath) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + pdfPath, err := docxToPdf(now) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + url, err := PutBos(pdfPath, "pdf", true) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Ok, + }) + } + _ = os.Remove(tmpPath) + + urlMap["path"] = url + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: urlMap, + Status: e.Ok, + }) + return + default: + return + } + return +} + +func GetPrintDetail(c *gin.Context) { + var req artShow.PrintDetailReq + if err := c.ShouldBindJSON(&req); err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + res, err := GrpcArtShowImpl.GetPrintDetail(context.Background(), &req) + if err != nil { + logger.Errorf("Print Preview File err: %v", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: res, + Status: e.Ok, + }) + return +} + +func CreatePrintDetail(c *gin.Context) { + var req artShow.CreatePrintDetailReq + if err := c.ShouldBindJSON(&req); err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.PrintOperator = userInfo.NickName + _, err := GrpcArtShowImpl.CreatePrintDetail(context.Background(), &req) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Status: e.Ok, + }) +} + +func SearchArtistListByKeyword(c *gin.Context) { + var idNameReq artist.ArtIdNameRequest + if err := c.ShouldBind(&idNameReq); err != nil { + logger.Errorf("idNameReq ShouldBind err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcArtistImpl.ArtistIdName(context.Background(), &idNameReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, v := range resp.Items { + if v.BlackListStatus == 2 { + v.Name = fmt.Sprintf("#%s", v.Name) + } + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Items) + return +} + +func docxToPdf(fileName int64) (pdfUrl string, err error) { + // 目标 URL + url := fmt.Sprintf("%s/forms/libreoffice/convert", config.PdfHost) + + fmt.Println("url:-----------------", url) + // 打开文件 + file, err := os.Open(fmt.Sprintf("./data/%d.docx", fileName)) + if err != nil { + return "", errors.New("打开doc文件失败") + } + defer file.Close() + + // 创建表单 + body := &bytes.Buffer{} + writer := multipart.NewWriter(body) + part, err := writer.CreateFormFile("files", "file.docx") + if err != nil { + return "", errors.New("创建转换pdf表单文件失败") + } + _, err = io.Copy(part, file) + if err != nil { + fmt.Println("复制文件到表单失败:", err) + return "", errors.New("复制docx文件到pdf表单文件失败") + } + + // 关闭 writer + err = writer.Close() + if err != nil { + return "", errors.New("关闭pdf表单文件失败") + } + + // 创建请求 + req, err := http.NewRequest("POST", url, body) + if err != nil { + fmt.Println("创建请求失败:", err) + return + } + + // 设置请求头 + req.Header.Set("Content-Type", writer.FormDataContentType()) + + // 发送请求 + client := &http.Client{} + resp, err := client.Do(req) + if err != nil { + fmt.Println("发送请求失败:", err) + return + } + defer resp.Body.Close() + + // 检查响应状态 + if resp.StatusCode != http.StatusOK { + fmt.Printf("请求失败,状态码: %d\n", resp.StatusCode) + return + } + + pdfUrl = fmt.Sprintf("./data/%d.pdf", fileName) + // 保存响应内容到文件 + outFile, err := os.Create(pdfUrl) + if err != nil { + return "", errors.New("创建输出pdf文件失败") + } + defer outFile.Close() + + _, err = io.Copy(outFile, resp.Body) + if err != nil { + fmt.Println("保存响应内容失败:", err) + return + } + + fmt.Println("pdf文件转换成功,已保存") + return +} + +func docxToPdfV2(fileName string) (pdfUrl string, err error) { + // 目标 URL + url := fmt.Sprintf("%s/forms/libreoffice/convert", config.PdfHost) + + fmt.Println("url:-----------------", url) + // 打开文件 + file, err := os.Open(fileName) + if err != nil { + return "", errors.New("打开doc文件失败") + } + defer file.Close() + + // 创建表单 + body := &bytes.Buffer{} + writer := multipart.NewWriter(body) + part, err := writer.CreateFormFile("files", "file.docx") + if err != nil { + return "", errors.New("创建转换pdf表单文件失败") + } + _, err = io.Copy(part, file) + if err != nil { + fmt.Println("复制文件到表单失败:", err) + return "", errors.New("复制docx文件到pdf表单文件失败") + } + + // 关闭 writer + err = writer.Close() + if err != nil { + return "", errors.New("关闭pdf表单文件失败") + } + + // 创建请求 + req, err := http.NewRequest("POST", url, body) + if err != nil { + fmt.Println("创建请求失败:", err) + return + } + + // 设置请求头 + req.Header.Set("Content-Type", writer.FormDataContentType()) + + // 发送请求 + client := &http.Client{} + resp, err := client.Do(req) + if err != nil { + fmt.Println("发送请求失败:", err) + return + } + defer resp.Body.Close() + + // 检查响应状态 + if resp.StatusCode != http.StatusOK { + fmt.Printf("请求失败,状态码: %d\n", resp.StatusCode) + return + } + + pdfUrl = fmt.Sprintf("%d.pdf") + // 保存响应内容到文件 + outFile, err := os.Create(pdfUrl) + if err != nil { + panic(err) + return "", errors.New("创建输出pdf文件失败") + } + defer outFile.Close() + + _, err = io.Copy(outFile, resp.Body) + if err != nil { + fmt.Println("保存响应内容失败:", err) + return + } + + fmt.Println("pdf文件转换成功,已保存") + return +} diff --git a/pkg/service/push/push.go b/pkg/service/push/push.go new file mode 100644 index 0000000..b709f26 --- /dev/null +++ b/pkg/service/push/push.go @@ -0,0 +1,293 @@ +package push + +import ( + "context" + "errors" + "fmt" + "net/http" + "strconv" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/collections" + "github.com/fonchain_enterprise/fonchain-main/api/push" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func PutIn(c *gin.Context) { + fmt.Println("第一处") + var putInRequest push.PutInRequest + if err := c.ShouldBind(&putInRequest); err != nil { + logger.Errorf("putInRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //获取藏品相关信息 + collectionsInfoRes, err := service.GrpcCollectionImpl.CollectionsDetail(context.Background(), &collections.CollectionsInfoReq{ + CollectionsUID: putInRequest.CollectionUid, + Language: "zh-CN", + }) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("第一处", collectionsInfoRes.Data.SaleType) + + if collectionsInfoRes.Data.SaleType != "normal" { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "赠品不能进行空投", + Status: e.Failed, + }) + return + } + + putInRequest.Collection = collectionsInfoRes.Data.Name + putInRequest.Desc = collectionsInfoRes.Data.Intro + putInRequest.PicUrl = collectionsInfoRes.Data.CollectionImg + //获取用户id切片 + if putInRequest.DropTarget != "全服" { + + if putInRequest.DropTargetNum != 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("空投数量需要为1").Error(), + Status: e.Failed, + }) + return + } + + userid, err := strconv.Atoi(putInRequest.DropTarget) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + putInRequest.UserId = []int32{int32(userid)} + } else { + + //账号服务 + var updateReq = account.ListRequest{ + Domain: "mall", + PageSize: uint64(putInRequest.DropTargetNum), + } + + ures, err := service.AccountProvider.RandList(context.Background(), &updateReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //做一下判断,让空投的人数不超过全服的人数 + if putInRequest.DropTargetNum > int32(ures.AllCount) { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("空投数量不可以大于全服总人数").Error(), + Status: e.Failed, + }) + return + } + + var tempIds []int32 + for _, v := range ures.Data { + tempIds = append(tempIds, int32(v.ID)) + } + putInRequest.CollectionNum = int32(ures.Count) + putInRequest.UserId = tempIds + } + + rep, err := service.GrpcPushImpl.PutIn(context.Background(), &putInRequest) + + fmt.Println("rep:", rep) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func DropHistortList(c *gin.Context) { + var dropHistortListRequest push.DropHistortListRequest + rep, err := service.GrpcPushImpl.DropHistortList(context.Background(), &dropHistortListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Ok, + Data: rep, + }) +} + +func DropHistortDel(c *gin.Context) { + var dropHistortDelRequest push.DropHistortDelRequest + if err := c.ShouldBind(&dropHistortDelRequest); err != nil { + logger.Errorf("dropHistortDelRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcPushImpl.DropHistortDel(context.Background(), &dropHistortDelRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PushAnnouncement(c *gin.Context) { + fmt.Println("第一处") + var pushAnnouncementRequest push.PushAnnouncementRequest + if err := c.ShouldBind(&pushAnnouncementRequest); err != nil { + logger.Errorf("pushAnnouncementRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if pushAnnouncementRequest.Target != "全服" { + userid, err := strconv.Atoi(pushAnnouncementRequest.Target) + if err != nil { + return + } + pushAnnouncementRequest.AnnounceNum = 1 + pushAnnouncementRequest.UserId = []int32{int32(userid)} + } else { + //账号服务 + var updateReq1 = account.ListRequest{ + Domain: "mall", + PageSize: uint64(1), + } + + ures1, err := service.AccountProvider.RandList(context.Background(), &updateReq1) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var updateReq2 = account.ListRequest{ + Domain: "mall", + PageSize: ures1.Count, + } + + ures2, err := service.AccountProvider.RandList(context.Background(), &updateReq2) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var tempIds []int32 + for _, v := range ures2.Data { + tempIds = append(tempIds, int32(v.ID)) + } + pushAnnouncementRequest.AnnounceNum = int32(ures2.Count) + pushAnnouncementRequest.UserId = tempIds + } + + rep, err := service.GrpcPushImpl.PushAnnouncement(context.Background(), &pushAnnouncementRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func AnnouncementHisList(c *gin.Context) { + var announcementHisListRequest push.AnnouncementHisListRequest + rep, err := service.GrpcPushImpl.AnnouncementHisList(context.Background(), &announcementHisListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func AnnouncementDel(c *gin.Context) { + var announcementDelRequest push.AnnouncementDelRequest + if err := c.ShouldBind(&announcementDelRequest); err != nil { + logger.Errorf("pushAnnouncementRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcPushImpl.AnnouncementDel(context.Background(), &announcementDelRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} diff --git a/pkg/service/recruit/recruit.go b/pkg/service/recruit/recruit.go new file mode 100644 index 0000000..b28543c --- /dev/null +++ b/pkg/service/recruit/recruit.go @@ -0,0 +1,2550 @@ +package recruit + +import ( + "context" + "encoding/json" + "errors" + "fmt" + "io/ioutil" + "mime/multipart" + "net/http" + "path/filepath" + "regexp" + "strings" + "sync" + "time" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/e_card" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/recruit" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/query" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + account2 "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/approval" + employee1 "github.com/fonchain_enterprise/fonchain-main/pkg/utils/employee" + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" + uuid "github.com/satori/go.uuid" +) + +var ( + wg sync.WaitGroup +) + +func PostSubmit(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //获取环境变量 + + rep, err := service.GrpcRecruitClientImpl.PostSubmit(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PostCancelUp(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + tempPosition := &recruit.PositionProto{Weigh: 0} + tempEntity := &recruit.EntityProto{Position: tempPosition} + + dealProcessProto.Entity = tempEntity + + rep, err := service.GrpcRecruitClientImpl.PostSetWeigh(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PostUp(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + tempPosition := &recruit.PositionProto{Weigh: int32(time.Now().Unix())} + tempEntity := &recruit.EntityProto{Position: tempPosition} + + dealProcessProto.Entity = tempEntity + + rep, err := service.GrpcRecruitClientImpl.PostSetWeigh(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PostPass(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.PostPass(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PostReject(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.PostReject(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PostCheck(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.PostCheck(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PostClose(c *gin.Context) { + var postCloseReq req + if err := c.ShouldBind(&postCloseReq); err != nil { + logger.Errorf("postCloseReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Type = "post-approve" + dealProcessProto.Command = "position-terminate" + dealProcessProto.Id = postCloseReq.Id + + rep, err := service.GrpcRecruitClientImpl.PostCheck(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +type resume struct { + ResumeFile string `json:"resumeFile"` + ResumeFileName string `json:"resumeFileName"` + Files []File `json:"files"` //附件 +} + +type File struct { + File string `json:"file"` + FileName string `json:"fileName"` +} + +type req struct { + Id int64 `json:"id"` + PositionId int64 `json:"positionId"` + ResumeFile []string `json:"resumeFile"` + InterviewTime string `json:"interviewTime"` + TerminateReason string `json:"terminateReason"` + Name string `json:"name"` + Mobile string `json:"mobile"` + EmployeeType string `json:"employeeType"` + EmployeeNo string `json:"employeeNo"` + EntryTime string `json:"entryTime"` + InterviewFile string `json:"interviewFile"` + Resumes []resume `json:"resumes"` +} + +func ResumeSubmitV2(c *gin.Context) { + + var resumeSubmitReq req + if err := c.ShouldBind(&resumeSubmitReq); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + entityProto := &recruit.EntityProto{} + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + //user := &recruit.UserProto{ + // Id: 1, + // Nickname: "张三", + //} + //dealProcessProto.User = user + + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-submit" + + for _, v := range resumeSubmitReq.Resumes { + resumeProto := &recruit.ResumeProto{ + PositionId: resumeSubmitReq.PositionId, + ResumeFile: v.ResumeFile, + ResumeFileName: v.ResumeFileName, + } + + //增加附件 + if len(v.Files) > 0 { + for _, f := range v.Files { + resumeProto.Files = append(resumeProto.Files, &recruit.FileProto{ + File: f.File, + FileName: f.FileName, + }) + } + } + + entityProto.Resume = append(entityProto.Resume, resumeProto) + } + + dealProcessProto.Entity = entityProto + + rep, err := service.GrpcRecruitClientImpl.ResumeSubmit(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func ResumeSubmit(c *gin.Context) { + + var resumeSubmitReq req + if err := c.ShouldBind(&resumeSubmitReq); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + entityProto := &recruit.EntityProto{} + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + //user := &recruit.UserProto{ + // Id: 1, + // Nickname: "张三", + //} + //dealProcessProto.User = user + + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-submit" + + for _, v := range resumeSubmitReq.ResumeFile { + resumeProto := &recruit.ResumeProto{ + PositionId: resumeSubmitReq.PositionId, + ResumeFile: v, + } + entityProto.Resume = append(entityProto.Resume, resumeProto) + } + + dealProcessProto.Entity = entityProto + + rep, err := service.GrpcRecruitClientImpl.ResumeSubmit(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func GiveResumeOffer(c *gin.Context) { + var resumePassReq req + if err := c.ShouldBind(&resumePassReq); err != nil { + logger.Errorf("resumePassReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + + resumeReq := recruit.ResumeReq{ResumeId: resumePassReq.Id, PageSize: 1, CurPage: 1} + + rep, err := service.GrpcRecruitClientImpl.ResumePageQuery(context.Background(), &resumeReq) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + if len(rep.Resumes) <= 0 { + service.Error(c, e.Error, errors.New("没有对应的简历")) + return + } + + resumeRes := rep.Resumes[0] + positionInfo, err := service.GrpcRecruitClientImpl.PositionDetail(context.Background(), &recruit.PositionDetailReq{Id: int32(resumeRes.PositionId)}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + if positionInfo.Code != 0 { + service.Error(c, e.Error, errors.New(positionInfo.Msg)) + return + } + fmt.Println("岗位和部门", positionInfo.Position.ApplierPosition, positionInfo.Position.ApplierDepartment) + + err = approval.PassOfferApprove(userInfo, uint64(resumePassReq.Id)) + if err != nil { + logger.Errorf("resumePassReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + registerUser := union.User{ + Domain: "fontree", + NickName: resumeRes.Name, + TelNum: resumeRes.Mobile, + Status: "notactive", + EnterDate: time.Now().Format(model.DateFormat), + PositionUsers: nil, + JobNum: resumeRes.EmployeeNo, + Password: e.DEFAULT_PWD, + Source: "entryApplication", + } + + registerUser.Operator = &account.Operator{ + ID: uint32(positionInfo.Position.ApplierId), + Name: positionInfo.Position.Applier, + } + + registerUser.PositionUsers = make([]*position.PositionUser, 0) + + if positionInfo.Position != nil && positionInfo.Position.ApplyPositionId != 0 && positionInfo.Position.ApplyDepartmentId != 0 { + logger.Error("招聘-----------使用部门岗位id创建帐号") + fmt.Println("招聘-----------使用部门岗位id创建帐号") + registerUser.PositionUsers = append(registerUser.PositionUsers, &position.PositionUser{PositionID: uint64(positionInfo.Position.ApplyPositionId), DepartmentID: uint64(positionInfo.Position.ApplyDepartmentId)}) + } else { + logger.Error("招聘-----------使用部门岗位名称创建帐号") + fmt.Println("招聘-----------使用部门岗位名称创建帐号") + registerUser.PositionUsers = append(registerUser.PositionUsers, &position.PositionUser{PositionName: positionInfo.Position.Post, DepartmentName: positionInfo.Position.ApplierDepartment}) + } + + err, user := account2.UserRegisters(c, registerUser) + if err != nil { + service.Error(c, e.Error, err) + return + } + //创建员工档案 + err = employee1.CreateAnEmployeeProfile(c, user.ID, registerUser, rep, registerUser.Operator) + if err != nil { + service.Error(c, e.Error, err) + return + } + + // 生成员工电子名片 + var addChainRequest *e_card.AddChainRequest + addChainRequest, err = account2.GetECardInfo(user.ID, "人才招聘-确认入职") + if err != nil { + return + } + + fmt.Println("++++++++++++++++++++ addChainRequest =============================") + fmt.Printf("addChainRequest : %+v\n", addChainRequest) + + _, err = service.ECardProvider.AddChain(context.Background(), addChainRequest) + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: nil, + }) + + return +} + +func ResumePass(c *gin.Context) { + var resumePassReq req + if err := c.ShouldBind(&resumePassReq); err != nil { + logger.Errorf("resumePassReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumePassReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-pass" + + rep, err := service.GrpcRecruitClientImpl.ResumePass(context.Background(), &dealProcessProto) + fmt.Println("err", err) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func ResumeReject(c *gin.Context) { + var resumeRejectReq req + if err := c.ShouldBind(&resumeRejectReq); err != nil { + logger.Errorf("resumeRejectReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeRejectReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-reject" + + rep, err := service.GrpcRecruitClientImpl.ResumeReject(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func ResumeInterviewTime(c *gin.Context) { + var resumeInterviewTimeReq req + if err := c.ShouldBind(&resumeInterviewTimeReq); err != nil { + logger.Errorf("resumeInterviewTimeReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeInterviewTimeReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-edit" + + entity := &recruit.EntityProto{} + resume := &recruit.ResumeProto{ + InterviewTime: resumeInterviewTimeReq.InterviewTime, //面试时间传参 虽然是数组但是只有一个面试时间 + } + entity.Resume = append(entity.Resume, resume) + dealProcessProto.Entity = entity + + rep, err := service.GrpcRecruitClientImpl.ResumeInterviewTime(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func ResumeModifyInterviewTime(c *gin.Context) { + var resumeModifyInterviewTimeReq req + if err := c.ShouldBind(&resumeModifyInterviewTimeReq); err != nil { + logger.Errorf("resumeModifyInterviewTimeReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeModifyInterviewTimeReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-modify-interview-time" + + entity := &recruit.EntityProto{} + resume := &recruit.ResumeProto{ + InterviewTime: resumeModifyInterviewTimeReq.InterviewTime, //修改面试时间传参 + } + entity.Resume = append(entity.Resume, resume) + dealProcessProto.Entity = entity + + rep, err := service.GrpcRecruitClientImpl.ResumeModifyInterviewTime(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func ResumeModifyInfo(c *gin.Context) { + var resumeModifyInfoReq req + if err := c.ShouldBind(&resumeModifyInfoReq); err != nil { + logger.Errorf("resumeModifyInfoReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeModifyInfoReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-modify-info" + + entity := &recruit.EntityProto{} + resume := &recruit.ResumeProto{ + Name: resumeModifyInfoReq.Name, + Mobile: resumeModifyInfoReq.Mobile, + EmployeeType: resumeModifyInfoReq.EmployeeType, + EmployeeNo: resumeModifyInfoReq.EmployeeNo, + EntryTime: resumeModifyInfoReq.EntryTime, + InterviewFile: resumeModifyInfoReq.InterviewFile, + } + entity.Resume = append(entity.Resume, resume) + dealProcessProto.Entity = entity + + rep, err := service.GrpcRecruitClientImpl.ResumeModifyInfo(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func ResumeInterviewPass(c *gin.Context) { + + var resumeInterviewPassReq req + if err := c.ShouldBind(&resumeInterviewPassReq); err != nil { + logger.Errorf("resumeInterviewPassReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeInterviewPassReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-interview-pass" + + rep, err := service.GrpcRecruitClientImpl.ResumeInterviewPass(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func ResumeInterviewReject(c *gin.Context) { + var resumeInterviewRejectReq req + if err := c.ShouldBind(&resumeInterviewRejectReq); err != nil { + logger.Errorf("resumeInterviewRejectReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeInterviewRejectReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-interview-reject" + + rep, err := service.GrpcRecruitClientImpl.ResumeInterviewReject(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} +func ResumeTerminate(c *gin.Context) { + var resumeTerminateReq req + if err := c.ShouldBind(&resumeTerminateReq); err != nil { + logger.Errorf("resumeTerminateReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //查看用户是否已经入职,如果是已经入职了再终止简历,需要删除用户账户 + var resumeReq recruit.ResumeReq + resumeReq.CurPage = 1 + resumeReq.PageSize = 1 + resumeReq.ResumeId = resumeTerminateReq.Id + resumePageQueryRep, err := service.GrpcRecruitClientImpl.ResumePageQuery(context.Background(), &resumeReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if resumePageQueryRep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resumePageQueryRep.Msg, + Status: e.Failed, + }) + return + } + + //如果是已入职了,需要删除用户账户 + if len(resumePageQueryRep.Resumes) != 0 { + if resumePageQueryRep.Resumes[0].StatusName == "已入职" { + //获取到用户id + + //电话存在 + if resumePageQueryRep.Resumes[0].Mobile != "" { + //先根据用户电话查询到id + var userByTelRequest account.UserByTelRequest + userByTelRequest.Tel = resumePageQueryRep.Resumes[0].Mobile + userByTelRep, err := service.AccountProvider.UserByTel(context.Background(), &userByTelRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //删除用户 + var removeRequest account.RemoveRequest + if userByTelRep.Info != nil { + removeRequest.ID = userByTelRep.Info.ID + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("账户系统用户信息不存在").Error(), + Status: e.Failed, + }) + return + } + + _, err = service.AccountProvider.Remove(context.Background(), &removeRequest) + if err != nil { + service.Error(c, e.Error, err) + return + } + + //岗位删除 + positionReq := &position.RemoveUserRequest{ + Domain: "", + ID: removeRequest.ID, + } + + _, err1 := service.PositionProvider.RemoveUser(c, positionReq) + if err1 != nil { + service.Error(c, e.Error, err1) + return + } + + //部门删除 + DepartmentReq := &department.RemoveUserRequest{ + Domain: "", + LeaderID: removeRequest.ID, + } + + _, err2 := service.DepartmentProvider.RemoveUser(c, DepartmentReq) + if err2 != nil { + service.Error(c, e.Error, err2) + return + } + + // 简历终止 + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeTerminateReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-terminate" + + entity := &recruit.EntityProto{} + resume := &recruit.ResumeProto{ + TerminateReason: resumeTerminateReq.TerminateReason, + } + entity.Resume = append(entity.Resume, resume) + dealProcessProto.Entity = entity + + rep, err := service.GrpcRecruitClientImpl.ResumeTerminate(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("用户简历信息缺失").Error(), + Status: e.Failed, + }) + return + } + } else { + // 简历终止 + var dealProcessProto recruit.DealProcessProto + + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeTerminateReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-terminate" + + entity := &recruit.EntityProto{} + resume := &recruit.ResumeProto{ + TerminateReason: resumeTerminateReq.TerminateReason, + } + entity.Resume = append(entity.Resume, resume) + dealProcessProto.Entity = entity + + rep, err := service.GrpcRecruitClientImpl.ResumeTerminate(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + } + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("用户简历信息缺失").Error(), + Status: e.Failed, + }) + return + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: resumePageQueryRep, + }) +} + +type resumeUploadDetail struct { + Id int64 `json:"id"` + Name string `json:"name"` + Mobile string `json:"mobile"` + EmployeeType string `json:"employeeType"` + EmployeeNo string `json:"employeeNo"` + EntryTime string `json:"entryTime"` + InterviewFile string `json:"interviewFile"` + InterviewTime string `json:"interviewTime"` +} + +func ResumeUploadDetail(c *gin.Context) { + var resumeUploadDetailReq resumeUploadDetail + if err := c.ShouldBind(&resumeUploadDetailReq); err != nil { + logger.Errorf("resumeUploadDetailReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + listRes, err := service.AccountProvider.ListV2(c, &account.ListV2Request{JobNum: resumeUploadDetailReq.EmployeeNo}) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + if listRes.Count >= 1 { + service.Error(c, e.Error, errors.New("当前工号已经被占用")) + return + } + + var dealProcessProto recruit.DealProcessProto + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + user := &recruit.UserProto{ + Id: int64(userInfo.ID), + Nickname: userInfo.NickName, + } + dealProcessProto.User = user + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + + dealProcessProto.Id = resumeUploadDetailReq.Id + dealProcessProto.Type = "resume-approve" + dealProcessProto.Command = "resume-edit" + + entityProto := &recruit.EntityProto{} + resumeProto := &recruit.ResumeProto{} + + resumeProto.Name = resumeUploadDetailReq.Name + resumeProto.Mobile = resumeUploadDetailReq.Mobile + resumeProto.EmployeeType = resumeUploadDetailReq.EmployeeType + resumeProto.EmployeeNo = resumeUploadDetailReq.EmployeeNo + resumeProto.EntryTime = resumeUploadDetailReq.EntryTime + resumeProto.InterviewFile = resumeUploadDetailReq.InterviewFile + resumeProto.InterviewTime = resumeUploadDetailReq.InterviewTime + entityProto.Resume = append(entityProto.Resume, resumeProto) + dealProcessProto.Entity = entityProto + + rep, err := service.GrpcRecruitClientImpl.ResumeUploadDetail(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func OfferSubmit(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.OfferSubmit(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func OfferPass(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.OfferPass(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func OfferReject(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.OfferReject(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func OfferCheck(c *gin.Context) { + var dealProcessProto recruit.DealProcessProto + if err := c.ShouldBind(&dealProcessProto); err != nil { + logger.Errorf("dealProcessProto ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.OfferCheck(context.Background(), &dealProcessProto) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +type Data struct { + Id int64 `json:"id"` + Applier string `json:"applier"` + ApplierId int64 `json:"applierId"` + ApplierPosition string `json:"applierPosition"` + ApplierDepartment string `json:"applierDepartment"` + Approver string `json:"approver"` + Copied string `json:"copied"` + Post string `json:"post"` + PostCapacity int32 `json:"postCapacity"` + PostRequirement string `json:"postRequirement"` + WantedDate string `json:"wantedDate"` + ApproveCountLast int32 `json:"approveCountLast"` + PostCountLast int32 `json:"postCountLast"` + ApproverIds []int64 `json:"approverIds"` + CopiedIds []int64 `json:"copiedIds"` + Status int32 `json:"status"` + ApplyPositionId int32 `json:"applyPositionId"` + ApplyDepartmentId int32 `json:"applyDepartmentId"` + SourceId int64 `json:"sourceId"` + CreatedTime string `json:"createdTime"` + CreatedBy string `json:"createdBy"` + UpdatedTime string `json:"updatedTime"` + UpdatedBy string `json:"updatedBy"` + StatusName string `json:"statusName"` + Weigh int32 `json:"weigh"` + RedNum int32 `json:"redNum"` +} + +type DataRep struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data []*Data `json:"data"` + Count int32 `json:"count"` +} + +//func PostQuery(c *gin.Context) { +// var postReq recruit.PostReq +// if err := c.ShouldBind(&postReq); err != nil { +// logger.Errorf("postReq ShouldBind err", err) +// service.ResponseMsg(c, e.SUCCESS, serializer.Response{ +// Data: nil, +// Msg: err.Error(), +// Status: e.Failed, +// }) +// return +// } +// rep, err := service.GrpcRecruitClientImpl.PostQuery(context.Background(), &postReq) +// if err != nil { +// service.ResponseMsg(c, e.SUCCESS, serializer.Response{ +// Msg: err.Error(), +// Status: e.Failed, +// }) +// return +// } +// if rep.Code == 1 { +// service.ResponseMsg(c, e.SUCCESS, serializer.Response{ +// Msg: rep.Msg, +// Status: e.Failed, +// }) +// return +// } +// +// //将返回的数据构造为符合规范的数据 +// dataRep := &DataRep{} +// +// if rep != nil { +// dataRep.Code = rep.Code +// dataRep.Msg = rep.Msg +// dataRep.Count = rep.Count +// if len(rep.Posts) != 0 { +// for _, v := range rep.Posts { +// data := &Data{ +// Id: v.Position.Id, +// Applier: v.Position.Applier, +// ApplierId: v.Position.ApplierId, +// ApplierPosition: v.Position.ApplierPosition, +// ApplierDepartment: v.Position.ApplierDepartment, +// Approver: v.Position.Approver, +// Copied: v.Position.Copied, +// Post: v.Position.Post, +// PostCapacity: v.Position.PostCapacity, +// PostRequirement: v.Position.PostRequirement, +// WantedDate: v.Position.WantedDate, +// ApproveCountLast: v.Position.ApproveCountLast, +// PostCountLast: v.Position.PostCountLast, +// ApproverIds: v.Position.ApproverIds, +// CopiedIds: v.Position.CopiedIds, +// Status: v.Position.Status, +// //SourceId: v.Position.SourceId, +// } +// dataRep.Data = append(dataRep.Data, data) +// } +// } +// } +// +// c.JSON(http.StatusOK, serializer.Response{ +// Status: e.Ok, +// Code: e.SUCCESS, +// Data: dataRep, +// }) +//} +// +//func ResumeQuery(c *gin.Context) { +// var postReq recruit.PostReq +// if err := c.ShouldBind(&postReq); err != nil { +// logger.Errorf("postReq ShouldBind err", err) +// service.ResponseMsg(c, e.SUCCESS, serializer.Response{ +// Data: nil, +// Msg: err.Error(), +// Status: e.Failed, +// }) +// return +// } +// rep, err := service.GrpcRecruitClientImpl.ResumeQuery(context.Background(), &postReq) +// if err != nil { +// service.ResponseMsg(c, e.SUCCESS, serializer.Response{ +// Msg: err.Error(), +// Status: e.Failed, +// }) +// return +// } +// if rep.Code == 1 { +// service.ResponseMsg(c, e.SUCCESS, serializer.Response{ +// Msg: rep.Msg, +// Status: e.Failed, +// }) +// return +// } +// c.JSON(http.StatusOK, serializer.Response{ +// Status: e.Ok, +// Code: e.SUCCESS, +// Data: rep, +// }) +//} + +type OfferQueryData struct { + Id int64 `json:"id"` + ResumeId int64 `json:"resumeId"` + Applier string `json:"applier"` + BelongDepartment string `json:"belongDepartment"` + Post string `json:"post"` + Approver string `json:"approver"` + Copied string `json:"copied"` + Name string `json:"name"` + Mobile string `json:"mobile"` + EmployeeType string `json:"employeeType"` + EmployeeNo string `json:"employeeNo"` + EntryTime string `json:"entryTime"` + InterviewFile string `json:"interviewFile"` + ApproveCountLast int32 `json:"approveCountLast"` + ApproverIds []int64 `json:"approverIds"` + CopiedIds []int64 `json:"copiedIds"` + ResumeFile string `json:"resumeFile"` + Status int32 `json:"status"` + StatusName string `json:"statusName"` +} + +type OfferQueryRep struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data []*OfferQueryData `json:"data"` + Count int32 `json:"count"` +} + +func OfferQuery(c *gin.Context) { + var offerReq recruit.OfferReq + if err := c.ShouldBind(&offerReq); err != nil { + logger.Errorf("offerReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.OfferQuery(context.Background(), &offerReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + + //将返回的数据构造为符合规范的数据 + dataRep := &OfferQueryRep{} + + if rep != nil { + dataRep.Code = rep.Code + dataRep.Msg = rep.Msg + dataRep.Count = rep.Count + if len(rep.Offers) != 0 { + for _, v := range rep.Offers { + data := &OfferQueryData{ + Id: v.Id, + ResumeId: v.ResumeId, + Applier: v.Applier, + BelongDepartment: v.BelongDepartment, + Post: v.Post, + Approver: v.Approver, + Copied: v.Copied, + Name: v.Name, + Mobile: v.Mobile, + EmployeeType: v.EmployeeType, + EmployeeNo: v.EmployeeNo, + EntryTime: v.EntryTime, + InterviewFile: v.InterviewFile, + ApproveCountLast: v.ApproveCountLast, + ApproverIds: v.ApproverIds, + CopiedIds: v.CopiedIds, + ResumeFile: v.ResumeFile, + Status: v.Status, + StatusName: v.StatusName, + } + dataRep.Data = append(dataRep.Data, data) + } + } + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: dataRep, + }) +} + +type DetailQueryData struct { + Id int64 `json:"id"` + Approver int64 `json:"approver"` + ApplyId int64 `json:"applyId"` + Status string `json:"status"` + QueryType string `json:"type"` + Result string `json:"result"` + RejectReason string `json:"employeeType"` +} + +type DetailQueryRep struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data []*DetailQueryData `json:"data"` + Count int32 `json:"count"` +} + +func DetailQuery(c *gin.Context) { + + var detailReq recruit.DetailReq + if err := c.ShouldBind(&detailReq); err != nil { + logger.Errorf("detailReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.DetailQuery(context.Background(), &detailReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + + //将返回的数据构造为符合规范的数据 + dataRep := &DetailQueryRep{} + + if rep != nil { + dataRep.Code = rep.Code + dataRep.Msg = rep.Msg + dataRep.Count = rep.Count + if len(rep.Details) != 0 { + for _, v := range rep.Details { + data := &DetailQueryData{ + Id: v.Id, + + Approver: v.Approver, + ApplyId: v.ApplyId, + Status: v.Status, + QueryType: v.Type, + Result: v.Result, + RejectReason: v.RejectReason, + } + dataRep.Data = append(dataRep.Data, data) + } + } + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: dataRep, + }) +} + +type CopiedQueryData struct { + Id int64 `json:"id"` + Copied int64 `json:"copied"` + ApplyId int64 `json:"applyId"` + Status string `json:"status"` + RepType string `json:"type"` +} + +type CopiedQueryRep struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data []*CopiedQueryData `json:"data"` + Count int32 `json:"count"` +} + +func CopiedQuery(c *gin.Context) { + var copiedReq recruit.CopiedReq + if err := c.ShouldBind(&copiedReq); err != nil { + logger.Errorf("copiedReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.CopiedQuery(context.Background(), &copiedReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + + //将返回的数据构造为符合规范的数据 + dataRep := &CopiedQueryRep{} + + if rep != nil { + dataRep.Code = rep.Code + dataRep.Msg = rep.Msg + dataRep.Count = rep.Count + if len(rep.Copies) != 0 { + for _, v := range rep.Copies { + data := &CopiedQueryData{ + Id: v.Id, + Copied: v.Copied, + ApplyId: v.ApplyId, + Status: v.Status, + RepType: v.Type, + } + dataRep.Data = append(dataRep.Data, data) + } + } + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: dataRep, + }) +} + +type ChangeRecordQueryData struct { + Id int64 `json:"id"` + ChangeId int64 `json:"changeId"` + ChangeTable string `json:"changeTable"` + ChangeField string `json:"changeField"` + Original string `json:"original"` + Present string `json:"present"` + Remark string `json:"remark"` + CreatedTime string `json:"createdTime"` + CreatedBy string `json:"createdBy"` + UpdatedTime string `json:"updatedTime"` + UpdatedBy string `json:"updatedBy"` +} + +type ChangeRecordQueryRep struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data []*ChangeRecordQueryData `json:"data"` +} + +func ChangeRecordQuery(c *gin.Context) { + var changeRecordReq recruit.ChangeRecordReq + if err := c.ShouldBind(&changeRecordReq); err != nil { + logger.Errorf("changeRecordReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.ChangeRecordQuery(context.Background(), &changeRecordReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + + //将返回的数据构造为符合规范的数据 + dataRep := &ChangeRecordQueryRep{} + + if rep != nil { + dataRep.Code = rep.Code + dataRep.Msg = rep.Msg + + if len(rep.Records) != 0 { + for _, v := range rep.Records { + data := &ChangeRecordQueryData{ + Id: v.Id, + ChangeId: v.ChangeId, + ChangeTable: v.ChangeTable, + ChangeField: v.ChangeField, + Original: v.Original, + Present: v.Present, + Remark: v.Remark, + CreatedTime: v.CreatedTime, + CreatedBy: v.CreatedBy, + UpdatedTime: v.UpdatedTime, + UpdatedBy: v.UpdatedBy, + } + dataRep.Data = append(dataRep.Data, data) + } + } + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: dataRep, + }) +} + +type StatusQueryData struct { + Type string `json:"type"` + State int32 `json:"state"` + Name string `json:"name"` + Alias string `json:"alias"` +} + +type StatusQueryRep struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data []*StatusQueryData `json:"data"` +} + +func DataInfo(c *gin.Context) { + + var req *recruit.UserDataReq + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserId = int32(userInfo.ID) + + rep, err := service.GrpcRecruitClientImpl.UserData(context.Background(), req) + fmt.Println(rep, err) + fmt.Println("1-------------", err) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep.Data, + }) +} + +func StatusQuery(c *gin.Context) { + var statusReq recruit.StatusReq + if err := c.ShouldBind(&statusReq); err != nil { + logger.Errorf("changeRecordReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.GrpcRecruitClientImpl.StatusQuery(context.Background(), &statusReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + + //将返回的数据构造为符合规范的数据 + dataRep := &StatusQueryRep{} + + if rep != nil { + dataRep.Code = rep.Code + dataRep.Msg = rep.Msg + + if len(rep.Status) != 0 { + for _, v := range rep.Status { + data := &StatusQueryData{ + Type: v.Type, + State: v.State, + Name: v.Name, + Alias: v.Alias, + } + dataRep.Data = append(dataRep.Data, data) + } + } + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func PositionQuery(c *gin.Context) { + var positionReq recruit.PositionReq + if err := c.ShouldBind(&positionReq); err != nil { + logger.Errorf("changeRecordReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //查看岗位功能增加个人查看自己的招聘员工的信息的接口 + if positionReq.ReqType == 2 { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + + //传递 UserID 就行 + req := &position.CreateResponse{ID: userInfo.ID} + puRes, err := service.PositionProvider.UserInfoV2(c, req) + if err != nil { + logger.Errorf("PositionProvider.UserInfoV2 err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //是否是部门领导 + isleader := isDepartmentLeader(puRes.DepPositions) + fmt.Println("是否是领导:", isleader) + if isleader { + //获取管理的部门id数组 + depIds := getControlDepId(puRes.DepPositions) + fmt.Println("部门------", depIds) + + //根据部门ids 获取 用户id + res, err := service.DepartmentProvider.UserIdsByFatherDepIds(c, &department.UserIdsByFatherDepIdRequest{ + FatherIds: depIds, + }) + if err != nil { + logger.Errorf("DepartmentProvider.UserIdsByFatherDepIds err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + fmt.Println("用户ids------", res.UserIds) + positionReq.ApplierIds = make([]int64, 0) + for _, v := range res.UserIds { + positionReq.ApplierIds = append(positionReq.ApplierIds, int64(v)) + } + } else { + positionReq.ApplierId = int64(userInfo.ID) + } + + } else { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: errors.New("未获取到用户信息").Error(), + Status: e.Failed, + }) + return + } + } + + rep, err := service.GrpcRecruitClientImpl.PositionQuery(context.Background(), &positionReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + + //将返回的数据构造为符合规范的数据 + dataRep := &DataRep{} + + if rep != nil { + dataRep.Code = rep.Code + dataRep.Msg = rep.Msg + dataRep.Count = rep.Count + + if len(rep.Positions) != 0 { + for _, v := range rep.Positions { + data := &Data{ + Id: v.Id, + Applier: v.Applier, + ApplierId: v.ApplierId, + ApplierPosition: v.ApplierPosition, + ApplierDepartment: v.ApplierDepartment, + Approver: v.Approver, + Copied: v.Copied, + Post: v.Post, + PostCapacity: v.PostCapacity, + PostRequirement: v.PostRequirement, + PostCountLast: v.PostCountLast, + WantedDate: v.WantedDate, + ApproveCountLast: v.ApproveCountLast, + CreatedTime: v.CreatedTime, + CreatedBy: v.CreatedBy, + UpdatedTime: v.UpdatedTime, + UpdatedBy: v.UpdatedBy, + Status: v.Status, + ApplyPositionId: v.ApplyPositionId, + ApplyDepartmentId: v.ApplyDepartmentId, + StatusName: v.StatusName, + Weigh: v.Weigh, + RedNum: v.RedNum, + } + dataRep.Data = append(dataRep.Data, data) + } + } + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: dataRep, + }) +} + +type ResumePageQueryData struct { + Id int64 `json:"id"` + PositionId int64 `json:"positionId"` + Name string `json:"name"` + Mobile string `json:"mobile"` + ResumeFile string `json:"resumeFile"` + InterviewTime string `json:"interviewTime"` + InterviewFile string `json:"interviewFile"` + EmployeeType string `json:"employeeType"` + EmployeeNo string `json:"employeeNo"` + EntryTime string `json:"entryTime"` + TerminateReason string `json:"terminateReason"` + CreatedTime string `json:"createdTime"` + CreatedBy string `json:"createdBy"` + UpdatedTime string `json:"updatedTime"` + UpdatedBy string `json:"updatedBy"` + Status int32 `json:"status"` + StatusName string `json:"statusName"` + Files []*recruit.FileProto `json:"files"` + ResumeFileName string `json:"resumeFileName"` + ApplyPositionId int32 `json:"applyPositionId"` + ApplyDepartmentId int32 `json:"applyDepartmentId"` +} + +type ResumePageQueryRep struct { + Code int32 `json:"code"` + Msg string `json:"msg"` + Data []*ResumePageQueryData `json:"data"` + Count int32 `json:"count"` +} + +func ResumePageQuery(c *gin.Context) { + var resumeReq recruit.ResumeReq + if err := c.ShouldBind(&resumeReq); err != nil { + logger.Errorf("resumeReq ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + //查看父级 岗位信息 + positionRes, err := service.GrpcRecruitClientImpl.PositionDetail(context.Background(), &recruit.PositionDetailReq{Id: int32(resumeReq.PositionId)}) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + rep, err := service.GrpcRecruitClientImpl.ResumePageQuery(context.Background(), &resumeReq) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + + //将返回的数据构造为符合规范的数据 + dataRep := &ResumePageQueryRep{} + + if rep != nil { + dataRep.Code = rep.Code + dataRep.Msg = rep.Msg + dataRep.Count = rep.Count + + if len(rep.Resumes) != 0 { + for _, v := range rep.Resumes { + fmt.Println(v.ResumeFileName) + fmt.Println(v.ResumeFile) + fmt.Println() + data := &ResumePageQueryData{ + Id: v.Id, + PositionId: v.PositionId, + Name: v.Name, + Mobile: v.Mobile, + ResumeFile: v.ResumeFile, + InterviewTime: v.InterviewTime, + InterviewFile: v.InterviewFile, + EmployeeType: v.EmployeeType, + EmployeeNo: v.EmployeeNo, + EntryTime: v.EntryTime, + TerminateReason: v.TerminateReason, + CreatedTime: v.CreatedTime, + CreatedBy: v.CreatedBy, + UpdatedTime: v.UpdatedTime, + UpdatedBy: v.UpdatedBy, + Status: v.Status, + StatusName: v.StatusName, + ResumeFileName: v.ResumeFileName, // 增加 + Files: v.Files, + } + + if positionRes != nil && positionRes.Position != nil { + data.ApplyPositionId = positionRes.Position.ApplyPositionId + data.ApplyDepartmentId = positionRes.Position.ApplyDepartmentId + } + + dataRep.Data = append(dataRep.Data, data) + } + } + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: dataRep, + }) +} + +// UploadMulti 批量上传 +func UploadMultiNew(c *gin.Context) { + form, err := c.MultipartForm() + source := c.PostForm("source") + mask := c.PostForm("mask") + mediaType := c.PostForm("type") + if mask == "" { + mask = "0" + } + if mediaType == "" || mediaType == "image" { + mediaType = "image" + } + if source == "" { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if err != nil { + logger.Errorf("UploadMulti err", err) + service.ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + Error: err, + }) + return + } + var data = make(map[string]string, len(form.File)) + wg.Add(len(form.File)) + var fileCh = make(chan string, len(form.File)) + for _, files := range form.File { + for _, file := range files { + go func() { + defer wg.Done() + var uploadInfo model.UploadInfo + disp := file.Header["Content-Disposition"] + if len(disp) > 0 { + dispKv := strings.Split(disp[0], ";") + for _, vv := range dispKv { + vv = strings.Trim(vv, " ") + if vv[:4] == "name" { + uploadInfo.FileKName = vv[strings.Index(vv, "\"")+1 : strings.LastIndex(vv, "\"")] + } + } + } + newFile, _ := file.Open() + defer newFile.Close() + uuids, _ := uuid.NewV4() + filePath := fmt.Sprintf("%s/%s/%s/%s%s", mediaType, mask, source, uuids, filepath.Ext(file.Filename)) + fileBytes, _ := ioutil.ReadAll(newFile) + if mediaType == "image" { + if err = service.BaiduCheckImage(fileBytes); err != nil { + uploadInfo.Err = err.Error() + return + } + } + var objectName string = fmt.Sprintf("%s/%s/%s", config.ConfigData.Oss.BaseDir, config.Env, filePath) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, fileBytes) + if err != nil { + logger.Errorf("quickBos err", err) + return + } + //uploadInfo.Url = fmt.Sprintf("%s%s%s/%s", config.BosHttp, config.BosBucketName, config.BosUrl, objectName) + uploadInfo.Url = fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + infoByte, _ := json.Marshal(uploadInfo) + fileCh <- string(infoByte) + }() + } + } + wg.Wait() + close(fileCh) + for v := range fileCh { + if v != "" { + var uploadInfo model.UploadInfo + if err = json.Unmarshal([]byte(v), &uploadInfo); err == nil { + data[uploadInfo.FileKName] = uploadInfo.Url + } + } + } + service.ResponseMsg(c, e.UpdatePasswordSuccess, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Status: e.Ok, + Data: data, + }) +} + +// UploadMulti 批量上传 +func UploadMulti(c *gin.Context) { + /*var form query.RecruitUploadReq + + // 注意:请确保请求头中的 content-type 为 multipart/form-data + if err := c.ShouldBind(&form); err != nil { + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + return + } + */ + var warningInfo string + form, err := c.MultipartForm() + if err != nil { + c.JSON(http.StatusBadRequest, gin.H{"error": err.Error()}) + return + } + + source := c.PostForm("source") + mask := c.PostForm("mask") + mediaType := c.PostForm("type") + if mask == "" { + mask = "0" + } + if mediaType == "" || mediaType == "image" { + mediaType = "image" + } + if source == "" { + service.ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + + files := form.File + docMap := make(map[string][]*query.DocFile, len(files)) + resumesMap := make(map[string]*query.Resume, len(files)) + + for key, fileHeaders := range files { + for _, fileHeader := range fileHeaders { + //有resumes 和file 是最外层 + if strings.Contains(key, "resumes") && strings.Contains(key, "[files]") { //附件 + + re := regexp.MustCompile(`resumes\[(\d+)\]\[files\]`) + // 查找子匹配的字符串 + matches := re.FindStringSubmatch(key) + + fmt.Println("2------------", matches) + fmt.Println("2------------", matches) + if len(matches) != 2 { + // 输出第一个子匹配(即中括号中的数字) + service.Error(c, e.Error, errors.New("files key"+key+"匹配失败")) + return + } + + docMap[matches[1]] = append(docMap[matches[1]], &query.DocFile{Obj: fileHeader}) + + } else if strings.Contains(key, "resumes") && strings.Contains(key, "]file") { //简历 + + re := regexp.MustCompile(`resumes\[(\d+)\]file`) + // 查找子匹配的字符串 + matches := re.FindStringSubmatch(key) + + if len(matches) != 2 { + // 输出第一个子匹配(即中括号中的数字) + service.Error(c, e.Error, errors.New("file key "+key+"匹配失败")) + return + } + + resumesMap[matches[1]] = &query.Resume{Obj: fileHeader} + + } else { + service.Error(c, e.Error, errors.New("key"+key+"匹配失败")) + return + } + } + } + + wgLen := 0 + for i, _ := range resumesMap { + wgLen++ + if _, ok := docMap[i]; ok { + resumesMap[i].Files = docMap[i] + wgLen += len(resumesMap[i].Files) + } + } + + /* + for i, f := range resumesMap { + fmt.Println("2----", i, f.File.Filename, f.Files) + } + */ + + //上传 + for i, f := range resumesMap { + fmt.Println("2----", i, f.Obj.Filename, f.Files) + } + + var tempWg sync.WaitGroup + + tempWg.Add(wgLen) + var fileCh = make(chan string, wgLen) + + for i, f := range resumesMap { + resumesMap[i].ResumeFileName = resumesMap[i].Obj.Filename + go uploadFile(resumesMap[i].Obj, mediaType, mask, source, resumesMap[i], nil, fileCh, &tempWg) + for i1, t := range f.Files { + resumesMap[i].Files[i1].FileName = t.Obj.Filename + go uploadFile(t.Obj, mediaType, mask, source, nil, resumesMap[i].Files[i1], fileCh, &tempWg) + } + } + + tempWg.Wait() + close(fileCh) + if len(fileCh) >= 1 { + for ch := range fileCh { + warningInfo += ch + "\n" + } + + /* + //删除图片,一荣俱荣,一损俱损 + for i, f := range resumesMap { + //del resumesMap[i].ResumeFile + for i1, t := range f.Files { + //del resumesMap[i].Files[i1].File + } + } + */ + + service.Error(c, e.Error, errors.New(warningInfo)) + return + } + + res := query.RecruitUploadRes{} + for i, _ := range resumesMap { + res.Resume = append(res.Resume, resumesMap[i]) + } + + service.Success(c, res) + return +} + +func uploadFile(file *multipart.FileHeader, mediaType, mask, source string, resume *query.Resume, docFile *query.DocFile, fileCh chan<- string, tempWg *sync.WaitGroup) { + var err error + defer tempWg.Done() + + netUrl, err := uploadFileCore(file, mediaType, mask, source) + if err != nil { + fileCh <- fmt.Sprintf("%s上传失败,提示:%s", file.Filename, err.Error()) + return + } + + if resume != nil { + resume.ResumeFile = netUrl + } + + if docFile != nil { + docFile.File = netUrl + } + + return +} + +func uploadFileCore(file *multipart.FileHeader, mediaType, mask, source string) (netUrl string, err error) { + var uploadInfo model.UploadInfo + disp := file.Header["Content-Disposition"] + + if len(disp) > 0 { + dispKv := strings.Split(disp[0], ";") + for _, vv := range dispKv { + vv = strings.Trim(vv, " ") + if vv[:4] == "name" { + uploadInfo.FileKName = vv[strings.Index(vv, "\"")+1 : strings.LastIndex(vv, "\"")] + } + } + } + newFile, _ := file.Open() + defer newFile.Close() + uuids, _ := uuid.NewV4() + filePath := fmt.Sprintf("%s/%s/%s/%s%s", mediaType, mask, source, uuids, filepath.Ext(file.Filename)) + fileBytes, _ := ioutil.ReadAll(newFile) + if mediaType == "image" { + if err = service.BaiduCheckImage(fileBytes); err != nil { + uploadInfo.Err = err.Error() + return + } + } + var objectName string = fmt.Sprintf("%s/%s/%s", config.ConfigData.Oss.BaseDir, config.Env, filePath) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, fileBytes) + if err != nil { + logger.Errorf("quickBos err", err) + return + } + //uploadInfo.Url = fmt.Sprintf("%s%s%s/%s", config.BosHttp, config.BosBucketName, config.BosUrl, objectName) + netUrl = fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + + return +} + +func isDepartmentLeader(list []*position.DepPosition) bool { + for _, v := range list { + if v.IsLeader == true { + return true + } + + } + + return false +} + +func getControlDepId(list []*position.DepPosition) []uint32 { + var controlDepIds []uint32 + for _, v := range list { + if v.IsLeader == true { + controlDepIds = append(controlDepIds, v.ID) + } + + } + + return controlDepIds +} + +func CheckResumeExist(c *gin.Context) { + req := new(recruit.CheckResumeExistReq) + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CheckResumeExist ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("当前语言:", c.GetHeader("Accept-Language")) + req.Language = c.GetHeader("Accept-Language") + rep, err := service.GrpcRecruitClientImpl.CheckResumeExist(context.Background(), req) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if rep.Code == 1 { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: rep.Msg, + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} diff --git a/pkg/service/send_app.go b/pkg/service/send_app.go new file mode 100644 index 0000000..715ef48 --- /dev/null +++ b/pkg/service/send_app.go @@ -0,0 +1,350 @@ +package service + +import ( + "bytes" + "context" + "encoding/json" + "fmt" + oaApi "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/google/uuid" + "math/rand" + "net/http" + "strings" + "time" +) + +// SendAppMessage 推送app消息 +func SendAppMessageOld(title string, content string, userId uint64, approvalId uint64, sendType string) (err error) { + + type SendReq struct { + RequestId string `json:"request_id"` + PushClientid []string `json:"push_clientid"` + Title string `json:"title"` + Content string `json:"content"` + ForceNotification bool `json:"force_notification"` + Channel struct { + VV int `json:"VV"` + HW string `json:"HW"` + } `json:"channel"` + Options struct { + HW struct { + Importance string `json:"/message/android/notification/importance"` + Category string `json:"/message/android/category"` + DefaultSound bool `json:"/message/android/notification/default_sound"` + ChannelId string `json:"/message/android/notification/channel_id"` + Sound string `json:"/message/android/notification/sound"` + } `json:"HW"` + HO struct { + Importance int `json:"/android/notification/importance"` + } `json:"HO"` + VV struct { + //Classification int `json:"/classification"` + NotifyType int `json:"/notifyType"` + Category string `json:"/category"` + } `json:"VV"` + XM struct { + ChannelId string `json:"/extra.channel_id"` + //SoundUri string `json:"/extra.sound_uri"` + } `json:"XM"` + OP struct { + ChannelId string `json:"/channel_id"` + Category string `json:"/category"` + //Style int `json:"/style"` + NotifyLevel uint64 `json:"/notify_level"` + } `json:"OP"` + } `json:"options"` + Payload struct { + ApprovalId uint64 `json:"approval_id"` + UserId uint64 `json:"user_id"` + SendType string `json:"send_type"` + } `json:"payload"` + } + // 生成10-32长度的随机数字字符串 + rand.Seed(time.Now().UnixNano()) + minLength := 10 + maxLength := 32 + length := minLength + rand.Intn(maxLength-minLength+1) + + randomString := generateRandomNumberString(length) + + //查询clientId + punchReminderList, err := GrpcOAImpl.PunchReminderList(context.Background(), &oaApi.PunchReminderReq{UIDs: []uint64{userId}, IsOnline: 1}) + if err != nil { + return err + } + fmt.Println("==================ClientID===========================") + fmt.Println(punchReminderList.Data) + if len(punchReminderList.Data) < 1 { + return nil + } + sendReq := &SendReq{} + sendReq.RequestId = randomString + sendReq.PushClientid = append(sendReq.PushClientid, punchReminderList.Data[0].ClientID) + sendReq.Title = title + sendReq.Content = content + sendReq.ForceNotification = true + //sendReq.Channel.VV = 1 + //sendReq.Channel.HW = "NORMAL" + sendReq.Options.HW.Importance = "NORMAL" + sendReq.Options.HW.Category = "WORK" + sendReq.Options.HW.ChannelId = "moceApproval" + sendReq.Options.XM.ChannelId = config.XMChannelId + sendReq.Options.VV.Category = "TODO" + sendReq.Options.VV.NotifyType = 4 + //sendReq.Options.OP.ChannelId = "oaApproval" + sendReq.Options.OP.Category = "TODO" + sendReq.Options.OP.NotifyLevel = 2 + if sendType == "approval" { + sendReq.Options.OP.ChannelId = "oaWaitApproval" + } else { + sendReq.Options.OP.ChannelId = "oaCopy" + } + sendReq.Payload.ApprovalId = approvalId + sendReq.Payload.UserId = userId + sendReq.Payload.SendType = sendType + + sendMarshal, err1 := json.Marshal(sendReq) + if err1 != nil { + return err1 + } + payload, err1 := json.Marshal(sendReq.Payload) + if err1 != nil { + return err1 + } + pushUser := make([]*oaApi.PushLogUser, 0) + user := &oaApi.PushLogUser{ + UserId: userId, + PushClientId: punchReminderList.Data[0].ClientID, + } + pushUser = append(pushUser, user) + logReq := &oaApi.CreatePushLogReq{ + Users: pushUser, + Title: title, + Content: content, + PayLoad: string(payload), + PushType: 11, + } + //sendUrl := "https://fc-mp-e2cc2e59-5c7c-4d4c-b82c-db039e17f0c1.next.bspapp.com/oaapppush" + sendUrl := fmt.Sprintf("https://fc-mp-e2cc2e59-5c7c-4d4c-b82c-db039e17f0c1.next.bspapp.com%v", config.Route) // 目标URL + //如果失败再重复请求两次 + for i := 0; i < config.SendTime; i++ { + + logReq.PushTime = time.Now().Format("2024-11-02 01:02:06") + response, err2 := http.Post(sendUrl, "application/json", bytes.NewBuffer(sendMarshal)) + logReq.Status = int32(response.StatusCode) + if err2 != nil { + //日志 + logReq.ErrMsg = err2.Error() + _, err3 := GrpcOAImpl.CreatePushLog(context.Background(), logReq) + if err3 != nil { + fmt.Println(err3) + fmt.Println("==================记录日志失败=====================") + } + + fmt.Println("=======================================发送失败==================================") + } else { + //日志 + _, err3 := GrpcOAImpl.CreatePushLog(context.Background(), logReq) + if err3 != nil { + fmt.Println(err3) + fmt.Println("==================记录日志失败=====================") + } + + fmt.Println("====================================发送成功=======================================") + break + } + } + + return nil +} + +func SendAppMessage(title string, content string, userId uint64, approvalId uint64, sendType string) (err error) { + + //查询clientId + punchReminderList, err := GrpcOAImpl.PunchReminderList(context.Background(), &oaApi.PunchReminderReq{UIDs: []uint64{userId}, IsOnline: 1, ForPush: 1}) + if err != nil { + return err + } + fmt.Println("==================ClientID===========================") + fmt.Println(punchReminderList.Data) + if len(punchReminderList.Data) < 1 { + return nil + } + + // 将数据编码为JSON + type Payload struct { + ApprovalId uint64 `json:"approval_id"` + UserId uint64 `json:"user_id"` + SendType string `json:"send_type"` + } + type HWNotification struct { + Importance string `json:"/message/android/notification/importance"` + Category string `json:"/message/android/category"` + //DefaultSound bool `json:"/message/android/notification/default_sound"` + ChannelId string `json:"/message/android/notification/channel_id"` + //Sound string `json:"/message/android/notification/sound"` + } + type VVNotification struct { + //Classification uint64 `json:"/classification"` + NotifyType uint64 `json:"/notifyType"` + Category string `json:"/category"` + } + type XMNotification struct { + ChannelId string `json:"/extra.channel_id"` + //SoundUri string `json:"/extra.sound_uri"` + } + type HONotification struct { + Importance string `json:"/android/notification/importance"` + } + type OPNotification struct { + ChannelId string `json:"/channel_id"` + Category string `json:"/category"` + NotifyLevel uint64 `json:"/notify_level"` + //Style uint64 `json:"style"` + } + type Options struct { + HW HWNotification `json:"HW"` + VV VVNotification `json:"VV"` + XM XMNotification `json:"XM"` + OP OPNotification `json:"OP"` + } + type RequestData struct { + PushClientId []string `json:"push_clientid"` + Title string `json:"title"` + Content string `json:"content"` + RequestId string `json:"request_id"` + ForceNotification bool `json:"force_notification"` + Payload Payload `json:"payload"` + Options Options `json:"options"` + } + + UUID := uuid.New().String() + data := &RequestData{ + Title: title, + Content: content, + RequestId: UUID, + ForceNotification: true, + Payload: Payload{ + ApprovalId: approvalId, + UserId: userId, + SendType: sendType, + }, + Options: Options{ + HW: HWNotification{ + Importance: "NORMAL", + Category: "WORK", + ChannelId: "moceApproval", + }, + VV: VVNotification{ + Category: "TODO", + NotifyType: 4, + }, + XM: XMNotification{ + ChannelId: config.XMChannelId, + //SoundUri: "android,resource://aobo,onbotics,accessibleCommunication/raw/callaudio", + }, + OP: OPNotification{ + //ChannelId: "oaAttendance", + Category: "TODO", + NotifyLevel: 2, + }, + }, + } + + data.PushClientId = make([]string, 0) + + data.PushClientId = append(data.PushClientId, punchReminderList.Data[0].ClientID) + + payload, err1 := json.Marshal(data.Payload) + if err1 != nil { + return err1 + } + + if sendType == "approval" { + data.Options.OP.ChannelId = "oaWaitApproval" + } else { + data.Options.OP.ChannelId = "oaCopy" + } + jsonData, err := json.Marshal(data) + if err != nil { + fmt.Printf("Error encoding JSON: %s\n", err) + return + } + // 创建POST请求 + //sendUrl := "https://fc-mp-e2cc2e59-5c7c-4d4c-b82c-db039e17f0c1.next.bspapp.com/oaapppush" + sendUrl := fmt.Sprintf("https://fc-mp-e2cc2e59-5c7c-4d4c-b82c-db039e17f0c1.next.bspapp.com%v", config.Route) // 目标URL + req, err := http.NewRequest("POST", sendUrl, bytes.NewBuffer(jsonData)) + if err != nil { + fmt.Printf("Error creating request: %s\n", err) + return + } + // 设置请求头 + req.Header.Set("Content-Type", "application/json") + // 发送请求 + client := &http.Client{} + + pushUser := make([]*oaApi.PushLogUser, 0) + user := &oaApi.PushLogUser{ + UserId: userId, + PushClientId: punchReminderList.Data[0].ClientID, + RequestInfo: string(jsonData), + } + pushUser = append(pushUser, user) + logReq := &oaApi.CreatePushLogReq{ + Uuid: UUID, + Users: pushUser, + Title: title, + Content: content, + PushTime: time.Now().Format("2006-01-02 15:04:05"), + PayLoad: string(payload), + PushType: 11, + } + + //如果失败再重复请求两次 + for i := 0; i < config.SendTime; i++ { + resp, doErr := client.Do(req) + if doErr != nil { + //日志 + logReq.ErrMsg = doErr.Error() + logReq.Status = http.StatusInternalServerError + fmt.Println("=======================================发送失败==================================") + } else { + logReq.Status = int32(resp.StatusCode) + _ = resp.Body.Close() // Ensure response body is closed + } + + _, err3 := GrpcOAImpl.CreatePushLog(context.Background(), logReq) + if err3 != nil { + fmt.Println(err3) + fmt.Println("==================记录日志失败=====================") + } + + if doErr != nil { + continue + } + + if resp.StatusCode == http.StatusOK { + fmt.Println("====================================发送成功=======================================") + return + } + } + + return nil +} + +// 生成随机数字字符串 +func generateRandomNumberString(n int) string { + const digits = "0123456789" + var sb strings.Builder + sb.Grow(n) + + for i := 0; i < n; i++ { + // 生成随机索引 + index := rand.Intn(len(digits)) + // 追加随机数字到字符串构建器 + sb.WriteByte(digits[index]) + } + + return sb.String() +} diff --git a/pkg/service/shop/brand.go b/pkg/service/shop/brand.go new file mode 100644 index 0000000..55b0637 --- /dev/null +++ b/pkg/service/shop/brand.go @@ -0,0 +1,183 @@ +package shop + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/shopbrand" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" +) + +func CreateBrand(c *gin.Context) { + var req shopbrand.CreateBrandreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("CreateBrand ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + if req.LanguageNum == 1 { + + //var accreq chain.CreateAccountRequest + //accres, err := service.ChainProvider.CreateAccount(context.Background(), &accreq) + //if err != nil { + // logger.Errorf("CreateAccount err", err) + // err = errors.New(e.GetMsg(e.ErrorCreateAccount)) + // return + //} + //req.Address = accres.Address + //req.Mnemonic = accres.Mnemonic + } + // + //req.Address = "Address" + //req.Mnemonic = "Mnemonic" + + resp, err := service.GrpcShopBrandImpl.CreateBrand(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]interface{}{ + "BrandUid": resp.BrandUid, + }) + return +} + +func BrandInfo(c *gin.Context) { + var req shopbrand.BrandInforeq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("BrandInfo ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcShopBrandImpl.BrandInfo(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func BrandUpdate(c *gin.Context) { + var req shopbrand.UpdateBrandreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("BrandUpdate ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcShopBrandImpl.UpdateBrand(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func BrandDel(c *gin.Context) { + var req shopbrand.DeleteBrandreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("BrandUpdate ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcShopBrandImpl.DeleteBrand(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func BrandList(c *gin.Context) { + var req shopbrand.BrandListreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("BrandList ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcShopBrandImpl.BrandList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func AllBrand(c *gin.Context) { + var req shopbrand.AllBrandreq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AllBrand ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcShopBrandImpl.AllBrand(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +func UpdateLanguageInfo(c *gin.Context) { + var req shopbrand.UpdateLanguageInfoReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateLanguageInfoReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcShopBrandImpl.UpdateLanguageInfo(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.Success(c, resp) + return +} + +func GetAllLanguageInfo(c *gin.Context) { + var req shopbrand.GetAllLanguageInfoReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("GetAllLanguageInfoReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcShopBrandImpl.GetAllLanguageInfo(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.Success(c, resp) + return +} diff --git a/pkg/service/shop/collections.go b/pkg/service/shop/collections.go new file mode 100644 index 0000000..01a5237 --- /dev/null +++ b/pkg/service/shop/collections.go @@ -0,0 +1,294 @@ +package shop + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/collection_record" + "github.com/fonchain_enterprise/fonchain-main/api/collections" + "github.com/fonchain_enterprise/fonchain-main/api/shopbrand" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/order" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/qr" + "github.com/gin-gonic/gin" + "github.com/skip2/go-qrcode" + "io" + "io/ioutil" + "net/http" + "os" +) + +func AddCollections(c *gin.Context) { + var req collections.CollectionsInfo + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AddCollections ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + fmt.Println("测试1") + + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("测试2") + + if len(req.CarouselFigureList) <= 0 || len(req.DetailImgList) <= 0 { + service.Error(c, e.Error, errors.New("新增藏品,主图和详情图不可为空,请您修改后保存")) + return + } + fmt.Println("测试3") + + //获取到语言信息 + getLanguageInfoByNumRep, err := service.GrpcShopBrandImpl.GetLanguageInfoByNum(context.Background(), &shopbrand.GetLanguageInfoByNumReq{LanguageNum: req.LanguageNum}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("测试4") + + req.Language = getLanguageInfoByNumRep.Language + fmt.Println("测试5") + resp, err := service.GrpcCollectionImpl.AddCollections(context.Background(), &req) + fmt.Println("测试6") + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + fmt.Println("测试7") + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func UpdateCollectionsProfile(c *gin.Context) { + var req collections.CollectionsInfo + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateCollectionsProfile ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + if req.IsDelete != 1 { // 删除藏品字段 + //获取到语言信息 + getLanguageInfoByNumRep, err := service.GrpcShopBrandImpl.GetLanguageInfoByNum(context.Background(), &shopbrand.GetLanguageInfoByNumReq{LanguageNum: req.LanguageNum}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + req.Language = getLanguageInfoByNumRep.Language + } + + resp, err := service.GrpcCollectionImpl.UpdateCollections(context.Background(), &req) + if err != nil { + //service.ResponseQuickMsg(c, e.Failed, resp.Msg, nil) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + go order.SynPayCollectionData(c, req.CollectionUID) + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func CollectionsList(c *gin.Context) { + var req collections.CollectionsListReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelCollections ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcCollectionImpl.CollectionsList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, resp.Msg, nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func RecordList(c *gin.Context) { + var req collection_record.OrderRecordList + if err := c.ShouldBind(&req); err != nil { + service.Error(c, e.Error, err) + return + } + + resp, err := service.GrpcCollectionRecordImpl.List(context.Background(), &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, resp) + return +} + +func CollectionsDetail(c *gin.Context) { + var req collections.CollectionsInfoReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelCollections ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcCollectionImpl.CollectionsDetail(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, resp.Msg, nil) + return + } + //var data any + //if len(resp.Data) > 0 { + // data = resp.Data[0] + //} + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +func Qr(c *gin.Context) { + var req collections.CollectionsInfoReq + + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelCollections ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + url := fmt.Sprintf("%s/#/pages/index/detail/detail?CollectionUID=%s", config.ShopHost, req.CollectionsUID) + s, _ := qr.CreateQrBase64(url, "") + + resMap := make(map[string]interface{}) + resMap["base"] = s + resMap["url"] = url + service.Success(c, resMap) + return +} + +func Extend(c *gin.Context) { + var req collections.CommodityPromotionReq + type ll struct { + Name string + Index string + Hash string + RealHash string + ShopHash string + Url string + } + var data []interface{} + var OrderColumnName = []string{"名称", "编号", "藏品hash", "编号hash", "真正的hash", "url"} + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("DelCollections ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if req.StartNum > req.EndNum { + c.String(http.StatusRequestedRangeNotSatisfiable, fmt.Sprintf("Incorrect request parameters")) + return + } + tempDir := "./temp/images" + err := os.MkdirAll(tempDir, os.ModePerm) + if err != nil { + c.String(http.StatusInternalServerError, fmt.Sprintf("Failed to create temporary directory: %v", err)) + return + } + defer os.RemoveAll(tempDir) // 在处理完成后删除临时目录及其中的文件 + resp, err := service.GrpcCollectionImpl.CommodityPromotion(context.Background(), &req) + str := "https://shop.szjixun.cn/#/pages/login/login?collectionsUID=%s&num=%d" + for _, r := range resp.Data { + for i := req.StartNum; i <= req.EndNum; i++ { + temp := ll{ + Name: r.Name, + Index: fmt.Sprintf("%d", i), + Hash: r.TransactionHash, + RealHash: fmt.Sprintf("%s_%d", r.TransactionHash, i), + Url: fmt.Sprintf(str, r.CollectionUid, i)} + temp.ShopHash = utils.SHA256V([]byte(temp.RealHash)) + + qrCode, err := qrcode.Encode(temp.Url, qrcode.Medium, 256) + if err != nil { + fmt.Printf("Failed to generate QR code: %v\n", err) + return + } + // 将二维码图片保存到文件 + err = ioutil.WriteFile("./temp/images/"+temp.Index+".png", qrCode, 0644) + if err != nil { + fmt.Printf("Failed to save QR code image: %v\n", err) + return + } + data = append(data, &temp) + } + } + content := utils.ToExcel(OrderColumnName, data, "struct") + file, err := os.Create("./temp/藏品哈希.xlsx") + if err != nil { + fmt.Println("Failed to create file:", err) + return + } + defer file.Close() + _, err = io.Copy(file, content) + if err != nil { + fmt.Println("Failed to save file:", err) + return + } + qr.ImagesOnZip(c, "./temp/") + +} + +func GetCollectionLanguageInfo(c *gin.Context) { + var req collections.GetCollectionLanguageInfoReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("GetCollectionLanguageInfoReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + getAllLanguageInforesp, err := service.GrpcShopBrandImpl.GetAllLanguageInfo(context.Background(), &shopbrand.GetAllLanguageInfoReq{}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + for _, s := range getAllLanguageInforesp.LanguageInfo { + languageInfo := &collections.LanguageInfo{ + LanguageNum: s.LanguageNum, + Language: s.Language, + } + + req.LanguageInfo = append(req.LanguageInfo, languageInfo) + } + + resp, err := service.GrpcCollectionImpl.GetCollectionLanguageInfo(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, resp.Msg, nil) + return + } + //var data any + //if len(resp.Data) > 0 { + // data = resp.Data[0] + //} + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} diff --git a/pkg/service/shop/receive.go b/pkg/service/shop/receive.go new file mode 100644 index 0000000..217168a --- /dev/null +++ b/pkg/service/shop/receive.go @@ -0,0 +1,488 @@ +package shop + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/constant" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/collections" + "github.com/fonchain_enterprise/fonchain-main/api/order" + frontSeries "github.com/fonchain_enterprise/fonchain-main/api/series" + "github.com/fonchain_enterprise/fonchain-main/api/shopbrand" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/dingding" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "net/url" + "strconv" +) + +type CollectionsSt struct { + ArtworkName string + ArtworkNum string + ArtworkLevel string + ArtworkImg string + ArtworkType uint64 + ArtworkSize float64 + ArtworkHash string + ArtistName string + ArtistTel string + Price string + SeriesUid string + BrandUID string + BrandName string + BrandAddress string + BrandMem string + BrandNumber string + CoverImg string + SeriesName string + SaleType string +} + +//ExamAutoWipedOutPosition 持岗证图片 +func ExamAutoWipedOutPosition(c *gin.Context, phone string) (string, error) { + err := registerShop(c, phone) + + if err != nil { + dingding.Send("年会-持岗证 用户注册失败 请关注年会产品领取失败(持岗证),提示:"+err.Error()+"\n "+ + "重新提交请点击手机号是"+phone+"\n"+ + "点击重新发放"+config.ApiHost+"/shop/test/push/wiped?telNum="+phone+ + "", err) + + } + + _, image, err := autoWipedOutPosition(c, phone) + if err != nil { + dingding.Send("年会-持岗证 请关注年会产品领取失败(持岗证),提示:"+err.Error()+"\n "+ + "重新提交请点击手机号是"+phone+"\n"+ + "点击重新发放"+config.ApiHost+"/shop/test/push/wiped?telNum="+phone+ + "", err) + } + + return image, err +} + +//ExamAutoWipedOut 年货 二维码 +func ExamAutoWipedOut(c *gin.Context, phone string) (string, error) { + + err := registerShop(c, phone) + + if err != nil { + dingding.Send("年会-持岗证 用户注册失败 请关注年会产品领取失败(持岗证),提示:"+err.Error()+"\n "+ + "重新提交请点击手机号是"+phone+"\n"+ + "点击重新发放"+config.ApiHost+"/shop/test/push/wiped?telNum="+phone+ + "", err) + } + + id, err := autoWipedOut(c, phone) + if err != nil { + dingding.Send("年会-年货 请关注年会产品领取失败(核销产品),提示:"+err.Error()+"\n "+ + "重新提交请点击手机号是"+phone+"\n"+ + "点击重新发放"+config.ApiHost+"/shop/test/push/position?telNum="+phone+ + "", err) + } + + return fmt.Sprintf("%s%s", e.CreateQrUrl, url.QueryEscape(fmt.Sprintf("%s%d", config.YearGiftCheckHost, id))), err +} + +func AutoWipedOutPosition(c *gin.Context, phone string) (string, error) { + + _ = registerShop(c, phone) + _, image, err := autoWipedOutPosition(c, phone) + if err != nil { + dingding.Send("年会-持岗证 请关注年会产品领取失败(持岗证),提示:"+err.Error()+"\n "+ + "重新提交请点击手机号是"+phone+"\n"+ + "点击重新发放"+config.ApiHost+"/shop/test/push/wiped?telNum="+phone+ + "", err) + } + + return image, err +} + +func AutoWipedOut(c *gin.Context, phone string) (string, error) { + e1 := registerShop(c, phone) + fmt.Println(e1) + id, err := autoWipedOut(c, phone) + if err != nil { + dingding.Send("年会-年货 请关注年会产品领取失败(核销产品),提示:"+err.Error()+"\n "+ + "重新提交请点击手机号是"+phone+"\n"+ + "点击重新发放"+config.ApiHost+"/shop/test/push/position?telNum="+phone+ + "", err) + } + + return fmt.Sprintf("%s%s", e.CreateQrUrl, url.QueryEscape(fmt.Sprintf("%s%d", config.YearGiftCheckHost, id))), err + +} + +//PushAutoPosition 自动领取持岗证 +func PushAutoPosition(c *gin.Context) { + + telNum := c.Query("telNum") + fmt.Println("temNum", telNum) + + nn := c.Query("nn") + if nn != "qaz123" { + service.Error(c, e.Error, errors.New("没有密钥")) + return + } + + id, _, err := autoWipedOutPosition(c, telNum) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, id) + + return +} + +func TTest(c *gin.Context) { + service.Success(c, nil) + return +} + +//PushAutoWipedOut 收年货 +func PushAutoWipedOut(c *gin.Context) { + + telNum := c.Query("telNum") + nn := c.Query("nn") + if nn != "qaz123" { + service.Error(c, e.Error, errors.New("没有密钥")) + return + } + + fmt.Println("temNum", telNum) + id, err := autoWipedOut(c, telNum) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, id) + return +} + +//MethodAutoPosition 自动领取持岗证 +func MethodAutoPosition(c *gin.Context) { + var req account.AccountInfo + if err := c.ShouldBind(&req); err != nil { + service.Error(c, e.Error, err) + return + } + + id, err := AutoWipedOutPosition(c, req.TelNum) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, id) + + return +} + +//MethodAutoWipedOut 收年货 +func MethodAutoWipedOut(c *gin.Context) { + var req account.AccountInfo + if err := c.ShouldBind(&req); err != nil { + service.Error(c, e.Error, err) + return + } + + id, err := AutoWipedOut(c, req.TelNum) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, id) + return +} + +//AutoWipedOutPosition 自动领取持岗证 +func autoWipedOutPosition(c *gin.Context, phone string) (uint64, string, error) { + userRes, err := service.AccountProvider.UserByTel(c, &account.UserByTelRequest{Tel: phone, Domain: e.Domain_Mall}) + if err != nil { + return 0, "", err + } + + config, err := service.GrpcCollectionImpl.GetCollectionConfig(c, &collections.CommonReq{}) + if err != nil { + return 0, "", err + } + + res, st, err := BuyShopTemp(c, userRes.Info, config.PositionCollectionUID) //持岗证写死 + + if err != nil { + return 0, "", err + } + + return res.ID, st.ArtworkImg, nil +} + +//AutoWipedOut 收年货 +func autoWipedOut(c *gin.Context, phone string) (uint64, error) { + + userRes, err := service.AccountProvider.UserByTel(c, &account.UserByTelRequest{Domain: e.Domain_Mall, Tel: phone}) + if err != nil { + return 0, err + } + + config, err := service.GrpcCollectionImpl.GetCollectionConfig(c, &collections.CommonReq{}) + if err != nil { + return 0, err + } + + res, _, err := BuyShopTemp(c, userRes.Info, config.WipedOutCollectionUID) + + if err != nil { + return 0, err + } + + //推送任务 + //cache.RedisClient.LPush(cache.GetListPushKey(), res.ID) + //f, _ := strconv.ParseFloat(st.Price, 32) + + /* + _, err = service.OrderProvider.SetPayCheck(c, &order.SetPayCheckRequest{ID: res.ID}) + + if err != nil { + return 0, err + } + + */ + + return res.ID, nil +} + +// BuyShopTemp 压测temp +func BuyShopTemp(c *gin.Context, userInfo *account.AccountInfo, collectionsUID string) (*order.CommonCreateResponse, *CollectionsSt, error) { + + fmt.Println("获取缓存之前") + //如果没有缓存 + st, err := getRedirectDrawFromDetail(c, userInfo.Domain, collectionsUID) //通过详情页领取,不扣库存 + + if err != nil { + return nil, st, err + } + + payCreateReq := order.PayCreateRequest{ + Domain: e.Domain_Mall, + BuyerName: userInfo.NickName, + BuyerId: userInfo.ID, + BuyerTel: userInfo.TelNum, + BuyerIdNum: userInfo.IDNum, + BuyerAddress: userInfo.Account, + ArtworkName: st.ArtworkName, + ArtworkUid: collectionsUID, + ArtworkLevel: st.ArtworkLevel, + ArtworkNum: st.ArtworkNum, + ArtworkImg: st.ArtworkImg, + CoverImg: st.CoverImg, + ArtworkType: st.ArtworkType, + ArtworkSize: fmt.Sprintf("%.2f", st.ArtworkSize), + ArtworkHash: st.ArtworkHash, + ArtistName: st.ArtistName, + ArtistTel: st.ArtistTel, + SeriesUid: st.SeriesUid, + ArtworkId: collectionsUID, + BrandUid: st.BrandUID, + BrandName: st.BrandName, + BrandAddress: st.BrandAddress, + BrandMem: st.BrandMem, + BrandNumber: st.BrandNumber, + Price: st.Price, + SellPrice: st.Price, + SaleType: st.SaleType, + IsCheck: 0, + PayInfo: "", + } + + payCreateReq.PayType = 9 + payCreateReq.PayMethodType = "recshop" + payCreateReq.PayTypeName = "领取" + + payCreateReq.UserAirdropUuid = collectionsUID + + //创建订 + res, err := service.OrderProvider.PayCreate(c, &payCreateReq) + if err != nil { + return nil, st, err + } + + return res, st, nil +} + +// redirectDrawFromDetail 从详情里面直接领取 +func getRedirectDrawFromDetail(c *gin.Context, domain, CollectionsUID string) (*CollectionsSt, error) { + + seriesName := "" + + req := collections.CollectionsInfoReq{ + CollectionsUID: CollectionsUID, + Language: c.GetString("lang"), + } + + atta := make(map[string]interface{}) + atta["lang"], _ = c.Get("lang") + reqContext := context.WithValue(c, constant.DubboCtxKey("attachment"), atta) + + resp, err := service.GrpcCollectionImpl.CollectionsDetail(reqContext, &req) + + if err != nil { + dingding.Send("购买查找藏品错误:,info:"+CollectionsUID, err) + return nil, err + } + + //获取brand的信息 + if resp.Data != nil { + + data := resp.Data + + //1- 获取品牌方信息 + brandReq := &shopbrand.BrandInforeq{ + BrandUid: data.BrandUID, + } + + brandInfo, err := service.GrpcShopBrandImpl.BrandInfo(c, brandReq) + + if err != nil { + dingding.Send("购买查找品牌方区块地址和助记词错误:,BrandUID:"+data.BrandUID+",info:"+data.String(), err) + return nil, err + } + + if brandInfo == nil { + dingding.Send("购买查找品牌方=nil:BrandUID:"+data.BrandUID+",info:"+data.String(), err) + return nil, errors.New("not found") + } + + if brandInfo.Address == "" || brandInfo.Mnemonic == "" { + dingding.Send("购买查找品牌方区块地址和助记词为空:BrandUID:"+data.BrandUID+",info:"+data.String(), err) + return nil, errors.New("brandInfo wrong,mnmonic wrong") + } + + seriesInfo, err := GetSeriesDetail(c, resp.Data.SeriesUID) //系列 + fmt.Println("获取藏品"+ + "-----", seriesInfo, err) + + if seriesInfo != nil { + langCode := c.GetString("lang") + if langCode == "" { + langCode = "zh-CN" + } + + if len(seriesInfo.SeriesLang) > 0 { + for _, tt := range seriesInfo.SeriesLang { + if tt.Language == langCode { + seriesName = tt.SeriesName + } + } + } + } + + size, _ := strconv.ParseFloat(data.Size, 64) + typeInt, _ := strconv.ParseInt(data.CollectionType, 10, 64) + + //获取艺术品的hash + nftQuery := &collections.CommonReq{ + CollectionsUID: CollectionsUID, + } + + fmt.Println("5-获取hash", nftQuery) + //1-获取百度链hash + r, err := service.GrpcCollectionImpl.QueryCollectionsChain(c, nftQuery) + fmt.Println("6-获取hash", r.Data, err) + + if err != nil { + dingding.Send("创建订单获取NFT hash错误:,info:"+data.String(), err) + return nil, err + } + + if r == nil || r.Data == nil || r.Data.TransactionHash == "" { //获取商品hash + dingding.Send("创建订单获取NFT hash=nil:,info:"+data.String(), err) + return nil, errors.New("hash not found") + } + + artworkHash := r.Data.TransactionHash + + st := &CollectionsSt{ + ArtworkName: data.Name, + ArtworkImg: data.CollectionImg, + ArtworkType: uint64(typeInt), + ArtworkSize: size, + ArtworkHash: artworkHash, + Price: fmt.Sprintf("%.2f", data.Price), + SeriesUid: data.SeriesUID, + BrandUID: data.BrandUID, + BrandName: brandInfo.BrandName, + BrandAddress: brandInfo.Address, + BrandMem: brandInfo.Mnemonic, + BrandNumber: brandInfo.BrandNumber, + ArtworkLevel: data.Level, + CoverImg: data.CoverImg, + SeriesName: seriesName, + SaleType: data.SaleType, + } + + fmt.Println("生成订单转化价格:", data.Price, "---", fmt.Sprintf("%.2f", data.Price)) + + return st, nil + } + + return nil, errors.New("no found") +} + +func GetSeriesDetail(c context.Context, seriesUid string) (*frontSeries.SeriesDetailResp, error) { + req := frontSeries.SeriesDetailReq{ + SeriesUuid: seriesUid, + } + + resp, err := service.GrpcBackendSeriesImpl.SeriesDetail(c, &req) + if err != nil { + return nil, err + } + + return resp, nil +} + +func registerShop(c *gin.Context, telNum string) error { + userByTelReq := account.UserByTelRequest{ + Tel: telNum, + Domain: e.Domain_Mall, + } + + //查询是否有该账号 + userByTelRes, err := service.AccountProvider.UserByTel(c, &userByTelReq) + if err != nil { + return err + } + + if userByTelRes.IsExist == true { + return nil + } + + tempNick := "staff" + if len(telNum) > 4 { + tempNick = telNum[(len(telNum) - 4):] + } + + //账号服务 + registerRequest := account.RegistRequest{ + NickName: tempNick, + TelNum: telNum, + Password: tempNick + "fontree", + Extend: &account.Extend{}, + Domain: e.Domain_Mall, + } + + _, err = service.AccountProvider.Register(c, ®isterRequest) + if err != nil { + return err + } + + return nil + +} diff --git a/pkg/service/shop/series.go b/pkg/service/shop/series.go new file mode 100644 index 0000000..5d09635 --- /dev/null +++ b/pkg/service/shop/series.go @@ -0,0 +1,265 @@ +package shop + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + backendSeries "github.com/fonchain_enterprise/fonchain-main/api/series" + "github.com/fonchain_enterprise/fonchain-main/api/shopbrand" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/order" + "github.com/gin-gonic/gin" +) + +func SaveSeries(c *gin.Context) { + var req backendSeries.SaveSeriesReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("Create ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + //获取到语言信息 + getLanguageInfoByNumRep, err := service.GrpcShopBrandImpl.GetLanguageInfoByNum(context.Background(), &shopbrand.GetLanguageInfoByNumReq{LanguageNum: req.LanguageNum}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + req.Language = getLanguageInfoByNumRep.Language + + if req.LanguageNum == 1 { + // 查看品牌uid是否存在 + brandInfoResp, err := service.GrpcShopBrandImpl.BrandInfo(context.Background(), &shopbrand.BrandInforeq{BrandUid: req.BrandId}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if brandInfoResp == nil { + service.ResponseQuickMsg(c, e.Failed, "品牌方不存在", nil) + return + } + } + + //atta := make(map[string]interface{}) + //atta["string-value"] = "string-demo" + //atta["int-value"] = 1231242 + //reqContext := context.WithValue(context.Background(), constant.DubboCtxKey("attachment"), atta) + resp, err := service.GrpcBackendSeriesImpl.SaveSeries(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]interface{}{ + "Uuid": resp.Uuid, + }) + return +} + +func SeriesDetail(c *gin.Context) { + var req backendSeries.SeriesDetailReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SeriesDetailReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcBackendSeriesImpl.SeriesDetail(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func UpdateSeriesLang(c *gin.Context) { + var req backendSeries.UpdateSeriesLangReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("UpdateSeriesLang ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcBackendSeriesImpl.UpdateSeriesLang(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func AutoShelf(c *gin.Context) { + var req backendSeries.AutoShelfReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AutoShelf ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcBackendSeriesImpl.AutoShelf(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + order.SynPaySeriesData(c, req.SeriesUuid) + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func HandShelf(c *gin.Context) { + var req backendSeries.HandShelfReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AutoShelf ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcBackendSeriesImpl.HandShelf(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + order.SynPaySeriesData(c, req.SeriesUuid) + /*if resp.BrandUuid != "" && resp.SeriesUuid != "" { + // 请求brand 获取hash + var brandReq shopbrand.BrandListreq + brandReq.BrandUid = append(brandReq.BrandUid, resp.BrandUuid) + brandResp, err := service.GrpcShopBrandImpl.BrandList(context.Background(), &brandReq) + if err != nil { + logger.Errorf("HandShelf BrandList err", err) + err = errors.New(e.GetMsg(e.ErrorBrandList)) + return + } + var ntfReq collections.StoreNFTList + var ntfInfo collections.StoreNFTInfo + ntfInfo.SeriesUID = resp.SeriesUuid + ntfInfo.BrandHash = brandResp.Data[0].Address + ntfReq.NFT = append(ntfReq.NFT, &ntfInfo) + ntfResp, err := service.GrpcCollectionImpl.StoreNFT(context.Background(), &ntfReq) + logger.Info("ntfResp", ntfResp, "ntfReq", ntfReq.NFT) + if err != nil { + logger.Errorf("HandShelf StoreNFT err", err) + err = errors.New(e.GetMsg(e.ErrorStoreNTF)) + return + } + if len(ntfResp.SeriesUID) == 0 { + // 通知成功 + var seriesReq backendSeries.UpdateSeriesChainReq + seriesReq.SeriesUuid = resp.SeriesUuid + seriesReq.ChainStatus = 1 + _, _ = service.GrpcBackendSeriesImpl.UpdateSeriesChain(context.Background(), &seriesReq) + } + }*/ + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func SeriesList(c *gin.Context) { + var req backendSeries.SeriesListReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("AutoShelf ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if req.Language == "" { + req.Language = model.LangChinese + } + + getAllLanguageInfoResp, err := service.GrpcShopBrandImpl.GetAllLanguageInfo(context.Background(), &shopbrand.GetAllLanguageInfoReq{}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, l := range getAllLanguageInfoResp.LanguageInfo { + req.LanguageNum = append(req.LanguageNum, l.LanguageNum) + } + + resp, err := service.GrpcBackendSeriesImpl.SeriesList(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func SeriesDel(c *gin.Context) { + var req backendSeries.SeriesDelReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("SeriesDel ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := service.GrpcBackendSeriesImpl.SeriesDel(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func GetSeriesLanguageInfo(c *gin.Context) { + var req backendSeries.GetSeriesLanguageInfoReq + if err := c.ShouldBind(&req); err != nil { + logger.Errorf("GetAllLanguageInfoReq ShouldBind err", err) + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + getAllLanguageInforesp, err := service.GrpcShopBrandImpl.GetAllLanguageInfo(context.Background(), &shopbrand.GetAllLanguageInfoReq{}) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + + for _, s := range getAllLanguageInforesp.LanguageInfo { + languageInfo := &backendSeries.LanguageInfo{ + LanguageNum: s.LanguageNum, + Language: s.Language, + } + + req.LanguageInfo = append(req.LanguageInfo, languageInfo) + } + + resp, err := service.GrpcBackendSeriesImpl.GetSeriesLanguageInfo(context.Background(), &req) + if err != nil { + service.ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + service.ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} diff --git a/pkg/service/shopbrand.go b/pkg/service/shopbrand.go new file mode 100644 index 0000000..e92e789 --- /dev/null +++ b/pkg/service/shopbrand.go @@ -0,0 +1,143 @@ +package service + +import ( + "context" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/api/shopbrand" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/gin-gonic/gin" +) + +func CreateBrand(c *gin.Context) { + //声明一个变量 + var CreateBrandService shopbrand.CreateBrandreq + if err := c.ShouldBind(&CreateBrandService); err != nil { + logger.Errorf("CreateBrand ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcShopBrandImpl.CreateBrand(context.Background(), &CreateBrandService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.UpdatePasswordSuccess, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func BrandList(c *gin.Context) { + //声明一个对象 + var BrandListService shopbrand.BrandListreq + + if err := c.ShouldBind(&BrandListService); err != nil { + logger.Errorf("BrandList ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcShopBrandImpl.BrandList(context.Background(), &BrandListService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func BrandInfo(c *gin.Context) { + //声明一个对象 + var BrandInfoService shopbrand.BrandInforeq + + if err := c.ShouldBind(&BrandInfoService); err != nil { + logger.Errorf("BrandInfo ShouldBing err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + resp, err := GrpcShopBrandImpl.BrandInfo(context.Background(), &BrandInfoService) + if err != nil { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + }) + return + } + ResponseMsg(c, e.UpdatePasswordSuccess, serializer.Response{ + Msg: resp.Msg, + Code: e.Ok, + Data: resp, + }) +} + +func DeleteBrand(c *gin.Context) { + //声明一个变量 + var DeleteBrandService shopbrand.DeleteBrandreq + if err := c.ShouldBind(&DeleteBrandService); err != nil { + logger.Errorf("DeleteBrand ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcShopBrandImpl.DeleteBrand(context.Background(), &DeleteBrandService) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) + return +} + +func UpdateBrand(c *gin.Context) { + //声明一个变量 + var UpdateBrandService shopbrand.UpdateBrandreq + if err := c.ShouldBind(&UpdateBrandService); err != nil { + logger.Errorf("UpdateBrand ShouldBind err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + resp, err := GrpcShopBrandImpl.UpdateBrand(context.Background(), &UpdateBrandService) + if err != nil { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: resp.Msg, + Status: e.Ok, + }) + return +} diff --git a/pkg/service/show_invoice.go b/pkg/service/show_invoice.go new file mode 100644 index 0000000..48f5c6c --- /dev/null +++ b/pkg/service/show_invoice.go @@ -0,0 +1,436 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_third_party" + "github.com/fonchain_enterprise/fonchain-main/api/paybill" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/gin-gonic/gin" +) + +// CreateInvoice 上传单据 +func CreateInvoice(c *gin.Context) { + req := new(artShow.Invoice) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("CreateInvoice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + if req.ArtworkPrice == "" { + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: e.ErrorShowInvoiceMiss, + Status: e.Failed, + }) + return + } + + userInfo := login.GetUserInfoFromC(c) + + req.UpOperator = userInfo.NickName + req.OperationTime = stime.Currentime(stime.Format_Normal_YMDhms) + + createInvoiceRes, createInvoiceResErr := GrpcArtShowImpl.CreateInvoice(c, req) + if createInvoiceResErr != nil { + ResponseMsg(c, e.Error, serializer.Response{ + Msg: createInvoiceRes.Msg, + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +// ShowInvoice 详情 +func ShowInvoice(c *gin.Context) { + req := new(artShow.InvoiceDetailReq) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("InvoiceDetailReq ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + showInvoiceRes, showInvoiceResErr := GrpcArtShowImpl.QueryInvoice(c, req) + if showInvoiceResErr != nil { + ResponseMsg(c, e.Error, serializer.Response{ + Msg: showInvoiceResErr.Error(), + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: showInvoiceRes, + Status: e.Ok, + }) +} + +// ShowInvoiceList 列表 +func ShowInvoiceList(c *gin.Context) { + req := new(artShow.InvoiceListReq) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("InvoiceListReq ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + invoiceListRes, invoiceListResErr := GrpcArtShowImpl.QueryInvoiceList(c, req) + if invoiceListResErr != nil { + ResponseMsg(c, e.Error, serializer.Response{ + Msg: invoiceListResErr.Error(), + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: invoiceListRes, + Status: e.Ok, + }) +} + +// UpdateInvoicePrintNum 更新单据打印次数 +func UpdateInvoicePrintNum(c *gin.Context) { + req := new(artShow.UpdatePrintNum) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("InvoiceListReq ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + updateInvoicePrintNumRes, updateInvoicePrintNumErr := GrpcArtShowImpl.UpdateInvoicePrintNum(c, req) + if updateInvoicePrintNumErr != nil { + ResponseMsg(c, e.Error, serializer.Response{ + Msg: updateInvoicePrintNumRes.Msg, + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +// UpdateShowPrintNum 更新画展包打印次数 +func UpdateShowPrintNum(c *gin.Context) { + req := new(artShow.UpdatePrintNum) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("InvoiceListReq ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + updateInvoicePrintNumRes, updateInvoicePrintNumErr := GrpcArtShowImpl.UpdateShowPrintNum(c, req) + if updateInvoicePrintNumErr != nil { + ResponseMsg(c, e.Error, serializer.Response{ + Msg: updateInvoicePrintNumRes.Msg, + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} + +// QueryPrice 查询价格 +func QueryPrice(c *gin.Context) { + req := new(model.QueryInvoiceInfo) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("QueryPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + artworkDataReq.ArtShowIds = append(artworkDataReq.ArtShowIds, req.ShowUID) + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + // 获取 画作价格信息 + artworkPriceReq := artShow.ShowDetailReq{} + artworkPriceReq.ShowUID = append(artworkPriceReq.ShowUID, req.ShowUID) + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = append(showDetailReq.ShowUID, req.ShowUID) + artShowInfo, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artShowMap := make(map[string]*artShow.ShowDetail, 0) + for i := 0; i < len(artShowInfo.Data); i++ { + if artShowInfo.Data[i].Price == 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorNoPrice, + Status: e.Failed, + }) + return + } + artShowMap[artShowInfo.Data[i].ShowUID] = artShowInfo.Data[i] + } + + // 获取画家 信息 + artistInfoReq := new(artist.ArtistDetailDataReq) + artistInfoReq.Uids = append(artistInfoReq.Uids, artShowInfo.Data[0].ArtistUID) + artistInfo, err := GrpcArtistImpl.ArtistDetailData(context.Background(), artistInfoReq) + if err != nil { + logger.Errorf("ArtistDetailData query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + artistMap := make(map[string]*artist.ArtistDetailDataResp_Info, 0) + for i := 0; i < len(artistInfo.Data); i++ { + if artistMap[artistInfo.Data[i].ProfileInfo.Name] == nil { + artistMap[artistInfo.Data[i].ProfileInfo.Name] = artistInfo.Data[i] + } + } + + priceInfo := serializer.BuildInvoiceInfo(artworkPriceList.Data, artworkData, artistMap) + + priceInfo.Address = artShowMap[req.ShowUID].Address + priceInfo.ShowTime = artShowMap[req.ShowUID].ShowTime + + if artistMap[artShowInfo.Data[0].ArtistName] != nil { + priceInfo.BankNo = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankNum + priceInfo.Bank = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankName + priceInfo.BankCode = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankCode + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: priceInfo, + Status: e.Ok, + }) +} + +func QueryPrice_withoutCopyright(c *gin.Context) { + req := new(model.QueryInvoiceInfo) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("QueryPrice ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 组装 获取 画作 基础信息参数 + artworkDataReq := artwork_third_party.AwDataByShowIdRequest{} + artworkDataReq.ArtShowIds = append(artworkDataReq.ArtShowIds, req.ShowUID) + // 获取 画作 基础信息 + resp, err := GrpcArtworkThirdPartyImpl.AwDataByShowId(context.Background(), &artworkDataReq) + if err != nil { + logger.Errorf("AwDataByShowId query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + if len(resp.Data) < 1 { + logger.Errorf("ExportShowPrice query params err :", "画作信息为空") + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: "画作信息为空", + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artworkData := make(map[string]*artwork_third_party.AwDataByShowIdResponse_Info, 0) + for i := 0; i < len(resp.Data); i++ { + artworkData[resp.Data[i].ArtworkUuid] = resp.Data[i] + } + + // 获取 画作价格信息 + artworkPriceList := new(artShow.ArtworkPriceListRes) + // 获取 画作价格信息 + artworkPriceReq := artShow.ShowDetailReq{} + artworkPriceReq.ShowUID = append(artworkPriceReq.ShowUID, req.ShowUID) + artworkPriceList, err = GrpcArtShowImpl.ArtworkPriceList(context.Background(), &artworkPriceReq) + if err != nil { + logger.Errorf("ArtworkPriceList query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 获取 画展包信息 + showDetailReq := new(artShow.ShowDetailReq) + showDetailReq.ShowUID = append(showDetailReq.ShowUID, req.ShowUID) + artShowInfo, err := GrpcArtShowImpl.ShowDetail(context.Background(), showDetailReq) + if err != nil { + logger.Errorf("ShowDetail query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + // 组装 画作 基础信息 + artShowMap := make(map[string]*artShow.ShowDetail, 0) + for i := 0; i < len(artShowInfo.Data); i++ { + if artShowInfo.Data[i].Price == 0 { + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: e.ErrorNoPrice, + Status: e.Failed, + }) + return + } + artShowMap[artShowInfo.Data[i].ShowUID] = artShowInfo.Data[i] + } + + // 获取画家 信息 + artistInfoReq := new(artist.ArtistDetailDataReq) + artistInfoReq.Uids = append(artistInfoReq.Uids, artShowInfo.Data[0].ArtistUID) + artistInfo, err := GrpcArtistImpl.ArtistDetailData(context.Background(), artistInfoReq) + if err != nil { + logger.Errorf("ArtistDetailData query err", err) + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + artistMap := make(map[string]*artist.ArtistDetailDataResp_Info, 0) + for i := 0; i < len(artistInfo.Data); i++ { + if artistMap[artistInfo.Data[i].ProfileInfo.Name] == nil { + artistMap[artistInfo.Data[i].ProfileInfo.Name] = artistInfo.Data[i] + } + } + + priceInfo := serializer.BuildInvoiceInfo_withoutCopyright(artworkPriceList.Data, artworkData, artistMap) + + priceInfo.Address = artShowMap[req.ShowUID].Address + priceInfo.ShowTime = artShowMap[req.ShowUID].ShowTime + priceInfo.TalentAgency = artShowMap[req.ShowUID].TalentAgency + + if artistMap[artShowInfo.Data[0].ArtistName] != nil { + priceInfo.BankNo = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankNum + priceInfo.Bank = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankName + priceInfo.BankCode = artistMap[artShowInfo.Data[0].ArtistName].ProfileInfo.BankCode + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: priceInfo, + Status: e.Ok, + }) +} + +// UpdateShowInvoiceStatus 更新单据状态 +func UpdateShowInvoiceStatus(c *gin.Context) { + req := new(artShow.UpdateShowInvoiceStatusReq) + if err := c.ShouldBindJSON(req); err != nil { + logger.Errorf("InvoiceListReq ShouldBind err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + userInfo := login.GetUserInfoFromC(c) + + updateShowInvoiceStatusRes, updateShowInvoiceStatusErr := GrpcArtShowImpl.UpdateShowInvoiceStatus(c, req) + if updateShowInvoiceStatusErr != nil { + ResponseMsg(c, e.Error, serializer.Response{ + Msg: updateShowInvoiceStatusRes.Msg, + Status: e.Failed, + }) + return + } + + // 更新单据状态成功后,更新画展包付款单 + setDelivered, setDeliveredErr := GrpcPayBillImpl.SetDelivered(context.Background(), &paybill.ShowRequest{ + ShowUid: req.ShowUID, + OperatorId: uint32(userInfo.ID), + OperatorName: userInfo.NickName, + }) + if setDeliveredErr != nil { + ResponseMsg(c, e.Error, serializer.Response{ + Msg: setDelivered.Msg, + Status: e.Failed, + }) + return + } + + ResponseMsg(c, e.SUCCESS, serializer.Response{ + Status: e.Ok, + }) +} diff --git a/pkg/service/site_sign_in.go b/pkg/service/site_sign_in.go new file mode 100644 index 0000000..7947fdc --- /dev/null +++ b/pkg/service/site_sign_in.go @@ -0,0 +1,319 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "fmt" + "github.com/disintegration/imaging" + "github.com/fogleman/gg" + site "github.com/fonchain_enterprise/fonchain-main/api/site_sign_in" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "github.com/skip2/go-qrcode" + "image" + "image/color" + "image/draw" + "image/jpeg" + "image/png" + "io/ioutil" + "net/http" + "os" + "strings" + "time" +) + +func SiteSignInList(c *gin.Context) { + var signInListReq site.SignInListReq + if err := c.ShouldBind(&signInListReq); err != nil { + logger.Errorf("SiteSignInList ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + return + } + resp, err := GrpcSiteSignInImpl.SiteSignInList(context.Background(), &signInListReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return + +} + +func CreCodeImage(c *gin.Context) { + var creCodeImageReq site.SiteF + if err := c.ShouldBind(&creCodeImageReq); err != nil { + logger.Errorf("CreCodeImage ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + return + } + + //生成二维码上传到服务器,并且存到数据库 + codeInfo := "https://signin.fontree.cn/?company=" + utils.ToString(creCodeImageReq.Id) + qrCode, err := qrcode.New(codeInfo, qrcode.Low) + if err != nil { + ResponseQuickMsg(c, e.Ok, "生成二维码失败", nil) + return + } + qrpath := "/" + utils.ToString(time.Now().Unix()) + "qrcode.png" + file, err := os.Create(qrpath) + if err != nil { + ResponseQuickMsg(c, e.Ok, "创建二维码文件失败", nil) + return + } + defer file.Close() + + err = png.Encode(file, qrCode.Image(700)) + if err != nil { + ResponseQuickMsg(c, e.Ok, "解码二维码失败", nil) + return + } + + QRCodeUrl, err := PutBos(file.Name(), ImageType, true) + if err != nil { + ResponseQuickMsg(c, e.Ok, "上传二维码失败", nil) + return + } + creCodeImageReq.CodeImage = QRCodeUrl + resp, err := GrpcSiteSignInImpl.CreCodeImage(context.Background(), &creCodeImageReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return + +} + +func DownloadCodeImage(c *gin.Context) { + var downloadCodeImageReq site.SiteF + if err := c.ShouldBind(&downloadCodeImageReq); err != nil { + logger.Errorf("DownloadCodeImage ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + return + } + + bgImage, err := imaging.Open("./data/qrcode.png") + if err != nil { + ResponseQuickMsg(c, e.Ok, "打开背景图片失败", nil) + return + } + response, err := http.Get(downloadCodeImageReq.CodeImage) + if err != nil { + ResponseQuickMsg(c, e.Ok, "获取二维码图片失败", nil) + return + } + defer response.Body.Close() + + qrCode, _, err := image.Decode(response.Body) + if err != nil { + ResponseQuickMsg(c, e.Ok, "解码二维码图片失败", nil) + return + } + + // 创建结果图像 + drawImg := image.NewRGBA(bgImage.Bounds()) + draw.Draw(drawImg, bgImage.Bounds(), bgImage, image.Point{}, draw.Src) + + centerX := (bgImage.Bounds().Dx() - qrCode.Bounds().Dx()) / 2 + centerY := (bgImage.Bounds().Dy() - qrCode.Bounds().Dy()) / 2 + + draw.Draw(drawImg, image.Rect(centerX, centerY, centerX+qrCode.Bounds().Dx(), centerY+qrCode.Bounds().Dy()), qrCode, image.Point{}, draw.Over) + + //添加文字 + + fontPath := "./data/font1716.ttf" + + dc := gg.NewContextForImage(bgImage) + err = dc.LoadFontFace(fontPath, 48) + if err != nil { + ResponseQuickMsg(c, e.Ok, "读取文字字体失败", nil) + return + } + + textWidth, _ := dc.MeasureString(downloadCodeImageReq.Name) + textX := (float64(bgImage.Bounds().Dx()) - textWidth) / 2 // 计算文字的 x 坐标,居中显示 + outImage, _ := addLabel(drawImg, downloadCodeImageReq.Name, int(textX), bgImage.Bounds().Dy()/2+400, color.RGBA{255, 255, 255, 255}, 48, fontPath) + + // 保存结果图像 + + qrpath := "/" + utils.ToString(time.Now().Unix()) + "qrcode.jpg" + resultImageFile, err := os.Create(qrpath) + if err != nil { + ResponseQuickMsg(c, e.Ok, "创建结果图像文件失败", nil) + return + } + defer resultImageFile.Close() + err = jpeg.Encode(resultImageFile, outImage, nil) + if err != nil { + ResponseQuickMsg(c, e.Ok, "保存结果图像失败", nil) + return + } + QRCodeUrl, err := PutBos(resultImageFile.Name(), ImageType, true) + if err != nil { + ResponseQuickMsg(c, e.Ok, "上传结果图像失败", nil) + return + } + downloadResp := &site.DownloadResp{} + downData := &site.CodeImageF{CodeUrl: QRCodeUrl} + downloadResp.Data = downData + downloadResp.Msg = "success" + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), downloadResp) + fmt.Println("返回结果" + time.Now().String()) + return + +} + +// QuerySiteByApi 通过百度地图API查询地址 +func QuerySiteByApi(c *gin.Context) { + var baiDuApiReq site.BaiDuApiReq + if err := c.ShouldBind(&baiDuApiReq); err != nil { + logger.Errorf("QuerySiteFByApi ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + return + } + type SearchResult struct { + Status int `json:"status"` + Message string `json:"message"` + ResultType string `json:"result_type"` + Results []struct { + Name string `json:"name"` + Location struct { + Lat float64 `json:"lat"` + Lng float64 `json:"lng"` + } `json:"location"` + Address string `json:"address"` + Province string `json:"province"` + City string `json:"city"` + Area string `json:"area"` + Uid string `json:"uid"` + Street_id string `json:"street_id"` + } `json:"results"` + } + + baiDuApiReq.Query = strings.TrimSpace(baiDuApiReq.Query) + url := "https://api.map.baidu.com/place/v2/search?query=" + baiDuApiReq.Query + "&output=json&ak=" + baiDuApiReq.Ak + "®ion=" + baiDuApiReq.Region + "&ret_coordtype=" + baiDuApiReq.RetCoordtype + resp, err := http.Get(url) + fmt.Println("=========================url====================================") + fmt.Println(url) + if err != nil { + ResponseQuickMsg(c, e.Failed, "通过API获取地址失败", nil) + return + } + defer resp.Body.Close() + fmt.Println("================API查询结果================================") + fmt.Println(resp) + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + ResponseQuickMsg(c, e.Failed, "读取返回结果失败", nil) + return + } + fmt.Println("================APIBody================================") + fmt.Println(body) + + var results SearchResult + err = json.Unmarshal(body, &results) + if err != nil { + ResponseQuickMsg(c, e.Failed, "反序列化失败", nil) + return + } + if results.Status != 0 { + ResponseQuickMsg(c, e.Failed, "通过API获取地址失败", nil) + return + } + + //resultList := make([]*site.Results, 0) + //for _, result := range results.Results { + // location := &site.Location{Lat: result.Location.Lat, Lng: result.Location.Lng} + // singleResult := &site.Results{ + // Name: result.Name, + // Location: location, + // Address: result.Address, + // } + // resultList = append(resultList, singleResult) + //} + // + //res := &site.BaiDuApiRes{Results: resultList} + + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), results) + return +} + +type ReverseGeocodingReq struct { + Ak string `json:"ak"` + Coordtype string `json:"coordtype"` + RetCoordtype string `json:"retCoordtype"` + Location string `json:"location"` + Output string `json:"output"` +} + +type ReverseGeocodingRes struct { + Status int `json:"status"` + Result struct { + Location struct { + Lng float64 `json:"lng"` + Lat float64 `json:"lat"` + } `json:"location"` + FormattedAddress string `json:"formatted_address"` + Edz struct { + Name string `json:"name"` + } `json:"edz"` + Business string `json:"business"` + AddressComponent struct { + Country string `json:"country"` + CountryCodeIso string `json:"country_code_iso"` + CountryCodeIso2 string `json:"country_code_iso2"` + CountryCode int `json:"country_code"` + Province string `json:"province"` + City string `json:"city"` + CityLevel int `json:"city_level"` + District string `json:"district"` + Town string `json:"town"` + TownCode string `json:"town_code"` + Distance string `json:"distance"` + Direction string `json:"direction"` + Adcode string `json:"adcode"` + Street string `json:"street"` + StreetNumber string `json:"street_number"` + } `json:"addressComponent"` + } `json:"result"` +} + +// ReverseGeocoding 百度自选地图点 +func ReverseGeocoding(c *gin.Context) { + var reverseGeocodingReq ReverseGeocodingReq + if err := c.ShouldBind(&reverseGeocodingReq); err != nil { + logger.Errorf("ReverseGeocoding ShouldBind err", err) + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.InvalidParams), nil) + return + } + + url := "https://api.map.baidu.com/reverse_geocoding/v3/?ak=" + reverseGeocodingReq.Ak + "&output=" + reverseGeocodingReq.Output + "&coordtype=" + reverseGeocodingReq.Coordtype + "&location=" + reverseGeocodingReq.Location + "&ret_coordtype=" + reverseGeocodingReq.RetCoordtype + resp, err := http.Get(url) + if err != nil { + ResponseQuickMsg(c, e.Failed, "通过API获取地址失败", nil) + return + } + defer resp.Body.Close() + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + ResponseQuickMsg(c, e.Failed, "读取返回结果失败", nil) + return + } + + var results ReverseGeocodingRes + err = json.Unmarshal(body, &results) + if err != nil { + ResponseQuickMsg(c, e.Failed, "反序列化失败", nil) + return + } + if results.Status != 0 { + ResponseQuickMsg(c, e.Failed, "通过API获取地址失败", nil) + return + } + + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), results) + return + +} diff --git a/pkg/service/task/feedback.go b/pkg/service/task/feedback.go new file mode 100644 index 0000000..6d76623 --- /dev/null +++ b/pkg/service/task/feedback.go @@ -0,0 +1,72 @@ +package task + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/task" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func FeedBackCreate(c *gin.Context) { + req := &task.TaskRequest{} + req.Domain = "mall" + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.SubmitterID = userInfo.ID + req.SubmitterName = userInfo.NickName + req.Type = e.Task_Type_Feedback + + res, err := service.TaskProvider.Create(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + + return +} + +func Topping(c *gin.Context) { + req := &task.TaskDetail{} + req.Domain = "mall" + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + res, err := service.TaskProvider.Topping(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func FeedBackList(c *gin.Context) { + req := &task.TaskList{} + req.Domain = "mall" + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Type = e.Task_Type_Feedback + + res, err := service.TaskProvider.List(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} diff --git a/pkg/service/task/task.go b/pkg/service/task/task.go new file mode 100644 index 0000000..ea43153 --- /dev/null +++ b/pkg/service/task/task.go @@ -0,0 +1,326 @@ +package task + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "errors" + "fmt" + art_show "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/task" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/account" + "github.com/fonchain_enterprise/fonchain-main/pkg/service/auth" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +var ( + AuthAssuranceRule = "task_auth_assurance_1" //鉴证科权限 + AuthMathRule = "task_auth_math" //数字化权限 +) + +func Detail(c *gin.Context) { + req := &task.TaskDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.TaskProvider.Detail(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Create(c *gin.Context) { + req := &task.TaskRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + fmt.Println(userInfo) + + if len(req.JoinUsers) != 1 { + service.Error(c, e.Error, errors.New("申请人数仅能为一人")) + return + } + + b := auth.HasAuth(c, req.JoinUsers[0].UserID, AuthAssuranceRule) + b2 := auth.HasAuth(c, req.JoinUsers[0].UserID, AuthMathRule) + + if b == false && b2 == false { + service.Error(c, e.Error, errors.New(req.JoinUsers[0].Name+"当前没有 数字化或者鉴证科 的数据接收权限")) + return + } + + if b == true && b2 == true { + service.Error(c, e.Error, errors.New(req.JoinUsers[0].Name+"同时拥有数字化和鉴证科数据接收权限权限,无法进行默认二选一,请修改其权限")) + return + } + + res, err := service.TaskProvider.Create(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + positionName := "鉴证科" + if b2 == true { + positionName = "数字化" + } + + err = SendArtwork(c, req, positionName) + if err != nil { + service.Error(c, e.Error, err) + return + } + service.Success(c, res) + + return +} + +func Update(c *gin.Context) { + req := &task.TaskRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.TaskProvider.Update(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Remove(c *gin.Context) { + req := &task.TaskDetail{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + oldRes, err := service.TaskProvider.Detail(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + joinUserInfo, err := account.GetUserInfoById(c, oldRes.JoinUsers[0].UserID, "") + if err != nil { + service.Error(c, e.Error, err) + return + } + + res, err := service.TaskProvider.Remove(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + var userIDs []int32 + var artworkIDs []int32 + for _, t := range oldRes.JoinUsers { + userIDs = append(userIDs, int32(t.UserID)) + } + + for _, t := range oldRes.Artworks { + artworkIDs = append(artworkIDs, int32(t.ArtworkID)) + } + + //删除按照需求要 + userInfo := login.GetUserInfoFromC(c) + awReq := artwork_query.UpdateAwStockStatusRequest{ + AdminId: int32(userInfo.ID), + ActionType: 4, + ArtworkIds: artworkIDs, + AllotUids: userIDs, + PostName: joinUserInfo.PositionUsers[0].PositionName, + } + + s, e1 := json.Marshal(awReq) + fmt.Println("请求之前", awReq) + logger.Errorf("主管工作台task--删除", string(s), e1) + newRes, err := service.GrpcArtworkQueryImpl.UpdateAwStockStatus(c, &awReq) + fmt.Println("请求之后", err) + s2, e2 := json.Marshal(newRes) + logger.Errorf("主管工作台task-res--删除", string(s2), e2, err) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Finish(c *gin.Context) { + req := &task.SetStatusRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Status = 2 + res, err := service.TaskProvider.SetStatus(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func DataInfo(c *gin.Context) { + req := &task.DataInfoRequest{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + req.Type = e.Task_Type_Art + + userInfo := login.GetUserInfoFromC(c) + + //获取自己管理的小弟id列表 + bossReq := department.UserIdByBossIdRequest{ + UserId: userInfo.ID, + } + + bossRes, err := service.DepartmentProvider.UserIdByBossId(c, &bossReq) + fmt.Println("获取管理之下的userId", bossRes, err) + + req.SubmitterIDs = bossRes.UserIds + + res, err := service.TaskProvider.DataInfo(c, req) + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func List(c *gin.Context) { + req := &task.TaskList{} + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + req.Type = e.Task_Type_Art + userInfo := login.GetUserInfoFromC(c) + + //获取自己管理的小弟id列表 + bossReq := department.UserIdByBossIdRequest{ + UserId: userInfo.ID, + } + bossRes, err := service.DepartmentProvider.UserIdByBossId(c, &bossReq) + fmt.Println("获取管理之下的userId", bossRes, err) + + req.SubmitterIDs = bossRes.UserIds + + res, err := service.TaskProvider.List(c, req) + var artistIds []string + + for _, v := range res.Data { + for _, v1 := range v.Artworks { + if v1.ArtistID != "" { + artistIds = append(artistIds, v1.ArtistID) + } + } + } + + if len(artistIds) > 0 { + artshowResp, err := service.GrpcArtShowImpl.ArtistExhibitionCount(c, &art_show.ArtistExhibitionCountReq{ArtistUid: artistIds}) + if err != nil { + service.Error(c, e.InvalidParams, err) + return + } + artistMap := make(map[string]*art_show.ArtistCount, len(artshowResp.ArtistShowCount)) + + for k, v := range artshowResp.ArtistShowCount { + artistMap[v.ArtistUid] = artshowResp.ArtistShowCount[k] + } + + for k, v := range res.Data { + for k1, v1 := range v.Artworks { + if o, ok := artistMap[v1.ArtistID]; ok == true { + tempArtistName := v1.ArtistName + if o.BackStatus == 2 { + tempArtistName = "#" + v1.ArtistName + } + + res.Data[k].Artworks[k1].ArtistShowCount = fmt.Sprintf("%s(%d)", tempArtistName, o.ShowCount) + } + } + } + } + + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func SendArtwork(c *gin.Context, taskReq *task.TaskRequest, positionName string) error { + var err error + var artworkIds, allotUids []int32 + + for _, tt := range taskReq.Artworks { + artworkIds = append(artworkIds, int32(tt.ArtworkID)) + } + + for _, tt := range taskReq.JoinUsers { + allotUids = append(allotUids, int32(tt.UserID)) + } + + //非同一岗位请分批处理 + /* + joinUserInfo, err := account.GetUserInfoById(c, taskReq.JoinUsers[0].UserID, "") + if err != nil { + return err + } + */ + + req := &artwork_query.UpdateAwStockStatusRequest{ + ActionType: 3, + ArtworkIds: artworkIds, + AllotUids: allotUids, + ReceiveDate: taskReq.StartAt, + PostName: positionName, + //PostName: joinUserInfo.PositionUsers[0].PositionName, + } + + userInfo := login.GetUserInfoFromC(c) + + s, e1 := json.Marshal(req) + logger.Errorf("主管工作台创建---", string(s), e1) + fmt.Println("3-----------请求之前", req) + req.AdminId = int32(userInfo.ID) + newRes, errs := service.GrpcArtworkQueryImpl.UpdateAwStockStatus(c, req) + fmt.Println("3-----------请求之后", newRes, errs) + a, e2 := json.Marshal(newRes) + logger.Errorf("主管工作台创建-res--", string(a), e2, errs) + if errs != nil { + return err + } + + return nil +} diff --git a/pkg/service/test.go b/pkg/service/test.go new file mode 100644 index 0000000..8e735e6 --- /dev/null +++ b/pkg/service/test.go @@ -0,0 +1,46 @@ +package service + +import ( + "fmt" + service "github.com/fonchain_enterprise/fonchain-main/api" + "github.com/fonchain_enterprise/fonchain-main/api/artistInfoArtwork" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/gin-gonic/gin" + "net/http" + "time" +) + +func Sso(c *gin.Context) { + redirect := c.Query("redirect") + source := c.Query("source") + + fmt.Println(redirect) + fmt.Println(source) + + var zentaoSecret string = "1156f0bdde647233088baa576cef5045" + var userName string = "admin" + timeNow := time.Now().Unix() + var md5Str = fmt.Sprintf("%s%s%d", "fonchain", zentaoSecret, timeNow) + token := utils.Md5Str(md5Str) + var url = fmt.Sprintf("http://zentaome.cn/www/api.php?m=user&f=apilogin&account=%s&code=fonchain&time=%d&token=%s", userName, timeNow, token) + c.Redirect(http.StatusFound, url) + + /* + 测试分支问题 + */ + return +} + +func MicroErr(c *gin.Context) { + resp, err := GrpcArtistInfoArtworkImpl.GetArtworkLockRecords(c, &artistInfoArtwork.GetArtworkLockRecordsRequest{}) + if err != nil { + service.Error(c, e.Failed, err, "请求错误") + return + } + service.Success(c, resp) +} + +func Demo(ctx *gin.Context) { + return +} diff --git a/pkg/service/train/train.go b/pkg/service/train/train.go new file mode 100644 index 0000000..5365bfb --- /dev/null +++ b/pkg/service/train/train.go @@ -0,0 +1,490 @@ +package train + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/appointment" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/gin-gonic/gin" + uuid "github.com/satori/go.uuid" + "github.com/tealeg/xlsx" + "io" + "io/ioutil" + "net/http" + "net/url" + "regexp" + "strings" +) + +type User struct { + Com string `json:"com"` + CostCenter string `json:"costCenter"` + Dep string `json:"dep"` + Name string `json:"name"` + Num string `json:"num"` + TelNum string `json:"telNum"` +} + +func CreateTrainInfo(c *gin.Context) { + var createTrainInfoRequest appointment.CreateTrainInfoRequest + if err := c.ShouldBind(&createTrainInfoRequest); err != nil { + logger.Errorf("createTrainInfoRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + fmt.Println("createTrainInfoRequest", &createTrainInfoRequest) + + //获取创建人姓名 + //authorization := c.GetHeader(e.Authorization) + //if authorization == "" { + // service.NotLoginRes(c, e.ErrNotLogin) + // return + //} + // + //jwt, err := secret.GetJwtFromStr(authorization) + // + //if err != nil { + // service.NotLoginRes(c, err.Error()) + // return + //} + // + ////0 解密 + //req := api.DecryptJwtRequest{ + // Token: jwt, + //} + // + //var provider *account.AccountClientImpl + //info, err := provider.DecryptJwt(c, &req) + // + //if err != nil { + // service.NotLoginRes(c, err.Error()) + // return + //} + + //createTrainInfoRequest.NameOfCreate = info.NickName + createTrainInfoRequest.NameOfCreate = "功能未加" + + // 1:预览 2:创建 + if createTrainInfoRequest.PreviewOrCreat == 2 { + //根据uuid获取二维码链接 + //获取培训表uid + var uid uuid.UUID + uid, _ = uuid.NewV4() + + qrContent := config.AppointUrl + "/#/pages/start/start?trainUid=" + uid.String() + fmt.Println("AppointUrl", config.AppointUrl) + fmt.Println("qrcontent", qrContent) + qrBytes, err := utils.CreateQr(qrContent, "") // Assuming CreateQr returns []byte + // fmt.Println("qrBytes 是:", qrBytes) + + if err != nil { + fmt.Println("创建二维码失败:", err) + service.ResponseQuickMsg(c, e.Failed, "创建二维码失败", nil) + return + } + + qrbytess := []byte(qrBytes) + + objectName := fmt.Sprintf("%s/%s/%s.jpg", config.ConfigData.Oss.BaseDir, config.Env, uid.String()) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, qrbytess) + if err != nil { + logger.Errorf("quickBos err", err) + return + } + + url := fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + fmt.Println("url", url) + createTrainInfoRequest.QrCodeUrl = url + createTrainInfoRequest.Uid = uid.String() + } + + rep, err := service.AppointmentProvider.CreateTrainInfo(context.Background(), &createTrainInfoRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func UpdateTrainInfo(c *gin.Context) { + var updateTrainInfoRequest appointment.UpdateTrainInfoRequest + if err := c.ShouldBind(&updateTrainInfoRequest); err != nil { + logger.Errorf("updateTrainInfoRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.AppointmentProvider.UpdateTrainInfo(context.Background(), &updateTrainInfoRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func DeleteTrainInfo(c *gin.Context) { + var DeleteTrainInfoRequest appointment.DeleteTrainInfoRequest + if err := c.ShouldBind(&DeleteTrainInfoRequest); err != nil { + logger.Errorf("updateTrainInfoRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.AppointmentProvider.DeleteTrainInfo(context.Background(), &DeleteTrainInfoRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func TrainInfoList(c *gin.Context) { + var TrainInfoListRequest appointment.TrainInfoListRequest + if err := c.ShouldBind(&TrainInfoListRequest); err != nil { + logger.Errorf("updateTrainInfoRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.AppointmentProvider.TrainInfoList(context.Background(), &TrainInfoListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func SpecificTrainInfoListJson(c *gin.Context) { + var trainUsers []User + res := make(map[string]interface{}) + var signNum = 0 + var signList []User + var notSignList []User + + trainInfoUid := c.Query("trainInfoUid") // 获取名为"name"的GET参数 + specificTrainInfoListRequest := appointment.SpecificTrainInfoListRequest{ + TrainInfoUid: trainInfoUid, + } + + rep, err := service.AppointmentProvider.SpecificTrainInfoList(context.Background(), &specificTrainInfoListRequest) + + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + + b, err := cache.RedisClient.Get("temp:train:user").Bytes() + if err == nil { + err = json.Unmarshal(b, &trainUsers) + } + + trainUsersMap := make(map[string]User, len(trainUsers)) + tempSignTrainUsersMap := make(map[string]struct{}, len(rep.SignInInfo)) + + for k, v := range trainUsers { + trainUsersMap[strings.TrimSpace(v.Name)] = trainUsers[k] + } + + for _, v := range rep.SignInInfo { + tempSignName := strings.TrimSpace(v.SignInName) + + if _, ok := tempSignTrainUsersMap[tempSignName]; ok { //有存在的 + continue + } + + if _, ok := trainUsersMap[tempSignName]; ok { //train中存在 + signNum += 1 + signList = append(signList, trainUsersMap[tempSignName]) + } + + tempSignTrainUsersMap[tempSignName] = struct{}{} + } + + for k, v := range trainUsers { + singName := strings.TrimSpace(v.Name) + if _, ok := tempSignTrainUsersMap[singName]; !ok { + notSignList = append(notSignList, trainUsers[k]) + } + } + + res["totalNum"] = len(trainUsers) + res["signNum"] = signNum + res["notSignNum"] = len(trainUsers) - signNum + + res["signList"] = signList + res["notSignList"] = notSignList + fmt.Println(res) + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: res, + }) + + return +} + +func SpecificTrainInfoList(c *gin.Context) { + var specificTrainInfoListRequest appointment.SpecificTrainInfoListRequest + if err := c.ShouldBind(&specificTrainInfoListRequest); err != nil { + logger.Errorf("updateTrainInfoRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + rep, err := service.AppointmentProvider.SpecificTrainInfoList(context.Background(), &specificTrainInfoListRequest) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func GetPicStream(c *gin.Context) { + var getPicStreamRequest vo.GetPicStreamRequest + if err := c.ShouldBind(&getPicStreamRequest); err != nil { + logger.Errorf("getPicStreamRequest ShouldBind err", err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Data: nil, + Msg: err.Error(), + Status: e.Failed, + }) + return + } + // 对文件名进行URL编码 + encodedFileName := url.QueryEscape(fmt.Sprintf("%s.%s", getPicStreamRequest.TrainTheme, "jpg")) + + // 设置响应头,指定文件名并设置字符编码为UTF-8 + c.Writer.Header().Add("Content-Disposition", fmt.Sprintf("attachment; filename=\"%s\"; filename*=UTF-8''%s", encodedFileName, encodedFileName)) + c.Writer.Header().Add("Content-Type", "application/octet-stream") + // 发送HTTP GET请求获取图片 + response, err := http.Get(getPicStreamRequest.QrUrl) + if err != nil { + fmt.Println(err) + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: err.Error(), + Status: e.Failed, + }) + return + } + defer response.Body.Close() + + // 检查HTTP响应状态码 + if response.StatusCode != http.StatusOK { + fmt.Println("HTTP请求失败,状态码:", response.StatusCode) + return + } + + _, err = io.Copy(c.Writer, response.Body) + if err != nil { + fmt.Println("HTTP请求失败,状态码:", response.StatusCode) + return + } + + // 读取响应体的二进制数据 + imageBytes, err := ioutil.ReadAll(response.Body) + if err != nil { + service.ResponseMsg(c, e.SUCCESS, serializer.Response{ + Msg: "无法读取响应体", + Status: e.Failed, + }) + return + } + // + //// 设置响应头,告诉浏览器下载文件 + ////c.Header("Content-Disposition", "attachment; filename="+getPicStreamRequest.TrainTheme+".jpg") + ////c.Header("Content-Disposition", "attachment; filename="+getPicStreamRequest.TrainTheme+".jpg") + //c.Writer.Header().Add("Content-Disposition", fmt.Sprintf(`attachment; filename="%s"`, getPicStreamRequest.TrainTheme)+".jpg") + //c.Data(http.StatusOK, "image/jpeg", imageBytes) + + rep := &appointment.GetPicStreamResponse{ + PicStream: imageBytes, + } + + c.JSON(http.StatusOK, serializer.Response{ + Status: e.Ok, + Code: e.SUCCESS, + Data: rep, + }) +} + +func UploadPersonnel(c *gin.Context) { + type Result struct { + SuccessCount int `json:"successCount"` + ErrorCount int `json:"errorCount"` + Uid string `json:"uid"` + } + type UploadReq struct { + URL string `form:"url" binding:"required"` + } + var result Result + var req UploadReq + if err := c.ShouldBind(&req); err != nil { + handleUploadError(c, "参数错误:"+err.Error()) + return + } + fileContent, err := downloadFile(req.URL) + if err != nil { + handleUploadError(c, "下载文件失败") + return + } + + xlFile, err := xlsx.OpenBinary(fileContent) + if err != nil { + handleUploadError(c, "解析文件失败") + return + } + + phoneNumberRegex := regexp.MustCompile(`^\d{11}$`) + uid, err := uuid.NewV4() + if err != nil { + handleUploadError(c, "生成唯一标识失败") + return + } + signReq := appointment.SignPersonnelReq{} + seenPhones := make(map[string]int) + for _, sheet := range xlFile.Sheets { + for rowIndex, row := range sheet.Rows { + if rowIndex == 0 { + continue // 跳过标题行 + } + if len(row.Cells) < 2 { + continue // 没有足够的数据列,跳过 + } + phone := row.Cells[1].String() // 假设第二列为手机号 + if isValidPhoneNumber(phone, phoneNumberRegex) { + seenPhones[phone]++ + } + } + } + + // 第二次遍历,处理符合条件的数据 + for _, sheet := range xlFile.Sheets { + for rowIndex, row := range sheet.Rows { + if rowIndex == 0 || len(row.Cells) < 1 { + continue + } + + //TODO + var name, phone string + name = row.Cells[0].String() + + if len(row.Cells) > 1 { + phone = row.Cells[1].String() + } + + //name, phone := row.Cells[0].String(), row.Cells[1].String() + if name == "" || phone == "" || !isValidPhoneNumber(phone, phoneNumberRegex) || seenPhones[phone] > 1 { + // 如果名称为空,手机号为空,手机号不合法,或者手机号出现多次,增加错误计数并跳过 + result.ErrorCount++ + continue + } + + // 现在已知当前手机号只出现了一次,可以处理数据 + signReq.SignPersonnel = append(signReq.SignPersonnel, &appointment.SignPersonnel{ + Name: name, + TelNum: phone, + Uid: uid.String(), + }) + result.SuccessCount++ + } + } + if len(signReq.SignPersonnel) == 0 { + handleUploadError(c, "无正确数据") + return + } + if _, err := service.AppointmentProvider.CreatePersonnel(context.Background(), &signReq); err != nil { + handleUploadError(c, "上传失败") + return + } + result.Uid = uid.String() + service.Success(c, result) +} + +func isValidPhoneNumber(phone string, regex *regexp.Regexp) bool { + return len(phone) == 11 && regex.MatchString(phone) +} + +func handleUploadError(c *gin.Context, message string) { + service.Error(c, e.InvalidParams, errors.New(message)) +} +func downloadFile(url string) ([]byte, error) { + resp, err := http.Get(url) + if err != nil { + return nil, err + } + defer resp.Body.Close() + + contentType := resp.Header.Get("Content-Type") + if contentType != "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" { + return nil, fmt.Errorf("文件格式不正确") + } + + return ioutil.ReadAll(resp.Body) +} diff --git a/pkg/service/turnstile/turnstile.go b/pkg/service/turnstile/turnstile.go new file mode 100644 index 0000000..af5ceea --- /dev/null +++ b/pkg/service/turnstile/turnstile.go @@ -0,0 +1,183 @@ +package turnstile + +import ( + "context" + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/common/dingding" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/turnstile" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gorilla/websocket" + "log" + "net/http" + "sync" + "time" +) + +func DeviceWs(c *gin.Context) { + + // 获取WebSocket连接 + var cstUpgrader = websocket.Upgrader{ + Subprotocols: []string{"p0", "p1"}, + ReadBufferSize: 1024, + WriteBufferSize: 1024, + EnableCompression: true, + Error: func(w http.ResponseWriter, r *http.Request, status int, reason error) { + http.Error(w, reason.Error(), status) + }, + CheckOrigin: func(r *http.Request) bool { + return true + }, + } + + ws, err := cstUpgrader.Upgrade(c.Writer, c.Request, http.Header{"Set-Cookie": {"sessionID=1234"}}) + if err != nil { + service.Error(c, e.Failed, nil, "websocket升级失败") + return + } + + defer ws.Close() + + activeMsg(ws) + + fmt.Println("结束") + + return +} + +func activeMsg(ws *websocket.Conn) { + var wg sync.WaitGroup + var deviceInfo turnstile.DevicePing + + _, p, err := ws.ReadMessage() + if err != nil { + println("连接错误", err) + return + } + + fmt.Println("首次数据为:", string(p)) + err = json.Unmarshal(p, &deviceInfo) + if err != nil || deviceInfo.Sn == "" { + fmt.Println("连接信息解析失败", deviceInfo) + return + } + ctx, cancel := context.WithCancel(context.Background()) + stdoutDone := make(chan struct{}, 3) + deviceId := deviceInfo.Sn + fmt.Println("设备标号是", deviceId) + wg.Add(3) + go ping(ctx, ws, &wg, stdoutDone, deviceId) //存活检测,检测客户端是否存活 + go sendMsg(ctx, ws, &wg, deviceId) //推送给机器数据 + go getMsg(ctx, ws, &wg, deviceId) //获取机器推送数据 + + go func(stdoutDone chan struct{}) { + <-stdoutDone + cancel() + }(stdoutDone) + + wg.Wait() + +} + +// sendMsg 向推送数据 +func sendMsg(ctx context.Context, ws *websocket.Conn, wg *sync.WaitGroup, deviceId string) { + defer wg.Done() + + ticker := time.NewTicker(10 * time.Second) + defer ticker.Stop() + + println("goroutinue is running") + // 处理WebSocket连接 + for { + time.Sleep(1 * time.Second) + select { + case <-ctx.Done(): + println("goroutinue-send is stop") + return + default: + //println("goroutinue is running") + } + + info := cache.RedisClient.LPop(cache.GetTurnstileSendListKey(deviceId)).Val() + + if info == "" { + continue + } + + println("主动推送数据", info) + err := ws.WriteMessage(websocket.TextMessage, []byte(info)) + if err != nil { + println("推送数据失败", err) + } + + //监控 + + } + +} + +// getMsg 主动ping客户端 +func getMsg(ctx context.Context, ws *websocket.Conn, wg *sync.WaitGroup, deviceId string) { + defer wg.Done() + + // 处理WebSocket连接 + for { + var req turnstile.DevicePing + select { + case <-ctx.Done(): + println("goroutinue-getmsg is stop") + return + default: + println("goroutinue-getmsg is running") + } + + messageType, p, err := ws.ReadMessage() + if err != nil { + break + } + + fmt.Println("解析设备数据:", messageType, string(p)) + + err = json.Unmarshal(p, &req) + if err != nil { + log.Println("解析失败提示,提示:", err) + continue + } + if req.Cmd == "ping" { + fmt.Println("推送数据") + cache.RedisClient.RPush(cache.GetTurnstileSendListKey(deviceId), "{cmd: \"pong\"}") + } + + if req.Extra != "" { + cache.RedisClient.Set(cache.GetPushResInfo(req.Extra), string(p), 60*time.Second) + } + + } +} + +// ping 主动ping客户端 +func ping(ctx context.Context, ws *websocket.Conn, wg *sync.WaitGroup, done chan struct{}, deviceSn string) { + defer wg.Done() + ticker := time.NewTicker(10 * time.Second) + defer ticker.Stop() + for { + cache.RedisClient.Set(cache.GetPushDeviceSnInfo(deviceSn), 1, 20*time.Second) + select { + case <-ctx.Done(): + log.Println("健康监测监测被父协程停止") + cache.RedisClient.Del(cache.GetPushDeviceSnInfo(deviceSn)) + return + case <-ticker.C: + if err := ws.WriteControl(websocket.PingMessage, []byte{}, time.Now().Add(10*time.Second)); err != nil { + done <- struct{}{} + dingding.Send("打卡机下线请关注(服务端ping打卡机器异常),提示:"+err.Error(), err) + log.Println("打卡机下线请关注(服务端ping打卡机器异常),提示:", err) + cache.RedisClient.Del(cache.GetPushDeviceSnInfo(deviceSn)) + return + } + } + } +} diff --git a/pkg/service/upload.go b/pkg/service/upload.go new file mode 100644 index 0000000..1ea6379 --- /dev/null +++ b/pkg/service/upload.go @@ -0,0 +1,454 @@ +package service + +import ( + "bytes" + "encoding/base64" + "encoding/json" + "errors" + "fmt" + "io" + "io/ioutil" + "net/url" + + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + + "github.com/disintegration/imaging" + + "mime/multipart" + "os" + "path" + "path/filepath" + "strconv" + "strings" + "sync" + + "dubbo.apache.org/dubbo-go/v3/common/logger" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/serializer" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils" + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/gin-gonic/gin" + uuid "github.com/satori/go.uuid" + ffmpeg "github.com/u2takey/ffmpeg-go" + "go.uber.org/zap" +) + +var ( + wg sync.WaitGroup +) + +const ( + MediaPath = "./runtime/" + RouteType = "static/" + VideoType = "video" + ImageType = "image" + PngType = "png" + ArtworkFilePath = "artwork" + ArtworkChunkBasePath = "./runtime/tmp/artworks" +) + +func UploadImg(c *gin.Context) { + var err error + var filename string + var fileFullName string + source := c.PostForm("source") + mask := c.PostForm("mask") + action := c.PostForm("action") + defineFileName := c.PostForm("defineFileName") + urlParam := c.PostForm("urlParam") + if mask == "" { + mask = "default" + } + mediaType := c.PostForm("type") + zap.L().Info("UploadImg 1", zap.Any("mask", mask)) + var BasePath string + if mediaType == "" || mediaType == ImageType { + mediaType = ImageType + } + BasePath = fmt.Sprintf("%s%s", MediaPath, mediaType) + //BaseRoute = fmt.Sprintf("%s%s", RouteType, mediaType) + var isCompress int + if cStr, ok := c.GetPostForm("is_compress"); ok { + var errS error + isCompress, errS = strconv.Atoi(cStr) + if errS != nil { + ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + } + zap.L().Info("UploadImg 2 ", zap.Any("mask", mask)) + // 检验参数 + if mask == "" || source == "" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + file, err := c.FormFile("file") + // 检验文件 + if err != nil { + zap.L().Error("Upload FormFile err", zap.Error(err)) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + logger.Errorf("UploadImg 3 %+v", mask) + // 判断是不是视频或者需要压缩 + var oriUrl string + if isCompress != 1 && mediaType != "video" && action == "" { + oriUrl, err = quickBos(file, mediaType, mask, source, defineFileName) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if urlParam != "" { + oriUrl = fmt.Sprintf("%s?%s", oriUrl, urlParam) + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), map[string]interface{}{ + "ori_url": oriUrl, + }) + return + } + logger.Errorf("UploadImg 4 %+v", mask) + //创建文件名 + fileExt := strings.ToLower(path.Ext(file.Filename)) + if defineFileName != "" { + fileFullName = defineFileName + } else { + newUu, _err := uuid.NewV4() + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + filename = newUu.String() + fileFullName = fmt.Sprintf("%s%s", filename, fileExt) + } + //检测文件夹 不存在就创建 + imgPath := fmt.Sprintf("%s/%s/%s", BasePath, source, mask) + _, err = utils.CheckDirPath(imgPath, true) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + dst := fmt.Sprintf("%s/%s", imgPath, fileFullName) + logger.Errorf("UploadImg 5 %+v", mask) + // 保存文件至指定路径 + err = c.SaveUploadedFile(file, dst) + if err != nil { + logger.Errorf("Upload FormFile err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + logger.Errorf("UploadImg 6 %+v", mask) + if action == model.ImgActionRotate { + fileFullName = fmt.Sprintf("%s%s", filename, fileExt) + newDst := fmt.Sprintf("%s/%s_rotate%v", imgPath, filename, fileExt) + if err = logic.MakeThumbnail(dst, newDst); err != nil { + //ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ERROR_ROTATE_IMG), nil) + //return + } else { + _ = os.Remove(dst) + dst = newDst + } + } + //localUrl := fmt.Sprintf("%s/%s/%s/%s/%s", config.ServerDM, BaseRoute, source, mask, fileFullName) + var data map[string]string = make(map[string]string, 2) + //data["ori_url"] = localUrl + + if int32(isCompress) == 1 { + //压缩图片并存储在原图路径,命名格式xx.jpg_small.jpg + fileFullName = fmt.Sprintf("%s_small%s", filename, fileExt) + newDst := fmt.Sprintf("%s/%s", imgPath, fileFullName) + //compressUrl := fmt.Sprintf("%s/%s/%s/%s/%s", config.ServerDM, BaseRoute, source, mask, fileFullName) + err = utils.CompressJPG(dst, newDst) + compressUrl, err := PutBos(newDst, mediaType, true) + if err != nil { + logger.Errorf("Upload compress err", err) + ResponseQuickMsg(c, e.Failed, err.Error(), data) + return + } + data["compress_url"] = compressUrl + } + logger.Errorf("UploadImg 7 %+v", mask) + // 如果是视频需要截图图片做封面 + if mediaType == VideoType { + videoCover := fmt.Sprintf("%s/%s", imgPath, filename) + _, err = GetSnapshot(dst, videoCover, 1) + if err != nil { + zap.L().Error("GetSnapshot err", zap.Error(err)) + ResponseQuickMsg(c, e.Failed, "获取封面失败", err.Error()) + return + } + logger.Errorf("UploadImg 8 %+v", mask) + zap.L().Info("UploadImg 8.1 videoCover", zap.Any("videoCover", videoCover)) + //data["cover_url"] = fmt.Sprintf("%s/%s/%s/%s/%s", config.ServerDM, BaseRoute, source, mask, fmt.Sprintf("%s.%s", filename, PngType)) + coverUrl, err := PutBos(videoCover+"."+PngType, mediaType, true) + if urlParam != "" { + coverUrl = fmt.Sprintf("%s?%s", coverUrl, urlParam) + } + data["cover_url"] = coverUrl + if err != nil { + zap.L().Error("Upload GetSnapshot err", zap.Error(err)) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), data) + //return + } + ossUrl, err := PutBos(dst, mediaType, true) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if urlParam != "" { + ossUrl = fmt.Sprintf("%s?%s", ossUrl, urlParam) + } + data["ori_url"] = ossUrl + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.SUCCESS), data) + return +} + +func quickBos(file *multipart.FileHeader, mediaType string, mask string, source string, defineFileName string) (url string, err error) { + newFile, _ := file.Open() + var filename string + defer newFile.Close() + if defineFileName != "" { + filename = defineFileName + } else { + uuids, _ := uuid.NewV4() + filename = uuids.String() + filename = fmt.Sprintf("%s%s", filename, filepath.Ext(file.Filename)) + } + filePath := fmt.Sprintf("%s/%s/%s/%s", mediaType, mask, source, filename) + fileBytes, _ := ioutil.ReadAll(newFile) + if mediaType == "image" { + if err = BaiduCheckImage(fileBytes); err != nil { + return + } + } + var objectName string = fmt.Sprintf("%s/%s/%s", config.ConfigData.Oss.BaseDir, config.Env, filePath) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, fileBytes) + if err != nil { + logger.Errorf("quickOss err", err) + return + } + //url = fmt.Sprintf("%s%s%s/%s", config.BosHttp, config.BosBucketName, config.BosUrl, objectName) + url = fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + return +} + +// UploadMulti 批量上传 +func UploadMulti(c *gin.Context) { + form, err := c.MultipartForm() + source := c.PostForm("source") + mask := c.PostForm("mask") + mediaType := c.PostForm("type") + if mask == "" { + mask = "0" + } + if mediaType == "" || mediaType == "image" { + mediaType = "image" + } + if source == "" { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.InvalidParams), nil) + return + } + if err != nil { + logger.Errorf("UploadMulti err", err) + ResponseMsg(c, e.InvalidParams, serializer.Response{ + Msg: err.Error(), + Code: e.Failed, + Error: err, + }) + return + } + var data = make(map[string]string, len(form.File)) + wg.Add(len(form.File)) + var fileCh = make(chan string, len(form.File)) + for _, files := range form.File { + for _, file := range files { + go func() { + defer wg.Done() + var uploadInfo model.UploadInfo + disp := file.Header["Content-Disposition"] + if len(disp) > 0 { + dispKv := strings.Split(disp[0], ";") + for _, vv := range dispKv { + vv = strings.Trim(vv, " ") + if vv[:4] == "name" { + uploadInfo.FileKName = vv[strings.Index(vv, "\"")+1 : strings.LastIndex(vv, "\"")] + } + } + } + newFile, _ := file.Open() + defer newFile.Close() + uuids, _ := uuid.NewV4() + filePath := fmt.Sprintf("%s/%s/%s/%s%s", mediaType, mask, source, uuids, filepath.Ext(file.Filename)) + fileBytes, _ := ioutil.ReadAll(newFile) + if mediaType == "image" { + if err = BaiduCheckImage(fileBytes); err != nil { + uploadInfo.Err = err.Error() + return + } + } + var objectName string = fmt.Sprintf("%s/%s/%s", config.ConfigData.Oss.BaseDir, config.Env, filePath) + BOSClient, _ := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, fileBytes) + if err != nil { + logger.Errorf("quickBos err", err) + return + } + //uploadInfo.Url = fmt.Sprintf("%s%s%s/%s", config.BosHttp, config.BosBucketName, config.BosUrl, objectName) + uploadInfo.Url = fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + infoByte, _ := json.Marshal(uploadInfo) + fileCh <- string(infoByte) + }() + } + } + wg.Wait() + close(fileCh) + for v := range fileCh { + if v != "" { + var uploadInfo model.UploadInfo + if err = json.Unmarshal([]byte(v), &uploadInfo); err == nil { + data[uploadInfo.FileKName] = uploadInfo.Url + } + } + } + ResponseMsg(c, e.UpdatePasswordSuccess, serializer.Response{ + Msg: e.GetMsg(e.SUCCESS), + Status: e.Ok, + Data: data, + }) +} + +func PutBos(filePath string, mediaType string, needRemove bool) (url string, err error) { + BOSClient, err := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + if err != nil { + logger.Errorf("PutBos NewOss err ", err) + err = errors.New(e.GetMsg(e.ErrorUploadBos)) + return + } + f, err := os.Open(filePath) + if err != nil { + logger.Errorf("PutBos Open err %+v", err.Error()) + return + } + fileBytes, _ := io.ReadAll(f) + f.Close() + //删除本地文件 + if needRemove { + os.Remove(filePath) + } + if mediaType == "image" { + if err = BaiduCheckImage(fileBytes); err != nil { + return + } + } + filePath = strings.Replace(filePath, "./runtime", "", 1) + var objectName string = fmt.Sprintf("%s/%s%s", config.ConfigData.Oss.BaseDir, config.Env, filePath) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objectName, fileBytes) + if err != nil { + logger.Errorf("PutBos PutObject err %+v", err.Error()) + err = errors.New(e.GetMsg(e.ErrorUploadBos)) + return + } + //url = fmt.Sprintf("%s%s%s/%s", config.BosHttp, config.BosBucketName, config.BosUrl, objectName) + url = fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + return +} + +// PutBosWithName 自定义osspath +func PutBosWithName(filePath string, needRemove bool, ossPath string) (url string, err error) { + BOSClient, err := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + if err != nil { + logger.Errorf("PutBosWithName err1 ", err) + err = errors.New(e.GetMsg(e.ErrorUploadBos)) + return + } + if ossPath == "" { + ossPath = filePath[1:] + } + var objectName string = fmt.Sprintf("%s/%s%s", config.ConfigData.Oss.BaseDir, config.Env, ossPath) + _, err = BOSClient.PutObject(config.ConfigData.Oss.BucketName, objectName, filePath) + if err != nil { + logger.Errorf("PutBosWithName err2 ", err) + err = errors.New(e.GetMsg(e.ErrorUploadBos)) + return + } + //删除本地文件 + if needRemove { + _ = os.Remove(filePath) + } + //url = fmt.Sprintf("%s%s%s/%s", config.BosHttp, config.BosBucketName, config.BosUrl, objectName) + url = fmt.Sprintf("%s/%s", config.ConfigData.Oss.CdnHost, objectName) + return +} + +func GetSnapshot(videoPath, snapshotPath string, frameNum int) (snapshotName string, err error) { + buf := bytes.NewBuffer(nil) + zap.L().Info("GetSnapshot", zap.Any("videoPath", videoPath)) + err = ffmpeg.Input(videoPath). + Filter("select", ffmpeg.Args{fmt.Sprintf("gte(n,%d)", frameNum)}). + Output("pipe:", ffmpeg.KwArgs{"vframes": 1, "format": "image2", "vcodec": "mjpeg"}). + WithOutput(buf, os.Stdout). + Run() + if err != nil { + zap.L().Error("GetSnapshot Input err", zap.Error(err)) + return "", err + } + + img, err := imaging.Decode(buf) + if err != nil { + zap.L().Error("GetSnapshot Decode err", zap.Error(err)) + return "", err + } + + err = imaging.Save(img, snapshotPath+"."+PngType) + if err != nil { + zap.L().Error("GetSnapshot Save err", zap.Error(err)) + return "", err + } + + names := strings.Split(snapshotPath, "\\") + snapshotName = names[len(names)-1] + "." + PngType + return +} + +// BaiduCheckImage 图片鉴黄 +func BaiduCheckImage(imageByte []byte) (err error) { + return + var ( + accesstoken string + response string + ) + sourcestring := base64.StdEncoding.EncodeToString(imageByte) + if accesstoken, err = logic.GetImageAccessToken(); err != nil { + return err + } + host := "https://aip.baidubce.com/rest/2.0/solution/v1/img_censor/v2/user_defined?access_token=[" + accesstoken + "]" + if response, err = utils.PostForm(host, url.Values{"image": {sourcestring}}); err != nil { + logger.Error("user_defined PostForm err", err) + return err + } + var res struct { + ErrorCode int64 `json:"error_code"` + ErrorMsg string `json:"error_msg"` + Conclusion string `json:"conclusion"` + Log_id uint64 `json:"log_id"` + IsHitMd5 bool `json:"isHitMd5"` + ConclusionType int64 `json:"conclusionType"` + } + if err = json.Unmarshal([]byte(response), &res); err != nil { + err = errors.New(e.GetMsg(e.JsonUnmarshal)) + return + } + logger.Error("user_defined res", res) + if res.ErrorCode != 0 || res.ErrorMsg != "" { + return errors.New(e.GetMsg(e.ERROR_BAIDU_FAIL)) + } + if res.Conclusion != "合规" && res.Conclusion != "疑似" { + return errors.New(e.GetMsg(e.ERROR_BAIDU_IMAGE)) + } + return nil +} diff --git a/pkg/service/websocket/controller/artwork.go b/pkg/service/websocket/controller/artwork.go new file mode 100644 index 0000000..a27929d --- /dev/null +++ b/pkg/service/websocket/controller/artwork.go @@ -0,0 +1,13 @@ +package controller + +import ( + "fmt" + websocketServer "github.com/fonchain_enterprise/fonchain-main/pkg/service/websocket/server" +) + +func SimilarResult(client *websocketServer.Client, cmd string, message []byte) (code uint32, msg string, data interface{}) { + fmt.Println(client) + fmt.Println(cmd) + fmt.Println(string(message)) + return +} diff --git a/pkg/service/websocket/controller/system.go b/pkg/service/websocket/controller/system.go new file mode 100644 index 0000000..70413bd --- /dev/null +++ b/pkg/service/websocket/controller/system.go @@ -0,0 +1,58 @@ +package controller + +import ( + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + projectConf "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + websocketServer "github.com/fonchain_enterprise/fonchain-main/pkg/service/websocket/server" + "github.com/gin-gonic/gin" + "github.com/google/uuid" + "go.uber.org/zap" + "strconv" + "time" +) + +func Info(c *gin.Context) { + userId := c.PostForm("userId") + client := websocketServer.GlobalClientManager.GetUserClient(userId) + client.SendMsg([]byte(fmt.Sprintf("userId:%s", userId))) + service.ResponseQuickMsg(c, e.Ok, "ok", nil) +} + +func Login(ctx *gin.Context) { + if projectConf.Env == "dev" { + userIdS := ctx.PostForm("userId") + nickName := ctx.PostForm("nickName") + userId, _ := strconv.Atoi(userIdS) + ctx.Set("mLoginInfo", model.LoginInfo{ + ID: uint64(userId), + NickName: nickName, + }) + } + var uuidStr string + jwtInfo, _ := ctx.Get("jwtInfo") + zap.L().Info("websocketLogin", zap.Any("jwtInfo", jwtInfo)) + + mLoginInfo, _ := ctx.Get("mLoginInfo") + zap.L().Info("websocketLogin", zap.Any("mLoginInfo", mLoginInfo)) + + if mLoginInfoAny, exists := ctx.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + uuidStr = uuid.New().String() + userInfoBytes, _ := json.Marshal(userInfo) + cache.RedisClient.SetNX(uuidStr, string(userInfoBytes), time.Second*60) + } else { + service.ResponseQuickMsg(ctx, e.Failed, e.ErrNotLogin, nil) + return + } + service.ResponseQuickMsg(ctx, e.Ok, "ok", struct { + SocketKey string `json:"socketKey"` + }{ + SocketKey: uuidStr, + }) + return +} diff --git a/pkg/service/websocket/server/client.go b/pkg/service/websocket/server/client.go new file mode 100644 index 0000000..6f46835 --- /dev/null +++ b/pkg/service/websocket/server/client.go @@ -0,0 +1,89 @@ +package server + +import ( + "fmt" + "github.com/gorilla/websocket" + "go.uber.org/zap" + "runtime/debug" +) + +// Client 用户连接 +type Client struct { + Addr string // 客户端地址 + Socket *websocket.Conn // 用户连接 + Send chan []byte // 待发送的数据 + AppID uint32 // 登录的平台ID app/web/ios + UserID string // 用户ID,用户登录以后才有 + FirstTime uint64 // 首次连接事件 + HeartbeatTime uint64 // 用户上次心跳时间 + LoginTime uint64 // 登录时间 登录以后才有 +} + +// NewClient 初始化 +func NewClient(addr string, socket *websocket.Conn, firstTime uint64) (client *Client) { + client = &Client{ + Addr: addr, + Socket: socket, + Send: make(chan []byte, 100), + FirstTime: firstTime, + HeartbeatTime: firstTime, + } + return +} + +// 读取客户端数据 +func (c *Client) read() { + defer func() { + if r := recover(); r != nil { + zap.L().Error("write stop", zap.String("stack", string(debug.Stack())), zap.Any("r", r)) + } + }() + defer func() { + close(c.Send) + }() + for { + _, message, err := c.Socket.ReadMessage() + fmt.Println("读取客户端数据", message) + if err != nil { + fmt.Println("读取客户端数据 错误", c.Addr, err) + return + } + ProcessData(c, message) + } +} + +// SendMsg 发送数据 +func (c *Client) SendMsg(msg []byte) { + if c == nil { + return + } + defer func() { + if r := recover(); r != nil { + fmt.Println("SendMsg stop:", r, string(debug.Stack())) + } + }() + c.Send <- msg +} + +func (c *Client) write() { + defer func() { + if r := recover(); r != nil { + fmt.Println("write stop", string(debug.Stack()), r) + } + }() + defer func() { + GlobalClientManager.Unregister <- c + _ = c.Socket.Close() + }() + for { + select { + case message, ok := <-c.Send: + if !ok { + // 发送数据错误 关闭连接 + fmt.Println("Client发送数据 关闭连接", c.Addr, "ok", ok) + return + } + _ = c.Socket.WriteMessage(websocket.TextMessage, message) + } + } +} diff --git a/pkg/service/websocket/server/client_manager.go b/pkg/service/websocket/server/client_manager.go new file mode 100644 index 0000000..8b50a13 --- /dev/null +++ b/pkg/service/websocket/server/client_manager.go @@ -0,0 +1,210 @@ +package server + +import ( + "fmt" + "sync" +) + +type ClientManager struct { + Clients map[*Client]bool // 全部的连接 + ClientsLock sync.RWMutex // 读写锁 + Users map[string]*Client // 登录的用户 // appID+uuid + UserLock sync.RWMutex // 读写锁 + Register chan *Client // 连接连接处理 + Login chan *login // 用户登录处理 + Unregister chan *Client // 断开连接处理程序 + Broadcast chan []byte // 广播 向全部成员发送数据 +} + +// 用户登录 +type login struct { + UserID string + Client *Client +} + +func NewClientManager() (clientManager *ClientManager) { + clientManager = &ClientManager{ + Clients: make(map[*Client]bool), + Users: make(map[string]*Client), + Register: make(chan *Client, 1000), + Login: make(chan *login, 1000), + Unregister: make(chan *Client, 1000), + Broadcast: make(chan []byte, 1000), + } + return +} + +// EventRegister 用户建立连接事件 +func (manager *ClientManager) EventRegister(client *Client) { + manager.AddClients(client) + // client.Send <- []byte("连接成功") +} + +// AddClients 添加客户端 +func (manager *ClientManager) AddClients(client *Client) { + manager.ClientsLock.Lock() + defer manager.ClientsLock.Unlock() + manager.Clients[client] = true +} + +// EventLogin 用户登录 +func (manager *ClientManager) EventLogin(login *login) { + client := login.Client + // 连接存在,在添加 + if manager.InClient(client) { + var userKey string = login.UserID + manager.AddUsers(userKey, login.Client) + } +} + +// AddUsers 添加用户 +func (manager *ClientManager) AddUsers(key string, client *Client) { + manager.UserLock.Lock() + defer manager.UserLock.Unlock() + manager.Users[key] = client +} + +func (manager *ClientManager) InClient(client *Client) (ok bool) { + manager.ClientsLock.RLock() + defer manager.ClientsLock.RUnlock() + + // 连接存在,在添加 + _, ok = manager.Clients[client] + return +} + +// DelClients 删除客户端 +func (manager *ClientManager) DelClients(client *Client) { + manager.ClientsLock.Lock() + defer manager.ClientsLock.Unlock() + if _, ok := manager.Clients[client]; ok { + delete(manager.Clients, client) + } +} + +func (manager *ClientManager) GetUserClient(userID string) (client *Client) { + manager.UserLock.RLock() + defer manager.UserLock.RUnlock() + userKey := GetUserKey(userID) + if value, ok := manager.Users[userKey]; ok { + client = value + } + return +} + +// GetUserKeys 获取用户的key +func (manager *ClientManager) GetUserKeys() (userKeys []string) { + userKeys = make([]string, 0, len(manager.Users)) + for key := range manager.Users { + userKeys = append(userKeys, key) + } + return +} + +func (manager *ClientManager) GetUsersLen() (userLen int) { + userLen = len(manager.Users) + return +} + +// GetUserKey 获取用户key +func GetUserKey(userID string) (key string) { + key = fmt.Sprintf("%s", userID) + return +} + +// DelUsers 删除用户 +func (manager *ClientManager) DelUsers(client *Client) (result bool) { + manager.UserLock.Lock() + defer manager.UserLock.Unlock() + key := GetUserKey(client.UserID) + if value, ok := manager.Users[key]; ok { + // 判断是否为相同的用户 + if value.Addr != client.Addr { + return + } + delete(manager.Users, key) + result = true + } + return +} + +// EventUnregister 用户断开连接 +func (manager *ClientManager) EventUnregister(client *Client) { + manager.DelClients(client) + + // 删除用户连接 + deleteResult := manager.DelUsers(client) + if deleteResult == false { + // 不是当前连接的客户端 + return + } + + //// 清除redis登录数据 + //userOnline, err := cache.GetUserOnlineInfo(client.GetKey()) + //if err == nil { + // userOnline.LogOut() + // _ = cache.SetUserOnlineInfo(client.GetKey(), userOnline) + //} + + // 关闭 chan + // close(client.Send) + fmt.Println("EventUnregister 用户断开连接", client.Addr, client.AppID, client.UserID) + if client.UserID != "" { + fmt.Println("EventUnregister 用户断开连接", client.Addr, client.AppID, client.UserID) + } +} + +// ClientsRange 遍历 +func (manager *ClientManager) ClientsRange(f func(client *Client, value bool) (result bool)) { + manager.ClientsLock.RLock() + defer manager.ClientsLock.RUnlock() + for key, value := range manager.Clients { + result := f(key, value) + if result == false { + return + } + } + return +} + +func (manager *ClientManager) GetClientsLen() (clientsLen int) { + clientsLen = len(manager.Clients) + return +} + +// GetClients 获取所有客户端 +func (manager *ClientManager) GetClients() (clients map[*Client]bool) { + clients = make(map[*Client]bool) + manager.ClientsRange(func(client *Client, value bool) (result bool) { + clients[client] = value + return true + }) + return +} + +// 管道处理程序 +func (manager *ClientManager) Start() { + for { + select { + case conn := <-manager.Register: + // 建立连接事件 + manager.EventRegister(conn) + case l := <-manager.Login: + // 用户登录 + manager.EventLogin(l) + case conn := <-manager.Unregister: + // 断开连接事件 + manager.EventUnregister(conn) + case message := <-manager.Broadcast: + // 广播事件 + clients := manager.GetClients() + for conn := range clients { + select { + case conn.Send <- message: + default: + close(conn.Send) + } + } + } + } +} diff --git a/pkg/service/websocket/server/process.go b/pkg/service/websocket/server/process.go new file mode 100644 index 0000000..2931b60 --- /dev/null +++ b/pkg/service/websocket/server/process.go @@ -0,0 +1,74 @@ +package server + +import ( + "encoding/json" + "fmt" + requestWebsocket "github.com/fonchain_enterprise/fonchain-main/pkg/model/request/websocket" + responseWebsocket "github.com/fonchain_enterprise/fonchain-main/pkg/model/response/websocket" + "sync" +) + +type DisposeFunc func(client *Client, cmd string, message []byte) (code uint32, msg string, data interface{}) + +var ( + handlers = make(map[string]DisposeFunc) + handlersRWMutex sync.RWMutex +) + +// Register 注册 +func Register(key string, value DisposeFunc) { + handlersRWMutex.Lock() + defer handlersRWMutex.Unlock() + handlers[key] = value + return +} + +func getHandlers(key string) (value DisposeFunc, ok bool) { + handlersRWMutex.RLock() + defer handlersRWMutex.RUnlock() + value, ok = handlers[key] + return +} + +func ProcessData(client *Client, message []byte) { + defer func() { + if r := recover(); r != nil { + fmt.Println("处理数据 stop", r) + } + }() + if string(message) == "ping" { + client.SendMsg([]byte("pong")) + return + } + request := &requestWebsocket.Request{} + if err := json.Unmarshal(message, request); err != nil { + client.SendMsg([]byte("数据不合法")) + return + } + requestData, err := json.Marshal(request.Data) + if err != nil { + client.SendMsg([]byte("处理数据失败")) + return + } + cmd := request.Cmd + var ( + code uint32 + msg string + data interface{} + ) + + // 采用 map 注册的方式 + if value, ok := getHandlers(cmd); ok { + code, msg, data = value(client, cmd, requestData) + } else { + code = 1 + msg = "未知命令" + } + responseHead := responseWebsocket.NewResponseHead(cmd, code, msg, data) + headByte, err := json.Marshal(responseHead) + if err != nil { + return + } + client.SendMsg(headByte) + return +} diff --git a/pkg/service/websocket/server/start.go b/pkg/service/websocket/server/start.go new file mode 100644 index 0000000..0bfa3fc --- /dev/null +++ b/pkg/service/websocket/server/start.go @@ -0,0 +1,56 @@ +package server + +import ( + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/gin-gonic/gin" + "github.com/gorilla/websocket" + "net/http" + "time" +) + +var upgrader = websocket.Upgrader{ + CheckOrigin: func(r *http.Request) bool { + return true + }, +} + +var GlobalClientManager = NewClientManager() + +func StartChan() { + GlobalClientManager.Start() +} + +func HandleWebSocket(ctx *gin.Context) { + var conn *websocket.Conn + var err error + conn, err = upgrader.Upgrade(ctx.Writer, ctx.Request, nil) + if err != nil { + ctx.JSON(http.StatusInternalServerError, gin.H{"error": err.Error()}) + return + } + socketKey := ctx.Query("socketKey") + if socketKey == "" { + conn.Close() + return + } + userInfoVal := cache.RedisClient.Get(socketKey).Val() + if userInfoVal == "" { + conn.Close() + return + } + var userInfo model.LoginInfo + if err = json.Unmarshal([]byte(userInfoVal), &userInfo); err != nil { + conn.Close() + return + } + defer cache.RedisClient.Del(socketKey) + client := NewClient(conn.RemoteAddr().String(), conn, uint64(time.Now().Unix())) + client.UserID = fmt.Sprint(userInfo.ID) + go client.read() + go client.write() + GlobalClientManager.Register <- client + GlobalClientManager.Login <- &login{UserID: fmt.Sprint(userInfo.ID), Client: client} +} diff --git a/pkg/service/weekmeal/weekmeal.go b/pkg/service/weekmeal/weekmeal.go new file mode 100644 index 0000000..4a2e759 --- /dev/null +++ b/pkg/service/weekmeal/weekmeal.go @@ -0,0 +1,107 @@ +package weekmeal + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/appointment" + "github.com/fonchain_enterprise/fonchain-main/api/buy" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/qr" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +func Weeks(c *gin.Context) { + + var req appointment.GetNextWeekWorkDaysRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.GetWeeks(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Update(c *gin.Context) { + + var req appointment.WeekInfoResponse + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.SetWeekInfo(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func UpdateWeekInfo(c *gin.Context) { + + var req appointment.UpdateWeekInfoRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.UpdateWeekInfo(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func Week(c *gin.Context) { + + var req appointment.GetWeekInfoRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.GetWeekInfo(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +func CreateQr(c *gin.Context) { + + req := &buy.CreateQrCodeRequest{} + + res, err := service.BuyProvider.CreateQrCode(c, req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + logo := "https://dci-file-new.bj.bcebos.com/fonchain-main/prod/image/artist/recent_photo/0/9ed3bc16-a0f2-41c5-940e-7c40ad4c841d.png" + s, _ := qr.CreateQrBase64(res.QrUrl, logo) + + resMap := make(map[string]interface{}) + resMap["base"] = s + resMap["url"] = res + service.Success(c, resMap) + return +} diff --git a/pkg/service/work_day_meal/work_day_meal.go b/pkg/service/work_day_meal/work_day_meal.go new file mode 100644 index 0000000..84d8b61 --- /dev/null +++ b/pkg/service/work_day_meal/work_day_meal.go @@ -0,0 +1,126 @@ +package work_day_meal + +import ( + "github.com/fonchain_enterprise/fonchain-main/api/appointment" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "github.com/gin-gonic/gin/binding" +) + +//NowNextWorkDay 当天的下一个工作日 +func NowNextWorkDay(c *gin.Context) { + res, err := service.AppointmentProvider.NowNextWorkDay(c, &appointment.EmptyRequest{}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +//MealList 工作日餐的列表 +func MealList(c *gin.Context) { + + var req appointment.MealListRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + res, err := service.AppointmentProvider.MealList(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +//UserWorkDayMeal 登陆者某天的预约记录 +func UserWorkDayMeal(c *gin.Context) { + + var req appointment.WorkDayMealRequest + + if err := c.ShouldBindBodyWith(&req, binding.JSON); err != nil { + service.Error(c, e.InvalidParams, err) + return + } + + userInfo := login.GetUserInfoFromC(c) + req.UserID = uint32(userInfo.ID) + req.UserTel = userInfo.TelNum + req.UserName = userInfo.NickName + req.UserAvatar = userInfo.Avatar + + res, err := service.AppointmentProvider.UserWorkDayMeal(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +//SureWorkDayMeal 申请预约 +func SureWorkDayMeal(c *gin.Context) { + + req := appointment.WorkDayMealRequest{} + + workRes, err := service.AppointmentProvider.NowNextWorkDay(c, &appointment.EmptyRequest{}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.Day = workRes.WorkDay + + userInfo := login.GetUserInfoFromC(c) + req.UserID = uint32(userInfo.ID) + req.UserTel = userInfo.TelNum + req.UserName = userInfo.NickName + req.UserAvatar = userInfo.Avatar + + res, err := service.AppointmentProvider.SureWorkDayMeal(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} + +//CancelWorkDayMeal 取消预约 +func CancelWorkDayMeal(c *gin.Context) { + + req := appointment.WorkDayMealRequest{} + + workRes, err := service.AppointmentProvider.NowNextWorkDay(c, &appointment.EmptyRequest{}) + if err != nil { + service.Error(c, e.Error, err) + return + } + + req.Day = workRes.WorkDay + + userInfo := login.GetUserInfoFromC(c) + req.UserID = uint32(userInfo.ID) + req.UserTel = userInfo.TelNum + req.UserName = userInfo.NickName + req.UserAvatar = userInfo.Avatar + + res, err := service.AppointmentProvider.CancelWorkDayMeal(c, &req) + if err != nil { + service.Error(c, e.Error, err) + return + } + + service.Success(c, res) + return +} diff --git a/pkg/service/workbench.go b/pkg/service/workbench.go new file mode 100644 index 0000000..0f65c7c --- /dev/null +++ b/pkg/service/workbench.go @@ -0,0 +1,708 @@ +package service + +import ( + "context" + "dubbo.apache.org/dubbo-go/v3/common/constant" + "fmt" + artShow "github.com/fonchain_enterprise/fonchain-main/api/artShow" + "github.com/fonchain_enterprise/fonchain-main/api/artist" + "github.com/fonchain_enterprise/fonchain-main/api/artwork_query" + "github.com/fonchain_enterprise/fonchain-main/api/workbench" + "github.com/fonchain_enterprise/fonchain-main/pkg/common" + projectConf "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/logic" + "github.com/fonchain_enterprise/fonchain-main/pkg/model" + "github.com/gin-gonic/gin" + "go.uber.org/zap" +) + +func IndexCount(c *gin.Context) { + var req workbench.IndexCountRequest + resp, err := GrpcWorkbenchImpl.IndexCount(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), resp.Data) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +func AddShelf(c *gin.Context) { + var req workbench.AddShelfRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.AddShelf(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func DelShelf(c *gin.Context) { + var req workbench.DelShelfRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.DelShelf(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func ShelfList(c *gin.Context) { + var req workbench.ShelfListRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ShelfList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), resp.Data) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + if len(resp.Data) > 0 { + for k, v := range resp.Data { + if v.ColumnInfo == nil { + resp.Data[k].ColumnInfo = []*workbench.ShelfListResponse_AAInfo{} + } + } + } + return +} + +func ShelfDetail(c *gin.Context) { + var req workbench.ShelfDetailRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ShelfDetail(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), resp.Data) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + if len(resp.Data) == 0 { + resp.Data = []*workbench.ShelfDetailResponse_ArtistInfo{} + } + return +} + +func ShelfAddArtwork(c *gin.Context) { + var req workbench.ShelfAddArtworkRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ShelfAddArtwork(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func SimpleArtworkList(c *gin.Context) { + var req workbench.ArtworkListRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ArtworkList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(resp.Data) == 0 { + resp.Data = []*workbench.ArtworkListResponse_Info{} + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ShelfDragArtwork(c *gin.Context) { + var req workbench.ShelfDragArtworkRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ShelfDragArtwork(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func UpdateAwShelf(c *gin.Context) { + var req workbench.UpdateAwShelfNoRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.UpdateAwShelfNo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ExportByShowId(c *gin.Context) { + var req workbench.ExportByShowIdRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ExportByShowId(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if resp.Data == nil || len(resp.Data) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.NOTDATA), nil) + return + } + var exportUrl string + if exportUrl, err = logic.ProcessDriverExcel(c, resp.Data); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, map[string]string{ + "ExportUrl": exportUrl, + }) + //ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ArtShowDone(c *gin.Context) { + var req workbench.ArtShowDoneRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + //判断是否审核通过 + + /* + var showReq artShow.ShowStatusReq + showReq.ShowUID = []string{ + req.ArtShowId, + } + if config.GetConsumerService("ArtShowClientImpl") != nil { + showResp, err := GrpcArtShowImpl.QueryShowStatus(context.Background(), &showReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if len(showResp.Status) == 0 { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorGetArtShow), nil) + return + } + for _, v := range showResp.Status { + if v.IsShow != model.ArtShowStatus { + ResponseQuickMsg(c, e.Failed, e.GetMsg(e.ErrorPriceRunFailed), nil) + return + } + } + }*/ + // 查询所有的画展包的画作信息 + artshowIdsResp, _err := GrpcArtworkQueryImpl.ArtworkDataByShowId(context.Background(), &artwork_query.ArtworkDataByShowIdRequest{ + ArtworkShowIds: []string{req.ArtShowId}, + }) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + var artworkData []*workbench.ArtShowDoneRequest_ArtworkInfo + if artshowIdsResp != nil && artshowIdsResp.Data != nil { + for _, v := range artshowIdsResp.Data { + zap.L().Info("ArtworkPrice", zap.Any("artshowId", req.ArtShowId), zap.Any("ArtworkUuid", v.ArtworkUuid)) + artshowPriceResp, errS := GrpcArtShowImpl.ArtworkPrice(context.Background(), &artShow.ArtworkPriceReq{ArtworkUID: v.ArtworkUuid}) + zap.L().Info("ArtworkPrice", zap.Any("artshowPriceResp", artshowPriceResp)) + if errS != nil { + ResponseQuickMsg(c, e.Failed, errS.Error(), nil) + return + } + var temp workbench.ArtShowDoneRequest_ArtworkInfo + if artshowPriceResp != nil && artshowPriceResp.Data != nil { + temp.ArtworkUuid = v.ArtworkUuid + temp.CompanyName = artshowPriceResp.Data.TalentAgency + artworkData = append(artworkData, &temp) + } + } + } + + req.ArtworkData = artworkData + resp, err := GrpcWorkbenchImpl.ArtShowDone(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func ListShow(c *gin.Context) { + var req workbench.ListShowReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ListShow(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +func AwsStorage(c *gin.Context) { + var req workbench.UpdateAwsStorageRequest + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + // 如果是入库则查询画家信息 1 入库 + if req.Type == 1 { + var artistInfoReq artist.ArtistInfoRequest + artistInfoReq.Uid = req.ArtistUuid + artistInfo, err := GrpcArtistImpl.ArtistInfo(context.Background(), &artistInfoReq) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + req.ArtistData = &workbench.UpdateAwsStorageRequest_ArtistInfo{} + req.ArtistData.ArtistUuid = artistInfo.ProfileInfo.Uid + req.ArtistData.Seqnum = artistInfo.ProfileInfo.Seqnum + req.ArtistData.Tnum = artistInfo.ProfileInfo.Tnum + req.ArtistData.Num = artistInfo.ProfileInfo.Num + } + resp, err := GrpcWorkbenchImpl.UpdateAwsStorage(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func ScheduleAdd(c *gin.Context) { + var req workbench.AddScheduleReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if projectConf.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + req.UserId = int32(userInfo.ID) + req.InitiatorNickname = userInfo.NickName + } + } else { + req.UserId = 1 + req.InitiatorNickname = "test_nickname" + } + // 要把创建人加到参与人里 + var isIn bool = false + if len(req.Participant) > 0 { + for _, v := range req.Participant { + if v.Value == req.UserId { + isIn = true + break + } + } + } + if !isIn { + req.Participant = append(req.Participant, &workbench.ParticipantInfo{ + Value: req.UserId, + Label: req.InitiatorNickname, + }) + } + //if err := req.Validate(); err != nil { + // err = common.SubstrError(err) + // ResponseQuickMsg(c, e.Failed, err.Error(), nil) + // return + //} + // + atta := make(map[string]interface{}, 2) + if len(req.Content) >= 8000000 { + atta["content"] = req.Content + req.Content = "" + } + reqContext := context.WithValue(context.Background(), constant.DubboCtxKey("attachment"), atta) + // + resp, err := GrpcWorkbenchImpl.AddSchedule(reqContext, &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func ScheduleInfo(c *gin.Context) { + var req workbench.ScheduleInfoReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if projectConf.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + req.UserId = int32(userInfo.ID) + } + } else { + req.UserId = 1 + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ScheduleInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ScheduleList(c *gin.Context) { + var req workbench.ScheduleListReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if projectConf.Env != "dev" { + if mLoginInfoAny, exists := c.Get("mLoginInfo"); exists { + userInfo := mLoginInfoAny.(model.LoginInfo) + req.UserId = int32(userInfo.ID) + } + } else { + req.UserId = 1 + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ScheduleList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func ScheduleRead(c *gin.Context) { + var req workbench.ScheduleReadReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.ScheduleRead(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp) + return +} + +func CommonSealList(c *gin.Context) { + var req workbench.CommonSealListReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.CommonSealList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, resp.Data) + return +} + +func PostBatchArt(c *gin.Context) { + var req workbench.PostBatchAddArtReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.PostBatchAddArt(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, resp.Msg, nil) + return +} + +func RecheckArtistList(c *gin.Context) { + var req workbench.RecheckArtistListReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + var idNameReq artist.ArtIdNameRequest + if req.ArtistName != "" { + idNameReq.Keyword = req.ArtistName + } + if req.ArtistTnum != "" { + idNameReq.Tnum = req.ArtistTnum + } + // 如果筛选了画家信息则先查询画家的uuid + idNameResp, _errS := GrpcArtistImpl.ArtistIdName(context.Background(), &idNameReq) + if _errS != nil { + ResponseQuickMsg(c, e.Failed, _errS.Error(), nil) + return + } + if len(idNameResp.Items) > 0 { + var reqArtistUuids []string + for _, info := range idNameResp.Items { + reqArtistUuids = append(reqArtistUuids, info.Uuid) + } + req.ArtistUuids = reqArtistUuids + } else { + req.ArtistUuids = []string{" "} + } + resp, err := GrpcWorkbenchImpl.RecheckArtistList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, info := range resp.Data { + if info.BlackListStatus == 2 { + info.ArtistName = fmt.Sprintf("#%s", info.ArtistName) + } + } + // 查询画家的信息 + if len(resp.Data) > 0 { + var artistUuids []string + for _, info := range resp.Data { + artistUuids = append(artistUuids, info.ArtistUuid) + info.ArtistShowCount = fmt.Sprintf("%s(0)", info.ArtistName) + } + artistData, _err := GrpcArtistImpl.ArtistData(context.Background(), &artist.ArtistDataRequest{Uids: artistUuids}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + for _, info := range resp.Data { + for _, artistInfo := range artistData.Data { + if info.ArtistUuid == artistInfo.ProfileInfo.Uid { + info.ArtistName = artistInfo.ProfileInfo.Name + info.ArtistTnum = artistInfo.ProfileInfo.Tnum + } + } + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUuids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp.Data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func RecheckArtworkList(c *gin.Context) { + var req workbench.RecheckArtworkListReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.RecheckArtworkList(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + for _, info := range resp.Data { + if info.BlackListStatus == 2 { + info.ArtistName = fmt.Sprintf("#%s", info.ArtistName) + } + } + // 遍历组装画家UUID 查询画家的信息 + if len(resp.Data) > 0 { + var artistUuids []string = make([]string, 0, len(resp.Data)) + for _, info := range resp.Data { + artistUuids = append(artistUuids, info.ArtistUuid) + info.ArtistShowCount = fmt.Sprintf("%s(0)", info.ArtistName) + } + artistData, _err := GrpcArtistImpl.ArtistData(context.Background(), &artist.ArtistDataRequest{Uids: artistUuids}) + if _err != nil { + ResponseQuickMsg(c, e.Failed, _err.Error(), nil) + return + } + for _, info := range resp.Data { + for _, artistInfo := range artistData.Data { + if info.ArtistUuid == artistInfo.ProfileInfo.Uid { + info.ArtistTnum = artistInfo.ProfileInfo.Tnum + } + } + } + artshowResp, _err := GrpcArtShowImpl.ArtistExhibitionCount(context.Background(), &artShow.ArtistExhibitionCountReq{ArtistUid: artistUuids}) + if _err != nil { + zap.L().Error("artist ArtistExhibitionCount err", zap.Error(_err)) + } + if artshowResp != nil && len(artshowResp.ArtistShowCount) > 0 { + for k, v := range resp.Data { + for _, v1 := range artshowResp.ArtistShowCount { + if v.ArtistUuid == v1.ArtistUid { + resp.Data[k].ArtistShowCount = fmt.Sprintf("%s(%d)", v.ArtistName, v1.ShowCount) + break + } + } + } + } + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return +} + +func RecheckEdit(c *gin.Context) { + var req workbench.RecheckEditReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + _, err := GrpcWorkbenchImpl.RecheckEdit(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), nil) + return +} + +func RecheckSubmit(c *gin.Context) { + var req workbench.RecheckSubmitReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + _, err := GrpcWorkbenchImpl.RecheckSubmit(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), nil) + return +} + +func SubmitInfo(c *gin.Context) { + var req workbench.SubmitInfoReq + if err := c.ShouldBind(&req); err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + if err := req.Validate(); err != nil { + err = common.SubstrError(err) + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + resp, err := GrpcWorkbenchImpl.SubmitInfo(context.Background(), &req) + if err != nil { + ResponseQuickMsg(c, e.Failed, err.Error(), nil) + return + } + ResponseQuickMsg(c, e.Ok, e.GetMsg(e.Success), resp) + return +} diff --git a/pkg/service/workbench_test.go b/pkg/service/workbench_test.go new file mode 100644 index 0000000..1d20a02 --- /dev/null +++ b/pkg/service/workbench_test.go @@ -0,0 +1,210 @@ +package service + +import ( + "github.com/gin-gonic/gin" + "testing" +) + +func TestAddShelf(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AddShelf(tt.args.c) + }) + } +} + +func TestArtShowDone(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ArtShowDone(tt.args.c) + }) + } +} + +func TestAwsStorage(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + AwsStorage(tt.args.c) + }) + } +} + +func TestDelShelf(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + DelShelf(tt.args.c) + }) + } +} + +func TestExportByShowId(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ExportByShowId(tt.args.c) + }) + } +} + +func TestIndexCount(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + IndexCount(tt.args.c) + }) + } +} + +func TestShelfAddArtwork(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ShelfAddArtwork(tt.args.c) + }) + } +} + +func TestShelfDetail(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ShelfDetail(tt.args.c) + }) + } +} + +func TestShelfDragArtwork(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ShelfDragArtwork(tt.args.c) + }) + } +} + +func TestShelfList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + ShelfList(tt.args.c) + }) + } +} + +func TestSimpleArtworkList(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + SimpleArtworkList(tt.args.c) + }) + } +} + +func TestUpdateAwShelf(t *testing.T) { + type args struct { + c *gin.Context + } + tests := []struct { + name string + args args + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + UpdateAwShelf(tt.args.c) + }) + } +} diff --git a/pkg/utils/arrary.go b/pkg/utils/arrary.go new file mode 100644 index 0000000..6f0ad22 --- /dev/null +++ b/pkg/utils/arrary.go @@ -0,0 +1,69 @@ +// Package utils ----------------------------- +// @file : arrary.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/9/7 16:51 +// ------------------------------------------- +package utils + +// 数组去重 +func ArrayDeduplicate[T int | int64 | string | int32 | bool](arr []T) []T { + var subs []T + for _, v := range arr { + if len(subs) == 0 { + subs = append(subs, v) + } else { + var exist bool + for _, s := range subs { + if s == v { + exist = true + break + } + } + if !exist { + subs = append(subs, v) + } + } + } + return subs +} + +// Intersection 数组取交集 +func Intersection(slice1 []string, slice2 []string) []string { + m := make(map[string]bool) + for _, item := range slice1 { + m[item] = true + } + + var result []string + for _, item := range slice2 { + if _, ok := m[item]; ok { + result = append(result, item) + } + } + return result +} + +func DifferentFrom(origin []string, needRemove []string) []string { + var newList = []string{} + if len(origin) == 0 { + return newList + } + if len(needRemove) == 0 { + return origin + } + for _, item := range origin { + var remove bool + for _, removeItem := range needRemove { + if item == removeItem { + remove = true + break + } + } + if !remove { + newList = append(newList, item) + } + } + + return newList +} diff --git a/pkg/utils/clock.go b/pkg/utils/clock.go new file mode 100644 index 0000000..ecd426a --- /dev/null +++ b/pkg/utils/clock.go @@ -0,0 +1,99 @@ +package utils + +import ( + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/vo/turnstile" + "github.com/go-redis/redis" + "github.com/google/uuid" + "time" +) + +func IssueTheCardPunchData(info turnstile.TurnStile, deviceNum string, uuid uuid.UUID) (err error, msg turnstile.WebsocketDeviceRes) { + turnRes := &turnstile.WebsocketDeviceRes{} + modifyUserIdIfNeeded(&info) + str, err := json.Marshal(info) + if err != nil { + return errors.New("请求参数错误"), *turnRes + } + err = PushToRedis(deviceNum, str) + if err != nil { + return errors.New("推送数据到 Redis 失败"), *turnRes + } + //监听10秒 + dataChannel := make(chan string) + go func() { + time.Sleep(10 * time.Second) + dataChannel <- "data" + }() + for { + //var turnRes *turnstile.WebsocketDeviceRes + select { + case data := <-dataChannel: + fmt.Println("Received data:", data) + return errors.New("连接打卡机超时"), *turnRes + default: + } + var redisClient *redis.Client + if config.IsOut == true { + redisClient = GetNewRedisClient() + } else { + redisClient = cache.RedisClient + } + deviceRes, err := redisClient.Get(cache.GetPushResInfo(uuid.String())).Result() + fmt.Println("设备返回数据====:", deviceRes) + if deviceRes == "" || err != nil { + time.Sleep(100 * time.Millisecond) + continue + } + if err = json.Unmarshal([]byte(deviceRes), &turnRes); err != nil { + return err, *turnRes + } + if turnRes.Data.Code != 0 { + return errors.New(turnRes.Data.Msg), *turnRes + } + redisClient.Del(cache.GetPushResInfo(deviceNum)) + break + } + return nil, *turnRes +} + +// 如果满足条件则修改 user_id +func modifyUserIdIfNeeded(info *turnstile.TurnStile) { + if config.IsOut == true && config.Env == "prod" { + // 修改 UserId 字段 + if info.Data.UserId != "" { + info.Data.UserId += "out" + fmt.Println("user_id 已修改为:", info.Data.UserId) + } + + // 修改 UserIds 字段 + for i := range info.Data.UserIds { + info.Data.UserIds[i] += "out" + fmt.Println("user_ids 已修改为:", info.Data.UserIds[i]) + } + } +} + +func PushToRedis(deviceNum string, str []byte) error { + var redisClient *redis.Client + if config.IsOut == true && config.Env == "prod" { + redisClient = GetNewRedisClient() + } else { + redisClient = cache.RedisClient + } + + return redisClient.RPush(cache.GetTurnstileSendListKey(deviceNum), string(str)).Err() +} + +// 获取新的 Redis 客户端 +func GetNewRedisClient() *redis.Client { + return redis.NewClient(&redis.Options{ + Addr: "r-bp1mjimyh1ejg1mxclpd.redis.rds.aliyuncs.com:6379", // 替换为实际的地址和端口 + Password: "fonchain_opv:kP6tW4tS3qB2dW4aE6uI5cX2", // Redis密码 + DB: 15, // Redis数据库 + }) +} diff --git a/pkg/utils/convert_price.go b/pkg/utils/convert_price.go new file mode 100644 index 0000000..b0716e0 --- /dev/null +++ b/pkg/utils/convert_price.go @@ -0,0 +1,56 @@ +package utils + +import ( + "fmt" + "regexp" + "strconv" +) + +func ConvertNumToCny(num float64) (string, error) { + if num == 0 { + return "零元", nil + } + strnum := strconv.FormatFloat(num*100, 'f', 0, 64) + sliceUnit := []string{"仟", "佰", "拾", "亿", "仟", "佰", "拾", "万", "仟", "佰", "拾", "元", "角", "分"} + // log.Println(sliceUnit[:len(sliceUnit)-2]) + s := sliceUnit[len(sliceUnit)-len(strnum) : len(sliceUnit)] + upperDigitUnit := map[string]string{"0": "零", "1": "壹", "2": "贰", "3": "叁", "4": "肆", "5": "伍", "6": "陆", "7": "柒", "8": "捌", "9": "玖"} + str := "" + for k, v := range strnum[:] { + str = str + upperDigitUnit[string(v)] + s[k] + } + reg, err := regexp.Compile(`零角零分$`) + str = reg.ReplaceAllString(str, "整") + + reg, err = regexp.Compile(`零角`) + str = reg.ReplaceAllString(str, "零") + + reg, err = regexp.Compile(`零分$`) + str = reg.ReplaceAllString(str, "整") + + reg, err = regexp.Compile(`零[仟佰拾]`) + str = reg.ReplaceAllString(str, "零") + + reg, err = regexp.Compile(`零{2,}`) + str = reg.ReplaceAllString(str, "零") + + reg, err = regexp.Compile(`零亿`) + str = reg.ReplaceAllString(str, "亿") + + reg, err = regexp.Compile(`零万`) + str = reg.ReplaceAllString(str, "万") + + reg, err = regexp.Compile(`零*元`) + str = reg.ReplaceAllString(str, "元") + + reg, err = regexp.Compile(`亿零{0, 3}万`) + str = reg.ReplaceAllString(str, "^元") + + reg, err = regexp.Compile(`零元`) + str = reg.ReplaceAllString(str, "零") + if err != nil { + fmt.Println(err) + return "", err + } + return str, nil +} diff --git a/pkg/utils/employee/employee.go b/pkg/utils/employee/employee.go new file mode 100644 index 0000000..dae0252 --- /dev/null +++ b/pkg/utils/employee/employee.go @@ -0,0 +1,579 @@ +package employee + +import ( + "context" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/api/account" + "github.com/fonchain_enterprise/fonchain-main/api/department" + "github.com/fonchain_enterprise/fonchain-main/api/employee" + "github.com/fonchain_enterprise/fonchain-main/api/oa" + "github.com/fonchain_enterprise/fonchain-main/api/position" + "github.com/fonchain_enterprise/fonchain-main/api/recruit" + "github.com/fonchain_enterprise/fonchain-main/api/rule" + appConfig "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/login" + "github.com/fonchain_enterprise/fonchain-main/pkg/model/union" + "github.com/fonchain_enterprise/fonchain-main/pkg/service" + "github.com/gin-gonic/gin" + "strconv" + "time" +) + +func CreateAnEmployeeProfile(c *gin.Context, userId uint64, userInfo union.User, resume *recruit.ResumeQueryListVo, reqUser *account.Operator) error { + if userId == 0 { + return errors.New("用户ID不能为空") + } + qres, err := service.RuleProvider.UserInfo(c, &rule.RulesRequest{ + Domain: "fontree", + AccountID: userId, + }) + if qres.PositionUsers == nil || len(qres.PositionUsers) == 0 { + return errors.New("获取用户信息失败,职位或部门信息不存在") + } + // 查找在职状态的字典项 + working, err := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{ + Name: "在职", + Tag: "workingCondition", + }) + if err != nil { + return err + } + fmt.Printf("working------%+v --------", working) + // 获取在职状态的 ID,如果存在的话 + nature := uint64(100) + workingId := uint64(100) + if len(working.WorkingCondition) != 0 { + workingId = working.WorkingCondition[0].Id + } + natureOfEmployment, _ := service.GrpcEmployeeProvider.SearchDictionaryList(c, &employee.SearchDictionaryRequest{ + Name: resume.Resumes[0].EmployeeType, + Tag: "natureOfEmployment", + }) + if len(natureOfEmployment.NatureOfEmployment) != 0 { + nature = natureOfEmployment.NatureOfEmployment[0].Id + } + var departmentPost []*employee.DepartmentPostInfo + var postReq []*oa.WorkingTimeWithPositionsReqPosition + for _, i := range qres.PositionUsers { + departmentPost = append(departmentPost, &employee.DepartmentPostInfo{ + DepartmentId: i.DepartmentId, + PostId: i.PositionID, + }) + postReq = append(postReq, &oa.WorkingTimeWithPositionsReqPosition{ + DepartmentUID: strconv.FormatUint(i.DepartmentId, 10), + PositionUID: strconv.FormatUint(i.PositionID, 10), + }) + } + var FileAttachment []*employee.EmployeeFileAttachmentInfo + var CurriculumVitae *employee.EmployeeFileAttachmentInfo + if resume.Resumes[0].InterviewFile != "" { + FileAttachment = []*employee.EmployeeFileAttachmentInfo{ + {Url: resume.Resumes[0].InterviewFile, Name: "应聘登记表", Type: ""}, + } + } + if resume.Resumes[0].ResumeFile != "" { + CurriculumVitae = &employee.EmployeeFileAttachmentInfo{ + Url: resume.Resumes[0].ResumeFile, + Name: "简历", + Type: "image", + } + } + // 创建员工档案请求 + employeeFileInfo := &employee.CreateEmployeeFileRequest{ + UserId: userId, + Name: userInfo.NickName, + InPersonTel: userInfo.TelNum, + DateOfEntry: userInfo.EnterDate, + DepartmentPostList: departmentPost, + JobNumber: userInfo.JobNum, + WorkingConditionId: workingId, + PersonnelSourceId: 100, + ContractTypeId: 100, + NatureOfEmploymentId: nature, + CompanyId: 100, //默认占位 + CostCenterId: 100, + SexId: 100, + PoliticalStatusId: 100, + MaritalStatusId: 100, + ApplicationForm: FileAttachment, //应聘登记表 + CurriculumVitae: CurriculumVitae, + //薪资信息 + BasicPay: -1, + ChiefAddition: -1, + PostWage: -1, + MeritPay: -1, + OtherAllowances: -1, + ProfessionalTitleSubsidy: -1, + SkillGrant: -1, + PreTaxSalary: -1, + SocialSecurityBase: -1, + CompanyPension: -1, + CompanyMedicine: -1, + CompanyBeUnemployed: -1, + CompanyOccupationalInjury: -1, + CompanyGiveBirth: -1, + CompanyReserveFund: -1, + PersonagePension: -1, + PersonageMedicine: -1, + PersonageBeUnemployed: -1, + PersonageOccupationalInjury: -1, + PersonageGiveBirth: -1, + PersonageReserveFund: -1, + Source: "inviteForAJob", + ModifyOrNot: true, + } + fmt.Printf("req------%+v --------", employeeFileInfo) + // 创建员工档案 + employeeFileInfo.Operator = uint64(reqUser.ID) + employeeFileInfo.OperatorName = reqUser.Name + uid, err := service.GrpcEmployeeProvider.CreateEmployeeFile(c, employeeFileInfo) + if err != nil { + return err + } + if uid.Massage != "" { + return errors.New(uid.Massage) + } + //绑定考勤组 + err = BindTheDefaultAttendanceGroup(c, uid.Id, departmentPost) + if err != nil { + fmt.Printf("绑定考勤组错误%+v --------", err) + } + _, _ = CreateAMallAccount(employeeFileInfo, uid.Id) + //创建假勤余额 + err = CreateAFalseAttendanceBalance(c, employeeFileInfo, uid.Id) + if err != nil { + fmt.Printf("创建假勤余额错误%+v --------", err) + } + return nil +} +func CreateAFalseAttendanceBalance(c *gin.Context, in *employee.CreateEmployeeFileRequest, employeeId uint64) error { + annualLeave := service.AnnualLeaveByYearsOfService(in.DateOfEntry) + var LeaveBalancePositionList []*oa.LeaveBalancePosition + for _, s := range in.DepartmentPostList { + LeaveBalancePosition := &oa.LeaveBalancePosition{ + DepartmentUID: strconv.FormatUint(s.DepartmentId, 10), + PositionUID: strconv.FormatUint(s.PostId, 10), + } + LeaveBalancePositionList = append(LeaveBalancePositionList, LeaveBalancePosition) + } + _, err := service.GrpcOAImpl.SaveLeaveBalance(c, &oa.LeaveBalance{ + StaffUID: in.UserId, + StaffNum: in.JobNumber, + StaffName: in.Name, + Year: int32(time.Now().Year()), + Positions: LeaveBalancePositionList, + AnnualLeave: float32(annualLeave), + HasParentalLeave: 1, + HasNursingLeave: 1, + EmployeeFileId: employeeId, + }) + return err +} +func BindTheDefaultAttendanceGroup(c *gin.Context, employeeId uint64, postReq []*employee.DepartmentPostInfo) error { + //绑定考勤组 + Positions := []*oa.WorkingTimeWithPositionsReqPosition{} + if len(postReq) == 0 { + return nil + } + for _, i := range postReq { + Positions = append(Positions, &oa.WorkingTimeWithPositionsReqPosition{ + DepartmentUID: strconv.FormatUint(i.DepartmentId, 10), + PositionUID: strconv.FormatUint(i.PostId, 10), + }) + } + queryWorking := &oa.WorkingTimeWithPositionsReq{ + Positions: Positions, + InUse: 1, + Page: 1, + PageSize: 100, + } + workingTime, err := service.GrpcOAImpl.QueryWorkingTimeWithPositions(c, queryWorking) + if len(workingTime.Data) == 1 { + DepartmentID, _ := strconv.ParseUint(workingTime.Data[0].DepartmentUID, 10, 64) + PositionID, _ := strconv.ParseUint(workingTime.Data[0].PositionUID, 10, 64) + bandAttendance := &employee.AttendanceGroupRequest{ + Id: employeeId, + DepartmentId: DepartmentID, + PostId: PositionID, + AttendanceSectionId: workingTime.Data[0].UUID, + AttendanceSectionName: workingTime.Data[0].WorkTimeTemplateName, + } + fmt.Printf("------------bandAttendance---%+v ", bandAttendance) + _, err = service.GrpcEmployeeProvider.TheAttendanceGroupIsSet(c, bandAttendance) + if err != nil { + return err + } + } + return nil +} +func IsHaveEmployeeAuth(c *gin.Context) (bool, []uint64, error) { + userInfo := login.GetUserInfoFromC(c) + departmentIDs := make([]uint64, len(userInfo.PositionUsers)) + for idx, posUser := range userInfo.PositionUsers { + departmentIDs[idx] = posUser.DepartmentId + } + //判断人是否有员工档案权限 + req := position.SearchDepartmentRequest{ + Domain: "fontree", + UserId: userInfo.ID, + Urls: []string{e.AuthEmployeeAllKey}, + } + res, err := service.PositionProvider.SearchDepartment(c, &req) + if err == nil && len(res.List) > 0 { + return true, nil, nil + } + if err != nil { + return false, nil, err + } + //查询是否有亿麦权限 Todo 特殊处理数字科技中心的权限 需要优化 暂时写死部门id + reqMai := position.SearchDepartmentRequest{ + Domain: "fontree", + UserId: userInfo.ID, + Urls: []string{e.AuthEmployeeMaiKey}, + } + resMai, err := service.PositionProvider.SearchDepartment(c, &reqMai) + if err == nil && len(resMai.List) > 0 { + departmentID := uint64(0) + if appConfig.Env == "prod" { + departmentID = 161 + departmentIDs = append(departmentIDs, departmentID) + } else if appConfig.Env == "dev" || appConfig.Env == "test" { + fmt.Println("==========>> 有数字科技中心数据权限") + departmentID = 161 + fmt.Println("==========>> 当前部门id:", departmentIDs) + departmentIDs = append(departmentIDs, departmentID) + fmt.Println("==========>> 添加后的部门id:", departmentIDs) + } + } + departmentU32 := make([]uint32, len(departmentIDs)) + for idx, depID := range departmentIDs { + departmentU32[idx] = uint32(depID) + } + + // 获取当前及下属部门 + departmentReq := &department.BaseListV2Request{ + UserId: uint32(userInfo.ID), + DepartmentIds: departmentU32, + } + //获取当前及下属部门 + departmentRes, err := service.DepartmentProvider.BaseListV2(c, departmentReq) + if err != nil { + return false, nil, err + } + subDepartmentIDs := make([]uint64, len(departmentRes.List)) + for idx, dep := range departmentRes.List { + subDepartmentIDs[idx] = dep.ID + } + fmt.Println("==========>> 去重后的部门ids:", subDepartmentIDs) + employeeFile, err := service.GrpcEmployeeProvider.CheckEmployeeFilesByDepartmentID(c, &employee.CheckEmployeeFilesByDepartmentIDRequest{ + DepartmentIds: subDepartmentIDs, + }) + if err != nil { + return false, nil, err + } + //如果没有人员 添加默认筛选条件 + if employeeFile.EmployeeFileId == nil { + employeeFile.EmployeeFileId = append(employeeFile.EmployeeFileId, 0) + } + if employeeFile.UserIds == nil { + employeeFile.UserIds = append(employeeFile.UserIds, 0) + } + fmt.Println("==========>> 能查看的档案id:", employeeFile.EmployeeFileId) + return false, employeeFile.EmployeeFileId, nil +} +func BuildSaveEmployeeFile(in *employee.CreateEmployeeFileRequest, id uint64) *employee.SaveEmployeeFileRequest { + list, err := service.GrpcEmployeeProvider.FindEmployeeFileList(context.Background(), &employee.FindEmployeeFileListRequest{ + Id: id, + }) + if err != nil { + return nil + } + var ApplicationForm, GraduationCertificate, DegreeCertificate, OtherCertificates []*employee.EmployeeFileAttachmentInfo + var CurriculumVitae, ContractForm, ReverseIdentityCard, IdentityCardNumber *employee.EmployeeFileAttachmentInfo + var previousFile *employee.FindEmployeeFileListInfo + if len(list.EmployeeFileList) > 0 { + previousFile = list.EmployeeFileList[0] + } + if previousFile != nil { + const DefaultUint64Value = 100 + const DefaultFloat32Value = -1 + const DefaultStringValue = "" + // 更新字段值,只有之前字段值不为默认值时更新 + updateIfValid := func(currentValue *uint64, previousValue uint64) { + if previousValue != DefaultUint64Value { + *currentValue = previousValue + } + } + updateStringIfValid := func(currentValue *string, previousValue string) { + if previousValue != DefaultStringValue { + *currentValue = previousValue + } + } + updateFloatIfValid := func(currentValue *float32, previousValue float32) { + if previousValue != DefaultFloat32Value { + *currentValue = previousValue + } + } + updateIfValid(&in.CompanyId, previousFile.CompanyId) + updateIfValid(&in.CostCenterId, previousFile.CostCenterId) + updateIfValid(&in.PoliticalStatusId, previousFile.PoliticalStatusId) + updateIfValid(&in.MaritalStatusId, previousFile.MaritalStatusId) + updateIfValid(&in.NatureOfEmploymentId, previousFile.NatureOfEmploymentId) + updateIfValid(&in.ContractTypeId, previousFile.ContractTypeId) + updateIfValid(&in.PersonnelSourceId, previousFile.PersonnelSourceId) + updateIfValid(&in.WorkingConditionId, previousFile.WorkingConditionId) + updateIfValid(&in.EducationalBackgroundId, previousFile.EducationalBackgroundId) + updateIfValid(&in.SexId, previousFile.SexId) + + updateStringIfValid(&in.JobNumber, previousFile.JobNumber) + updateStringIfValid(&in.CardNumber, previousFile.CardNumber) + updateStringIfValid(&in.Name, previousFile.Name) + updateStringIfValid(&in.DateOfBirth, previousFile.DateOfBirth) + updateStringIfValid(&in.InPersonTel, previousFile.InPersonTel) + updateStringIfValid(&in.IdNumber, previousFile.IdNumber) + updateStringIfValid(&in.StartIdNumber, previousFile.StartIdNumber) + updateStringIfValid(&in.EndIdNumber, previousFile.EndIdNumber) + updateStringIfValid(&in.NativePlace, previousFile.NativePlace) + updateStringIfValid(&in.DomicileAddress, previousFile.DomicileAddress) + updateStringIfValid(&in.PresentAddress, previousFile.PresentAddress) + updateStringIfValid(&in.EmergencyContact1, previousFile.EmergencyContact1) + updateStringIfValid(&in.Relation1, previousFile.Relation1) + updateStringIfValid(&in.EmergencyContact1Tel, previousFile.EmergencyContact1Tel) + updateStringIfValid(&in.EmergencyContact2, previousFile.EmergencyContact2) + updateStringIfValid(&in.Relation2, previousFile.Relation2) + updateStringIfValid(&in.EmergencyContact2Tel, previousFile.EmergencyContact2Tel) + updateStringIfValid(&in.SpouseSName, previousFile.SpouseSName) + updateStringIfValid(&in.NameOfChild, previousFile.NameOfChild) + updateStringIfValid(&in.SexOfChild, previousFile.SexOfChild) + updateStringIfValid(&in.DateOfBirthOfChild, previousFile.DateOfBirthOfChild) + updateStringIfValid(&in.ProbationPeriodStart, previousFile.ProbationPeriodStart) + updateStringIfValid(&in.ProbationPeriodEnd, previousFile.ProbationPeriodEnd) + updateStringIfValid(&in.SourceRemarks, previousFile.SourceRemarks) + updateStringIfValid(&in.DateOfEntry, previousFile.DateOfEntry) + updateStringIfValid(&in.LaborContractStart, previousFile.LaborContractStart) + updateStringIfValid(&in.LaborContractEnd, previousFile.LaborContractEnd) + updateStringIfValid(&in.LaborSecurity, previousFile.LaborSecurity) + updateStringIfValid(&in.BankCardNumber, previousFile.BankCardNumber) + updateStringIfValid(&in.BankOfDeposit, previousFile.BankOfDeposit) + updateStringIfValid(&in.PaymentBankNumber, previousFile.PaymentBankNumber) + updateStringIfValid(&in.SocialSecurityNumber, previousFile.SocialSecurityNumber) + updateStringIfValid(&in.ProvidentFundNumber, previousFile.ProvidentFundNumber) + updateStringIfValid(&in.AcademicNote, previousFile.AcademicNote) + updateStringIfValid(&in.GraduateSchool, previousFile.GraduateSchool) + updateStringIfValid(&in.ProfessionalName, previousFile.ProfessionalName) + updateStringIfValid(&in.QualificationDocument, previousFile.QualificationDocument) + updateFloatIfValid(&in.BasicPay, previousFile.BasicPay) + updateFloatIfValid(&in.PostWage, previousFile.PostWage) + updateFloatIfValid(&in.MeritPay, previousFile.MeritPay) + updateFloatIfValid(&in.OtherAllowances, previousFile.OtherAllowances) + updateFloatIfValid(&in.ProfessionalTitleSubsidy, previousFile.ProfessionalTitleSubsidy) + updateFloatIfValid(&in.SkillGrant, previousFile.SkillGrant) + updateFloatIfValid(&in.PreTaxSalary, previousFile.PreTaxSalary) + updateFloatIfValid(&in.SocialSecurityBase, previousFile.SocialSecurityBase) + updateStringIfValid(&in.SalaryNote, previousFile.SalaryNote) + updateFloatIfValid(&in.CompanyPension, previousFile.CompanyPension) + updateFloatIfValid(&in.CompanyMedicine, previousFile.CompanyMedicine) + updateFloatIfValid(&in.CompanyBeUnemployed, previousFile.CompanyBeUnemployed) + updateFloatIfValid(&in.CompanyOccupationalInjury, previousFile.CompanyOccupationalInjury) + updateFloatIfValid(&in.CompanyGiveBirth, previousFile.CompanyGiveBirth) + updateFloatIfValid(&in.CompanyReserveFund, previousFile.CompanyReserveFund) + updateFloatIfValid(&in.PersonagePension, previousFile.PersonagePension) + updateFloatIfValid(&in.PersonageMedicine, previousFile.PersonageMedicine) + updateFloatIfValid(&in.PersonageBeUnemployed, previousFile.PersonageBeUnemployed) + updateFloatIfValid(&in.PersonageOccupationalInjury, previousFile.PersonageOccupationalInjury) + updateFloatIfValid(&in.PersonageGiveBirth, previousFile.PersonageGiveBirth) + updateFloatIfValid(&in.PersonageReserveFund, previousFile.PersonageReserveFund) + updateStringIfValid(&in.ResignationDate, previousFile.ResignationDate) + updateStringIfValid(&in.ReasonForResignation, previousFile.ReasonForResignation) + updateStringIfValid(&in.ResignationNote, previousFile.ResignationNote) + updateStringIfValid(&in.DateOfConversion, previousFile.DateOfConversion) + updateStringIfValid(&in.RemarksOnConversion, previousFile.RemarksOnConversion) + updateStringIfValid(&in.Source, previousFile.Source) + updateStringIfValid(&in.RecentImg, previousFile.RecentImg) + updateStringIfValid(&in.TransferredDepartment, previousFile.TransferredDepartment) + updateStringIfValid(&in.TransferredPost, previousFile.TransferredPost) + updateStringIfValid(&in.Mailbox, previousFile.Mailbox) + //updateStringIfValid(&in.ModifyOrNot, previousFile.ModifyOrNot) + updateStringIfValid(&in.DateOfBirth, previousFile.DateOfBirth) + updateStringIfValid(&in.DateOfBirth, previousFile.DateOfBirth) + if len(previousFile.ApplicationForm) != 0 { + ApplicationForm = previousFile.ApplicationForm + } + if len(previousFile.GraduationCertificate) != 0 { + GraduationCertificate = previousFile.GraduationCertificate + } + if len(previousFile.DegreeCertificate) != 0 { + DegreeCertificate = previousFile.DegreeCertificate + } + if len(previousFile.OtherCertificates) != 0 { + OtherCertificates = previousFile.OtherCertificates + } + if previousFile.CurriculumVitae != nil { + CurriculumVitae = previousFile.CurriculumVitae + } + if previousFile.ContractForm != nil { + ContractForm = previousFile.ContractForm + } + if previousFile.ReverseIdentityCard != nil { + ReverseIdentityCard = previousFile.ReverseIdentityCard + } + if previousFile.IdentityCardNumber != nil { + IdentityCardNumber = previousFile.IdentityCardNumber + } + } + if previousFile == nil { + //log.Printf("No previous file found for ID: %d", id) + return nil + } + return &employee.SaveEmployeeFileRequest{ + Id: id, + CompanyId: in.CompanyId, + CostCenterId: in.CostCenterId, + JobNumber: in.JobNumber, + CardNumber: in.CardNumber, + Name: in.Name, + SexId: in.SexId, + DateOfBirth: in.DateOfBirth, + InPersonTel: in.InPersonTel, + IdNumber: in.IdNumber, + StartIdNumber: in.StartIdNumber, + EndIdNumber: in.EndIdNumber, + PoliticalStatusId: in.PoliticalStatusId, + NativePlace: in.NativePlace, + DomicileAddress: in.DomicileAddress, + PresentAddress: in.PresentAddress, + MaritalStatusId: in.MaritalStatusId, + EmergencyContact1: in.EmergencyContact1, + Relation1: in.Relation1, + EmergencyContact1Tel: in.EmergencyContact1Tel, + EmergencyContact2: in.EmergencyContact2, + Relation2: in.Relation2, + EmergencyContact2Tel: in.EmergencyContact2Tel, + SpouseSName: in.SpouseSName, + NameOfChild: in.NameOfChild, + SexOfChild: in.SexOfChild, + DateOfBirthOfChild: in.DateOfBirthOfChild, + NatureOfEmploymentId: in.NatureOfEmploymentId, + ContractTypeId: in.ContractTypeId, + ProbationPeriodStart: in.ProbationPeriodStart, + ProbationPeriodEnd: in.ProbationPeriodEnd, + PersonnelSourceId: in.PersonnelSourceId, + SourceRemarks: in.SourceRemarks, + WorkingConditionId: in.WorkingConditionId, + DateOfEntry: in.DateOfEntry, + LaborContractStart: in.LaborContractStart, + LaborContractEnd: in.LaborContractEnd, + LaborSecurity: in.LaborSecurity, + BankCardNumber: in.BankCardNumber, + BankOfDeposit: in.BankOfDeposit, + PaymentBankNumber: in.PaymentBankNumber, + SocialSecurityNumber: in.SocialSecurityNumber, + ProvidentFundNumber: in.ProvidentFundNumber, + EducationalBackgroundId: in.EducationalBackgroundId, + AcademicNote: in.AcademicNote, + GraduateSchool: in.GraduateSchool, + ProfessionalName: in.ProfessionalName, + QualificationDocument: in.QualificationDocument, + BasicPay: in.BasicPay, + ChiefAddition: in.ChiefAddition, + PostWage: in.PostWage, + MeritPay: in.MeritPay, + OtherAllowances: in.OtherAllowances, + ProfessionalTitleSubsidy: in.ProfessionalTitleSubsidy, + SkillGrant: in.SkillGrant, + PreTaxSalary: in.PreTaxSalary, + SocialSecurityBase: in.SocialSecurityBase, + SalaryNote: in.SalaryNote, + CompanyPension: in.CompanyPension, + CompanyMedicine: in.CompanyMedicine, + CompanyBeUnemployed: in.CompanyBeUnemployed, + CompanyOccupationalInjury: in.CompanyOccupationalInjury, + CompanyGiveBirth: in.CompanyGiveBirth, + CompanyReserveFund: in.CompanyReserveFund, + PersonagePension: in.PersonagePension, + PersonageMedicine: in.PersonageMedicine, + PersonageBeUnemployed: in.PersonageBeUnemployed, + PersonageOccupationalInjury: in.PersonageOccupationalInjury, + PersonageGiveBirth: in.PersonageGiveBirth, + PersonageReserveFund: in.PersonageReserveFund, + ResignationDate: in.ResignationDate, + ReasonForResignation: in.ReasonForResignation, + ResignationNote: in.ResignationNote, + DateOfConversion: in.DateOfConversion, + RemarksOnConversion: in.RemarksOnConversion, + Source: in.Source, + RecentImg: in.RecentImg, + TransferredDepartment: in.TransferredDepartment, + TransferredPost: in.TransferredPost, + Mailbox: in.Mailbox, + ApplicationForm: ApplicationForm, + CurriculumVitae: CurriculumVitae, + ContractForm: ContractForm, + ModifyOrNot: in.ModifyOrNot, + IdentityCardNumber: ReverseIdentityCard, + ReverseIdentityCard: IdentityCardNumber, // + GraduationCertificate: GraduationCertificate, + DegreeCertificate: DegreeCertificate, + OtherCertificates: OtherCertificates, + Operator: in.Operator, + OperatorName: in.OperatorName, + } +} +func CreateAMallAccount(in *employee.CreateEmployeeFileRequest, employeeFileId uint64) (id uint64, err error) { + var departmentIds []uint64 + for _, i := range in.DepartmentPostList { + departmentIds = append(departmentIds, i.DepartmentId) + } + departmentRes, err := service.DepartmentProvider.Details(context.Background(), &department.DetailsRequest{ + IDs: departmentIds, + Domain: "fontree", + }) + if err != nil { + return 0, err + } + var departmentId, leaderId, referStore uint64 + for _, i := range departmentRes.Data { + if i.SyncID != "0" && i.SyncID != "" { + referStore, err = strconv.ParseUint(i.SyncID, 10, 64) + if err != nil { + return 0, errors.New("商城创建账号:销售部门ID转换失败") + } + departmentId = i.ID + } else { + return 0, errors.New("商城创建账号:无销售部门") + } + } + leaderList, err := service.DepartmentProvider.MyDepartmentsDirectLeaders(context.Background(), &department.MyDepartmentsDirectLeadersRequest{ + UserId: uint32(in.UserId), + DepartmentIds: []uint64{departmentId}, + Domain: "fontree", + }) + if len(leaderList.List) != 0 { + for _, i := range leaderList.List { + leaderId = uint64(i.UserId) + } + } else { + return 0, errors.New("商城创建账号:无部门主管") + } + leaderInfo, err := service.AccountProvider.Info(context.Background(), &account.InfoRequest{ + Domain: "fontree", + ID: leaderId, + }) + if err != nil { + return 0, err + } + MallAccountInfo, err := service.GrpcEmployeeProvider.CreateAMallAccount(context.Background(), &employee.CreateAMallAccountRequest{ + UserName: in.Name, + TelNumber: in.InPersonTel, + ReferTel: leaderInfo.Info.TelNum, + SiteId: int32(referStore), + EmployeeFileId: employeeFileId, + UserId: in.UserId, + }) + if err != nil { + return 0, err + } + return MallAccountInfo.Id, nil +} diff --git a/pkg/utils/excel/example/demo.xlsx b/pkg/utils/excel/example/demo.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..bfaaf7e4a8b04e7dca97b18270dba65b5b5a1b2e GIT binary patch literal 9912 zcmeHtg;yNe_I2a#E(z}L?(PJFyEN{N26qikkO0AgLm)_SO@ccF0(5}jPH^Yf$;|sQ z!_4;=yjQ(eRrTsRXWhQF_qqF=bJdk#U~vKP07L))Kmm~83mJ2Q0svs)000~SBD8^& zvy(f}$=&3+j|&iF#Om$nKwba~O`ivVhCKhj+Fb0cW6iFN0yf( zlD3czUshwt*1t9ic<2j z%I$~9o%|b_kfKWMmvxD;Jb8p@hllV}4G79j^X9B}ln<0N_&oKAYx&E3= zVP|j>H_xcnhDcC~Ox(5-s??E_43#Sa3A2_1_n6!|2%e1!+%nk2iQGHy?Pt0xN7$0H zTHWYjaw`-vkr=0yr#AE6tJ!WX0p%nUbh5|Y|F$ZcWl$fur+R^O?@b8wJ9B0(Iw1%i z+ak~9Nc`c`9)<{tz_bMezP0RQosxp8ptq2IoNDtC91+~4qQ_73^Cx7_1Jb?B2$HG= z&ro55QTL?WZ0646NUtgu(7`zc5@gG-exQ@wLwNS^00U6}8%-Ou*r`q-*i(l5iUOgj zi5t)X#K!vb{6BjB7jyD2f4wqUMXi?|HR4eIHnRU>2Aqf~spKUg-%9a3AV^^mqv2&C zH3_(rjui7baVU&jV0*yr-~w3qi1ce$4+KV9w^y>Rl`9{y zJZH{k&NJl{eds;g6BsL+O7oQlmZ)T>en{71j%iGp#oK6NQ3A?)lbLw^Aam=l)qedB6lYh&TADTjwl(ItZi19P zCYBCeC(^Gwaqj$BRI~dvD7mpOImhJsX!6bi_3OER4CVNIOq>E_tJZj&Ik@7t%~DYx<=8LX6g06<>RIK>Jjp}YD}y?Q zZE1w+Den*sgFm%YSEdr+i8Ip|+AV}+$tKCxX$`;`v%9oPh!kQSp)4nm5-uL7m$TzLy!wqF*grOk3qy-9Aqnsr-NMy@VIPT_(en=R{2v8lT* z%Q82fEj^F}i;;p!VV&sSl8$7x2ZhYe(5Ur3M1P&>fR;x~nYKs)NeS0GyDgbsv??+X zlR?!Z&LL_j{^sD`KduW7%R@4o$*k*+`5tMYsaq|P7*o9Q-6GM)r#=ZlM#|I6z3^53 z>^Lc=_|>lC64Cmc3UBk~&;e7@Yo~F!Q51fv5c>5d?JLn;;ukj8iQjRi*cRRK*Q9wy z;<jIdC_Pid|}_8_65( z8?dM9duJ=$zPEk4g&}b&Hg9Ht^6Vmff*Hg-UDdTsTpytFDqS}u*ApGeB+;U8{ven5 z4kG9NNswUC)btYwFtf@nSn&HlTON(~jIkC2#wav#a= z_1Y5;>#I8(<(}3q2I4?H!vZY@SHS5K31f?q?iVFC80QF|!;wDE3m)|EFgR!3Or{jffpl5+_nnjcQnR9XZH!kUEh$0J%DWy-F zCnLD+M%g_$?LgyC1|dOpsD3TzI!tq~Dy06y2l6ZitM!LwsfBa+Hz7V`6DLGS3c_eU zfQhYX3Z~0$nRCSBwp%L|pHchn!fVuZ(h8-gc149TGNg3MN}!xeYQ zn?Z)og=6NS(?hGZfxej~$eaErWQcI`QyYIu5?BC$5c0&IF%@J31iFLReqA_z2G{K5 zU*a(0Fzp)s)!|14`cmnzaz@E@ZI4zGYf0v|qQV+7 z#W-~N*s7?e&={97Y<4K$n@xEqnZYOfCGPpt}$D}5FGsPGt zXfYg%%zcqm)xE52o3jBG2u{A5hhm#o(XZu>k5mTPZUrYc+Y>f2zYQwGvqz&PB}d1_ z$mo1$xi6H3KfBEBRp9}~(VmUcm8a?L2-hf(;WZ)Ny_7Tqx30ybya!ztU!DnNdfrMZ zD6Ld}07fMaqYIe45;Ldz{3*#@??EeLEnZ-*e*;>r^fZuxCX|Xvr2G0I3@xE%qsg%G zm5gfVYG+BL|0MU1vh9t4ElWfBwv}SW?|H-97Re$ssVbkV0!3*Y?(~$QP1=H?u>d^S zip0LGl}0=$oBX&`6CY5BDG4N;mXT5ix9eRmbt-}>kZTHid=|?_^rbraHN*#I8QbRf zx%z>4>WyR+6&}*sdnLQ5PwiJ>JvFM9kWW62ZPV~mYr6W>3rc0&{ZUw%_tm-E&m zXlm_QDxq7t^vMKQYw~^=osOK<(k&p(v_wp%F3u6KHod&?7TeG!4}A$STAx~ zwp2OHhqZQ=z=%%B&Mn1p4JoLmj+=vj!k}^x5$dD+&T~2SbCadTRfB)`5N_%~$jt+(rjF z`;KL<1@zt^=mp#KJ3f}igM>LM8UssZzPlu7 z@HinN^^R`>*^=+|rPQpmuxcqNf=g9*-qn6qc(!{xOhrNPu<1gsS8>RrNqigk*{kpI ztv!qFwGUU;vlF>dt|3oq)UKZHG}U6pw%ett(>=C#lZfnBsZ+2NMjT;|K4 zY1s^)flZqB&`1qh5UL}}G_|HSYPqrBghBpLw*1~qvJPjPm;@hLNTf;u*5pT&)hJQH z6N2l^_a|5Z%!ZMatjiL8XVY&Cz@5f2zTsGSLJmBw`PWQ)$f4V|MrWBLeXmvh#g2Lp zK6gT^*S;j-Mpz+Vywn76XLiYhSX;*OW)IFnp(}!qm0}MA>Xu50yhj2pVnKX~VleN- zn*#$;#7Jc^WgzzgqBS3j^b-7j-7faf7&pe`EjY8`OC&0c)b0%~EWl?z|aoqL;C>cjpv;%!BDRIoweeFobMrg+_+obGRDGC!6ZsxkA z1@6@bZP!-|fe@{Hb@SnkvB(YU;VEVA?qzysz}<0zn91hT&-(BypDxBs?(c6uVJzLA z4ROU@I7NIG^pnOO&RMuzZ0^G*%nBEKYVB;z5rf6Std82jQjLJg|HRujycBJ=*9wu$ zGLMaSx%)V&`;2<@Rfz734m>*eqYRFDi%cHC2TK$EFu5Ujr$b?bohDzzoUhmM>UPxL zHHJYo*sq7^Kf{l-;=Y9*ag7P5dQ+S5rQ5rqXbIY}w&X6O8XG4Q$<6M>Cya0^$={Rs6TP0UKnnMl zT9YG9`e$p4z#e!ps|^y$LkbLfaOMF5EXj6u)3?=--}rL zC-12x@82KN_|CTaok<$marJvPi|SOIS#Fy9%hHQrF~uY_>AwSIBo#~9JSRbFc)jTG z4WGjh-v9=NZ!Gb>D<^FSHKl0u1T_8`Ps3UENzYlf5Xxt>s&`p4w1g%{Ri3CrYZ)ph zB6d}@7lqBFM(%mhk29PKc zk9>*jZ@^7LnHSeIVzAlC_FAmL>hhU`Wf43;J->FzWX|(!GTfmQjD)F+?ms5DH%bL2 zxlYIlkHS<-)9HkUA!ZAtQa{l_57b2C)*>!wn%N;oBx7mj?H}xuMNf93B^tBxraY~; zXW^W@Vxjk|#`{t-cnj{HOlF|~)BQMIB$@(xVn{^8jbx!Nr@HVTm#t4^WApbeBI@Y{ z63`Y)dY(y1Yf1SC6~q$aamBE12pC3hMZ~u(d=zhG`iu$%Mqlw}rJK9R^@9c;ohhJmw!FTuMrS+nS)JIPoJ56)-;SU)@}3t-5*fOFS`EGop4ch% zop$Tw>F!ze(q1Ecz=dsXTyWCn@w1Q6Jr&;j4=Dd8&~&yC(0O41fVW5h0NNjm7RcSl z0SNl3%7(Q^;um-^I|%xP5Zmk-29oVbl0*27p`aSYgTa9INo*j_5Ls}+2e;707uzYP z(>Ijq!YVcXap(+RznI7Fsi9C4ye4()xZ+=ODLwU|Yx0uv7)l*h_r@nr7}U^GcH%s} zFF&&Gw?|9DTTz@u-M5W3-h3AzZ&0^+>ZVlo10dN*G*3Lm%$J>iI!HQ!Nd|3 zT=s3baU%73l?OJdoCN!)5ccR7Vd3;|peds|zVQTxn{;P*n6{-_K*D`R!W2-)Ly0}G2ovpfUf1FB z9A8c&^sdx%zbIyXVVY6RLX{DpE;e;#nR)lVMk(*8hDmK+K?aq&MzywqeUEWP&J%i&P{F&WcLj34_aj4$N`nyQGhdb zuRkVya$V7n>fAVNYdouP1(1rc_=xe!!M zyS%b?eW6xFF)Pm;d^5pnbU@dJ_(t?ok(0jYC9z{Ksm*BVY<<;A=N>#Y}zB03ho-QR5{@#k#)bBe+xnTcYVbF3 z*jTgb+fW`I?sE@~N1m)FoXq%OUDcTioU9_L-1@vXyi&OJY}Us+AxHieK-ymRup;B} z2B02b)@CEn*7|~fPyGJaa%kLUa?0zD&?cdItkCv|773;^12&&bZD9C~3SG1bwOM`E z=b@7#dD+Djf{r#Q^xk{44{IsmW+86082V3ei47#EGXmBzFY{nU{Y};%{#6y4_FU`# z%#Exd$uRDp1hX-716pdjyV*Kf|KeFuqJ$zW2d2zLh!%5~vTl#t^lESYlp~9z&S;s&3 z?2qiMLF2}jjABHO_uv!ZA6)jc$CewIqqNI+OlK`TE!@-_lyA^0!ET?{<;?;~EV(Ao zyN;KrfT{~IV9QmgqQkk=slr>a(gVK|p^rwr7WJAs0Nc3IUd)I~`Wj6OCK-Cn5TrVQ zW(w++>&0N|xvst1>DoG!$J8Du{o4EkMV`uzpQ#-n{9D8ka^zI%hD?McWJ0L^n2?|K zgFjQkKMD%J6T@HSgs_C}m>zaqnG2YEDR1ADFX54_J(cfNI` zz^?Umm$7x;*EhmtBv$B2%+oE<;cFHIHZ@1S^DLbbwfsAaxJWF*iDpx*9a%7{s*2Hl ziMn_wwc*dG?+AMXK7Or@M=DDc-T0~y?ZZBB6-zQ+S#IZeY=ThFrrL1GyymYHDk!3% zcfS|!PbTbC*f}bHJQk)PkZ3AeATQ7_vws|9F0t!%o@?)q4qNOvJalpniK_ohidPl_ zl=C4;@i^q~)BQ06E)XoZ1Kl)%?(RQ9!S?7o2dlZQ)1H2}6AlNa|F@z7nn+|Mq(KHo zNpcFzVD*o+gW-%w(nT6nu86Vk^U{)48f+DOOP5Ec)HG%f$Mp ztXsBNtsbe?-?QR$F^NC~hEejJ+QC+ZU(B&tb&Q1r1ytutr}Z0PdutumKlS!VmA>)I z4``q~TE$vMbkb^QQO%R$|2X1gZYrUGT({zQeICHzrXAxDa%oG=VH;e`E^*78%+IGn zTGe#R?Fv5k+;<|pX`9w$e+lb7q|jI4nH`INBnJA@Teoga1q41N3hq_zB{#*)fPsx$ zYL%xsQ60N|H9XIONC>+@3MC3Y4mQYf8{lAm__PoaChjWI#Daj#OoJtdz8CNu!)Lst zX$R1+DP%2>HbJnQ+DmXXey_-6SMiNigh8fa|GvBZ!ZtOl@nM~>)cG*Wc~YL@2)R%l z-a0E?JCBzV=*yXf>JU2E%v{jFAz;-x$qu9RWhN$!$zwy*E(z|2wUY(*`*s?r@meD` zN8785-q3>}53^;7f_+O?L3CPvbD}~2Haar%T&kylr2N%PKNuctIl#RkRKL?dVo96V zd0R~>3*BB~XiM?Z1s*E2D-N-q#jNVa>2lqzt73BL%&3p8!!sg(@%2qR#vN<6*$>A~ zYhO+7*G^+ZE{9R)EVDP$`NHh;T!@Aeu=vP)&S0c;rj^N9*iXzNb>^th9EdLNUW)mB zMlq72n&Yb)pDqH4C*WO+#PI~{vq5N|zzRgGIc%_2b#PbveY2;CXf-ccBepb+3!SZ= zPF?W(rjAXW<&{2M-K3|iCd}a7e1>tlhUkZXqTJpR7f&C;aSI62u^`n#OJ@spH)j_R zn}xF*@XyBZ|B8eV`uinIsP?ksN?*t?QXGrcri^P;Ql|ktWN4^E#P^tQKD?CA?&mFP zhh}2!dcqH72+xn8IvJ5i`Rbl4Aot3R+lZj~1X0oYZCuhJ)>_co+x|69+1c&k9CA4l zTDT!4B#!wY*{QW7^6z--Z$p%{wDXkV=WD6U7~YxJa~2m6+INJ6*p3Mn;Ss!L%&3)X z_=vZ9;ef%)+-CAlh})M|$fqzr?O(o>scqhngK7-qe>jYmc{{*C<(J59I z1dx~zxMKblkY+9}|HC6>%KkjEle?W3es%)kuF)e7US>PdM~G`bD`I*vR|8OZp#v1e zXH*LLNIZ}WOn(BuhvqrI;NJDLu>NJS>Vl>-b>R0|IgRgr3v-p>8F5~4uT|Y%1y6Nw zJ89OO?d+`K3}G|sFz!CVbwG&D8Cs>PjS>}?hGC#WNk`VEiXhrlm>n7djwr#jmg-Vgw&~N}X&`fab{spY%|O z{fCpURPBX;U#k?yS8yw}Cg>x>W*X2G$QBaW2Ll5GL~ieXJZw65E0Edw^E*B1+bGOF zN5duM^@N8(K#B}w3dNuNV3$wX0VVtd<^mPwAgHbq%EcQrJgcV6)_#@3z@_A>%8isXKnZ`3rnbEhN@$Ocgd~62CGgnr zaj*2Z=`f@M`lxgI*!b^#q~E3hz&=DT{r|g4kNrGuF8uaHj{5%w@sC!+V=s@(w!gig zLb||^(L65VK6daph5qfJ8}FBc-wE|&)5podZ&OO5KTIE|3XeTJR@1*da6!t@e{Z+^ ztG0gZ@Ub}k?U0A$m%~TW^k1dwW2b-D0>51X03=TVfPW~1$L4>J+#)~pK)AW V2@Zlm000&8p@qQM?F$t}Tp9`CE#7yZ z{C)4Ow2n}+PsdBZgJn8wj9N!5RoI03sodFV(9tflBVI*@vrfl zJ7jZvOnq6a0uhb*W!VjR(g?3zAmq9rY!~GUx)5fozx18>UHs0+Uf1*89ypKY3F40ixNW?tgt^KNNt3##D@`I|6SfHrNc6$N->&z4GwbRV zom)acjy*EW+lve{+`DfIT&}sGR%@3+aB#P`Dhep54ol-!TQGC1!Nb9+{G-9}|1y}f z1<)4A_3O%WXRcjsW&1f9q84Z#%|cQs*_*fot=#eYV}Of`tZM?Y8p z2r{Nm#1c)^MDV=?oN3{QY%#1L7U7R*dr6B9sd(H0vSD@&OAm1w5x()|YdK%+_agIj zKW4}p#3h1&h|(t?Vn0ie7G~l=8}4}9EB0h~;DA~xZUs|_nH0z?UZ8f7yYrQ$i?oMa z_{%Os79S_C$`LYgC^^PcCXU|xxwFR91p(G-ht|_rjAxnc&)~_@P1=op zz5SF499d-fGwH zPh1g9mfe_tR`HX?7PS5db-CFi9mVx==8Pq&JBN636mFCSZ+C{C3cv_TkCpMA29t zmvY*T_vP-)))@5%I(Za~66AA%vge!4Klj7MnlDO^uauXXeQt6-(z^^MQ{S9#d@$hB zks-xv@jTpE51%r)y{&9Xj;=L)X-nZ6QqJ1jr;GjFxQ_*UTlW>NyZ(@^3oUzwkq zhLsUn^IsQRGEiVZ?} z@U|a7lkZTV*RQ>u>5K-6-png1#a79-FXAvJ6geKQN-?qkcSV=`Wwf@4U&QwJ*D3{y zCpVJMWhArlTJZpNpYcstZ5zFeje1%TVyA0*s9u{g>99CjNI~H@1wH$*U$C0iO`x=^ zQQmTS^gKh_6n&{BF)wV{m7os4J701bVt9J9zCtTEy75p`I1yv6ynSAH2}2N}_|b|L zB_sWAz=oPN`;Ec8)^6NQ5?L6f_k>mjW5}uDBzcd=bc@6sNk_`U7mlhnF}Fy!(6ol` z%}*Jey7Z#@rLUfZj8@i{n#S*ZjZmpCB_e>z6Ji;uJIb%1WmHnc#!j5FD8JC4si}2K ztbHziv4E@h6P)iX7DR!PU+dLoM)yITd9=3yksx6 zrGmX(1GsnkLFQ$0GX@iNyEyq;EIbpmVV7)|CnJVpokLaI=n zGn?!!fc@1){*eehItCcRAx`dz&Z28=U3ImX$8NXm;~C?0O0YVE`9fZ~&P*HIEvJyl z!rN0C#Ix)a)a6S?Eu=0;j7@_Ty<|_=79OfmB-{PmBH5F&O(#)@N@A7q+oc8kfch&} zyrz)SC4o=t7QV6aJNk8}a7yocU7Tmb~iU1xO znL~pX(CX-KL>}LVWBA%ji$RbnQ!JR_$zTn&%}`OezNhD7;Ljganxbce6)z(~13u7b zQIL32VqSy?iYbdxogKXLVYR2#AEMRMh88R1C8f+ssWL32t6LK4oHTuQ2~k?FL_bu^ z7Rcl+kmw&IvL18`QeQKoqgXK~$@nClRnjNW}7);%6GbazoAArF8;rMFA6GX-~~d zPTDV6{-nj4=Ev%9?V1@Rb_Mi8{7+q**id|!8grg(AM{=lA2H1{fDF&2eaQQWdFx2$ z_by!be?G5&tlgf9(VW7&Tv+i6lWdBg{diT!7rP2h;Ow20qv4^rjHGbV$f-N8b)kGo zv8c2_&yQQrrqmTh6bzJ!C75Ua>cz}AR6UUo;NTAa-(IXMWpC#Uv~xDl@BjgwUf=cN z;@Ba(ac-P$sIc@Jdsx%DAI_`|_Vu%N`B;>L+4r5rd*x=iv_4+3*}AG0w0mceIzaQ1 zavIZ&{ySDJ1RRw9$ogS&O$pcUQu}15KewHJD!tyfQIBuR^kxdioT;5GF`Cx5jqC>{KE0sjV$ z`CP39OPoMh!%N|)i^(FEG%JP*k7Eeqr~MELnRYbQf=d90=euWwj_{&kW_6*h=2CSy zuZBeYvhzO-Phg3~yhG_+RnP^fGm{?);z!vjznY#_8`SdOvJ?JMk3&R*ro3wsZ_XEW zY`@~m<94wVvG3_1d*B>5h9cDTGew}b2Jt3YrDq|WdK)_PhCJ~CT60DCx1X|4B7@9f ze&T>--9KX{447a4LYTi$W$bX9{53ZY^1;10_SzXZVCFathQ zR(B0?Q*Bq+*;8)sr6{O-Ax{W#`U;O_oxKh#jkdFBq>kvBTZ6U7_6;R94ar%;*EJ_x z{$P#Dl!W6*wJs$bMN4j}LLN-n5s+oHOkCv00o3i`>X%`he5N%$1m<~+9~a)RdP>ok z#bfP>7;%1Gn;$31{=UR}okIw2)2)@hqM$vLuM7AZO;P)rsb75e8$vdx^iFd}*brTt z!1B=Nd{mnhqvOQ-#G2cciFEy#4dzY{^8NGEcKop~9xp9J_KM5!2!;drQ0&VD7B=<_TediTaH!CJ8|JM7s)I;JxzRt1<5!8up&Is_sMLDog@ zW$~f4iVQSniVu%pr;Y>H?fQC)t~*INF1pxQsxcyE>9GB&LAK zgM)Ois9c`i@^M0Pt!D%0dQ7MIOo7+yNpyc;zx#8srjTWAT~VrQ_aSP}-VV}a$ieQX zFTD?YRPhcSTub}L_6I53HyJG`mB&6Ha?7xmEY`-^Jzg$pp6qf%|3-{wFP0p3HW`XiF;pX6MIMCozmGciV6rkuz0%( zV?1BztyX!Qy(O_FCsCH^j?r8B&`wlV?a7VTR`r6`u40enqB+$fgSV>9OCKXZcf&JF za(OoAuhy#qPDk}RlQpKacD3k$i;$ral!zI_!mvF(W48WYfz4Jp$ZTd@!Qq3~wDlR(PA2vL2%JzcMiu#NxE7sfOPE43su(v>zIgIE40J!x@b&qkV+eDKTSsr4;KrG9eN1^AEwhvMeC><8N4 zAtb#do{s}FCB?sn(8Is7*vZ+$2I%yw4<#7bXFbJfU4p8=YOGndf#l+r&CY4&#GNU{ zxhl`TL`mr^yrnU598BGBNV928fK+qV$v!YYxE7|0G6#)DC8>hiE0_YzaT^us{5)vo z+p)DzrlP>fiYGj`k4h#ISD-H<2;q`c_030A3#`b$xHxoTPSj+!>+#hSLufUZ&^m%cM0?pYNV$w;DVj;qKQ|Xwxy$UpdN!WVWl}>Yc0bkn23I z!rO(%3&K$dybeD2e_EYTh$|}*W3DW2+YWufJV9T& z;<=;6t!d>8q>_0?JgM#PjfC(X^eE$xQH`m6=!HVpJkX6K6o#U`tqPM>IdtQbvA^JB z(FYM!O&85cmJQPLOd>UN6KjQY`xGU%+G&%m;0=staqVPD#^B#j9X6*s@BvZ<~ zpQBu}bm16D%jIr;BMhl(!HzC%JQcvb#&y^=E>VGs^A@Xw5`e$Jm=^E8SA*=5ts7alr!CUp-w<%&B}9Zj)C(pZ zXXG)Ne%%;K{2p@biv!>!qI?{_rd&wJmy7gX&J#Nb0Gagh7UPu#H{>Z3aeL&bSkyir zV<564XA7poC7EBmv`>8r)CwQo(nf$Z$Z@h`a}e<8RG7zG)S|x?cEbP|qkgeQCU)|{ zG{O|2wysT5tT6M)Z_O6@#$ghw+}T)#o!)X^7t{+hGsfS#&E3eu)Qe+V!S<;!Ay8ge;=L)sIV(5+^ly= z|D=k_Bw^V)#xy$OW4#B-7ybjY;tJ{O@D>*jEb0(-KKaF4r>|2EJ0eszqA;}%ASH!w zp(`46K#0tmtqsjl6W{;{uJG_FdZ(De$lMz4n$CQp3W!ulm>rZaQfZa6$7P%MPV7^f zpTXObvQ_7O6KB!inR_>};2HUH>yfq{xtiICnA~}t90YOkq~vV$%}wNyGgob)1TER8 z3X2i6qskj3r4TdRK-JXl(^BC_h=h3g^kz@Pi^t`UV(EkD2GejEh2;AA==;Y+j002W zz`>L?@MC3Jl~b>u#BP-x2kS=!-xwfQ)(9$}2aX;Vqvd$$(B_n_VF#)WR}C1kgx4-l zFE?T#o7vmvQ!xm3bZs-*dKDczGnAyc~rqLkAuWS>L6K^}8#6YEmBYM&eoBZt?lG_yiADR+HKbD#8{7Y2J| zTaSC_7|ORK)B5f&ge4q|d$p3EwT@5mhC@&jEVh#aM?cLN&r*Ak?KG8l(pP(9Hzfoi zdy0{*GQxZN!=b>7Yf2Acx07UBY31|IDcNNnSLj>d@qCseHQmfd$qddxFXeBJR_!j{}4?b3a9b73ow~ zM6B{X8JIJgYuflLTM`q3tfzLsQl=xrHyy}X1A>brOhI+GhsU?Da{3oc>S=8vXM#b< zE8>6aR|NlEU@eRsfu`!tj+S=jzv^s7d1=ppDvQD+w!!|P&zijBd@5?P0}6x6z5NO` zn&=N5#;Q~*YE~;)IXPAHdj@*ht2Mu}u(FnoPH`y>$_^-UO!jff4ixna$n|l3RpelW zJ<3mUak9uO0$2xS6(98uj6C7x<{leT?C)1slO5z5U@zC?RaIjd=;Po}bO}D(vkBwd zvytCT-Jd^lGzgFM4gDA?DvQWg?|n3e)!Ik@=f=VC@Yi z=g+m~p91dBWp{J*Z#qW)CE)&4{U`JNVc|c&-UM4r{~v?gp91cq>ARWYHv!TAW5W28 z@jeE;1KYnT2qp)n_uX&*FX;WJl>4aa4ln*DR9Nr-6FvUPeIG>JA+O(beV_Yp9QG&s z{S>)F8ox;a<_MSyzj4Q(toI}9E{A?oG3@b<_0Nn_Q9y#Z6Alg?cKE@vv limitWidth { + width = limitWidth + } + if width > maxWidth { + maxWidth = width + } + } + maxWidths[col] = maxWidth + } + + // 设置列宽度 + for col, width := range maxWidths { + colChar := GetColumnIndex(col) + s.ex.SetColWidth(sheetObj.SheetName(), colChar, colChar, float64(width+2)) + } +} diff --git a/pkg/utils/excel/excel_test.go b/pkg/utils/excel/excel_test.go new file mode 100644 index 0000000..4307ae8 --- /dev/null +++ b/pkg/utils/excel/excel_test.go @@ -0,0 +1,61 @@ +// Package excel ----------------------------- +// @file : excel_test.go +// @author : JJXu +// @contact : wavingBear@163.com +// @time : 2022/12/19 16:52:11 +// ------------------------------------------- +package excel + +import ( + "fmt" + "reflect" + "testing" +) + +// 定义sheet表结构 +type sheet1Define struct { + Xid int `json:"xid" form:"xid" db:"column:xid;comment: "` + Name string `json:"name" form:"name" db:"column:name;comment: "` + Age int `json:"age" form:"age" db:"column:age;comment: "` +} + +func TestSlice(t *testing.T) { + var sheet1Datas = []sheet1Define{ + {1, "张三", 16}, + {2, "黑猫警长", 18}, + } + + var sheet1 = NewTemplateSheet("Sheet1", &sheet1Datas) + d := sheet1.GetData() + v := reflect.ValueOf(d) + switch v.Kind() { + case reflect.Slice: + t.Log(v.Index(0)) + case reflect.Struct: + t.Log(v) + default: + t.Log("错误格式") + } +} +func TestEmptySheet(t *testing.T) { + var sheet1Headers = []string{"序号", "姓名", "年龄"} + var sheet1Data = []sheet1Define{ + {1, "张三", 16}, + {2, "黑猫警长", 18}, + } + + var sheet1 = NewSheet("Sheet1", sheet1Data, sheet1Headers) + var file, err = NewExcelCreatorFromTemplate("demo.xlsx", "./", "", sheet1) + if err != nil { + t.Error(err) + return + } + file.AfterAddData(AfterAddHeader1(sheet1, "大标题1")) + path, name, err := file.WriteToFile() + if err != nil { + t.Error(err) + } + fmt.Println(path) + fmt.Println(name) + +} diff --git a/pkg/utils/excel/img.png b/pkg/utils/excel/img.png new file mode 100644 index 0000000000000000000000000000000000000000..e20fe426c38e8a78ae4fd7276b66943297e2f6a2 GIT binary patch literal 6648 zcmb_hc{o(<`&Wu0RFrIkkdQ5*IFmJFiAiM1RwUWeL=Hugtzt~pET=^oOURO4UfISv zWy!8LW{@>!Qpxt4IeNd}_x)bq_qx8n>w5o~>p9PJ?q|90`*VNp`#BSJ#stH`#?QvY z#Kd8suX~n>X$uei7q(+7eWdtsDv61Suhu|U%iQ07F5SkP2g4t}X8A+FR;+x`VNcuM zzALA6dE{OmCcU>mu4<}D5Im(@b(WK4K-tZDhBHlDQ~Z2;%LV)v+)1m*C0UzuBT8m= z5%W1ve#+wa8vMaVvk|5CAsX6lM0rHn%ti`a919!J<)^%eCfqO#es_Wlp_NkgL#s;^ zVLy3tHxZj2jAH^_ohWlwsKx1-nVHZCECjsY-^Gdyo`v2D+Cj~DVfQv%VUa?O3mF=4 zE=Hp(XmaHF_sI}sXQgOqU^riWCxJTPy1W=8QAj9L0$C=eVBqGDGd2?3UFib@13vw6 z>IJbb0aj?4))#4o&9OJgUuTOTe>E3JF>h6PiZ1Tq<>ls1)v72yQigjIJt%o&GzU1P z)7fuL%VB0yPn(Up=BuGM%1Kdde@_L!{2o&3xZm)GxzK=(nqmd*JiM!GQq*O%{e9X2 z5R=fXf=QZOUt1ZhJn^ozCFkW=N~im&68^4-iUrptU5-iWjS?t6DaH9M#f61W^PmvJ z#Y_3m^HxEbotBBbnT>qcJJWGZ)p73@lfj|3aU~bKIAY(7D_I}^)W|QeDb^AbgQh-6 zRr3Bu?g}H6y#SOaUb@3m!7jfI{$`=$cyv-3&daJJrrp9eRdc_m9RP<&X5O8Z-?(1p z<++lLPA@LS7&jS1$_t57_yQ>*KAK6x2|PjdJfw&FpbX9rS7e}-W#{u`xIEy2IHiJy zi-sT2*E_4NLqP?&sfF9Iv+@vmdOGLZ?DO)Gmg)|riF3y(EtO@Y)IK5E$?t&P=nime zhjkyN;?_#(x2;l(>SGRF=w*2S0hq_3+(qU^Aw_6rAB*1T8SpJ4<~x)4jelph(sM8C z=1Xlhjt@#(K9yc{b{4rYD!c4zQQ#@yLYE!%8E@h!jygs%5)kt~59T}6dZ`dt7$`B8 zAsdb^%rqQrRm<>BzcE7{)=PFv`ISNxF=PxJa}P^ps!Q!>m#^SRaJ!n|EnA8 zYk~KoqoeH$BuzX%eE2XwS`#?gnSL(pc+y_XT~+T<9=p`t=BrA5`F1O8OqI{)zy^&k ziQJB5jw*!kbE8tHUNpY^ZW02NTuk7FpNE}OtZ`2K*TapyRO^(1n!wAhy&j_k|9h^k zms|JwoYQ+;mg3oSh|OA26{^1XgY4@Y)D+Y-y*i&gLNn@ZDpZJqNeA}|T*;|;pv%GL zH$<9vWYGU+-tpn%+VyXV6E1A~be~L=$vzf(HE4BpG9meq`<_6;qvaRp76o&6mw&25Xcg%59Uhb@=9Rg#C=9o*L?Kp)H9H(si)dTPYsZ6ox- znkvqF+R%m4S|#0){l-0MpPCN%^KwFN(hA@5y>a}IAw&%uo37f=Yo!g9b;b~9o$ssp zEESLG`|0gGXz12E%4d@fCo9klM~IYVyBEsZ(6n2^NPE9h*+U|>8Ro$ho1_u@I9Qn{ zSXK5*H;Oa2Dm10`=zdp|Z_CO`C=z7#6%&rBx)*LvHC^aEijh;udw1qM$^Oih3Pt5h^=Bcv!{yxF|K54Wr00mcy1( zFl*dl{E67VgS*VehmsJ#V4)tL1svlt4O5ctyPzt@d7gUvQlV?>nrraLqUY^r)zWm+ zt{8~pp92jyvYZqFPDpdsk$?WWP=$~&XDeaVVD(vZXRbmZKg}nhuFFl>&f2+OA{xIl zmU!H2=Zwj0>)Da`4cq}$3q_8ZCyu5S!WN<{!TlHS*LVdx?fO0}p|z4yVg<6dPpb-B zzNbj7JE&yMnK!Nhf`N7 z05l$m*@O1+nHuk)4#l2Oq$MVMcigmnQEPsy{OC*frPgl(T&EJwoo^5L-W?5i$vn_L zdy2O>`_P3U!&%2^yke;2*v8_UZz7D;V zORMm4mD3^i67aR?@=)7_wuwf&({As2mp-j@9QfVAdGA31onGJO?VPP;1$QE8YRb|g zsP=ZQxa=)kmn)s{YFpqRfjfc|w*4MFP+d+nT`~5Jah%<|_2`P_BLJ-KsqNK<){m!D z%T&|`_!PdqYn$F}h{6SkoqD312`EQ6txNly8D7pijOB7Wnf9Rkp6jcR@tCW1ekeWSZ4FzK$Xu6U|we5*Eoam0S`cR5bZ3+|NEB z+kLGUHE_H%I!7q*iSef(ZHxA56hDRVk*3eGQa?S-eXU33G6?W&m#Ff>wZzmPXMI;Y z>K;`)Noc+^E|;wdI)2PqdL2{kEIPLAnye4**kg72(uIT@yI`ITai(Kgq_}`l6`C;X z1Eeisgo>VYo>_6TY?%y0kIJ#r+~?KYj)AXR(RS0E^vmmAcJm(2Va z0`$6?0uo`REVM>c|@T!li>*omJpdafi3$-irRgH~}+>$0YSLVt--lTQpGY2*X zqnRR)z9u}-Mva)mU;P)NTAV0hfZf~bWD+yD_ivkSZRq~S`p+*Xo!{m&FU)TId{!~c zOcCXxRd>K?Yd_QNgo6S~{jd7^Y=qRTkj?wPFoC3cz&itYn|Na)pHtWWGWjQ0kqTf+Cm{B%S59tM4+4qoanwKj9M=nm}P-uBfwEjP_FYoUx$lSyWvw_PfvywQHeB-yY@uWsns)o-y3N_F!ae z3$ofFu;)zOn~eLRGP@``X*B-}_NOUP2`)N6abMHlZu9lDad>`6gbSp5mq3(2Hq(aW zF4BcUfSrs+ky_Vd##F)_hw?MPe}|F*J$q8OMEm_HAXZZJZ<~x3v0zELuP&c9krVw8 zvkn22>=3&9i8X+B`sc7PYtncGqniiFuy=Q*IFrnnX^sc6>Y$--j{z5Dk>QtaJydq* zY|&3{xTlWZ<(9{1a#FGx(Gckhu`0d z1m9)QVt=M6R^(3(@TBb2Xi-E$yv!N}vXW=-q+GF#-rp`4k-81MLPusS5SYnp=wy-D zsAc=ZRFLwNg8}8_hBRg*Tm|H@?dko9(SDsRDxsO*qyA#5FaxPpVEmE6+gd%?`pw`z zf>mr#5zOXPabbtg&|$k99Asu}BTxCf_upnlnW0Xjw`;1uqh0@hz-NwP%{OeQCKO zu^>hhph{hay1b`$qAw5KL8wj_m3-f6XjZ z=O>Lbgd{CcZ77EZ+h{3TU zSZzjg8dO-~VVct>dve_QE;RX;JalD;I=brg24n$THJiqmyarnt+2MKdB&RN~KD%46$T*n$~+Fa0n-LqmUPWP2S1y zg=s0KK|1yPKjPh0jC^%EyZjMR1c7lPrk2mk*&4m$Upc+qX0PMC{%z#=2B@KZ?s7T& zo9LIoUhPA|&pQtIa51&=1See1pzo*zqFP`~CBb~un%{4j1p!Yn(3t*wF#0)r6VEf{ zP0t_1?n|TnU`*h%M$L$4{SiEhm`tbPkWF(z*M556EBl}qHQa-rB_Anbmn*t2|TJp@OaN(wsw}FDNB|?CGVpw4#)KCI7rK(7j z!4A>!%{Oh2fmNHXQYSQf@FO_-D_KE2@b76vMvdZf3{)7jV5c9C90^-}OUBD=+DR7g z#=qXbFJIvu!&W;VV$?1w#_Mi8I%PYQiDW2otmQvw11Os)u6+O4FWtu<2jqAWHscco zu9{(cWsCk$_c6bY+kOtD_dl5TznUH!3nK5!jne?zP)Z}~cY16es*&E+)BJ{mP8c%m4ox zrlri}HWfp|{zT~L(m$Oljo?W=2Uyy~p!!2#x`9-C07<%jFloZ^ zRbE=jATx5*Im+jZrlK|CCUwUgB3sn+BQzCr1Uq+iGmjA9WW1g1=CEFC27h?{wrk}b z9~b_x!HGI^hl6vL`>3xyeaAORu9Eth?VlpKC_*!ODL%aV0db;>PO0>?LN?}5 zh2mgj0tK+z49l@+TE9YM)6>bot!g-Odsj-O`mcJ@QxcnPvgY~RCN@H?omNV~E&tw zWf6;ZF6;Rh21=#->j(aS}xd0#t8PbE$-Rv(EuUXac z$8;l1aAR6#chsBZ;}<4aZ)KKh?Q$rLZysjT+yai>1}-pBqB3Ma6QPe)GrtW>6@z<2 zfRiFvK>|Fi{!L!gV54??l9jzloV*;2>R%ymq~tAWqJ(25V|IYh>ZCC1xApO!8m;=l z?6uGcDJmg+Y9rqcGt5s}^5&nny8xP{<6zSXUNW|=$sa-F= zT$&^v-~8~~T=1lyP=D~O!D2IK>?HkL9sN4DSQpBwu}q1Jlf zf_d6{KG#>G_sRIZ^Oa74kWrFcR7Q~=j*TI`$b-|;+uMp;Uj>V^Wrg1KMCy{n7X6MG zqG}v+1SbYqeFKcvx`d?3GkpabKYnNS(Z4L$KYB7t!KSRNu@#5IjYUn|v3>qSD9-!kd-(3=F<~dl1;rIwpn8 z7AFw1mN?sLXuKZAG9XXRRe_)T?NH6ZDL~AIUn%fRV0pHf+-?zuMb#BLHK(PYLscfZ zoS72(5OA;00}}{pbJnb)@p@}r>C$A3@U4=Pl1ru1Zj?RP6W1t_11a}osPA*D>$S08 zi)2X$u~hHWpD)zSA^KO=$LK)6FRyktHD6F(jMs_aBBA~DvE2?}!;Yt0q zg)cAkw!z|Cb$Y*s08##HKbMAw(~1QaTf{6*UZd=&lQ+oT3U-;=Lby+Fx8p+C3kS8{ zCQZiDr%)TBxIgiR-%IG&PA~F&G@<9!AZ>!u5~uw@zIL?>ToIW|lEL zS!2WYSWHbl9}_tCiv4~)U5bf~#H?u~!o?&T0x*?aY8ABE!gN=0NrOpKhB3IT@k4Zf WlH9gce)>N;Oa`Y+bn~?@-1$F_QW9YR literal 0 HcmV?d00001 diff --git a/pkg/utils/excel/img_1.png b/pkg/utils/excel/img_1.png new file mode 100644 index 0000000000000000000000000000000000000000..fbf06bd6e4bcf55368ea09f730182f2d85ce157c GIT binary patch literal 26183 zcmcG#by$?&^FO?(h?0r|(n>cSzz|x=+vUJ0e(%s#^ z+xPqP`9Af#o`0U}*?;!F?)%I+bLPy=-6!Iy1rrl|xMYXiF9G5|e*&MpyEi&IKK1qWuBTNG z0nTO&))^)GQ4u zyvu-B_^UuG4@wMbA_Bg>?d4ic^to7B$}>-Gy4am-Jio7!;Gh=m$mMgWe8?P56}64# zkK|Z0C8Rn#Z#9&Bo?jgEERePZIf@o6+fG2&_GdUcyJccf$Rp z37crs&5RVLei{p{8xlq-$YtE@b#ry@xYBd}P0(T)kCfvb$_BHyS3dpK$QS<-r^RxM zvv=nqlL{x(p!V$Ni^M!ArQ;M&bu^fJ2g)~c&~_hy@z%lONl+a>pn zK{ee4hq*{541F_|F?f4%T{L?~3@=R_9L)w?RP%!CE=zzg-W<$*VLS z9N}1(y<$|3HjtfrlPa${b=WUac4^lg$9X#Eb8A~O<06X>OP65P=wG}$i9h*lW1_31 z=bOQKR-(1{)jIQ<@x_&WQH{9@U8RBE z`jwlatNjiMIgPkF%*C;|xWtLS+Pyvd?06AoZ=e|tEm+kl8l9}Q;5F|{0oDvXl0eRD z7TJCO{(URUY%U#ZYf7dCcEg%kk0N3!f5+odJ>^QK4E)TgWCBj4^*C45S^q0KjS46l zEA`KF%TL@+!iRIeJMDcOF!8n|lE0!^6=`W#~)3k$* zz}XKhqAgmNP?Nq;RU6J|{Sd2QtJd1G^fwqJnWZPI>;~z^CEhOU*O4412d`8D1p#WU z0@mTV>-AgI9(Rw)y}Htca-2#Oa|l0)zFiHfRNYguKPu|bo5 z29vP!v7^3-72Ra_6N&D95s<*1EC&puixUMxZ?K#u>h$-@F{tq+J6UC!x>ty~_p+s& z#A&jwkZR_zs~+ZVu-9<%n?$e^McN2=Wm}_&B4{M`0*$Yq!J5t12rpD_+0ZwW%e%+S z;KV``Yj^x(;kuGFmb4)Qajm|%;;#^+j&aj+8w?LWMT2QKX~tk&RU@Ixlx+>#6rUx+ zfFnS_=KNsUA%s&BiEBmUrT?+suRSl1g(s=%9Z`w#vWH|2T2x;z9HU%Nv$LAGj(EHRI!Bj2FNBRY3Y=( zf_IkK&<^)!*6Wj)t8~TRzd~XtoWw6N{e^Q*%j?d#HmL*n;!zM}l?l13ZhGT+nI1t| z?fYek776Q2{FvToXr0`MIJzMpS4QHy8iT8SsZ^=K^4se4I$}m$JDOb6Zz4=ddh(+| zG0pw#$-L6Gg|Oh^Twsk8Ao(AYt#c3c@;Y+fVCS2yvkyv)SHZPuZSZh;M3YS>f~s_v z{K6S7|1P&8YIdtXj_L0z3$XI~7bk6(oviS|P5!%Hx9D`yk?WCeWKZW5x}>$rj%0fjgL;Kbb#WcSqYpRpg-GVzx5p z;8R1zPuomV+NxeNwv&E*mb?wLaQxO?BGKn$<&hrTdY)n!>1ao^LwgY6jHF}j58aX! z?ZSGF0z{O?vQ zs50krB?Rx;D7UITD^cikk&%bPEWJ*H#?@h$1++tmbF>bgaoz z30L8%-;)z(RTp(~T&73H6Ms3>#?<+L9lreW2a18VGS{p(-x_UJBcf+n6dze3KPQnj{*NUq)_LnQA)GQn#LrR^bGP7WVSv0W&6ODV?VEGWo)$h@zrs zia{g_MGPzb6*DL~$ylqsUSz78m&_WRshkL5QRscoM7R`gEq7RK%+2NK|D;1nldR{< zVs9eGMpoRy7&#IKbGg;M;jo)8{0_xQnwij#{<$9EW*6EsNbF#>)WiBb11j*Vhuv<+DGAos)_kEE&UkTEbU(hcpo~s z>KpP&$vXWP+pbo>=baA_7LWlFGxh_iOL#BfJ_IOBX~dYhMbZsr#>P9&W1+_`t!bkR z9@MTZfLyqnd1%1zr9GXcgGtZK9|+F6Whvyvs80kEPTsV~!?#*WX1R7FQd5@lTHRu| zWQHs8(;C)vI)b4`^-p#NT(=%(m9gokd;ie=PQr8XRho2~hg=LsM;`Ug+*A403aP`T zo)b+xoWnj(|HbNR$_4JR?Mf5(M=8B*6dkaA*&xzJZ-(S=_VoI$Q*WKnw~S1{2C_D$ zEL%qMGi7PJ!XUMEwDe5au=v6pwyPt59QU@5Q8})Ba{8t?&a(`&h$`0S?JudB zO_KN)6s$=4MLK3U7*|rqELH)-#1&|eW*DY_%gP`&F-zg)RW<~rQS6SHrnqE!vs zg7hkUV%_SCxkTz-rdj8;c1laW*a#}%Q_RfWZ>qq^F!as@?*T&nmS{K|wa(pgb?QL! zJU}?Y3GTgFQsc5oZLA!}kwL(6p>~h@#AZ;jH0Qzc7R_^;E=$>MWzt&H2lhpr(n1Y5 z50V}9A2UEW0|Eo%IU%U`Kfek&u5?O)T?e{W`_o#y&JV8o!%8UrOB>0N|7fH=PLZ?= zBPKZk2<|yJGXCnmP4boT{z}+*;mqPzW1WKlNN8Zr-3tgGyD;Hjpi)L^sltrW^}m5Q znHAj(`{^V^`Gu;{87;5P?yS%$d4x@+-!= z-f|Y=b3K@LyHlpFc*1=fXaoJ*smVdw$ZB>N3Br5-d?g5x)Rva;k|e?CcE=S;55&HB z9kHUVO6K2@UwvM2K4ov39(1=1sdGO?qq zn%jkbOOMSm3AW!eFHMjtKq$Xz=C~3LF^zU0V88=`Xndhqpda*+93YU}z5n;4!~f^T zwJ}?nvLQh52eo1my}dfj%F5#5SBqB!fd<-gptL?$`}!p=zo}h2$rV|q{K1460B8$6IzUSo2Rr9O9-PWXgxO4uDmZU&gcdp#=L;mrA0g{s> z^?X~q?}MM1)Kt1XM47a`b3~;rDj=g3(oJnc=Ni`CJ}p%($={wu4yS5QWg0J@s#llbq0B#9#^ws zQc83)lH-#?HcmA{1_?Ax(FbW4qz-~8QrFpnurUt0wMT}?i-B*Gv^?o2@;QcI%`ICg z#C!;>Fh|=w`~eY)JkA#1i70``gPLtqHkQd}b#erSKa)18Rivb|YmaCw`ab%7y}R09 zC2%oZ0xd|zZ)3hUou4lm^Sb~VgSaP+d}ArH8#yz$9aTI}nx9jP>xLK2FX0~{@I!Vo z7dlGLUQI%5>R?UzR=d!&Xi=d1`(^}Vj@c;3@e&cLC1JqmnbD ziquAlHP(WG#|V*0hX5Z1M*nc(5djM=-lG?dDJD=k*;IW$CbYfd{dJwTc2D26o|S0@ z*$iZF5GLPZmvm0#5$&<8QZMq5&^?kPt;X~tMKlVWDw)T#GxLa zaCjaadM5!tXEYH~`?-o4JnM#Q&S%C#LzNvPEf!;QrXa`Z7oj7{7Zqk88(O#OM%N%s z4pY{|6ClxIxiTysjBEHUdFp|z0wNtQ?E$7B_9x`=xUb(ut!@0UEaIP(o(&llbkNG) zUdl?{c)$P9^Zo&Q0~QH?MDSY!FSo^4RLl7px+VFKJf?QEkx%y5TUfQMbaK7wSc?=o z-#SI=>AX{>$>Q(1g*p!x@%=EZQ%=viQ@AG;>k$t{CXy4+Ii6A^`3XLQ)n9e zC^`F$qd#;sjjboHl4&7xK>bIc{x;1DMVD`&wWfN_`8@&WIK^&|NFXY(tCF-qXWJts z^Co*^ID#}}s};L?g=Xnvx2-%jbyMPK66HroByYovwsR*#tVrZm%Gm}=flr;JPNx7- z>~8nYu_P}Je<_aRl#VruXi_v+H>6Cwf^bdU&atr1K*~A`rN&Mcx3oK|r8!TKJL87} z_c?|&kE`-QN{sS8Bp*xQ1S_~aZ%&rxNBosxGgoD^ZE9-($&3zl-^<9wod<*iI^(0? zT;!~1rWN{vGMl)Xu>knE?G$1`+1w zlTAtFlir_LrJz#$!(f4&0S-p+6AewoGZrpzaEL@i2bs(IU4C(zX+>FY(*};<2%YMc z*W7}4#NUe17!%TbcWud7`8mxYChqx%w1eJ)&JUsqX%T4ghw3EqUI2X=(+JbY7dW7Q~E*4Uk+6auH?n zF%5Oh8JJk34LCU7T8Z*j8Ba&LueP}&3W>GON7E1}7rNQ^x&&Glwa*`$Jn0jK@+GVN zncu=&40+VY&@C@r-7YY)lhGYsz^L4{J=iaEtlp~;k~An&+xfI#a2Ki$1aV>^N^u{&s0d3b=J{`nrl-WH`*p4+DfFu548PztwV=KWBMQRmFk5v<{BG7Jh> zB^~VP>EPzc51V)5*R#pC5TNFH);hN=ht$3(ezvnVXg*b&Jt5}QL;Zu@Z@(#cCEg(u zBcpvozHbYm`VPkMD?8a{od{NY-x&ETjoc*DnVJ zVo@&9K^viquJfW^v#i2o!e@=O9GGWK9jQO6)530Ys+V>|ndQ`JgMXV(E5&`L2Md3% zFv3Z?B#w70aqr+f(33$H&Xu@GVC%s#Uv=cGNj>8xspLy|V(7s;TN1NYDlTfG3w8*C zJ*AOeb;R3XJ$d6%QK#4Uj=|iAq2MQS?8FT?#(^3>gl&3FXO%3B)Q1oQspa=4kOEv4 zTh`ZJJGWyCW1Y-KR(LoIo@#JB=eGA=epn@OzprC@>)85(9``CL##P6%vBv&>5i&{5 zm0%J6`ZMKQ`j=J3!V390DFabZONjgPMpD`Zw=Cz8fwRz+-trV9Z1h1+fPQG5aZWCK zD`6XTspEnO)%o3BqPzP|%PI24<&O7p3CRYGOn5n3!-lrG3e)XZ5n0VyY@?bP>(s(x z_ejjT|8lQ6?|44Gz{>{HwbIzzSA>i(P0MB~%sD(~Fy_NFyE5vKJcv9)oeUXEO8 zP}Q6TO(1ygy9gWir3IE9+KixkvEruE(B&vs+e2}i?p{uEqp zqBL@yS$#jxn*B$JE$&`ykna=m>AT!Ne=4si&`;CpiBuVVW>rIU;B_ePw%< zn8Q-%+1c4oKb+I;sTwj6Nb+$pJZE-uFiYOp``on4X=9`SNT6=6O5D0r|NT0|s2m{X zb+&hNeObVKc`{|+?GNArOZ2ixn|B*O5JHY}W;g)T_gFD{M()dNgISj++kPfkpmfJ< zXauc<_u9aV3o`n0ASf4lh(3_~>3bLFB_VK9P)mSw%#}Ou{gJwO?ugwM#|eQF@8Ne* z9q~Ry(}=j(0Ll31=x822$@hWWv@t?!=D7@>2TN#r`S8%t&~IWCA=J%YZ&%XO6ctYP z=37NvcVfV}NRQ(UW`vtGLwH0)nQ_Yv!gB{qT4^;}sG2O0D(tKTW%u=-m>0D7)@1?{ zcW2OcQGqD6;9{Q_?iGCc9Zt=oETw|Bn{7;NQ(9*j+kO?}`>g>upH@`75;K1oQ`x#p zLk;_LL+gFp92-##J3FiR=zua02%yP~CKmI*$(9kzQR!lJ1QiCwaFD+>WBne5 zisXCO;9`4@;4}$juIOvInM@{~{WLXH#+h)6o#b7=ESrdCb`m}~E}P598%Rq{%c@d+ zXi6w)3QTM{-q?j5gWt-t1l}0x(oQ>@olo<&8m=BUxXz-zdC#-5cXs9)=aVc7aqu~T zD|6|lf-fX}m{#M1cX@EqyZ9KoPwk_iHMUbsl}}|9Q8^|-T6t<3=BS?3fm2u5VP9Fa z4yHVq8@AtpvvZr#vk{Grw^Go@0RRBehsy1)iFek*uByRc4>vvy~vJ#COoLab56+ZT_k<%(yc zbx4MGsnG$gwE|!S
mE?dvMZ691om4x&mT(>6nFE-0I*Nu|X$j}F>`s&X*i(jc9 zr9+9hZnB!juZDd6Tl$8_OPgZ0Slg^VqI(bZ3{G!p&KB(Vt4_O&pZ9lhf5LJ#YnTly zS!Fo{>?9C5<%C1hJ1zOPG;Bf9$&EY;44c**dF559W_@Eyrl$z^* z{n73%e}2=tUO>E(iWSFfdT-mP4kSTAWDi1(+smISMRPW&qIf zf2lO@@6rY}N?ngdMLoXRYB+b+LguNZ>Q`IEmIPY!P_+iw*3C^?cuG+lBF)w9>bA$Y zVe27+g`4`A;jiw-@0?Es`)I(s5TqzYH+`jpQC$_sVH`Q=Q@E9LbF%R`Lw5ip?saV( z!&H#TW;m{PJcqLytr2f_sr7QA0HK7U)d?HeSjkR$lfVgU> zlf)Oh+uOK`RC0D3K%YTeG;B+2=b_irNl_g#b=>*_&g)e`Y-_BJ^IR$czFq&9wW>(y zocHB+TA~U9;kBH{mpXeEVIP`1CpCS)#-2iAmA0nwki8%F>D;kFz42$z(fr*xj{ssz zQd0#kjr*M4qERp4X7G@ezF0-A4#s#UokCXq3$ib)NXBHBZ2QPp?6C(75bV}5PHg=c zX*grn&_j{iv%&#}mTD4);alX9f6Mito$hu@hFFRk?YlC*5FVEEIJs_~w5~^#aTMjH zeYtGwKCKC?+hS2qoy~0x-w({aV=N*(G;2U7nC3B{b=%6FDuLr88ZNwyF9K+;{Tt+qBd9;UZTZ{S z4~ybE9y`z;Lwo$^U&Kw9yJ9cW8eF!Ad_Ex9z_I~~ykGo2rmRpgfh2MpgeJ}Ws~wM` z$MUEl0yPDL0fwtgWl6rxfeh9ZC_?lFeYIrBoqt*t;cqP1Dlf<()~eO`J$pMWKir4? z2GCh3F~erW$Q@2x2FUj~Q#-RrKTsIo$31?SBIs2+#K&n_wtqE1njiD*p2-S3UZ* zC(psg*`yX4&oR<~B^BdeytGBWNwU}su;ZW4q{Y+hj4OWg9OLo@iZ_VtftZ1Q2t^ii zr#xl(hqZsq#}^8l&z5}g5B*~f?z&(b;zru1jSEopqGo)@6;n_*OxOjlYs4luMb3-=f zqW0IF)I<9b({QnCn}aGnw5FP4{SrK+;jEcls+-5>Zvu5^npF#H@9r@KSbGckMG2Uo zgfTqlnQrkrsSk{Sb`dY;;VNiUvY`E#<4HXfq843tHBtkO=Qc)(qk9r*%fihMW6rJ1 zno!o`r9hCZYw|?VSG<^;*P_ck`T3AOPr{%evQNEIkH7r3vzMFt-Pxvlu2ySJ90%Bn%ju%>MOf*PZEB1VNG#YBJwzirGqEM_w29c3 zMI)$^e6~C*9n|bY#Wk9t>y*8|lXhXF!oVi)@$?j)BfjNFB+jBm5M%DCfs}o*{MRlE z9uMns7&jL?qH#;gBHFK;Pp`q}h;1ccGkrX*92crM8&hCeZmw6NKS~7W7m4L$t|P@8 z4pBHM$PB16yCxC@{gv z7AEV~{o=^-Fm6ipTTLq&yjYw{3K6@h1iwc1UwzYC0WJM*`fHu}j*|#1+el4Cg4Wj7 z0v}SkM(XBB=wXCHl^4d``xm<-=wQ(Zd0hLu9@u}kDDfxXzYZXnI`N)5`5McZ2gTkp zsN?brjfbr;H}c>-moQ>b_An$_Y^?;`HO&Iyt`5@qvRnM{iBaO+NLp@q$>q`3$@Y|~ z=Hp*e^AM$zdHy#=y58!lz{btOfT>?LO*?;B)`Qg|!pKzlHOSov(2d&z znn=JcTuc6k!W*DKn2VHYBN@=zigDsa);j`dHnL%N*Ym&8E)YSLX9Dax7u#oz&Z8GSdI84KM@n^*J z(~Sf5r21Nj1#?F1FpeH^b_u_;~;bLpQrAMBNmLT#5mVQ5}T2oASq%*@1yf~TRc^#R<#az zj+$W3+|fXvI?T0uZ|z~7WYC&j6W~C}I1=*u{h@fRHIKgI8Drqf2#%kCUkk}pj!Vxx z5zI{yE*^VG60_yBIBR7FJIrWhnrYfNDY!zOP-;5b^CAh3#w;Y|mA!=MZK>PTo zU+84r8*$5jxPDhP(#9lzuAZH#1?pa$PIGF0Udj#ZSkg%22=2{9KjYNaah;wQBWn5S z&~yE`+=2Ts32bv{w^|g0tXZX1O@Q%oL@PPp4O6*$tt8Sf?tF(|R;N8%Z;}C4{19&Y zL<@N*M}r3P7H@39#2}Fp-usQw)7`7&O&H1dC~oF~=J`fH11a>$fPa}bAc2o;$=g-)0s?#dRz=sOu0}kPvoz1d=I3o33_ArEB0XzC9%jV zpx-rKCNdgSN-m~9U3CCO<@QPxw2Z2=(B0rP5aRZ#o0Jal@OR>?HVmOxXwH65ydSvZ zCY%Qiu`^N5XVp}9@w-2VE}CR!z-t_KPuvs()7&of6+8A1=?&1(X^FJPLeJk9bEO4K zXaSl@$#%SYA0@%;XmI9G>yIm5^SoU>u{wx{!}M~*wPq>Gh7yuMKzm0I094Ft_6iaO}c~5j%~6qxgvR?68))5gTild)=Il3A_6oS+nq* zwC`T=OOE~i*2`6IpCXhD-hsV|KtU`--AKy+-!3YdyH_pjcB>bX?V(n`2drdqFemh< zR~+cmQd|f+{?mL>D<_`@f}f!KX_G(uDyi9zn%|S&PqVJ@(06v7j8-_n8`t|_0U!pg za8DYesiN6%dfSpPh92jFhWEWMIygDxo=zoF%KpH9PIKK(<|!~*Zs?0*UNi_^>UMmA zY4)RF+1>_D{Qm53siWihlwk|SNqp*ega%;jq7|4!9`JrVDWgaq?1*{uU)8g@G4AWQvmO1d@KpDFDb zp{CYZi5&+SC+SnwNGqnfaXO#zKZ|Z#v+U5sct;DiT)mf4X)%r-oD)KoJrFj zXLstCMqbPPPb*`CYY%R}Cq-qVRZG)Nde?NSi>}^(MyVrMTPH=WFT;YFmAD+!^S#k} zK6oNH@ME>rmf7x=qdlIDCb)TjW251kPKKw;Y~v=6ckY7UK{wUQ|Lkm%$QPd+EX3Vi zuF}LkKFoYrA7|RaOxd?=f5q!Ng{?+D@8sEiSZI7OI`^y37kYPoZN^6xkz=_Vduw;q zM-*w>8@_F5d@1Vga&xu0{0s508rb*mGEfo*?s`cmp6m(UF8#@z!+0)p%Y1xLbF;pW zQ)WIj)Z$rsbxP#5pXKoC_MX8CsOlb^AlOgv_UDcJ?S8d+nWrNZy{|*-abDC?bDCt# zG_}(*Uvn~dCW1qD8)cCG^cR;S2xoBl=DlsB*m;OW=A$Q-w0 zjIsm}rU^X9yqr%qw-m0ZAAx+(T8{=|BN7FHcT8hGvGr9v)s%p`-F*+#%kHN4NJ-rN z|M`DW56P}qDhiydM$&jc9!aqJT~z880r7K)xXnbl6sIg}OzEmd+Ei8wH3DVq^W-&b ztlPJMQG=0QT6aKcr7x9Ti{FAk+li<8PK?${I#oXPhUaIt597K0oMaCZco@3J9=*-n zp}vUb(GngHL&EK-lwNc@tv&V;5w%UmAG#x0tACiTsV*=r3Xiq6f!og8&6o8^o$n!% z2Zws@sSzTJ!c@({Y7*KbJd8zUzGmyJUPl}C&|}r1SC`8ufdcJNqH07^Ui@a$Iz)rn~x+EF;cteT)4q6?&|5x zQ~j0ndpsAF3khA+cbZH-;iZvhnQqYo-Jsp~2Y!|=b#jacid&?&@*93e2QwweBdfHP z(HkX=G~C^DIXr8txXW+-pqG><11*(T#ST<^Jk9u4mgk=K9i*SzBJ$M#P@MkE4|&2p>ih-jN;_tVN+_d`1_5AAC| zdGx_R##+~CvS0bJ8#js7pN;i(M6s1zv2?h;giZd*?~0z#-G&d&!EYY77A@CZe8S?i z&fQye$mjn!AFPYuFY32W^gGCqLwtUxL*RFb<-EP~wXRp{SM#qd=w_1BH}RuXtpcg- zlog{cZDXYECnJ2HvCB&566NluFWNZ{CL5JXZ$>{hxp)1#i~z%Q*c~Hjci5Mt_-FJh zO+IDzjPG+zJH{}BE18QtpogQy)Gx)tH_!*GrF`RDnh0nzJm@Wsa1+y6Xf0xlHE?8^T& zPZS-DC@y54)dRCM4x1_K=8|TAqej&59$y(!D{S<7qDDD#n0>o`nC9aKw#e>Ynpb(! zj^LxmIK?)JyQpFw?*8Jb4#K?r2E8PRfSa0@%fEZ1L|5A?}S4(6yBtak0b-%olJ<1oOkkYTWoaRhEeZLXH5gx}X8T z0-*nv-2Y$eW}r$)X0?>pPHO{WC6GDbPQjn=-=ILEen^>{fQab!9+3IRqkx-+Q;VQ{ zZf}6v7*IHncy~67pb--W4hxmQ3yXMGG(yzUf7CitJ3wKD)ofV8SthAtSJIyw+&jR;rS<@~^O zli)s1%VAwnSxmvJ!xck8&y%?>k{l^x!=lkXu~P$~H;dNBmr04f#AVGFR#6GKrdnlF z**UNG2jyvXf&_MeWXDnx#h!pU83iakjgHQ zGG^n8cYu?h_lJCJGpoE*IpQzkFNf;XKP;gIs+y|gU!iYk;|&~Vx|mxIw`vobkA66& z)jH=Sstq&8PoMrQvX5d{`c=3v%i=?ds8$^QR+DzPX$@>C*r2nl1nAs(?CNBK_ie7T zgDiy?ZduxH<*|aTRw7@1Q4u@0PL!>J0OfI5m5u|#*R~rA1XD0UYpUz!njNefdrmNc zO$95{^6N`CvW=pQk(?%#d8JbFyXat}5=?YXoj3!#U{g@U?j6u;0P6Ez`8gvJ(OB3U zarRUBx822ff$PKsLpSw1p4<|9h050vdkWs@U>V943KeIzdPXovGGeG1%57A=*}?(y zjY;a^Q4Gkj>8cb!lm24*@PyQW5^npD=*b%-=!pqO~hV}T0e==iLCeY!S0Suq4z|Z&W3Fs|& zGHNUP71Q$pd13%sCiefO$ykKMjFl<#M4XsO|aHpOvZDVP{d8RFX>!c zy;DZZnJ!O5SzFZ$Z7zq7*@23N_y$eJVdh zyXUZf6h5`ytYoy_j0r;6aQ2o*Tf%c3eMYCMON@_=SS$5y3%M%!lf(cB4p$i!#tMiO z^hltcVe=U474Ss!4+xlD4qfeS2ybM~<>qSKAHLmlH4|2iHx!@*6zPcbALvR(8I61u zq9!0C1^u?_4cnreBy>~a5;>(vr_!c^vIpSac0bG(9Of&CC#Jc-h z*G4L{Y!El!0YxfFBfZGRcV-#@NbwXH_}21Fp|s zK_L#`bD{0wP7nND0c8X1@?;eY1gcV2QjZh$+?sf`(E~S^mzS@(`_~J8gZi86_yEpI z(o+GAG#~v_yfFmG%fjy|nkQ2kfGpDqis7ji9=gt!KqpTbm64$oVy}V6^yejvMQ^Dg z09!(=f88`l_TMr{U9={*tCN!xfGtA4sONuk-JQMudtVCoQyVZ3Kw5%4JajF!66rrq z+xzDtmoo=fW$$@Kb74OI4!4~`*?M_h^(68-|9Qe@!e-89%jO6spl&@@_}vYpg&^La zeI$Lg&dA$CatXbn>A)L08kL^g)#Fg3KLmf<)?9-(()aOZm*bCVwI66dHS;+c)iajW z!f95F;z(^8@-;NOhsfZerKXOJ9mI0NRY`q)&VP+df=%)rEMu|pLy#3d(+m?)OYI8m z@&aan0=fw z1(b9G>Do8(g5PC6*WpAyXK#k{Zqb}I9C3&6g!UZOKgo`$D?;~2s=ln4V*_~ zm5NViYJ!27Tb{VmjW_rKNKX<;@~cXcd151KyUs|G%68~-%qOfK1JuqWxw@sX{!^i?Y#&5{hNe$u)U1=Oz) z1E`WX$#dtAoBJoxwgo@xMAy|XQat*L!Hq&855A~F=flE8NT z_(h#+yEIZ!rQhrs3Sov7ZKZVb!}l(5@2sV_l8`_dpU^w7Yww_&oA(L21cfZgBl$1! z*wg&dcMycQ+^G%9WYZFm6Bn4d72CPNe1-yLM;^Jnv&|T9P|S?mv(O8c0Xa$M!NaJM z1EMN?O#0zZkpvL+%D<|hA^&}}&ODV8g`kSmp%QX{dK6970VG-gi9#NnWC=YSSZ-eV zKh2{GM@HJN))2=g?{+GZ-jvo%Bi%ei-zuX>DxaF|qd4e5!Z`n^riuXp8MKq{qb^O% z-|lCrJat-f8FO|*cT@hR{muoLO6z%!SHS;S`G55DuYRCLEV}VA<^Qnd#e#pU z*fjZ9M`C`d^QKGK67c~xko6t(NfrxzXAaPibpzzG=<@*4&FS*Cqa_$Np!Z6|B`dy zp~(onbN)FB>n200J0y@ip`B9hv2XC*f5{)Ih#3KS<}HjgkpSPT5Wxh%67TCz84ODJ6HMC>iO>;iQPelE#FDgjidOZ_}mI z0g}hEM*u*SS#WnQTOsZ>fa~*%3wJI;y9Bj=Y4>SQYOf$EgabCCgg?VX?EX)lkqZ-4 zDJ8ctAXp$sHcx}; z77kMPF(_9f&HHJNSEK0Vs}kq^+*)yL~W(HJu%>sI7h2z zQ_KuTLHz;7XhhxKcE7_V_}xKbwiAW;rXD5%O77yu4&ucIj`2iTl)(`vg?w>osYtwuUC6yB8DXl+{Qg| z!V4wJuBU#_U3vyR?biY{)BIxb_LC{^a@P!*YD>4~u6XW<8}q8c%}V@=dhJbO3ve!X zhZGQNUfL@-;msfWS$hV1~4ggEzHd(C}L=4Q2SOK#IA&zEw@ zy2XG_^mptb^?ePc^*`qLw%dZ9{055hfS4PIza!eHfMWmVHDOAP^-Y`WqjPU?pNtjNOE5k^`K&fVU*>#$KEy$%CO zFRgjrs*jGWSEdkn+#3!hWabvbpoQYqkD(F{CQU@?tr5UvnuA^SLsd-e&aOskf6l=) z`?kRsh2EQp#bY{*pncM~jr(rC&oa|_>WhVHIGciTdom*iVvpERA6R|6R&-I~89p8X zwQqjW85i$6u2lFOM#9ZNDQdLn51sk*F99Ca@m2e#Gj!d?F(@i$I8W8Mo+)vHWgK83v?BPBY(CEK#Z z`AsQZZn6xzvZ$OkS5I^4A?$FBBel0H`-{H4OO;c&jo}Ni*$3o~OiopaO-{WJI6v}z zeeFSC%`S=jxyV0D1?Rl^@HPbcQAbI&0}=DkVGb#R7SA&nVrSjxw8~I9XZ~$==*yU@ z+kL?-HoH|~muU-YEwzM)b=i4f8GC*cgyix>+B|X#6NDhIjG}+8`M23IOs#NzG#>h= z7e$+y7)OYWi)hMw3+5z^*gjkRM*1j|Xh^D=dMYbgfMB|F_BD;H^_F*Sq|F}CjTUnA z{<-R@EG@+YG!H8^My@Os1|PGh1y?$`aA<1wf5+7E3ZENFcTiH3=E^Si2aVi;tC}fO zh1b*Y{v+t#7@H@*;md<4ZB6bc)vq7Min!=0Xlp)w|1@+$Vf)K_F#(x+lRUnvoGapM zjO~<4lugV&iXtG)Ou^Ht?IN@*S3|p(w486}v3f~pa)>Rb=?@(iEpi2c2aO$51n6Ai zv=@04C}xEshV69eaElZWvw3y;d^|r#g`I~SoYWo{3?F?)4$iU?4;NxfiOSh%#udj| z)8G68_4{qzI1^(tJs-l&l_&Dewd87PFpgW3P0^n+*~~K2l_}&GA(`|tp#xXCqAT^rPJN}WU7m`Q$15ncmAv}{+B0Jv>ac+bFHV=FZtEBZJK{1T_b}&ICp5?DX>hhowA-Y zZV1y*)M{3kKn<3K_}O^B^jkJEsC=30@s+@VI{NBETepI8S4*@7eEF90;b$R6MfR+r zKdO-h_zaZyj21cdkOd+sYoj@??|5gXN5vweVxPKy^-TA&v1AZjL>@u24$U_(hpaXH zTo9?ap#N3NmB&N*wSASP5(?R-L`IS=dy%C?))bN4_gv@PEB5b@nY)4O z>v-v!da)4_dY`L!MI>sYv$N3PG<)UU??&jj%-70XR>lTDLKi;EB%2};>iaC05qY-H zpJqM7)OlFR>e*u_@Uf5m5s#Z764x@c%e z1$L%v_l`Xjn0QZqER-W9Z|*9eW9(#;*u3@h=jZRfF`74cmGT}!wljEOi)G+8??m^6 z-q#gvu6afVf3bwso~eE;aH?)vv?&T7Gooh$%Z(#Kx}b)-f2r_hy~}mrCr$w0j72wE zG$!a23FGRy=wGxW>HK>1bggHltcAoQ3$zWEUR>_w>Q4AJ^xd`hiBYPkHSQZ=hH$fEG-5e*(nHbE-M!Xb zCOe}lRG+`|5G#nlTu;UXDmWj=KaVZ|yF>eONwESbM$x2!=(GPCJX*z-?uYPAX!V8~ zxK0)~MdhF6=rrmnY8^NmLKiy&Hod@iM>Ek|DjfySMO1`x;+S}INnUXyOoT;nbPAe#oKSSKH=-C+h<&zIN!OOhazr0M~( z_G4>nE6A|{kKxJZM8WA=P=W(Uks`O@=F}F8ZE(Qr)`Xg>fR9-jr<1>9Xr{-0c11A_ zP9(jtNIq4$J-`EzB1AT|bs*jP&4~u4_iypwN6C9+r;*!NWwX$1X0i}@9>CW{zluwo zI5)K=p&bFCuwLvdzWaE;21sPH`>7D?F}EuEO~;z<*ctAUoE zckRxVY+3IBOyJZ+Hfqt}%DjNrg*v=X64P0TG(OZ*o0Kt{%pDUgj{4BJ$BW*(?A(D= z*228R*=&_3u6WXkRR!;Wd037h>-+LCw{Yh9(Tb0XYKg5P!s<}DbE}te*>3Pkb=3ZE zwHbrE(O581n{!FFn$53YYsH*s)}y*<5$PSzhz=rIj3{1tQ%A zJz7=lSv6i^-yBlLXCJ=y?YUXP3{q!KB;hfb}QaO`%~9 z4(SnEWWvQv!-U!BlGv^{ye=#k*$H!5JL4~{55Fh^(_@T^@7SzqET9LG9O_7cyp`m~ zjGjc&z-`}{*nx_)iv|uKX9G{1gOqYn-epR+P2}&AVvl{ps_&b)T6=Q za6`5$pp)$ZDHyvxdPcb94IatM6ykS0Yfp)75m9~UY@Ns3jXC;vXDBDI?itsj-*o$Y z!0p%+q2b_ia^*p-$@69pdFS@ZV&mt3*s-ywUQRpH72*-pwo-5}UXgC@Fni3N&VhE1noOiv zS418VjqJ?%f~9VIEw*)`hk_bBZ@R<5VSaPfub$pJHN4+5o$CdO(QEY16c%i1xk~wd zFj&ss^8Iq3^J0ze+m1;ixWE_ z3P!TqlZ^Kbi@ZU^qz!ShgydBt4g!#l!27sdT8{If6Cz&Tr#lj((JzsWi$0l9dPU|k zPq|j+*HRf6vJTn|c|)XOm+xLrnC?{wLE9HPhD^k`aA%m`Xrxt}dE#?vuT-HJ< z=+wU;C*}*%@#08~eN5WI6|`Pze}dFcL%{>aqX6@w-91E)(lb~~MU zn+GQiYg*$ap{K7*?(NcL1{&nv5p;mr8cQ&1*$_&Em_1By_uY?0ZvZEITmLAwpFkH$o0({-65z}DA3Lr_23!Pq1|^VChd-dBm|1a@5O za^iGxEWYHdoK}HXe5`_8R)TDkif~$0yW)f6u7z?zMI0-ZI-D5^#KdR=5X;7VtI<)Z6H7D^zl7~nbKPq*LOYe(yyA9Knn;E4$t}Qn< zVlo_5P&#Y5)MdbFFn=SQH8&*GxlU>NR z4Gp3Z%wjx@<%p4ak~30!gF!}F{E?HaO=^~@pMI>o%p}J6W%jphxnQGogZe$q9{gk% z%{7M>Z%eqn5-BO?vs95&g^LU@UV?f*xBh%&vVc*McDarQvdwFq;E-BjcL-xuaSK&! zXhsm$CRvX8P}>7Mo@?EE<<%gzNV}#~#wT{1z2yYHBe2Fo%JHy9xGD+1!mskQ)yzhi zkC+i>s0FL2BZ)+xJ8@ismzR^e7bOYYEwVogMw35aO5 zNk6`@G@XgA8F*yx_)Q!sRPCGTV-0ouD2TvWzUhwa^RgY}2yixRptyXtC)}m=#aF1d%DvMuPKvC<`?R|?E2a{JS96UYr zrM7aFu^yw*6)Sm^G5X_{I5C2GoO@*Ssld&>q(h&gMtx0!q?-1E{9``zZ1b+%&A3rt zK4Mo&E{_dp2Y)f(Mw$Lr(;)$3Z69GcQ-_nl7i9>li5SQ*?wuT}IlZj!JGWU=?skPk zv|Cjc`A2Qd=`I)Z`Q@8)eNXvNioQ(;heOV9f~S>tM~pCb`>ezf=8$f-{J*xC$Bh_< z5$c?S(D?&d8mLoc+ck@31|f9vVw_I*O7=oecm#%n+L3t-M&``nm9Cn7zx~`9JyPCX z^2IRxIf0KTN*!2<5RksMrIh`*r_G~8-K^(IzegW-Q2?3zY7#fzC=2tX2qman%Dz|l zc1{&4*VoscMvO0XK99Z8_;XTGEp1JC6|RO$kH$k1<`sv2C=2yZi#B_xr3ncxNc1;n zAQ$?jdv645uJy54|JulKB`f^hE2S{muAR^CqZzMszamICP5LdgJgK?ygQ)>FdTBV7 zBP1aCWgAJuw-v?Na&tyLy$JFf@*O?&{ zAL@=rq^J{V@<*W+O7}rPvaO%Vm|6J_q7U6U++Y%--VTdmA!iT;<0L`R(itL?#J~*ij`*?u|?&J2x$28!pJBg z2~U9Y(F?(=bBs_3Y2gPpwHCdtZhP$Aybb^qTm_^KWX1sMkB^d869&Nfx@`sNL2iuEalk6`S=<4ukLBYgn~xd!TMrL6yMdD+9jOcvnATOwnHk36 z)8283QF;jlyF@DQj%qT(WR@9GHN2CO-vddR;RyWIYny@@N7j}AtAeUQc}9hdmL!`O zJ|KOSyS^qKI9%!?{GjBvNU@a=AMw-LC~;!MX@4}Cq5hBIsBWZ223UCbzl2{J5x@Ue#(*BDOzpMK<`F?LIh#oQi=@5wW+{eteX+v)j z7jr%SiFw7ENuV{Q2e1&;+cEDFO9GuE{Hi3MrYBkebeO3&a5OJuBWK&E1iHO^6 z4cUf*azyg31h5~pX7k9)6Ob|0gmL_+x6tIcD8(pog2cWTqJE?%9;(@)b>v)!|4L^CB=`)*XqT=)Q;A*o+f%A2w#Ad>rtrUc8H9 zrr6e{IQ*bd&)%=x6yr-vL0`LJ!@m)Gzyp#OcB)h%aC*N01~*QxB3sT+^2Ag|pid7S zbzX3y1n%SBl9gXhOrgbonMN~6>+k``UwTkSI_~&vOS7T=h#l~I#iGz795|*u8<6I7 zVbcMMnf7--#q`Mp60$99CVy@yeCQq>0x3EcYnh62eb( zyWOEKoBT;^pWDHe(-d9oRD<+(zztL@$w@oKGGo(LiIeomW|&yEw!joV80;ZRpUkN z46{_r_L{oNe8%g)wheEmNc-FOe;4f^bAz2>Xt7+{@OKZ=DUh(!5Sl(8U{{Z$n0HkK zektY)Dt`wBxi4uJX_3z+gVoe}zV)}$wLgIG-)-72m_X8=xQ7B<`8okxaFrW1&{O2mg-yE`_9}7Oau9OmiVojx9;4bL7p|~krd^Y- zzD!&7a$YYqx(ti=H;&Ozm6IYQ<7lt z6R2}ppMgK%?mw5LaKIS^R-a*oGS-d&YDm_FZ3(Pp_RX^~UkoaFC=yB{9eo8~`nWua zP|Gc{g;JCR3rP~NgPgh;QmedQ=<8mcX)-Iu`lEz*n{T7?f050I2B zruo6dURhsFh!F2`9HqF&XMeP`iv)E-o#FR{Mgtj2JI)NcTKU)aoPp`h-YNjl*YiMd z-1c)}=9g9p;R|CW>F(t_J#!vBFZ-2|DitbGML&|l0QE`AHW zWi81I5k>);QT7s@8pN}-UsrX*{?Z}Phtx4`V&(hwAy|w!8@pLAGXk^u z7ch^(43!f0i)I8-mIoHAYxH0G`VEZ$A3{hN>poab@AQ)7%> zZcX1#*|_coWxNA>H031d1WQ-iEd}G{o|ejIa+~8uYCf8~z3E@p%diFKx;`C^z*ub8 zoPPJ7#lr0k!@ka3)*9ZW==sK{Xo0AqZiICDLQ=#Cxb0vX@MN9f$e~W0_>#}+J^PWi za0iVMFZjeOL4?j|mPjqyYfCszw%1~%xO%)~$go?va-Wwfv@kPH7%ghgdDZt&alGsr zD7{r7U$7$t?mT|a7q=;;O%?JS)PfIr9VcHtLl`R=e%9y(imZ-~*Kup7p`!gE*ptSH z3w);<`C+M6<{=JydbEC5`-3Wv9IKkYUcvkq4GUx9MwVu}SArybtUNqSRtshkHnGw) z&klj{x#|=(r0V9|ofJh)V|4K<^>_1p&YgPssUv9=R{l{Z-E!fYp3YmTXslG@eph;$ zn5rVC&t^W7vMxD@z+ry~r5~Ffc>2)b zUrFs*IN$lfrz$IRAH&1LKXALl2DYYw9MM2--ur?dPG5hf-Yu!Lzo{8SU(zVs6hWnoNV`oc!03y zpyCeK4-aJ>(GI%7X#23eFqXOOn8$HV zx}=0(8=S@T9MY#b6s7|wkq!qA`2;ydnL%znIZahc`GCKPqzVfcgxI{m*!?d?2#D0XaVB1xKG3WmlJeen`dxJJyU(gcd~{6&BOLG zh%pe$3Da*w4&QBjsxM(tcBIhEAxhMyVy-WNWKH{t4cL@Fdg+ZyR%d~IRAMB(O)0%f z7G3!k;3k^QB4l>^I2Sp=a0V9u@c9@&*?s2 z!<6wRc>$~q{&eMA!KV#Xmkz@QpaB0rN-?GMEY8w{1=)T3Tu{(ILI3X;5+irQU7r1q z_ARv5=76fxuV1Z>ve3|!oZ5;r2X)p*`xDhxaCU=l^>5A_#;3M_3hs1kF_+p+^NGPk zP{-m~lY`fLFscPmCU@n|S$!ejPohdelfWj#yh5)9ThB^6^|Sa*Y*}9PXYsj3@anGc zEhwDIH9e_%P5oA`ytSl&b`ax9{l~cHf?s!VeO+cfrnp3Y+Jd*#f6*ps4LXh@2s fQLUa^*(BH~`0njVTrN0BK%=F8`ee?Divj-w;D7Gs literal 0 HcmV?d00001 diff --git a/pkg/utils/excel/jinja.go b/pkg/utils/excel/jinja.go new file mode 100644 index 0000000..a5e80c2 --- /dev/null +++ b/pkg/utils/excel/jinja.go @@ -0,0 +1,430 @@ +package excel + +import ( + "archive/zip" + "encoding/xml" + "fmt" + uuid "github.com/satori/go.uuid" + "io" + "io/fs" + "io/ioutil" + "net/url" + "os" + "path" + "path/filepath" + "regexp" + "strconv" + "strings" + "time" +) + +var MonthMap = make(map[string]string) + +type DefineTimeFormat struct { + //常规时间格式(日期带横杠) + Normal_YMDhms string + Normal_YMD string + Normal_hms string + //带斜杠的时间格式 + Slash_YMDhms string + Slash_YMD string + //无间隔符 + NoSpacer_YMDhms string + NoSpacer_YMD string +} + +var TimeFormat DefineTimeFormat +var Loc *time.Location + +type Relationships struct { + XMLName xml.Name `xml:"Relationships"` + Text string `xml:",chardata"` + Xmlns string `xml:"xmlns,attr"` + Relationship []Relationship +} + +type Relationship struct { + Text string `xml:",chardata"` + ID string `xml:"Id,attr"` + Type string `xml:"Type,attr"` + Target string `xml:"Target,attr"` +} + +var xmlImageDocumentRel string = "/word/_rels/document.xml.rels" +var xmlSuffix string = `` +var xmlDocument string = "/word/document.xml" +var imagePath string = "/word/media" +var zipPath1 string = "/_rels" +var zipPath2 string = "/customXml" +var zipPath3 string = "/docProps" +var zipPath4 string = "/word" +var zipPath5 string = "/[Content_Types].xml" +var deleteXmlDocument string = "/word/numbering.xml" + +// 将文字渲染进docx中{{image}} +// +// 将图片渲染进docx中{{image}} +// +// 渲染for循环 +// var srcPath string = "./report/template2/report.docx" +// var desPath string = "./report/report.docx" +// mapImage := make(map[string][]string, 0) 宽高单位为px +// mapImage["name"] = append(mapImage["name"], "./uploads/1.jpg?width=100&height=100") +// mapImage["reasons"] = append(mapImage["reasons"], "./uploads/2.jpg?width=100&height=100") +// mapImage["reasons"] = append(mapImage["reasons"], "./uploads/3.jpg?width=100&height=100") +func JinJa2(srcPath string, desPath string, repl map[string]string, mapImage map[string][]string, mapListData map[string][]map[string]string) (err error) { + + // 渲染图片 + CopyFile(srcPath, desPath) + zipPath := strings.Replace(desPath, ".docx", ".zip", 1) + dirPath := strings.Replace(desPath, ".docx", "", 1) + // 重命名为zip + CopyFile(desPath, zipPath) + // 解压 + Unzip(zipPath, dirPath) + os.Remove(zipPath) + //删除 + + DeleteXmlDocument(dirPath + deleteXmlDocument) + // 修改xml文件 + UpdateXml(dirPath, repl, mapImage, mapListData) + // 压缩为zip + _, err = os.Stat(dirPath + zipPath2) + if err == nil { + Zip(zipPath, dirPath+zipPath1, dirPath+zipPath2, dirPath+zipPath3, dirPath+zipPath4, dirPath+zipPath5) + } else { + Zip(zipPath, dirPath+zipPath1, dirPath+zipPath3, dirPath+zipPath4, dirPath+zipPath5) + } + + // 重命名为docx + CopyFile(zipPath, desPath) + os.RemoveAll(dirPath) + os.Remove(zipPath) + return nil + +} + +func CopyFile(src string, dst string) (err error) { + content, err := ioutil.ReadFile(src) + if err != nil { + fmt.Println(err) + } + ioutil.WriteFile(dst, content, os.ModePerm) + return nil +} + +func Unzip(zipPath, dstDir string) error { + // open zip file + reader, err := zip.OpenReader(zipPath) + if err != nil { + return err + } + defer reader.Close() + for _, file := range reader.File { + if err := unzipFile(file, dstDir); err != nil { + return err + } + } + return nil +} + +func unzipFile(file *zip.File, dstDir string) error { + filePath := path.Join(dstDir, file.Name) + if file.FileInfo().IsDir() { + if err := os.MkdirAll(filePath, os.ModePerm); err != nil { + return err + } + return nil + } + if err := os.MkdirAll(filepath.Dir(filePath), os.ModePerm); err != nil { + return err + } + rc, err := file.Open() + if err != nil { + return err + } + defer rc.Close() + + w, err := os.Create(filePath) + if err != nil { + return err + } + defer w.Close() + + _, err = io.Copy(w, rc) + return err +} + +func Zip(zipPath string, paths ...string) error { + if err := os.MkdirAll(filepath.Dir(zipPath), os.ModePerm); err != nil { + return err + } + archive, err := os.Create(zipPath) + if err != nil { + return err + } + defer archive.Close() + + zipWriter := zip.NewWriter(archive) + defer zipWriter.Close() + + for _, srcPath := range paths { + srcPath = strings.TrimSuffix(srcPath, string(os.PathSeparator)) + err = filepath.Walk(srcPath, func(path string, info fs.FileInfo, err error) error { + if err != nil { + return err + } + header, err := zip.FileInfoHeader(info) + if err != nil { + return err + } + header.Method = zip.Deflate + header.Name, err = filepath.Rel(filepath.Dir(srcPath), path) + if err != nil { + return err + } + if info.IsDir() { + header.Name += string(os.PathSeparator) + } + headerWriter, err := zipWriter.CreateHeader(header) + if err != nil { + return err + } + if info.IsDir() { + return nil + } + f, err := os.Open(path) + if err != nil { + return err + } + defer f.Close() + _, err = io.Copy(headerWriter, f) + return err + }) + if err != nil { + return err + } + } + return nil +} + +func GetPicTag(ids []string, names []string) (picTags string) { + for seq, v := range ids { + cx := 629285 + cy := 368300 + vvalue := strings.Replace(v, "rId", "", 1) + nameParams := strings.Split(names[seq], "?") + var picTag string = ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ` + uuid, _ := uuid.NewV4() + vuuid := uuid.String() + picTag = strings.Replace(picTag, ``, fmt.Sprintf(``, fmt.Sprintf("%v%v", vvalue, vuuid), nameParams[0], nameParams[0]), 1) + picTag = strings.Replace(picTag, ``, fmt.Sprintf(``, fmt.Sprintf("%v%v", vvalue, vuuid), nameParams[0], nameParams[0]), 1) + picTag = strings.Replace(picTag, ``, fmt.Sprintf(``, v), 1) + if len(nameParams) > 1 { + u, _ := url.Parse(nameParams[1]) + m, _ := url.ParseQuery(u.Path) + cx, _ = strconv.Atoi(m["width"][0]) + cy, _ = strconv.Atoi(m["height"][0]) + cx = cx * 9525 + cy = cy * 9525 + picTag = strings.Replace(picTag, ``, fmt.Sprintf(``, cx, cy), 1) + picTag = strings.Replace(picTag, ``, fmt.Sprintf(``, cx, cy), 1) + } + picTags = picTags + picTag + } + return +} + +func UpdateRelXml(path string, content string) { + os.Remove(path) + xmlfile1, _ := os.Create(path) + defer xmlfile1.Close() + xmlfile1.WriteString(content) +} + +func UpdateDocumentXml(path string, content string) { + os.Remove(path) + xmlfile2, _ := os.Create(path) //打开文件 + defer xmlfile2.Close() + xmlfile2.WriteString(content) +} + +func UpdateXml(dirPath string, repl map[string]string, mapImage map[string][]string, mapListData map[string][]map[string]string) { + xmlDoc, err := ioutil.ReadFile(dirPath + xmlDocument) + if err != nil { + fmt.Println(err) + } + xmlDocContent := string(xmlDoc) + if len(repl) > 0 { + for k, v := range repl { + v = strings.ReplaceAll(v, "\r\n", "") + v = strings.ReplaceAll(v, "\n", "") + v = strings.ReplaceAll(v, "\r", "") + xmlDocContent = strings.ReplaceAll(xmlDocContent, fmt.Sprintf("{{%v}}", k), fmt.Sprintf("%v", v)) + } + } + if len(mapImage) > 0 { + // 修改rel文件 + xmlRel, err := ioutil.ReadFile(dirPath + xmlImageDocumentRel) + list := Relationships{} + xml.Unmarshal([]byte(xmlRel), &list) + for k1, v1 := range mapImage { + list_rId := []string{} + list_rName := []string{} + for _, v2 := range v1 { + // 将图片移动到docx中 + lf := strings.Split(v2, "/") + lfParms := strings.Split(lf[len(lf)-1], "?") + v2s := strings.Split(v2, "?") + CopyFile(v2s[0], dirPath+imagePath+"/"+lfParms[0]) + rId := fmt.Sprintf("rId%v", len(list.Relationship)+1) + list.Relationship = append(list.Relationship, Relationship{ + ID: rId, + Type: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image", + Target: fmt.Sprintf("media/%v", lfParms[0]), + }) + list_rId = append(list_rId, rId) + list_rName = append(list_rName, lf[len(lf)-1]) + } + xmlDocContent = strings.ReplaceAll(xmlDocContent, fmt.Sprintf("{{%v}}", k1), GetPicTag(list_rId, list_rName)) + } + xmlContent, err := xml.Marshal(list) + if err != nil { + fmt.Println(err) + } + UpdateRelXml(dirPath+xmlImageDocumentRel, xmlSuffix+string(xmlContent)) + } + if len(mapListData) > 0 { + xmlDocContent = RenderForTag(mapListData, xmlDocContent) + } + + UpdateDocumentXml(dirPath+xmlDocument, xmlDocContent) +} + +func RenderForTag(mapFor map[string][]map[string]string, xmlDocContent string) string { + compileIndex2 := regexp.MustCompile(fmt.Sprintf(`{%%endfor%%}`)).FindAllStringIndex(xmlDocContent, -1) + compileIndex3 := regexp.MustCompile(fmt.Sprintf("")).FindAllStringIndex(xmlDocContent, -1) + compileIndex4 := regexp.MustCompile(fmt.Sprintf("")).FindAllStringIndex(xmlDocContent, -1) + fmt.Println(compileIndex3, compileIndex4) + contentList := []string{} + contentReplaceList := []string{} + for k, v := range mapFor { + compileIndex := regexp.MustCompile(fmt.Sprintf(`{%%for v in %v%%}`, k)).FindAllStringIndex(xmlDocContent, -1) + compileIndex2Copy := [][]int{} + for _, vc2 := range compileIndex2 { + if vc2[0] > compileIndex[0][1] { + compileIndex2Copy = append(compileIndex2Copy, vc2) + break + } + } + if len(compileIndex3) > 0 && len(compileIndex4) > 0 { + startIndex := compileIndex3[0][0] + endIndex := compileIndex4[0][0] + start2Index := compileIndex3[0][0] + end2Index := compileIndex4[0][0] + for _, v2 := range compileIndex { + for s21, v21 := range compileIndex3 { + if v21[0] > v2[0] && s21 > 0 { + startIndex = compileIndex3[s21-1][0] + start2Index = compileIndex3[s21][0] + break + } + } + for s22, v22 := range compileIndex4 { + if v22[0] > compileIndex2Copy[0][0] && s22 > 0 { + endIndex = compileIndex4[s22][1] + end2Index = compileIndex4[s22-1][1] + break + } + } + tableContent := xmlDocContent[startIndex:endIndex] + // fmt.Println(tableContent) + // fmt.Println(table2Content) + table2ReplaceContent := "" + contentList = append(contentList, tableContent) + for _, v22 := range v { + table2Content := xmlDocContent[start2Index:end2Index] + for k221, v221 := range v22 { + table2Content = strings.ReplaceAll(table2Content, fmt.Sprintf("{{v.%v}}", k221), v221) + } + table2ReplaceContent = table2ReplaceContent + table2Content + } + fmt.Println(table2ReplaceContent) + contentReplaceList = append(contentReplaceList, table2ReplaceContent) + } + + } + + } + for seq, _ := range contentList { + xmlDocContent = strings.Replace(xmlDocContent, contentList[seq], contentReplaceList[seq], 1) + } + return xmlDocContent +} + +func Decimal(value float64) float64 { + value, _ = strconv.ParseFloat(fmt.Sprintf("%.2f", value), 64) + return value +} + +// Find 判断字符串是否存在数组或切片 +func Find(slice []string, val string) (int, bool) { + for i, item := range slice { + if item == val { + return i, true + } + } + return -1, false +} + +func StringTimeToFormat(str_time string) (str_time2 string) { + lista := strings.Split(str_time, "T") + listb := strings.Split(lista[1], ".") + str_time2 = lista[0] + " " + listb[0] + return +} +func DeleteXmlDocument(destDocument string) error { + _, err := os.Stat(destDocument) + if os.IsNotExist(err) { + return nil + } else { + os.Remove(destDocument) + } + return nil +} diff --git a/pkg/utils/excel/options.go b/pkg/utils/excel/options.go new file mode 100644 index 0000000..69a5cd3 --- /dev/null +++ b/pkg/utils/excel/options.go @@ -0,0 +1,52 @@ +// Package excel ----------------------------- +// @file : options.go +// @author : JJXu +// @contact : wavingBear@163.com +// @time : 2022/12/19 12:41:40 +// ------------------------------------------- +package excel + +import ( + "fmt" + "path/filepath" + "strings" + "time" +) + +type Option func(excel *Excel) + +// func AddSaveFileSuffixWithUnixTime(excel *Excel) { +// excel.SaveName +// fmt.Sprintf("%v", time.Now().Unix()) +// } +// +// 时间戳作为文件后缀 +func OptionFileNameSuffixWithUnixTime(excel *Excel) { + ext := filepath.Ext(excel.SaveName) + name := strings.Split(excel.SaveName, ext)[0] + excel.SaveName = fmt.Sprintf("%s_%v%s", name, time.Now().Unix(), ext) +} + +// 为第一行添加表头 +func AfterAddHeader1(sheet Sheet, text string) func(excel *Excel) { + return func(excel *Excel) { + err := excel.ex.InsertRows(sheet.SheetName(), 1, 1) + if err != nil { + panic(err) + } + err = excel.ex.SetCellValue(sheet.SheetName(), GetCellIndex(1, 1), text) + if err != nil { + panic(err) + } + headerStyleID, errs := excel.ex.NewStyle(NewHeaderOneStyle()) + if errs != nil { + fmt.Println(errs) + err = errs + return + } + //表头设置为默认样式,边框加粗、字体加粗 + _ = excel.ex.SetCellStyle(sheet.SheetName(), "A1", GetCellIndex(1, len(sheet.SheetHeaders())), headerStyleID) + _ = excel.ex.MergeCell(sheet.SheetName(), "A1", GetCellIndex(1, len(sheet.SheetHeaders()))) + + } +} diff --git a/pkg/utils/excel/readme.md b/pkg/utils/excel/readme.md new file mode 100644 index 0000000..d8a18d6 --- /dev/null +++ b/pkg/utils/excel/readme.md @@ -0,0 +1,161 @@ +# excel文件生成器 +## excel文件生成器简介 +此模块提供了通过`.xlsx`格式的excel模板文件,创建文件并自动添加数据的方法。 +此模块通过设计模式,在"github.com/xuri/excelize/v2"的基础上封装了`ExcelCreator`这一泛型的方法。适用于快速开发报表导出功能。 + +### 基本使用示例 +```go +package main +import ( + "fmt" + "github.com/flipped-aurora/gin-vue-admin/server/utils/excel" + "github.com/flipped-aurora/gin-vue-admin/server/utils/simpletime" + "sync" + "time" +) + +//读写锁 +var exportEpidemicPreventStaticStaticLock sync.RWMutex + +//定义sheet1数据结构 +type EpidemicPreventStaticReport struct { + Xid int `json:"xid" form:"xid" db:"column:xid;comment:序号"` + Time string `json:"time" form:"time" db:"column:time;comment:日期"` + Name string `json:"name" form:"name" db:"column:name;comment:项目名称"` + Code string `json:"code" form:"code" db:"column:code;comment:监督备案号"` + Street string `json:"street" form:"street" db:"column:street;comment:街道"` + State string `json:"state" form:"state" db:"column:state;comment:状态:未完成、已完成"` +} + +//导出数据 +func (m EpidemicPreventStaticReport) WriteToExcel(datas []EpidemicPreventStaticReport) (path string, filename string, err error) { + defer exportEpidemicPreventStaticStaticLock.Unlock() + //实例化sheet1,载入数据 + st1 := excel.NewSheet("Sheet1", datas) + var suffixName = func() string { + return fmt.Sprintf("%v", simpletime.TimeToString(time.Now(), simpletime.TimeFormat.NoSpacer_YMDhms)) + } + //实例化excelCreator + exc, err := excel.NewExcelCreator("防疫日报日完成项目数统计.xlsx", &suffixName, "uploads/template2/file", "uploads/template2/防疫日报日完成项目数统计.xlsx", st1) + if err != nil { + fmt.Println(err.error()) + } + exportEpidemicPreventStaticStaticLock.Lock() + // 导出数据 + return exc.WriteToExcel() +} + +func main(){ + var ( + reportData []EpidemicPreventStaticReport + excel EpidemicPreventStaticReport + ) + + //do something + //.. + //.. + + path,filename,err:=excel.WriteToExcel(reportData) + if err!=nil{ + fmt.Println(err.Error()) + }else{ + fmt.Printf("path:%v\nfilename:%v\n",path,filename) + } +} +``` + +## 使用说明 +此模块的使用流程如下 +### 1. 创建excel模板,定义好工作簿名称和表头 +请注意,程序默认数据都是一行行连续的。如果两条数据之间间隔了一个或多个空行,导出的数据可能会出现错误。 +![img.png](img.png) +### 2. 定义工作簿数据结构 +注意事项: +1. 结构体字段顺序要与工作簿的表头顺序一一对应、命名规则随意; +2. json标签用于数据的转换,同时也便于将结构体直接作为接口请求参数来使用;没有json标签时,数据将会被忽略; +```go +type Sheet1 struct { + Xid int `json:"xid"` + Name string `json:"name"` + Age int `json:"age"` +} +``` +### 3. 准备数据,实例化sheet对象 +数据类型至此结构体和切片
+`NewSheet`方法的第一个参数是工作簿名称,需要与模板文件中的对应,不然导出数据时会报错 +```go +//准备数据 +var sheet1Data = []Sheet1Define{ +{1, "张三", 16}, +{2, "黑猫警长", 18}, +} +//实例化sheet对象 +var sheet1 = excel.NewSheet("Sheet1", &sheet1Data) +``` +### 4 生成excel文件 +### 4.1 直接生成文件 +如果你不需要什么额外操作,只想直接生成excel文件,那么可以直接调用这个方法 +```go +//定义后缀名生成器,如果不需要可以传nil +var suffixFunc = func() string { return fmt.Sprintf("%v", time.Now().Unix()) } +//导出文件 +path,err:=excel.WriteToExcel("demo.xlsx", &suffixFunc, "./", "./demo.xlsx", sheet_1) +``` +#### 生成效果: +![img_1.png](img_1.png) + +### 4.2 `ExcelCreator` +ExcelCreator可以用来对工作簿和工作簿中的数据进行增删改查,以及生成文件。 +#### 4.2.1 实例化`ExcelCreator` +```go + +var suffixFunc = func() string { return fmt.Sprintf("%v", time.Now().Unix()) } //文件后缀名生成方法 +exCreator,err := excel.NewExcel("demo.xlsx", &suffixFunc, "./", "./demo.xlsx", sheet_1) +if err!=nil{ + fmt.Println(err.Error()) +} +//可连续添加多个工作簿或者不传,当然也支持一张工作簿数据的多次传入 +//exCreator,err := excel.NewExcel("demo.xlsx", &suffixFunc, "./", "./demo.xlsx", sheet_1,sheet_2,sheet_3) +//exCreator,err := excel.NewExcel("demo.xlsx", &suffixFunc, "./", "./demo.xlsx") +//exCreator,err := excel.NewExcel("demo.xlsx", &suffixFunc, "./", "./demo.xlsx", sheet_1_1,sheet_1_2,sheet_1_3) + +//不使用文件后缀名 +//exCreator,err := excel.NewExcelCreator("demo.xlsx", nil, "./", "./demo.xlsx", sheet_1) +//exCreator,err := excel.NewExcelCreatorWithoutSuffix("demo.xlsx","./", "./demo.xlsx", sheet_1) +``` +#### `FileName` 和 `filesSuffix`参数的说明 +当设置了`filesSuffix`参数后,创建excel文件时会自动生成文件后缀名。 +如`FileName`设置为"demo.xlsx"、`filesSuffix`返回值为"20200723",那么最终文件名为"demo20200723.xlsx" + +### 4.2.2 新增工作簿 +如果工作簿已存在,数据会组合而不是覆盖 +```go +var err = exCreator.SheetsAdd(sheet_2) +``` +### 4.2.3 删除工作簿 +```go +var err = exCreator.SheetsDelete(sheet_2.SheetName()) +``` + +### 4.2.5 取出工作簿map和缓存数据 +工作簿存储在`ExcelCreator.Sheets`中,存储结构为`map[string][]sheet`。string即工作簿名称。取出后可以进行任意的操作 +```go +var sheets = exCreator.Sheets +datas:= sheets["Sheet1"].GetDatas +//do somthing... +``` + +### 4.2.6 将数据生成到文件 +```go +path,fileName, err := exCreator.WriteToExcel() +if err != nil { + fmt.Println(err.Error()) +} else { + fmt.Println(path) + fmt.Println(fileName) +} +``` + +## 相关问题 +### 1. 为什么不支持通过代码直接生成表头? +鉴于在部分场景下,表头格式比较复杂,且通过代码生成灵活较度差,单元格格式通过代码设置比较繁琐。相比较下,没有直接创建excel文件模板来调整更为直观方便,所以没做此方面的设计。 diff --git a/pkg/utils/excel/style.go b/pkg/utils/excel/style.go new file mode 100644 index 0000000..e0829db --- /dev/null +++ b/pkg/utils/excel/style.go @@ -0,0 +1,54 @@ +// Package excel ----------------------------- +// @file : style.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/9/1 13:50 +// ------------------------------------------- +package excel + +import ( + "github.com/xuri/excelize/v2" +) + +func NewDefaultHeaderStyle() *excelize.Style { + return &excelize.Style{ + Border: []excelize.Border{ + {Type: "left", Color: "000000", Style: 2}, + {Type: "top", Color: "000000", Style: 2}, + {Type: "bottom", Color: "000000", Style: 2}, + {Type: "right", Color: "000000", Style: 2}, + }, + Font: &excelize.Font{Bold: true, Size: 12}, + Alignment: &excelize.Alignment{ + Horizontal: "center", + }, + } +} +func NewDefaultDataStyle() *excelize.Style { + return &excelize.Style{ + Border: []excelize.Border{ + {Type: "left", Color: "000000", Style: 1}, + {Type: "bottom", Color: "000000", Style: 1}, + {Type: "right", Color: "000000", Style: 1}, + }, + Font: &excelize.Font{Size: 12}, + Alignment: &excelize.Alignment{ + Horizontal: "left", + }, + } +} + +func NewHeaderOneStyle() *excelize.Style { + return &excelize.Style{ + Border: []excelize.Border{ + {Type: "left", Color: "000000", Style: 2}, + {Type: "top", Color: "000000", Style: 2}, + {Type: "bottom", Color: "000000", Style: 2}, + {Type: "right", Color: "000000", Style: 2}, + }, + Font: &excelize.Font{Bold: true, Size: 14}, + Alignment: &excelize.Alignment{ + Horizontal: "center", + }, + } +} diff --git a/pkg/utils/excel/utils.go b/pkg/utils/excel/utils.go new file mode 100644 index 0000000..a9ee91a --- /dev/null +++ b/pkg/utils/excel/utils.go @@ -0,0 +1,41 @@ +// Package utils ----------------------------- +// @file : excelHelper.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2022/6/9 13:41 +// ------------------------------------------- +package excel + +import ( + "fmt" + "strconv" +) + +// 行列坐标值转换为excel的坐标。注意row和columnCount的初始值都是1 +func GetCellIndex(row int, columnCount int) string { + var column = GetColumnIndex(columnCount) + return fmt.Sprintf("%s%d", column, row) +} + +// 获取excel的列索引 +var columnIndices = []string{"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"} + +func GetColumnIndex(num int) string { + num-- + var column = columnIndices[num%26] + for num = num / 26; num > 0; num = num / 26 { + column = columnIndices[(num-1)%26] + column + num-- + } + return column +} + +func Int[T int | uint | uint8 | uint32 | uint64 | int32 | int64](value string) T { + v, _ := strconv.Atoi(value) + return T(v) +} + +func Float[T float64 | float32](value string) T { + v, _ := strconv.ParseFloat(value, 64) + return T(v) +} diff --git a/pkg/utils/excel/writer.go b/pkg/utils/excel/writer.go new file mode 100644 index 0000000..0e053d7 --- /dev/null +++ b/pkg/utils/excel/writer.go @@ -0,0 +1,81 @@ +// Package excel ----------------------------- +// @file : writer.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/9/1 14:11 +// ------------------------------------------- +package excel + +import ( + "errors" + "fmt" + "reflect" +) + +var writerMap = map[reflect.Kind]func(exc *Excel, sheetObj Sheet, SheetData reflect.Value, SheetType reflect.Type, firstRow int) error{ + reflect.Slice: sliceWriter, + reflect.Struct: structWriter, +} + +func RegisterWriter(dataKind reflect.Kind, function func(exc *Excel, sheetObj Sheet, SheetData reflect.Value, SheetType reflect.Type, firstRow int) error) error { + if _, exists := writerMap[dataKind]; exists { + return errors.New(fmt.Sprintf("dataKind: %v has existed", dataKind)) + } + writerMap[dataKind] = function + return nil +} + +func sliceWriter(exc *Excel, sheetObj Sheet, SheetData reflect.Value, SheetDataType reflect.Type, firstRow int) error { + var cellNameList = sheetObj.GetJsonFiledList() + if cellNameList == nil { + cellNameList = exc.getJsonFieldList(SheetDataType) + } + var rowLen = SheetData.Len() + for i := 0; i < rowLen; i++ { + var dataMap = exc.dataToMap(SheetData.Index(i), SheetDataType) + for column, v := range cellNameList { + var axis = GetCellIndex(i+firstRow+1, column+1) + err := exc.ex.SetCellValue(sheetObj.SheetName(), axis, dataMap[v]) + if err != nil { + return err + } + } + } + //设置数据格式 + dataStyleID, errs := exc.ex.NewStyle(NewDefaultDataStyle()) + if errs != nil { + return errs + } + if err := exc.ex.SetCellStyle(sheetObj.SheetName(), GetCellIndex(firstRow+1, 1), GetCellIndex(rowLen+1, len(sheetObj.SheetHeaders())), dataStyleID); err != nil { + return err + } + //设置默认列宽 + //exc.ex.SetColWidth(sheetObj.SheetName(), GetColumnIndex(1), GetColumnIndex(len(sheetObj.SheetHeaders())), 12.0) + exc.autoResetCellWidth(sheetObj) + return nil +} + +func structWriter(exc *Excel, sheetObj Sheet, SheetData reflect.Value, SheetType reflect.Type, firstRow int) error { + var cellNameList = exc.getJsonFieldList(SheetType) + var dataMap = exc.dataToMap(SheetData, SheetType) + for column, v := range cellNameList { + var axis = GetCellIndex(firstRow+1, column+1) + err := exc.ex.SetCellValue(sheetObj.SheetName(), axis, dataMap[v]) + if err != nil { + fmt.Println(err.Error()) + return err + } + } + //设置数据格式 + dataStyleID, err := exc.ex.NewStyle(NewDefaultDataStyle()) + if err != nil { + return err + } + if err = exc.ex.SetCellStyle(sheetObj.SheetName(), GetCellIndex(firstRow, 1), GetCellIndex(firstRow+1, len(sheetObj.SheetHeaders())), dataStyleID); err != nil { + return err + } + //设置默认列宽 + //exc.ex.SetColWidth(sheetObj.SheetName(), GetColumnIndex(1), GetColumnIndex(len(sheetObj.SheetHeaders())), 12.0) + exc.autoResetCellWidth(sheetObj) + return nil +} diff --git a/pkg/utils/feie/feie.go b/pkg/utils/feie/feie.go new file mode 100644 index 0000000..d8de123 --- /dev/null +++ b/pkg/utils/feie/feie.go @@ -0,0 +1,54 @@ +package feie + +import ( + "errors" + "time" + + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" + "github.com/fonchain_enterprise/utils/feie" +) + +type Printer struct { + feie *feie.Feie +} + +// FonPrinter 飞鸽空气器 +var ( + fonPrinter *Printer +) + +func NewFeieConfig(un, uKey string) { + fei := &feie.Feie{ + User: un, + Ukey: uKey, + Url: "http://api.feieyun.cn/Api/Open/", + } + fonPrinter = &Printer{feie: fei} +} + +func PrintNative(callSign, patientName, roomName, drName string) error { + if fonPrinter == nil { + return errors.New("not init") + } + + nowTimeString := time.Now().Format(stime.Format_Normal_YMDhms) + + content := "现场叫号

" + + "" + callSign + "

" + + "预约人 : " + patientName + "
" + + "科室 : " + roomName + "
" + + "医生 : " + drName + "
" + + "取号时间: " + nowTimeString + "
" + + "地点 : 苏州市姑苏区十梓街116-3号
" + + res, err := fonPrinter.feie.PrintNativeContent("922455004", content) + if err != nil { + return err + } + + if res.Ret == 0 { + return nil + } + + return errors.New(res.Data) +} diff --git a/pkg/utils/feie/feie_test.go b/pkg/utils/feie/feie_test.go new file mode 100644 index 0000000..cd2846a --- /dev/null +++ b/pkg/utils/feie/feie_test.go @@ -0,0 +1,68 @@ +package feie + +import ( + "fmt" + "testing" + + "github.com/fonchain_enterprise/utils/feie" +) + +func TestGetFeie(t *testing.T) { + info := feie.PrintInfo{ + Num: "1829", + Date: "4/27", + DrinkName: "白酒测试", + Tag: []string{"香草"}, + Code: "张三丰-心血管-001", + } + feie := &feie.Feie{ + + User: "chenyao@taifeng.ltd", + Ukey: "8mxyRrjhCKzB4Pde", + Url: "http://api.feieyun.cn/Api/Open/", + } + fmt.Println(feie.Print("922455004", info)) + +} + +func TestPrintNatit(t *testing.T) { + feie := &feie.Feie{ + + User: "chenyao@taifeng.ltd", + Ukey: "8mxyRrjhCKzB4Pde", + Url: "http://api.feieyun.cn/Api/Open/", + } + + content := "现场叫号
" + + "张三_普外科(甲状腺乳腺外科门诊)_001

" + + "预约人 : 张三
" + + "取号时间: 2022-01-02 10:00:01
" + + "地点 : 苏州市姑苏区十梓街116-3号
" + + fmt.Println(feie.PrintNativeContent("922455004", content)) + +} + +func TestPrintNative(t *testing.T) { + + NewFeieConfig("chenyao@taifeng.ltd", "8mxyRrjhCKzB4Pde") + + fmt.Println(PrintNative("张三_泌尿_001", "李四", "米椒", "张三")) + +} + +func TestGetFeie2(t *testing.T) { + feie := &feie.Feie{ + User: "chenyao@taifeng.ltd", + Ukey: "8mxyRrjhCKzB4Pde", + Url: "http://api.feieyun.cn/Api/Open/", + } + res, err := feie.CheckStatus("922455004") + if err != nil { + return + } + + fmt.Println(res.Ret == 0) //状态正常 + fmt.Println(res.Data) //状态正常 + +} diff --git a/pkg/utils/holiday/holiday.go b/pkg/utils/holiday/holiday.go new file mode 100644 index 0000000..9b3b9be --- /dev/null +++ b/pkg/utils/holiday/holiday.go @@ -0,0 +1,317 @@ +package holiday + +import ( + "bytes" + "encoding/json" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/cache" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "go.uber.org/zap" + "io" + "net/http" + "strconv" + "strings" + "time" +) + +type HolidayDate struct { + Date string `json:"date"` + WeekDay int8 `json:"weekDay"` + YearTips string `json:"yearTips"` + Type int8 `json:"type"` + TypeDes string `json:"typeDes"` + ChineseZodiac string `json:"chineseZodiac"` + SolarTerms string `json:"solarTerms"` + Avoid string `json:"avoid"` + LunarCalendar string `json:"lunarCalendar"` + Suit string `json:"suit"` + DayOfYear int16 `json:"dayOfYear"` + WeekOfYear int16 `json:"weekOfYear"` + Constellation string `json:"constellation"` + IndexWorkDayOfMonth int8 `json:"indexWorkDayOfMonth"` +} + +type HolidayInfoReq struct { + BeginDate string `json:"beginDate"` + EndDate string `json:"endDate"` +} + +type SingleHolidayResp struct { + Code int8 `json:"code"` + Msg string `json:"msg"` + Data HolidayDate `json:"data"` +} + +type MultiHolidayResp struct { + Code int8 `json:"code"` + Msg string `json:"msg"` + Data []HolidayDate `json:"data"` +} + +type RespData struct { + IsToday bool `json:"isToday,default:false"` // 是否是今天 + IsOtherMonthDay bool `json:"isOtherMonthDay,default:true"` // 是否是其他月份的日期 + Day int8 `json:"day"` + Month int8 `json:"month"` + Type int8 `json:"type"` // 0 工作日 1 假日 2 节假日 + WeekDay int8 `json:"weekDay"` + RenderMonth int8 `json:"renderMonth"` + RenderYear int32 `json:"renderYear"` + Year int32 `json:"year"` + TypeDes string `json:"typeDes"` + Lunar string `json:"lunar"` // 农历 +} + +var ( + IsStartFromZERO = true +) + +// 万年历 +func GetSingleData(date string, ignoreHoliday bool) (*RespData, error) { + if v, err := GetCacheHolidayInfo([]string{date}); err == nil && len(v) > 0 { + fmt.Println("go to cache ") + return v[len(v)-len(v)], nil + } + resp, err := http.Get(fmt.Sprintf(config.HolidaySingleUrl, date, ignoreHoliday, config.HolidayID, config.HolidaySecret)) + if err != nil { + return nil, err + } + defer resp.Body.Close() + + bt := make([]byte, 0) + buf := bytes.NewBuffer(bt) + io.Copy(buf, resp.Body) + + holidayResp := SingleHolidayResp{} + + err = json.Unmarshal(buf.Bytes(), &holidayResp) + if err != nil { + return nil, err + } + + data := dataHandle([]HolidayDate{holidayResp.Data}, []string{date}) + + if len(data) == 1 { + return data[0], nil + } else { + return nil, errors.New("操作失败") + } +} + +func GetMultiData(beginDate, endDate string, ignoreHoliday bool) ([]*RespData, error) { + + dates := SplitDates(beginDate, endDate, "20060102") + //fmt.Println(dates) + if v, err := GetCacheHolidayInfo(dates); err == nil && len(v) > 0 { + fmt.Println("go to cache ") + return v, nil + } + + fmt.Println(fmt.Sprintf(config.HolidayMultiUrl, strings.Join(dates, ","), ignoreHoliday, config.HolidayID, config.HolidaySecret)) + //time.Sleep(100 * time.Nanosecond) + resp, err := http.Get(fmt.Sprintf(config.HolidayMultiUrl, strings.Join(dates, ","), ignoreHoliday, config.HolidayID, config.HolidaySecret)) + if err != nil { + return nil, err + } + defer resp.Body.Close() + + bt := make([]byte, 0) + buf := bytes.NewBuffer(bt) + io.Copy(buf, resp.Body) + + holidayResp := new(MultiHolidayResp) + holidayResp.Data = make([]HolidayDate, 0) + + err = json.Unmarshal(buf.Bytes(), &holidayResp) + if err != nil { + return nil, err + } + fmt.Println(holidayResp.Data) + + holidayMap := make(map[string]interface{}, 0) + for i := 0; i < len(holidayResp.Data); i++ { + bt, _ := json.Marshal(holidayResp.Data[i]) + holidayMap[ConvertTime(holidayResp.Data[i].Date)] = bt + } + // 缓存 日历信息 + cache.HMSet(cache.HolidayMap, holidayMap) + + data := dataHandle(holidayResp.Data, dates) + fmt.Println(data) + if len(data) > 0 { + return data, nil + } else { + return nil, errors.New("操作失败") + } +} + +func dataHandle(holidayDate []HolidayDate, dates []string) []*RespData { + respDatas := make([]*RespData, 0) + for i := 0; i < len(holidayDate); i++ { + respData := &RespData{} + if holidayDate[i].Date == time.Now().Format("2006-01-02") { + respData.IsToday = true + } + + for j := 0; j < len(dates); j++ { + if strings.Replace(holidayDate[i].Date, "-", "", -1) == dates[j] { + dateArray := strings.Split(dates[j], "") + + year, _ := strconv.Atoi(strings.Join(dateArray[0:4], "")) + respData.Year = int32(year) + + month, _ := strconv.Atoi(strings.Join(dateArray[4:6], "")) + respData.Month = int8(month) + + day, _ := strconv.Atoi(strings.Join(dateArray[6:8], "")) + respData.Day = int8(day) + } + } + + respData.RenderYear = int32(time.Now().Year()) + respData.RenderMonth = int8(time.Now().Month()) + + if respData.RenderYear != respData.Year || respData.RenderMonth != respData.Month { + respData.IsOtherMonthDay = true + } + + respData.Lunar = holidayDate[i].LunarCalendar + + respData.WeekDay = holidayDate[i].WeekDay + + respData.Type = holidayDate[i].Type + //if respData.Type >= 1 { // + // respData.Type = 1 + //} + + respData.TypeDes = holidayDate[i].TypeDes + + respDatas = append(respDatas, respData) + } + return respDatas +} + +func SplitDates(beginDate, endDate, format string) []string { + bDate, _ := time.ParseInLocation(format, beginDate, time.Local) + eDate, _ := time.ParseInLocation(format, endDate, time.Local) + + if bDate == eDate { + return []string{bDate.Format(format)} + } + + day := int(eDate.Sub(bDate).Hours() / 24) + dlist := make([]string, 0) + dlist = append(dlist, beginDate) + for i := 1; i < day; i++ { + result := bDate.AddDate(0, 0, i) + dlist = append(dlist, result.Format(format)) + } + dlist = append(dlist, endDate) + return dlist +} + +// 格式 2023-01-01 +func SplitMonth(month string, format string) []string { + bDate, _ := time.ParseInLocation(format, month, time.Local) + bDate = bDate.AddDate(0, 1, 0) + eDate := bDate.AddDate(0, 0, -1) + return SplitDates(month, eDate.Format(format), format) +} + +func GetCommonWorkDays(days []*RespData, m map[int]int) []*RespData { + workDays := make([]*RespData, 0) + + for i := 0; i < len(days); i++ { + _, ok := m[int(days[i].WeekDay)] + if ok { // m 不为 nil 则使用 m 的规则 + //workDays = append(workDays, days[i]) + if days[i].Type == 0 { + workDays = append(workDays, days[i]) + } + } else if days[i].Type == 0 { // m 为 nil 则使用 正常工作日 的规则 + workDays = append(workDays, days[i]) + } + + } + + return workDays +} + +func ConvertTime(t string) string { + ts := strings.Split(t, "-") + for i := 1; i < len(ts); i++ { + if s, err := strconv.Atoi(ts[i]); err == nil { + if s < 10 { + //fmt.Println(s) + ts[i] = "0" + strconv.Itoa(s) + //fmt.Println(ts[i]) + } + } + } + return strings.Join(ts, "") +} + +func GetCacheHolidayInfo(date []string) (value []*RespData, err error) { + v, err := cache.HMGet(cache.HolidayMap, date...) + if err != nil { + return nil, err + } + + zap.L().Info("GetCacheHolidayInfo", zap.Any("redis client ", cache.RedisClient.String())) + fmt.Printf("redis client %+v\n", cache.RedisClient.String()) + + if len(v) == 0 { + return nil, errors.New(e.ErrHolidayMiss) + } + + holidayDates := make([]HolidayDate, 0) + for i := 0; i < len(v); i++ { + holidayDate := HolidayDate{} + if v[i] == nil { + return nil, errors.New(e.ErrHolidayMiss) + } + json.Unmarshal([]byte(v[i].(string)), &holidayDate) + holidayDates = append(holidayDates, holidayDate) + zap.L().Info("holiday list ", zap.Any("holiday list ", fmt.Sprintf(" v: %+v", holidayDate))) + fmt.Printf("holiday list %+v\n", holidayDate) + } + return dataHandle(holidayDates, date), nil +} + +func CurrentWeek(t time.Time) (string, string) { + if t.Weekday() == time.Monday { + return t.Format("2006-01-02"), t.AddDate(0, 0, 6).Format("2006-01-02") + } else if t.Weekday() == time.Sunday { + return t.AddDate(0, 0, -6).Format("2006-01-02"), t.Format("2006-01-02") + } else { + return t.AddDate(0, 0, -int(t.Weekday())+1).Format("2006-01-02"), + t.AddDate(0, 0, -int(t.Weekday())+1).AddDate(0, 0, 6).Format("2006-01-02") + } +} + +// 格式 2023-01-26 ~ 2023-02-25 +func SplitMonthV1(month string, format string) []string { + bDate, _ := time.ParseInLocation(format, month, time.Local) + bDate = bDate.AddDate(0, -1, 0) + sDate := bDate.AddDate(0, 0, 1) + return SplitDates(sDate.Format(format), month, format) +} + +func CurrentMonth() string { + t := time.Now() + var month string + // 25号之后属于下个月 + if t.Day() > 25 { + tt, _ := time.ParseInLocation("2006-01", t.Format("2006-01"), time.Local) + month = tt.AddDate(0, 1, 0).Format("2006-01") + } else if t.Day() <= 25 { + month = t.Format("2006-01") + } + return month +} + +func NextDate() string { + return time.Now().AddDate(0, 0, 1).Format("2006-01-02") +} diff --git a/pkg/utils/idcard/idcard.go b/pkg/utils/idcard/idcard.go new file mode 100644 index 0000000..ecb1da3 --- /dev/null +++ b/pkg/utils/idcard/idcard.go @@ -0,0 +1,63 @@ +package idcard + +import ( + "fmt" + "strconv" + + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/stime" +) + +const DEF_IDCARD_LEN = 18 + +func GetNativePlace(idNum string) string { + if idNum == "" { + return "" + } + var area = map[int]string{ + 11: "北京", 12: "天津", 13: "河北", 14: "山西", 15: "内蒙古", + 21: "辽宁", 22: "吉林", 23: "黑龙江", 31: "上海", 32: "江苏", + 33: "浙江", 34: "安徽", 35: "福建", 36: "江西", 37: "山东", 41: "河南", 42: "湖北", + 43: "湖南", 44: "广东", 45: "广西", + 46: "海南", 50: "重庆", 51: "四川", 52: "贵州", 53: "云南", 54: "西藏", 61: "陕西", + 62: "甘肃", 63: "青海", 64: "宁夏", + 65: "新疆", 71: "台湾", 81: "香港", 82: "澳门", 91: "国外", + } + var provinceName = "" + var ok bool + var provinceNo, _ = strconv.Atoi(idNum[0:2]) + if provinceNo == 0 { + return "" + } + if provinceName, ok = area[provinceNo]; ok { + return provinceName + } else { + return "" + } +} + +func GetAge(idNum string) int { + if len(idNum) < 18 { + return 0 + } + birthdayStr := idNum[6:14] + fmt.Println("--------===--- idNum", idNum, "birthdayStr", birthdayStr) + birthday, _ := stime.StringToTimeWithFormat(birthdayStr, stime.Format_NoSpacer_YMD) + if birthday == nil { + return 0 + } + return stime.GetAge(*birthday) +} +func Validate(idCard string) bool { + idLen := len(idCard) + if idLen != DEF_IDCARD_LEN { // lenght check failed + return false + } + weight := []int{7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2} + validate := []byte{'1', '0', 'X', '9', '8', '7', '6', '5', '4', '3', '2'} + sum := 0 + for i := 0; i < len(weight); i++ { + sum += weight[i] * int(byte(idCard[i])-'0') + } + m := sum % 11 + return validate[m] == idCard[idLen-1] +} diff --git a/pkg/utils/idcard/idcard_test.go b/pkg/utils/idcard/idcard_test.go new file mode 100644 index 0000000..2350fe0 --- /dev/null +++ b/pkg/utils/idcard/idcard_test.go @@ -0,0 +1,13 @@ +package idcard + +import ( + "testing" +) + +func TestGetNativePlace(t *testing.T) { + t.Log(GetNativePlace("32058119910306341X")) +} + +func TestGetAge(t *testing.T) { + t.Log(GetAge("32058119910306341X")) +} diff --git a/pkg/utils/if.go b/pkg/utils/if.go new file mode 100644 index 0000000..561b449 --- /dev/null +++ b/pkg/utils/if.go @@ -0,0 +1,23 @@ +/* + * @FileName: if.go + * @Author: JJXu + * @CreateTime: 2022/3/31 下午10:34 + * @Description: + */ + +package utils + +func If(condition bool, trueVal, falseVal interface{}) interface{} { + if condition { + return trueVal + } + return falseVal +} + +// 泛型if else +func IfGec[T ~string | ~int | ~int32 | ~int64 | ~bool | ~float32 | ~float64](condition bool, trueVal, falseVal T) T { + if condition { + return trueVal + } + return falseVal +} diff --git a/pkg/utils/launch/launch.go b/pkg/utils/launch/launch.go new file mode 100644 index 0000000..7a3d1e4 --- /dev/null +++ b/pkg/utils/launch/launch.go @@ -0,0 +1,242 @@ +package launch + +import ( + "archive/zip" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/request" + "io" + "log" + "net/http" + "net/url" + "os" + "path/filepath" + "strings" + "sync" + "time" +) + +// 下载文件并存储在指定文件夹 +func downloadFile(url string, folder string, fileName string, wg *sync.WaitGroup, fileChan chan<- string, errChan chan<- error) { + defer wg.Done() + + // 创建文件夹 + err := os.MkdirAll(folder, os.ModePerm) + if err != nil { + errChan <- err + return + } + // 获取文件名 + //fileName := filepath.Base(url) + filePath := filepath.Join(folder, fileName) + + // 创建文件 + out, err := os.Create(filePath) + if err != nil { + errChan <- err + return + } + defer out.Close() + + // 下载文件 + resp, err := http.Get(url) + if err != nil { + errChan <- err + return + } + defer resp.Body.Close() + + // 写入文件 + _, err = io.Copy(out, resp.Body) + if err != nil { + errChan <- err + return + } + + fileChan <- filePath +} + +// 将文件打包成ZIP +func zipFiles(zipFileName string, files map[string][]string) error { + newZipFile, err := os.Create(zipFileName) + if err != nil { + return err + } + defer newZipFile.Close() + + zipWriter := zip.NewWriter(newZipFile) + + for folder, fileList := range files { + for _, file := range fileList { + if err := addFileToZip(zipWriter, file, folder); err != nil { + return err + } + } + } + + err = zipWriter.Close() + if err != nil { + return err + } + + return nil +} + +func addFileToZip(zipWriter *zip.Writer, filename string, folder string) error { + file, err := os.Open(filename) + if err != nil { + return err + } + defer file.Close() + + // 获取文件信息 + info, err := file.Stat() + if err != nil { + return err + } + + header, err := zip.FileInfoHeader(info) + if err != nil { + return err + } + + // 使用文件夹路径 + header.Name = filepath.Join(folder, filepath.Base(filename)) + //header.Name = filepath.Base(filename) + + writer, err := zipWriter.CreateHeader(header) + if err != nil { + return err + } + + _, err = io.Copy(writer, file) + return err +} + +// 删除目录及其内容 +func removeDir(dir string) error { + return os.RemoveAll(dir) +} + +// 处理下载和压缩请求 +func DownloadAndZip(reqData request.Response, fileType string, w http.ResponseWriter) { + // 标记是否只包含一个 attachment + isSingleAttachment := false + if len(reqData.Contracts) == 1 && len(reqData.Contracts[0].Attachment) == 1 { + isSingleAttachment = true + } + + if isSingleAttachment { + // 只包含一个 contract,且该 contract 只有一个 attachment,则直接下载该文件 + attachment := reqData.Contracts[0].Attachment[0] + if attachment.URL == "" { + http.Error(w, "URL not provided", http.StatusBadRequest) + return + } + + // 下载文件 + resp, err := http.Get(attachment.URL) + if err != nil { + http.Error(w, fmt.Sprintf("Failed to download file: %v", err), http.StatusInternalServerError) + return + } + defer resp.Body.Close() + + // 设置响应头 + w.Header().Set("Content-Type", resp.Header.Get("Content-Type")) + w.Header().Set("Content-Disposition", fmt.Sprintf("attachment; filename=%s", attachment.Name)) + + // 将文件内容发送给客户端 + _, err = io.Copy(w, resp.Body) + if err != nil { + log.Printf("Failed to send file content: %v", err) + } + + return + } + + // 多个 URL,则创建 ZIP 文件 + tempDir := fmt.Sprintf("temp_%d", time.Now().UnixNano()) + os.MkdirAll(tempDir, os.ModePerm) + + filesToZip := make(map[string][]string) + var wg sync.WaitGroup + fileChan := make(chan string) + errChan := make(chan error) + //fileNameCount := make(map[string]int) + fileNameCount := make(map[string]map[string]int) // 存储每个附件下的文件名计数器 + for _, contract := range reqData.Contracts { + contractFolder := contract.Theme + for _, attachment := range contract.Attachment { + wg.Add(1) + fileName := attachment.Name + ext := filepath.Ext(fileName) + name := strings.TrimSuffix(fileName, ext) + // 检查文件名是否重复,如果重复则对文件名进行枚举,否则不需要 + if counts, ok := fileNameCount[contractFolder]; ok { + if count, exists := counts[fileName]; exists { + counts[fileName]++ + fileName = fmt.Sprintf("%s(%d)%s", name, count, ext) + } else { + counts[fileName] = 1 + } + } else { + fileNameCount[contractFolder] = map[string]int{fileName: 1} + } + go downloadFile(attachment.URL, tempDir, fileName, &wg, fileChan, errChan) + filesToZip[contractFolder] = append(filesToZip[contractFolder], filepath.Join(tempDir, fileName)) + } + } + + // Goroutine to handle file paths from fileChan + go func() { + for filePath := range fileChan { + log.Printf("Downloaded: %s", filePath) + } + }() + + // Goroutine to handle errors from errChan + go func() { + for err := range errChan { + log.Printf("Error: %v", err) + } + }() + + wg.Wait() + close(fileChan) + close(errChan) + + // 创建ZIP文件 + zipFileName := filepath.Join(tempDir, fileType+".zip") + err := zipFiles(zipFileName, filesToZip) + if err != nil { + log.Printf("Failed to create zip file: %v", err) + http.Error(w, "Failed to create zip file", http.StatusInternalServerError) + return + } + zipFile, err := os.Open(zipFileName) + if err != nil { + log.Printf("Failed to open zip file: %v", err) + http.Error(w, "Failed to open zip file", http.StatusInternalServerError) + return + } + // 返回ZIP文件 + w.Header().Set("Content-Type", "application/zip") + encodedFileName := url.PathEscape(fmt.Sprintf("%s.zip", fileType)) + w.Header().Set("Content-Disposition", fmt.Sprintf("attachment; filename*=UTF-8''%s", encodedFileName)) + io.Copy(w, zipFile) + // 删除临时文件和目录 + defer func() { + // 关闭文件句柄 + if err := zipFile.Close(); err != nil { + log.Printf("Failed to close zip file: %v", err) + } + // 删除 ZIP 文件 + if err := os.Remove(zipFileName); err != nil { + log.Printf("Failed to delete zip file: %v", err) + } + // 删除临时目录及其内容 + if err := removeDir(tempDir); err != nil { + log.Printf("Failed to delete temp directory: %v", err) + } + }() +} diff --git a/pkg/utils/mathutils/math.go b/pkg/utils/mathutils/math.go new file mode 100644 index 0000000..c9072bf --- /dev/null +++ b/pkg/utils/mathutils/math.go @@ -0,0 +1,20 @@ +package mathutils + +import ( + "golang.org/x/exp/constraints" + "math" +) + +func Min[T constraints.Integer | constraints.Float](numA, numB T) T { + if numA < numB { + return numA + } + return numB +} + +// 两整数数相除向上取整 +func NumDivCeil[T constraints.Integer | constraints.Float](numA T, numB T) T { + divNum := float64(numA) / float64(numB) + ceilNum := math.Ceil(divNum) + return T(ceilNum) +} diff --git a/pkg/utils/picture.go b/pkg/utils/picture.go new file mode 100644 index 0000000..a5a8ed2 --- /dev/null +++ b/pkg/utils/picture.go @@ -0,0 +1,205 @@ +package utils + +import ( + "bytes" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/go-errors/errors" + "github.com/google/uuid" + "github.com/nfnt/resize" + "go.uber.org/zap" + "golang.org/x/image/bmp" + "image" + "image/jpeg" + "image/png" + "os" + "path" + "strings" +) + +const ( + CompressLimit = 1024 * 1024 * 1 + MaxHeight uint = 600 +) + +// CompressJPG 压缩图片,并返回缩略图路径 +func CompressJPG(dst string, newDst string) (err error) { + filebytes, err := os.ReadFile(dst) + if err != nil { + return err + } + compressbytes := compressImageResource(filebytes) + fo, err := os.Create(newDst) + defer fo.Close() + if err != nil { + return err + } + _, err = fo.Write(compressbytes) + if err != nil { + return err + } + return nil +} + +func compressImageResource(data []byte) []byte { + if len(data) < CompressLimit { + return data + } + img, _, err := image.Decode(bytes.NewReader(data)) + if err != nil { + return data + } + m := resize.Resize(0, MaxHeight, img, resize.Lanczos3) + buf := bytes.Buffer{} + + err = jpeg.Encode(&buf, m, &jpeg.Options{Quality: 100}) + if err != nil { + zap.L().Error("compressImageResource Encode err", zap.Error(err)) + return data + } + if buf.Len() > len(data) { + return data + } + fmt.Println(buf.Len()) + if buf.Len() >= CompressLimit { + bytes := compressImageResource(buf.Bytes()) + return bytes + } + return buf.Bytes() +} + +/* +** +// https://cdns.fontree.cn/fonchain-main/dev/file/artwork/config/1234.jpg +// https://cdns.fontree.cn/fonchain-main/dev/file/artwork/config/new_image.jpg +*/ +func ResizeImg(url string) (newImgPath string, err error) { + var isCompress bool + widthLimit, heightLimit := 400, 5000 + imgExt := strings.Replace(path.Ext(url), ".", "", 1) + uuidName := uuid.New().String() + fileName := fmt.Sprintf("%s.%s", uuidName, imgExt) + fullpath, _err := SaveUrlFileDisk(url, "./runtime/copyright/image", fileName) + if _err != nil { + err = _err + return + } + newImgCompressPath := fmt.Sprintf("./runtime/copyright/image/compress_%s", fileName) + if isCompress, err = CompressImage(fullpath, newImgCompressPath); err != nil { + return + } + if !isCompress { + newImgCompressPath = fullpath + } + newImgPath = newImgCompressPath + // 打开图片并解码 + file, err := os.Open(newImgCompressPath) + if err != nil { + err = errors.New(e.GetMsg(e.ERROR_OPEN_FILE)) + return + } + var img image.Image + switch imgExt { + case "jpg", "jpeg": + img, err = jpeg.Decode(file) + case "png": + img, err = png.Decode(file) + case "bmp": + img, err = bmp.Decode(file) + default: + err = errors.New(e.ErrorImgExt) + return + } + if img == nil { + zap.L().Error("ResizeImg decode err", zap.String("url", url)) + err = errors.New(e.ErrorImgDecode) + return + } + if err != nil { + zap.L().Error("ResizeImg decode err", zap.Error(err), zap.String("url", url)) + err = errors.New(e.GetMsg(e.ERROR_ROTATE_IMG)) + return + } + file.Close() + // 获取原图片的尺寸 + bounds := img.Bounds() + width, height := bounds.Max.X, bounds.Max.Y + + // 如果图片的分辨率不在500和2000之间,则进行等比例缩放或拉伸 + var newWidth, newHeight uint + if width < widthLimit || width > heightLimit || height < widthLimit || height > heightLimit { + if width > height { + newWidth = uint(heightLimit) + newHeight = uint(heightLimit) * uint(height) / uint(width) + } else { + newHeight = uint(heightLimit) + newWidth = uint(heightLimit) * uint(width) / uint(height) + } + } else { + return + } + defer os.Remove(fullpath) + // 调用resize库进行图片缩放 + newImg := resize.Resize(newWidth, newHeight, img, resize.Lanczos3) + newImgPath = fmt.Sprintf("./runtime/copyright/image/resize_%s", fileName) + out, err := os.Create(newImgPath) + if err != nil { + err = errors.New(e.GetMsg(e.ErrorFileCreate)) + return + } + defer out.Close() + switch imgExt { + case "jpg", "jpeg": + jpeg.Encode(out, newImg, nil) + case "png": + png.Encode(out, newImg) + case "bmp": + bmp.Encode(out, newImg) + } + return +} + +func CompressImage(filepath string, newPath string) (isCompress bool, err error) { + var MaxFileSize int64 = 5 * 1024 * 1024 // 5MB + var MaxQuality int64 = 100 + zap.L().Info("CompressImage 1") + src, err := os.Open(filepath) + fileInfo, _ := os.Stat(filepath) + zap.L().Info("CompressImage 2") + fileSize := fileInfo.Size() + if fileSize < MaxFileSize { + return + } + zap.L().Info("CompressImage 3") + qualityF := int64((float64(fileSize-MaxFileSize) / float64(fileSize)) * float64(MaxQuality)) + qualityF = MaxQuality - qualityF + if qualityF < 0 { + qualityF = MaxFileSize + } + if err != nil { + err = errors.New(e.GetMsg(e.ErrorReadFile)) + return + } + defer src.Close() + zap.L().Info("CompressImage 4") + img, _, err := image.Decode(src) + zap.L().Info("CompressImage 5") + if err != nil { + err = errors.New(e.GetMsg(e.ErrorReadFile)) + return + } + zap.L().Info("CompressImage 6") + for quality := qualityF; quality >= 1; quality -= 5 { // decrease quality by 5 each time. + zap.L().Info("CompressImage 7") + buf := &bytes.Buffer{} + if err := jpeg.Encode(buf, img, &jpeg.Options{Quality: int(quality)}); err != nil { + continue + } + zap.L().Info("CompressImage 8") + if buf.Len() < int(MaxFileSize) { + return true, os.WriteFile(newPath, buf.Bytes(), 0644) + } + zap.L().Info("CompressImage 9") + } + return +} diff --git a/pkg/utils/picture_test.go b/pkg/utils/picture_test.go new file mode 100644 index 0000000..4b08da1 --- /dev/null +++ b/pkg/utils/picture_test.go @@ -0,0 +1,95 @@ +package utils + +import ( + "reflect" + "testing" +) + +func TestCompressImage(t *testing.T) { + type args struct { + filename string + } + tests := []struct { + name string + args args + wantErr bool + }{ + { + args: args{filename: "../../runtime/tmp/8_24.png"}, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if err := CompressImage(tt.args.filename, "../../runtime/tmp/compress.png"); err != nil { + t.Errorf("CompressImage() error = %v", err) + } + }) + } +} + +func TestCompressJPG(t *testing.T) { + type args struct { + dst string + newDst string + } + tests := []struct { + name string + args args + wantErr bool + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if err := CompressJPG(tt.args.dst, tt.args.newDst); (err != nil) != tt.wantErr { + t.Errorf("CompressJPG() error = %v, wantErr %v", err, tt.wantErr) + } + }) + } +} + +func TestResizeImg(t *testing.T) { + type args struct { + url string + } + tests := []struct { + name string + args args + wantNewImgPath string + wantErr bool + }{ + { + args: args{url: "https://cdns.fontree.cn/fonchain-main/dev/file/artwork/config/1234.jpg"}, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + gotNewImgPath, err := ResizeImg(tt.args.url) + if err != nil { + t.Errorf("ResizeImg() error = %v", err) + return + } + t.Logf("gotNewImgPath--%s", gotNewImgPath) + }) + } +} + +func Test_compressImageResource(t *testing.T) { + type args struct { + data []byte + } + tests := []struct { + name string + args args + want []byte + }{ + // TODO: Add test cases. + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + if got := compressImageResource(tt.args.data); !reflect.DeepEqual(got, tt.want) { + t.Errorf("compressImageResource() = %v, want %v", got, tt.want) + } + }) + } +} diff --git a/pkg/utils/plat/address.go b/pkg/utils/plat/address.go new file mode 100644 index 0000000..f894a33 --- /dev/null +++ b/pkg/utils/plat/address.go @@ -0,0 +1,141 @@ +package plat + +import ( + "encoding/json" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "io/ioutil" + "net/http" + "net/url" +) + +func ExchangeLatLngToAddress(lat, lng string) (*AutoGenerated, error) { + // 此处填写您在控制台-应用管理-创建应用后获取的AK + appcode := config.MapAppCode + + // 服务地址 + host := "https://latlngto.market.alicloudapi.com" + + // 接口地址 + uri := "/lundroid/queryLocation" + + // 设置请求参数 + params := url.Values{ + "lat": []string{lat}, + "lng": []string{lng}, + } + + // 发起请求 + request, err := url.Parse(host + uri + "?" + params.Encode()) + if nil != err { + fmt.Printf("host error: %v", err) + return nil, err + } + + req, reqErr := http.NewRequest("GET", request.String(), nil) + req.Header.Add("Authorization", "APPCODE "+appcode) + fmt.Printf("url: %s\n", request.String()) + if reqErr != nil { + fmt.Printf("request error: %v", reqErr) + return nil, err + } + + resp, respErr := (&http.Client{}).Do(req) + defer resp.Body.Close() + if respErr != nil { + fmt.Printf("resp error: %v", respErr) + return nil, err + } + + body, bodyErr := ioutil.ReadAll(resp.Body) + if bodyErr != nil { + fmt.Printf("readAll error: %v", bodyErr) + return nil, err + } + + fmt.Println(resp.Header) + + data := AutoGenerated{} + + err = json.Unmarshal(body, &data) + if err != nil { + fmt.Println(err) + return nil, err + } + + return &data, err +} + +type LatLng struct { + Lat string `json:"lat"` + Lng string `json:"lng"` +} + +type AutoGenerated struct { + Data Data `json:"data"` + Resp Resp `json:"resp"` +} +type Location struct { + Lng float64 `json:"lng"` + Lat float64 `json:"lat"` +} +type Town struct { + Distance int `json:"distance"` + Direction string `json:"direction"` + Location Location `json:"location"` + Name string `json:"name"` +} +type StreetNumber struct { + Distance float64 `json:"distance"` + Direction string `json:"direction"` + Location Location `json:"location"` + Name string `json:"name"` +} +type LandmarkL2 struct { + Distance float64 `json:"distance"` + Direction string `json:"direction"` + Location Location `json:"location"` + Name string `json:"name"` +} +type LandmarkL1 struct { + Distance float64 `json:"distance"` + Direction string `json:"direction"` + Location Location `json:"location"` + Name string `json:"name"` +} +type Crossroad struct { + Distance float64 `json:"distance"` + Direction string `json:"direction"` + Location Location `json:"location"` + Name string `json:"name"` +} +type Street struct { + Distance float64 `json:"distance"` + Direction string `json:"direction"` + Location Location `json:"location"` + Name string `json:"name"` +} +type Reference struct { + Town Town `json:"town"` + StreetNumber StreetNumber `json:"street_number"` + LandmarkL2 LandmarkL2 `json:"landmark_l2"` + LandmarkL1 LandmarkL1 `json:"landmark_l1"` + Crossroad Crossroad `json:"crossroad"` + Street Street `json:"street"` +} +type Data struct { + Nation string `json:"nation"` + City string `json:"city"` + Province string `json:"province"` + Reference Reference `json:"reference"` + District string `json:"district"` + Street string `json:"street"` + Address string `json:"address"` + Lat float64 `json:"lat"` + StreetNumber string `json:"street_number"` + Lng float64 `json:"lng"` +} +type Resp struct { + RespCode int `json:"RespCode"` + RespMsg string `json:"RespMsg"` +} diff --git a/pkg/utils/qr/qr.go b/pkg/utils/qr/qr.go new file mode 100644 index 0000000..6c3c49b --- /dev/null +++ b/pkg/utils/qr/qr.go @@ -0,0 +1,131 @@ +package qr + +import ( + "archive/zip" + "bytes" + "encoding/base64" + "fmt" + "image" + "image/draw" + "image/jpeg" + "image/png" + "io" + "net/http" + "os" + "path/filepath" + + "github.com/gin-gonic/gin" + "github.com/nfnt/resize" + "github.com/skip2/go-qrcode" +) + +func CreateQr(content string, logoUrl string) (qr string, err error) { + emptyBuff, err := CreateQrBase(content, logoUrl) + + if err != nil { + return "", err + } + + return string(emptyBuff.Bytes()), nil +} + +func CreateQrBase64(content string, logoUrl string) (qr string, err error) { + + emptyBuff, err := CreateQrBase(content, logoUrl) + if err != nil { + return "", err + } + + //return string(emptyBuff.Bytes()), nil + return "data:image/png;base64," + base64.StdEncoding.EncodeToString(emptyBuff.Bytes()), nil +} + +func CreateQrBase(content string, logoUrl string) (emptyBuff *bytes.Buffer, err error) { + emptyBuff = bytes.NewBuffer(nil) //开辟一个新的空buff + + qrC, err := qrcode.New(content, qrcode.Low) + img := qrC.Image(460) + + if err != nil { + return + } + + total := image.NewRGBA(img.Bounds()) //设置背景 + draw.Draw(total, total.Bounds(), img, img.Bounds().Min, draw.Over) + + if logoUrl != "" { //是否有logo + v, err := http.Get(logoUrl) + if err != nil { + fmt.Printf("Http get [%v] failed! %v", logoUrl, err) + return emptyBuff, err + } + defer v.Body.Close() + + icoImg2, _ := png.Decode(v.Body) + + icoImg := resize.Resize(54, 52, icoImg2, resize.Lanczos3) + + icoImgPnt := image.Point{(total.Bounds().Size().X - icoImg.Bounds().Size().X) / -2, (total.Bounds().Size().Y - icoImg.Bounds().Size().Y) / -2} + draw.DrawMask(total, total.Bounds(), icoImg, icoImgPnt, nil, image.Point{}, draw.Src) + } + + err = jpeg.Encode(emptyBuff, total, nil) + if err != nil { + return emptyBuff, err + } + return emptyBuff, nil +} + +func ImagesOnZip(c *gin.Context, tempDir string) { + // 创建ZIP文件并添加下载的图片 + zipFilename := "./collection.zip" + zipFile, err := os.Create(zipFilename) + if err != nil { + c.String(http.StatusInternalServerError, fmt.Sprintf("Failed to create ZIP file: %v", err)) + return + } + defer zipFile.Close() + + zipWriter := zip.NewWriter(zipFile) + defer zipWriter.Close() + + err = filepath.Walk(tempDir, func(path string, info os.FileInfo, err error) error { + if err != nil { + return err + } + if info.IsDir() { + return nil + } + relPath, err := filepath.Rel(tempDir, path) + if err != nil { + return err + } + file, err := os.Open(path) + if err != nil { + return err + } + defer file.Close() + zipEntry, err := zipWriter.Create(relPath) + if err != nil { + return err + } + _, err = io.Copy(zipEntry, file) + if err != nil { + return err + } + return nil + }) + if err != nil { + c.String(http.StatusInternalServerError, fmt.Sprintf("Failed to create ZIP file: %v", err)) + return + } + if err := zipWriter.Close(); err != nil { + fmt.Println("Close error: ", err) + } + // 设置响应头,将ZIP文件作为文件流传输给前端 + c.Header("Content-Type", "application/octet-stream") + c.Header("Content-Disposition", "attachment; filename="+filepath.Base(zipFilename)) + c.Header("Content-Transfer-Encoding", "binary") + c.Header("Cache-Control", "no-cache") + c.File(zipFilename) +} diff --git a/pkg/utils/qrCode.go b/pkg/utils/qrCode.go new file mode 100644 index 0000000..c7ab1dc --- /dev/null +++ b/pkg/utils/qrCode.go @@ -0,0 +1,220 @@ +// Package utils ----------------------------- +// @file : qrCode.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2023/3/8 18:01 +// ------------------------------------------- +package utils + +import ( + "bytes" + "encoding/base64" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "image" + "image/color" + "image/draw" + "image/jpeg" + "image/png" + "io" + "io/ioutil" + "log" + "mime/multipart" + "net/http" + "os" + "strings" + + "github.com/fonchain_enterprise/utils/objstorage" + "github.com/fonchain_enterprise/utils/utils" + "github.com/golang/freetype" + "github.com/nfnt/resize" + "github.com/skip2/go-qrcode" + "golang.org/x/image/font" +) + +func CreateQr(content string, logoUrl string) (qr string, err error) { + emptyBuff, err := CreateQrBase(content, logoUrl) + + if err != nil { + return "", err + } + + return string(emptyBuff.Bytes()), nil + //return "data:image/png;base64," + base64.StdEncoding.EncodeToString(emptyBuff.Bytes()), nil +} + +func CreateQrBase64(content string, logoUrl string) (qr string, err error) { + + emptyBuff, err := CreateQrBase(content, logoUrl) + if err != nil { + return "", err + } + + //return string(emptyBuff.Bytes()), nil + return "data:image/png;base64," + base64.StdEncoding.EncodeToString(emptyBuff.Bytes()), nil +} + +func CreateQrBase(content string, logoUrl string) (emptyBuff *bytes.Buffer, err error) { + emptyBuff = bytes.NewBuffer(nil) //开辟一个新的空buff + + qrC, err := qrcode.New(content, qrcode.Low) + img := qrC.Image(460) + + if err != nil { + return + } + + total := image.NewRGBA(img.Bounds()) //设置背景 + draw.Draw(total, total.Bounds(), img, img.Bounds().Min, draw.Over) + + if logoUrl != "" { //是否有logo + v, err := http.Get(logoUrl) + if err != nil { + fmt.Printf("Http get [%v] failed! %v", logoUrl, err) + return emptyBuff, err + } + defer v.Body.Close() + + icoImg2, _ := png.Decode(v.Body) + + icoImg := resize.Resize(54, 52, icoImg2, resize.Lanczos3) + + icoImgPnt := image.Point{(total.Bounds().Size().X - icoImg.Bounds().Size().X) / -2, (total.Bounds().Size().Y - icoImg.Bounds().Size().Y) / -2} + draw.DrawMask(total, total.Bounds(), icoImg, icoImgPnt, nil, image.Point{}, draw.Src) + } + + err = jpeg.Encode(emptyBuff, total, nil) + if err != nil { + return emptyBuff, err + } + return emptyBuff, nil +} + +func CreateQrCode(invitedCode, userName string) error { + QrCodePath, err := utils.GenQRCode("https://artist.fontree.cn/login?invitedCode=" + invitedCode) + if err != nil { + return err + } + tmp, err := os.Open(QrCodePath) + defer tmp.Close() + if err != nil { + return err + } + // tmp, _ := file.Open() + + src, err := os.Open("./qrcodebg.png") + defer src.Close() + if err != nil { + log.Println(err) + return err + } + img, err := png.Decode(src) + if err != nil { + log.Println(err) + return err + } + outimage, _ := addLabel(img, userName+"邀请您注册画家宝用户", 210, 300, color.RGBA{255, 255, 255, 255}, 55, "font1716.ttf") + outimage, _ = addLabel(outimage, "(使用此二维码后,"+userName+"将成为你的邀请人)", 210, 400, color.RGBA{255, 255, 255, 255}, 38, "font1716.ttf") + outimage, _ = addLabel(outimage, "邀请码:"+invitedCode, 260, 1340, color.RGBA{69, 137, 239, 255}, 70, "font1716.ttf") + QrCode2Path := "static/qrcode/" + invitedCode + "-2.png" + f, err := os.Create(QrCode2Path) + if err != nil { + log.Println(err) + return err + } + defer f.Close() + newImg := image.NewNRGBA(image.Rect(0, 0, 1125, 2436)) + // fe, err := os.Open("./" + artistPhoto.SmallPic + "_small.jpg") + qrImg, err := png.Decode(tmp) + if err != nil { + fmt.Println(err.Error()) + return err + } + qrImg = resize.Resize(uint(700), uint(700), qrImg, resize.Lanczos3) + draw.Draw(newImg, newImg.Bounds(), outimage, outimage.Bounds().Min.Sub(image.Pt(0, 0)), draw.Over) + draw.Draw(newImg, newImg.Bounds(), qrImg, qrImg.Bounds().Min.Sub(image.Pt(210, 570)), draw.Over) + err = png.Encode(f, newImg) + if err != nil { + return err + } + tmp.Close() + tmps, err := os.OpenFile(QrCodePath, os.O_RDWR|os.O_CREATE, 0777) + defer tmps.Close() + if err != nil { + return err + } + urlss, err := UploadToBos(tmps, fmt.Sprintf("artistmgmt/static/qrcode/%v.png", invitedCode)) + if err != nil { + return err + } + fmt.Println(urlss) + tmp2, err := os.Open(QrCode2Path) + defer tmp2.Close() + if err != nil { + return err + } + str, err := UploadToBos(tmp2, fmt.Sprintf("artistmgmt/static/qrcode/%v-2.png", invitedCode)) + if err != nil { + return err + } + fmt.Println(str, "===============") + return nil +} + +func addLabel(img image.Image, label string, x, y int, fontColor color.Color, size float64, fontPath string) (image.Image, error) { + bound := img.Bounds() + // 创建一个新的图片 + rgba := image.NewRGBA(image.Rect(0, 0, bound.Dx(), bound.Dy())) + // 读取字体 + fontBytes, err := ioutil.ReadFile(fontPath) + if err != nil { + return rgba, err + } + myFont, err := freetype.ParseFont(fontBytes) + if err != nil { + return rgba, err + } + + draw.Draw(rgba, rgba.Bounds(), img, bound.Min, draw.Src) + c := freetype.NewContext() + c.SetDPI(72) + c.SetFont(myFont) + c.SetFontSize(size) + c.SetClip(rgba.Bounds()) + c.SetDst(rgba) + uni := image.NewUniform(fontColor) + c.SetSrc(uni) + c.SetHinting(font.HintingNone) + + // 在指定的位置显示 + pt := freetype.Pt(x, y+int(c.PointToFixed(size)>>6)) + if _, err := c.DrawString(label, pt); err != nil { + return rgba, err + } + + return rgba, nil +} + +const ( + URL = "https://cdn.fontree.cn" + AK = "e102c02f0a7843d29a8abe561a17913e" + SK = "a6042bb43d4747259a7da72133cc5ce6" + Bucket = "dci-file" +) + +// 封装上传图片到bos然后返回状态和图片的url,单张 +func UploadToBos(file multipart.File, objName string) (string, error) { + BOSClient, err := objstorage.NewOSS(config.ConfigData.Oss.AccessKeyId, config.ConfigData.Oss.AccessKeySecret, config.ConfigData.Oss.Endpoint) + if err != nil { + fmt.Println(err) + } + b := new(strings.Builder) + io.Copy(b, file) + _, err = BOSClient.PutObjectFromBytes(config.ConfigData.Oss.BucketName, objName, []byte(b.String())) + if err != nil { + return "", err + } + url := config.ConfigData.Oss.CdnHost + "/" + objName + + return url, nil +} diff --git a/pkg/utils/secret/aes/aes.go b/pkg/utils/secret/aes/aes.go new file mode 100644 index 0000000..756ed35 --- /dev/null +++ b/pkg/utils/secret/aes/aes.go @@ -0,0 +1,77 @@ +package aes + +import ( + "bytes" + "crypto/aes" + "crypto/cipher" + "errors" +) + +//高级加密标准(Adevanced Encryption Standard ,AES) + +//16,24,32位字符串的话,分别对应AES-128,AES-192,AES-256 加密方法 +//key不能泄露 +var PwdKey = []byte("tyfon918tyfon918") + +//PKCS7 填充模式 +func PKCS7Padding(ciphertext []byte, blockSize int) []byte { + padding := blockSize - len(ciphertext)%blockSize + //Repeat()函数的功能是把切片[]byte{byte(padding)}复制padding个,然后合并成新的字节切片返回 + padtext := bytes.Repeat([]byte{byte(padding)}, padding) + return append(ciphertext, padtext...) +} + +//填充的反向操作,删除填充字符串 +func PKCS7UnPadding(origData []byte) ([]byte, error) { + //获取数据长度 + length := len(origData) + if length == 0 { + return nil, errors.New("加密字符串错误!") + } else { + //获取填充字符串长度 + unpadding := int(origData[length-1]) + //截取切片,删除填充字节,并且返回明文 + return origData[:(length - unpadding)], nil + } +} + +//实现加密 +func AesEcrypt(origData []byte, key []byte) ([]byte, error) { + //创建加密算法实例 + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + //获取块的大小 + blockSize := block.BlockSize() + //对数据进行填充,让数据长度满足需求 + origData = PKCS7Padding(origData, blockSize) + //采用AES加密方法中CBC加密模式 + blocMode := cipher.NewCBCEncrypter(block, key[:blockSize]) + crypted := make([]byte, len(origData)) + //执行加密 + blocMode.CryptBlocks(crypted, origData) + return crypted, nil +} + +//实现解密 +func AesDeCrypt(cypted []byte, key []byte) ([]byte, error) { + //创建加密算法实例 + block, err := aes.NewCipher(key) + if err != nil { + return nil, err + } + //获取块大小 + blockSize := block.BlockSize() + //创建加密客户端实例 + blockMode := cipher.NewCBCDecrypter(block, key[:blockSize]) + origData := make([]byte, len(cypted)) + //这个函数也可以用来解密 + blockMode.CryptBlocks(origData, cypted) + //去除填充字符串 + origData, err = PKCS7UnPadding(origData) + if err != nil { + return nil, err + } + return origData, err +} diff --git a/pkg/utils/secret/aes/aes_test.go b/pkg/utils/secret/aes/aes_test.go new file mode 100644 index 0000000..6167fbd --- /dev/null +++ b/pkg/utils/secret/aes/aes_test.go @@ -0,0 +1,36 @@ +package aes + +import ( + "encoding/hex" + "testing" +) + +func TestSecret(t *testing.T) { + textA := "我是王德法" + textABytes := []byte(textA) + + token, err := AesEcrypt(textABytes, PwdKey) + if err != nil { + t.Errorf("加密错误 %s", err.Error()) + } + + //fmt.Println(token) + tokenStr := hex.EncodeToString(token) + + tokenByte, err := hex.DecodeString(tokenStr) + if err != nil { + t.Errorf("hex加密错误 %s", err.Error()) + } + + res, err := AesDeCrypt(tokenByte, PwdKey) + if err != nil { + t.Errorf("解密错误 %s", err.Error()) + } + + if string(res) == textA { + t.Logf("加解密通过 %s", string(res)) + } else { + t.Errorf("解析内容不符合") + } + +} diff --git a/pkg/utils/secret/secret.go b/pkg/utils/secret/secret.go new file mode 100644 index 0000000..c765265 --- /dev/null +++ b/pkg/utils/secret/secret.go @@ -0,0 +1,105 @@ +package secret + +import ( + "encoding/hex" + "errors" + "fmt" + "github.com/fonchain_enterprise/fonchain-main/pkg/utils/secret/aes" + "strings" +) + +func GetPositionCode(positionName string) string { + code := "other" + positionMap := map[string]string{"宣传部": "xcb", "鉴证科": "jzk", "经纪人": "jjr", "普通用户": "com"} + + if v, ok := positionMap[positionName]; ok { + code = v + } + + return code +} + +func CombineSecret(position, name, toke string) (string, error) { + abc := position + "(~!@)" + name + "(~!@)" + toke + b, err := aes.AesEcrypt([]byte(abc), aes.PwdKey) + if err != nil { + return "", errors.New("解析错误") + } + + return hex.EncodeToString(b), nil +} + +func getToken(token string) (string, error) { + + if strings.Contains(token, "(~!@)") == false { + return "", errors.New("解析错误") + } + + str1 := strings.Split(token, "(~!@)") + + if len(str1) != 3 { + return "", errors.New("解析数量错误") + } + + return str1[2], nil +} + +func GetJwtFromStr(authorization string) (string, error) { + + tokenByte, err := hex.DecodeString(authorization) + if err != nil { + return "", err + } + defer func() { + if msg := recover(); msg != nil { + fmt.Println("panic信息:", msg, "---recover恢复---") + } + }() + + token, err := aes.AesDeCrypt(tokenByte, aes.PwdKey) + + if err != nil { + return "", err + } + + //解密下 + jwt, err := getToken(string(token)) + + if err != nil { + return "", err + } + + return jwt, nil + +} + +func CommonCombineSecret(abc string) (string, error) { + b, err := aes.AesEcrypt([]byte(abc), aes.PwdKey) + if err != nil { + return "", errors.New("解析错误") + } + + return hex.EncodeToString(b), nil +} + +func CommonDec(abc string) (string, error) { + + tokenByte, err := hex.DecodeString(abc) + if err != nil { + return "", err + } + defer func() { + if msg := recover(); msg != nil { + fmt.Println("panic信息:", msg, "---recover恢复---") + } + }() + + token, err := aes.AesDeCrypt(tokenByte, aes.PwdKey) + + if err != nil { + return "", err + } + + return string(token), nil + +} diff --git a/pkg/utils/secret/secret_test.go b/pkg/utils/secret/secret_test.go new file mode 100644 index 0000000..578af7e --- /dev/null +++ b/pkg/utils/secret/secret_test.go @@ -0,0 +1,58 @@ +package secret + +import ( + "fmt" + "testing" +) + +func TestCodetInfo(t *testing.T) { + + if GetPositionCode("鉴证科") != "jzk" { + t.Errorf("验证错误 ") + } + + if GetPositionCode("鉴证科1") == "jzk" { + t.Errorf("验证错误 ") + } + +} + +func TestSecretInfo(t *testing.T) { + token := "abc" + position := "pppp" + name := "王德发" + str, err := CombineSecret(position, name, token) + if err != nil { + t.Errorf("组合加密错误 %s", err.Error()) + return + } + + t.Logf("加密之后 %s", str) + + tokenExample, err := GetJwtFromStr(str) + if err != nil { + t.Errorf("获取token组合加密错误 %s", err.Error()) + return + } + + if tokenExample != token { + t.Errorf("解密不符合 %s", "解析内容不匹配") + } + + t.Logf("加解密通过 %s", tokenExample) + +} + +func TestCommonCombineSecret(t *testing.T) { + a := "zzzz" + str, err := CommonCombineSecret(a) + if err != nil { + t.Errorf("组合加密错误 %s", err.Error()) + return + } + + t.Logf("加密之后 %s", str) + + tokenExample, err := CommonDec(str) + fmt.Println(tokenExample, err) +} diff --git a/pkg/utils/stime/common.go b/pkg/utils/stime/common.go new file mode 100644 index 0000000..1bc39f1 --- /dev/null +++ b/pkg/utils/stime/common.go @@ -0,0 +1,89 @@ +// Package stime ----------------------------- +// @file : common.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2022/10/21 00:19:04 +// ------------------------------------------- +package stime + +import ( + "time" +) + +var Loc loc + +type loc time.Location + +func (l loc) Shanghai() *time.Location { + var shanghai, err = time.LoadLocation("Asia/Shanghai") + if err != nil { + shanghai = time.FixedZone("CST", 8*3600) + } + return shanghai +} + +const ( + //常规时间格式(日期带横杠) + Format_Normal_YMDhms = "2006-01-02 15:04:05" + Format_Normal_YMDhm = "2006-01-02 15:04" + Format_Normal_YMD = "2006-01-02" + Format_Normal_hms = "15:04:05" + Format_Normal_hm = "15:04" + Format_Normal_YM = "2006-01" + //带斜杠的时间格式 + Format_Slash_YMDhms = "2006/01/02 15:04:05" + Format_Slash_YMD = "2006/01/02" + //无间隔符 + Format_NoSpacer_YMDhms = "20060102150405" + Format_NoSpacer_YMD = "20060102" + Format_ChinaChar_YMD = "2006年01月02日" +) + +var MonthStrMap = map[string]string{ + "January": "01", + "February": "02", + "March": "03", + "April": "04", + "May": "05", + "June": "06", + "July": "07", + "August": "08", + "September": "09", + "October": "10", + "November": "11", + "December": "12", +} +var MonthIntMap = map[string]int{ + "January": 1, + "February": 2, + "March": 3, + "April": 4, + "May": 5, + "June": 6, + "July": 7, + "August": 8, + "September": 9, + "October": 10, + "November": 11, + "December": 12, +} + +var WeekIntMap = map[string]int{ + "Monday": 1, + "Tuesday": 2, + "Wednesday": 3, + "Thursday": 4, + "Friday": 5, + "Saturday": 6, + "Sunday": 7, +} + +var WeekStrMap = map[string]string{ + "Monday": "一", + "Tuesday": "二", + "Wednesday": "三", + "Thursday": "四", + "Friday": "五", + "Saturday": "六", + "Sunday": "日", +} diff --git a/pkg/utils/stime/getTime.go b/pkg/utils/stime/getTime.go new file mode 100644 index 0000000..db69c22 --- /dev/null +++ b/pkg/utils/stime/getTime.go @@ -0,0 +1,128 @@ +/* + * @FileName: getTime.go + * @Author: JJXu + * @CreateTime: 2022/3/1 下午6:35 + * @Description: + */ + +package stime + +import ( + "fmt" + "time" +) + +func StrNowDate() string { + return TimeToString(time.Now(), Format_Normal_YMD) +} + +func StrNowYearMonth() string { + return TimeToString(time.Now(), Format_Normal_YM) +} + +//ThisMorming 今天凌晨 +func ThisMorming(format string) (strTime string) { + thisTime := time.Now() + year := thisTime.Year() + month := MonthStrMap[thisTime.Month().String()] + day := fmt.Sprintf("%02d", thisTime.Day()) + strTime = fmt.Sprintf("%v-%v-%v 00:00:00", year, month, day) + if format != Format_Normal_YMDhms { + t1, _ := time.ParseInLocation(Format_Normal_YMDhms, strTime, Loc.Shanghai()) + strTime = t1.Format(format) + } + return strTime +} + +//ThisMorningUnix 获取当日凌晨的时间戳 +func ThisMorningToUnix() int64 { + thist := time.Now() + zero_tm := time.Date(thist.Year(), thist.Month(), thist.Day(), 0, 0, 0, 0, thist.Location()).Unix() + return zero_tm +} + +//TomorrowMorning 第二天凌晨 +func TomorrowMorning(baseTime time.Time) *time.Time { + year := baseTime.Year() + month := MonthStrMap[baseTime.Month().String()] + day := fmt.Sprintf("%02d", baseTime.Day()+1) + strTime := fmt.Sprintf("%v-%v-%v 00:00:00", year, month, day) + res, _ := StringToTime(strTime) + return res +} + +//ThisTimeUnix 获取当前时间的时间戳 +func CurrentimeToUnix() int64 { + return time.Now().Unix() +} + +//Currentime 获取当前时间 +func Currentime(format string) (strTime string) { + strTime = time.Now().Format(format) + return +} + +//HoursAgo 若干小时之前的时间 +func HoursAgo(hours time.Duration, format string) (lastTimeStr string) { + lastStamp := time.Now().Unix() - int64((time.Hour * hours).Seconds()) + lastTime := time.Unix(lastStamp, 0).In(Loc.Shanghai()) + lastTimeStr = lastTime.Format(format) + return +} + +//TimeToString 时间转字符串 +func TimeToString(t time.Time, format string) string { + return t.Format(format) +} + +//计算指定月份的天数 +func YearMonthToDayNumber(year int, month int) int { + // 有31天的月份 + day31 := map[int]bool{ + 1: true, + 3: true, + 5: true, + 7: true, + 8: true, + 10: true, + 12: true, + } + if day31[month] == true { + return 31 + } + // 有30天的月份 + day30 := map[int]bool{ + 4: true, + 6: true, + 9: true, + 11: true, + } + if day30[month] == true { + return 30 + } + // 计算是平年还是闰年 + if (year%4 == 0 && year%100 != 0) || year%400 == 0 { + // 得出2月的天数 + return 29 + } + // 得出2月的天数 + return 28 +} + +// 求时间差(返回一个数字,该数字单位由传过来的unit决定。若unit为60,则单位是分钟。) +func GetDiffTime(start_time string, end_time string, unit int64) int64 { + // 转成时间戳 + if len(start_time) == 10 { + start_time = fmt.Sprintf("%v 00:00:00", start_time) + } + if len(end_time) == 10 { + end_time = fmt.Sprintf("%v 00:00:00", end_time) + } + startUnix, _ := time.ParseInLocation("2006-01-02 15:04:05", start_time, Loc.Shanghai()) + endUnix, _ := time.ParseInLocation("2006-01-02 15:04:05", end_time, Loc.Shanghai()) + startTime := startUnix.Unix() + endTime := endUnix.Unix() + // 求相差天数 + date := (endTime - startTime) / unit + return date +} diff --git a/pkg/utils/stime/getTimeExt.go b/pkg/utils/stime/getTimeExt.go new file mode 100644 index 0000000..166b173 --- /dev/null +++ b/pkg/utils/stime/getTimeExt.go @@ -0,0 +1,101 @@ +package stime + +import ( + "fmt" + "strconv" + "time" +) + +// 根据指定时间获取后面的若干天工作日列表 +// param baseOn 指定基准时间 +// param daysNum 获取工作日的数量 +func GetWorkDayList(baseOn *time.Time, daysNum int) []time.Time { + var timeList []time.Time + var basCount = 1 + var workDay time.Time + for { + if len(timeList) == daysNum { + break + } + workDay = baseOn.AddDate(0, 0, basCount) + switch workDay.Weekday() { + case time.Saturday: + basCount += 2 + continue + case time.Sunday: + basCount++ + continue + default: + timeList = append(timeList, workDay) + basCount++ + } + } + return timeList +} + +// 根据指定时间获取后面的若干天工作日列表 +// param baseOn 指定基准时间 +// param daysNum 获取工作日的数量 +func GetWorkDayStrList(baseOn *time.Time, daysNum int) []string { + var timeList []string + var basCount = 1 + var workDay time.Time + for { + if len(timeList) == daysNum { + break + } + workDay = baseOn.AddDate(0, 0, basCount) + switch workDay.Weekday() { + case time.Saturday: + basCount += 2 + continue + case time.Sunday: + basCount++ + continue + default: + timeList = append(timeList, TimeToString(workDay, Format_Normal_YMD)) + basCount++ + } + } + return timeList +} + +// 获取时间差文字描述 +func GetTimeDifferenceDesc(now *time.Time, before *time.Time) string { + if before == nil { + return "" + } + if now.After(*before) { + subTimestamp := now.Unix() - before.Unix() + day := subTimestamp / (3600 * 24) + hour := (subTimestamp - day*3600*24) / 3600 + minute := (subTimestamp - day*3600*24 - hour*3600) / 60 + second := subTimestamp - day*3600*24 - hour*3600 - minute*60 + + switch { + case day > 0: + if hour > 0 { + return fmt.Sprintf("%d天%d小时", day, hour) + } else { + return fmt.Sprintf("%d天", day) + } + case hour > 0: + if minute < 10 { + return fmt.Sprintf("%d小时", hour) + } else { + return fmt.Sprintf("%d小时%d", hour, minute) + } + case hour == 0 && minute > 0: + return fmt.Sprintf("%d分钟", minute) + case hour == 0 && minute == 0: + return fmt.Sprintf("%d秒", second) + } + } + return "" +} + +// TimeStampToBytes 时间戳转字节 +func TimeStampToBytes(stamp int64) []byte { + timeStr := strconv.FormatInt(stamp, 2) + return []byte(timeStr) +} diff --git a/pkg/utils/stime/getTimeExt_test.go b/pkg/utils/stime/getTimeExt_test.go new file mode 100644 index 0000000..52d4d41 --- /dev/null +++ b/pkg/utils/stime/getTimeExt_test.go @@ -0,0 +1,12 @@ +package stime + +import ( + "testing" + "time" +) + +func TestGetWorkDayStrList(t *testing.T) { + now := time.Now() + result := GetWorkDayStrList(&now, 5) + t.Log(result) +} diff --git a/pkg/utils/stime/time.go b/pkg/utils/stime/time.go new file mode 100644 index 0000000..5a5e8bc --- /dev/null +++ b/pkg/utils/stime/time.go @@ -0,0 +1,33 @@ +package stime + +import ( + "dubbo.apache.org/dubbo-go/v3/common/logger" + "time" +) + +// TimesToDatetime 时间戳转时间 +func TimesToDatetime(times int32, format string) string { + if times == 0 { + return "" + } + t := time.Unix(int64(times), 0) + if format == "" { + format = "2006-01-02 15:04:05" + } + return t.Format(format) +} + +func DatetimeToTimes(datetime string, dateFormat string) (times int32, err error) { + if datetime == "" { + times = 0 + return + } + loc, _ := time.LoadLocation("Asia/Shanghai") + t, err := time.ParseInLocation(dateFormat, datetime, loc) + if err != nil { + logger.Error("DatetimeToTimes err", err) + return + } + times = int32(t.Unix()) + return +} diff --git a/pkg/utils/stime/timeTranslate.go b/pkg/utils/stime/timeTranslate.go new file mode 100644 index 0000000..6ac6ee8 --- /dev/null +++ b/pkg/utils/stime/timeTranslate.go @@ -0,0 +1,71 @@ +/* + * @Author: immortal + * @Date: 2022-03-11 20:55:38 + * @LastEditors: immortal + * @LastEditTime: 2022-03-12 14:26:42 + * @Description: + * @FilePath: \monitor_env\utils\simpletime\timeTranslate.go + */ +/** + * @Author Puzzle + * @Date 2021/11/18 1:36 下午 + **/ + +package stime + +import ( + "fmt" + "time" +) + +func GetTimestampMillisecond() int64 { + now := time.Now() + return now.UnixNano() / 1e6 +} + +func StringToTime(strTime string) (*time.Time, error) { + const TIME_LAYOUT = "2006-01-02 15:04:05" //此时间不可更改 + timeobj, err := time.ParseInLocation(TIME_LAYOUT, strTime, Loc.Shanghai()) + return &timeobj, err +} + +func StringToTimeWithFormat(strTime string, timeFormat string) (*time.Time, error) { + timeobj, err := time.ParseInLocation(timeFormat, strTime, Loc.Shanghai()) + return &timeobj, err +} + +// 去除精确时间后面的小数点 +func NowTimeToTime(layout string) *time.Time { + otime := time.Now().Format(layout) //"2006-01-02 15:04:05" and so on + tt, _ := StringToTime(otime) + return tt +} + +// 时间之间的转换 +func TimeStampToString(value interface{}, after_type string) { + switch value.(type) { + case string: + fmt.Println(value.(string)) + case int64: + fmt.Println(value.(int64)) + case int32: + fmt.Println(value.(int32)) + } +} + +func GetAge(birthday time.Time) int { + if birthday.IsZero() { + return 0 + } + now := time.Now() + year, month, day := now.Date() + if year == 0 || month == 0 || day == 0 { + return 0 + } + age := year - birthday.Year() - 1 + //判断年龄 + if birthday.Month() < month || birthday.Month() == month && birthday.Day() <= day { + age++ + } + return age +} diff --git a/pkg/utils/stime/timeTranslate_test.go b/pkg/utils/stime/timeTranslate_test.go new file mode 100644 index 0000000..20b2a50 --- /dev/null +++ b/pkg/utils/stime/timeTranslate_test.go @@ -0,0 +1,26 @@ +/* + * @FileName: time_test.go + * @Author: JJXu + * @CreateTime: 2022/2/25 下午2:37 + * @Description: + */ + +package stime + +import ( + "fmt" + "testing" + "time" +) + +func TestTime(t *testing.T) { + result := NowTimeToTime(Format_Normal_YMDhms) + fmt.Println(result) +} +func TestGetAge(t *testing.T) { + age := GetAge(time.Date(1991, 3, 6, 0, 0, 0, 0, Loc.Shanghai())) + fmt.Println(age) + if age != 31 { + t.Errorf("want 31 but get %v", age) + } +} diff --git a/pkg/utils/stime/week.go b/pkg/utils/stime/week.go new file mode 100644 index 0000000..e99e85d --- /dev/null +++ b/pkg/utils/stime/week.go @@ -0,0 +1,52 @@ +/** + * @Author Puzzle + * @Date 2022/5/20 12:54 下午 + **/ + +package stime + +import "time" + +func NowWeekDay() string { + var weekday = [7]string{"七", "一", "二", "三", "四", "五", "六"} + week := int(time.Now().Weekday()) + return weekday[week] +} + +// 获取按年算的周数 +func GetYearWeek(t *time.Time) int { + yearDay := t.YearDay() + yearFirstDay := t.AddDate(0, 0, -yearDay+1) + firstDayInWeek := int(yearFirstDay.Weekday()) + + //今年第一周有几天 + firstWeekDays := 1 + if firstDayInWeek != 0 { + firstWeekDays = 7 - firstDayInWeek + 1 + } + var week int + if yearDay <= firstWeekDays { + week = 1 + } else { + week = (yearDay-firstWeekDays)/7 + 2 + } + return week +} + +// GetWeekDate 获取基准时间范围最最近的某个星期时间 +// +// param baseOn: 基准时间 +// param weekNum: 中国星期数 1~7 +// return *time.Time +func GetWeekDate(baseOn time.Time, weekNum int) *time.Time { + if baseOn.IsZero() || (weekNum <= 0 || weekNum > 7) { + return nil + } + baseDate := time.Date(baseOn.Year(), baseOn.Month(), baseOn.Day(), 0, 0, 0, 0, Loc.Shanghai()) + var ( + w = int(baseOn.Weekday()) + weekDate time.Time + ) + weekDate = baseDate.AddDate(0, 0, weekNum-w) + return &weekDate +} diff --git a/pkg/utils/stime/week_test.go b/pkg/utils/stime/week_test.go new file mode 100644 index 0000000..5242248 --- /dev/null +++ b/pkg/utils/stime/week_test.go @@ -0,0 +1,20 @@ +// Package simpletime ----------------------------- +// @file : week_test.go +// @author : JJXu +// @contact : wavingbear@163.com +// @time : 2022/8/31 14:57 +// ------------------------------------------- +package stime + +import ( + "testing" + "time" +) + +func TestGetYearWeek(t *testing.T) { + now := time.Now() + t.Log(GetYearWeek(&now)) + var w = int(now.Weekday()) + t.Log(now.AddDate(0, 0, -w+1).Weekday()) + t.Log(now.AddDate(0, 0, 7-w).Weekday()) +} diff --git a/pkg/utils/stringFormat.go b/pkg/utils/stringFormat.go new file mode 100644 index 0000000..bf2bfcd --- /dev/null +++ b/pkg/utils/stringFormat.go @@ -0,0 +1,32 @@ +package utils + +import ( + "strings" +) + +const UpperValue = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + +func CamelToSnake(s string) string { + var runes = []rune(s) + var res string + for i, r := range runes { + if strings.Contains(UpperValue, string(r)) { + if i > 0 { + res += "_" + } + res += string(strings.ToLower(string(r))) + } else { + res += string(r) + } + } + return res +} + +func SnakeToCamel(s string) string { + words := strings.Split(s, "_") + for i := 0; i < len(words); i++ { + words[i] = strings.Title(words[i]) + } + camelCase := strings.Join(words, "") + return strings.ToLower(camelCase[:1]) + camelCase[1:] +} diff --git a/pkg/utils/stringutils/string.go b/pkg/utils/stringutils/string.go new file mode 100644 index 0000000..586f256 --- /dev/null +++ b/pkg/utils/stringutils/string.go @@ -0,0 +1,22 @@ +package stringutils + +import "github.com/fonchain_enterprise/fonchain-main/pkg/utils/mathutils" + +// 按指定长度截取文本 +func SplitText(text string, length int) (textS []string) { + if text == "" { + return + } + runes := []rune(text) + runeLen := len(runes) + if runeLen <= length { + textS = append(textS, text) + return + } + nums := mathutils.NumDivCeil(runeLen, length) + for i := 0; i < nums; i++ { + end := mathutils.Min((i+1)*length, runeLen) + textS = append(textS, string(runes[i*length:end])) + } + return +} diff --git a/pkg/utils/timeDuration.go b/pkg/utils/timeDuration.go new file mode 100644 index 0000000..a7f687e --- /dev/null +++ b/pkg/utils/timeDuration.go @@ -0,0 +1,7 @@ +package utils + +//func TimeDuration(applytimes []api.ApplyTime) (days, hours float32) { +// for i := 0; i < len(applytimes); i++ { +// +// } +//} diff --git a/pkg/utils/untils.go b/pkg/utils/untils.go new file mode 100644 index 0000000..9fc46e0 --- /dev/null +++ b/pkg/utils/untils.go @@ -0,0 +1,459 @@ +package utils + +import ( + "archive/zip" + "bytes" + "crypto/md5" + "crypto/sha256" + "dubbo.apache.org/dubbo-go/v3/common/logger" + "encoding/hex" + "encoding/json" + "errors" + "fmt" + "golang.org/x/text/encoding/simplifiedchinese" + "golang.org/x/text/transform" + "io" + "io/ioutil" + "net/http" + "net/url" + "os" + "path/filepath" + "reflect" + "strconv" + "strings" + "time" + + "github.com/fonchain_enterprise/fonchain-main/pkg/e" + "github.com/gin-gonic/gin" + "github.com/tealeg/xlsx" + "go.uber.org/zap" + "unsafe" +) + +const ( + ExcelPrefix = "xlsx" +) + +// ToString 转string +func ToString(value interface{}) string { + switch v := value.(type) { + case string: + return v + case int: + return strconv.FormatInt(int64(v), 10) + case int8: + return strconv.FormatInt(int64(v), 10) + case int16: + return strconv.FormatInt(int64(v), 10) + case int32: + return strconv.FormatInt(int64(v), 10) + case int64: + return strconv.FormatInt(v, 10) + case uint: + return strconv.FormatUint(uint64(v), 10) + case uint8: + return strconv.FormatUint(uint64(v), 10) + case uint16: + return strconv.FormatUint(uint64(v), 10) + case uint32: + return strconv.FormatUint(uint64(v), 10) + case uint64: + return strconv.FormatUint(v, 10) + } + return "" +} + +// Contains 是否包含 +func Contains[T comparable](elems []T, elem T) bool { + for _, e := range elems { + if elem == e { + return true + } + } + return false +} + +// CheckTruth 检测字符串是不是真 +func CheckTruth(vals ...string) bool { + for _, val := range vals { + if val != "" && !strings.EqualFold(val, "false") { + return true + } + } + return false +} + +func CheckDirPath(path string, create bool) (exists bool, err error) { + exists = false + if path == "" { + err = errors.New(e.GetMsg(e.InvalidParams)) + return + } + if _, err = os.Stat(path); os.IsNotExist(err) { + if !create { + return + } + if err = os.MkdirAll(path, os.ModePerm); err != nil { + return + } + } + exists = true + return +} + +func ToExcel(titleList []string, dataList []interface{}, dataType string) (content io.ReadSeeker) { + // 生成一个新的文件 + file := xlsx.NewFile() + // 添加sheet页 + sheet, _ := file.AddSheet("Sheet1") + // 插入表头 + titleRow := sheet.AddRow() + for _, v := range titleList { + cell := titleRow.AddCell() + cell.Value = v + } + // 插入内容 + for _, v := range dataList { + row := sheet.AddRow() + if dataType == "struct" { + row.WriteStruct(v, -1) + } else if dataType == "slice" { + row.WriteSlice(v, -1) + } + } + + var buffer bytes.Buffer + _ = file.Write(&buffer) + content = bytes.NewReader(buffer.Bytes()) + return +} + +// ToExcelByType 转成Excel类型 +func ToExcelByType(titleList []string, dataList []interface{}, dataType string, filePath string) (content io.ReadSeeker, err error) { + // 生成一个新的文件 + file := xlsx.NewFile() + // 添加sheet页 + sheet, _ := file.AddSheet("Sheet1") + // 插入表头 + titleRow := sheet.AddRow() + for _, v := range titleList { + cell := titleRow.AddCell() + cell.Value = v + } + // 插入内容 + for _, v := range dataList { + row := sheet.AddRow() + if dataType == "struct" { + row.WriteStruct(v, -1) + } else if dataType == "slice" { + row.WriteSlice(v, -1) + } + } + var buffer bytes.Buffer + _ = file.Write(&buffer) + if filePath != "" { + if err = file.Save(filePath); err != nil { + return + } + } else { + content = bytes.NewReader(buffer.Bytes()) + } + return +} + +// ResponseXls content 为上面生成的io.ReadSeeker, fileTag 为返回前端的文件名 +func ResponseXls(c *gin.Context, content io.ReadSeeker, fileTag string) { + fileName := fmt.Sprintf("%s.%s", fileTag, ExcelPrefix) + c.Writer.Header().Add("Content-Disposition", fmt.Sprintf(`attachment; filename="%s"`, fileName)) + c.Writer.Header().Add("Content-Type", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet") + http.ServeContent(c.Writer, c.Request, fileName, time.Now(), content) +} + +func SHA256V(str []byte) string { + h := sha256.New() + h.Write(str) + return hex.EncodeToString(h.Sum(nil)) +} + +func GenerateSHA256Hash(path string) (string, error) { + b, err := os.ReadFile(path) + if err != nil { + zap.L().Error("GenerateSHA256Hash err", zap.Error(err)) + return "", err + } + return SHA256V(b), nil +} + +// SimpleStructField 将结构体转成 map kv +func SimpleStructField(v interface{}) (data map[string]interface{}, err error) { + data = map[string]interface{}{} + dataType := reflect.TypeOf(v) + dataValue := reflect.ValueOf(v) + if dataType.Kind() == reflect.Ptr { + if dataValue.IsNil() { + logger.Errorf("dataValue.IsNil") + err = errors.New(e.GetMsg(e.Error)) + } + // 如果是指针,则要判断一下是否为struct + originType := reflect.ValueOf(v).Elem().Type() + if originType.Kind() != reflect.Struct { + logger.Errorf("dataValue.Kind") + err = errors.New(e.GetMsg(e.Error)) + return + } + // 解引用 + dataValue = dataValue.Elem() + dataType = dataType.Elem() + } else { + logger.Errorf("non ptr") + err = errors.New(e.GetMsg(e.Error)) + return + } + num := dataType.NumField() + for i := 0; i < num; i++ { + field := dataType.Field(i) + fieldName := field.Name + fieldValue := dataValue.FieldByName(fieldName) + if !fieldValue.IsValid() { + continue + } + if fieldValue.CanInterface() { + data[fieldName] = fieldValue.Interface() + if fieldValue.CanSet() && fieldValue.Kind() == reflect.String { + oldValue := fieldValue.Interface().(string) + fieldValue.SetString(oldValue) + } + } else { + // 强行取址 + forceValue := reflect.NewAt(fieldValue.Type(), unsafe.Pointer(fieldValue.UnsafeAddr())).Elem() + data[fieldName] = forceValue + } + } + return +} + +// CreateDirPath 递归创建文件夹 +func CreateDirPath(path string) (err error) { + if _, err = os.Stat(path); os.IsNotExist(err) { + if err = os.MkdirAll(path, os.ModePerm); err != nil { + return + } + } + return +} + +// SaveUrlFileDisk 保存图片到本地 +func SaveUrlFileDisk(url string, path string, filename string) (fullPath string, err error) { + if err = CreateDirPath(path); err != nil { + zap.L().Error("SaveUrlFileDisk err ", zap.Error(err)) + return + } + if filename == "" { + stepName := strings.Split(url, "/") + if len(stepName) > 1 { + filename = stepName[len(stepName)-1] + } + } + + resp, err := http.Get(url) + if err != nil { + logger.Errorf("SaveUrlFileDisk get err", err) + err = errors.New(e.GetMsg(e.ERROR_DOWNLOAD_FILE)) + return + } + defer func() { + if err := recover(); err != nil { + logger.Errorf("SaveUrlFileDisk close err", err) + } + resp.Body.Close() + }() + bytes, err := ioutil.ReadAll(resp.Body) + fullPath = fmt.Sprintf("%s/%s", path, filename) + // 写入数据 + err = ioutil.WriteFile(fullPath, bytes, 0777) + return +} + +// Unzip 解压zip +func Unzip(zipFilePath string, destDir string) error { + zipReader, err := zip.OpenReader(zipFilePath) + if err != nil { + return err + } + defer zipReader.Close() + var decodeName string + for _, f := range zipReader.File { + if f.Flags == 0 { + //如果标致位是0 则是默认的本地编码 默认为gbk + i := bytes.NewReader([]byte(f.Name)) + decoder := transform.NewReader(i, simplifiedchinese.GB18030.NewDecoder()) + content, _ := ioutil.ReadAll(decoder) + decodeName = string(content) + } else { + //如果标志为是 1 << 11也就是 2048 则是utf-8编码 + decodeName = f.Name + } + fpath := filepath.Join(destDir, decodeName) + if f.FileInfo().IsDir() { + _ = os.MkdirAll(fpath, os.ModePerm) + } else { + if err = os.MkdirAll(filepath.Dir(fpath), os.ModePerm); err != nil { + return err + } + inFile, errS := f.Open() + if errS != nil { + return errS + } + defer inFile.Close() + + outFile, errA := os.OpenFile(fpath, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, f.Mode()) + if errA != nil { + return errA + } + defer outFile.Close() + _, err = io.Copy(outFile, inFile) + if err != nil { + return err + } + } + } + return nil +} + +// ZipFile 打包成zip文件 +// @title ZipDir +// @description 将文件夹下的文件打包成zip +// @auth dyb 时间 +// @param src string 文件夹路径 +// @return err error 错误内容 +func ZipFile(srcDir string, zipFilePath string) (err error) { + // 预防:旧文件无法覆盖 + os.RemoveAll(zipFilePath) + // 创建:zip文件 + zipfile, _ := os.Create(zipFilePath) + defer zipfile.Close() + // 打开:zip文件 + archive := zip.NewWriter(zipfile) + defer archive.Close() + // 遍历路径信息 + filepath.Walk(srcDir, func(path string, info os.FileInfo, _ error) error { + // 如果是源路径,提前进行下一个遍历 + if path == srcDir { + return nil + } + // 获取:文件头信息 + header, _ := zip.FileInfoHeader(info) + header.Name = strings.TrimPrefix(path, srcDir+`\`) + header.Name = strings.Replace(path, srcDir, "", 1) + if header.Name[:1] == "\\" || header.Name[:1] == "/" { + header.Name = header.Name[1:] + } + // 判断:文件是不是文件夹 + if info.IsDir() { + header.Name += `/` + } else { + // 设置:zip的文件压缩算法 + header.Method = zip.Deflate + } + // 创建:压缩包头部信息 + writer, _ := archive.CreateHeader(header) + if !info.IsDir() { + file, _ := os.Open(path) + defer file.Close() + io.Copy(writer, file) + } + return nil + }) + return +} + +// PostForm 发送post请求 +func PostForm(urlStr string, data url.Values) (string, error) { + resp, err := http.PostForm(urlStr, data) + + if err != nil { + // handle error + } + defer resp.Body.Close() + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + // handle error + } + return string(body), err +} + +func PostBody(url string, data interface{}) (httpCode int, respBody string, err error) { + var payload []byte + payload, err = json.Marshal(data) + if err != nil { + zap.L().Error("PostBody Marshal", zap.Error(err)) + err = errors.New(e.GetMsg(e.JsonUnmarshal)) + return + } + // 创建一个请求 + req, err := http.NewRequest("POST", url, bytes.NewBuffer(payload)) + if err != nil { + zap.L().Error("NewRequest err", zap.Error(err)) + err = errors.New(e.GetMsg(e.ErrorHttp)) + return + } + // 设置请求头 + req.Header.Set("Content-Type", "application/json") + client := http.Client{} + resp, err := client.Do(req) + if err != nil { + zap.L().Error("client.Do err", zap.Error(err)) + err = errors.New(e.GetMsg(e.ErrorHttp)) + return + } + defer resp.Body.Close() + body, err := ioutil.ReadAll(resp.Body) + if err != nil { + zap.L().Error("ReadAll err", zap.Error(err)) + err = errors.New(e.GetMsg(e.ErrorBody)) + return + } + httpCode = resp.StatusCode + respBody = string(body) + return +} + +func Get(url string) string { + client := &http.Client{Timeout: 5 * time.Second} + resp, err := client.Get(url) + if err != nil { + panic(err) + } + defer resp.Body.Close() + var buffer [512]byte + result := bytes.NewBuffer(nil) + for { + n, err := resp.Body.Read(buffer[0:]) + result.Write(buffer[0:n]) + if err != nil && err == io.EOF { + break + } else if err != nil { + panic(err) + } + } + + return result.String() +} + +func StructToMap(obj interface{}) map[string]interface{} { + objMap := make(map[string]interface{}) + objVal := reflect.ValueOf(obj) + for i := 0; i < objVal.NumField(); i++ { + field := objVal.Type().Field(i) + value := objVal.Field(i).Interface() + objMap[field.Name] = value + } + return objMap +} + +func Md5Str(input string) string { + hashNew := md5.New() + hashNew.Write([]byte(input)) + hashBytes := hashNew.Sum(nil) + return hex.EncodeToString(hashBytes) +} diff --git a/pkg/utils/validator.go b/pkg/utils/validator.go new file mode 100644 index 0000000..2b53571 --- /dev/null +++ b/pkg/utils/validator.go @@ -0,0 +1,78 @@ +package utils + +import ( + "errors" + "fmt" + "reflect" + "strings" + + "github.com/gin-gonic/gin/binding" + "github.com/go-playground/locales/en" + "github.com/go-playground/locales/zh" + ut "github.com/go-playground/universal-translator" + "github.com/go-playground/validator/v10" + enTranslations "github.com/go-playground/validator/v10/translations/en" + zhTranslations "github.com/go-playground/validator/v10/translations/zh" +) + +var Trans ut.Translator + +// InitTrans 初始化翻译器 +func InitTrans(locale string) (err error) { + // 修改gin框架中的Validator引擎属性,实现自定制 + if v, ok := binding.Validator.Engine().(*validator.Validate); ok { + // 注册一个获取json tag的自定义方法 + v.RegisterTagNameFunc(func(fld reflect.StructField) string { + name := strings.SplitN(fld.Tag.Get("columnName"), ",", 2)[0] + if name == "" { + name = strings.SplitN(fld.Tag.Get("json"), ",", 2)[0] + } + if name == "-" { + return "" + } + return name + }) + // 为SignUpParam注册自定义校验方法 + zhT := zh.New() // 中文翻译器 + enT := en.New() // 英文翻译器 + uni := ut.New(enT, zhT, enT) + var ok bool + // 也可以使用 uni.FindTranslator(...) 传入多个locale进行查找 + Trans, ok = uni.GetTranslator(locale) + if !ok { + return fmt.Errorf("uni.GetTranslator(%s) failed", locale) + } + + // 注册翻译器 + switch locale { + case "en": + err = enTranslations.RegisterDefaultTranslations(v, Trans) + case "zh": + err = zhTranslations.RegisterDefaultTranslations(v, Trans) + default: + err = enTranslations.RegisterDefaultTranslations(v, Trans) + } + return + } + return +} + +// RemoveTopStruct 去除提示信息中的结构体名称 +func RemoveTopStruct(fields map[string]string) map[string]string { + res := map[string]string{} + for field, err := range fields { + res[field[strings.Index(field, ".")+1:]] = err + } + return res +} + +func ValidatorErrorMsg(err error) string { + var errs validator.ValidationErrors + _ = errors.As(err, &errs) + msgMap := RemoveTopStruct(errs.Translate(Trans)) + var msg string + for _, v := range msgMap { + msg += v + ";" + } + return msg +} diff --git a/pkg/utils/wechat/wechat.go b/pkg/utils/wechat/wechat.go new file mode 100644 index 0000000..28f79a9 --- /dev/null +++ b/pkg/utils/wechat/wechat.go @@ -0,0 +1,53 @@ +package wechat + +import ( + "encoding/json" + "errors" + "fmt" + "io/ioutil" + "net/http" +) + +type OpenIDInfo struct { + AccessToken string `json:"access_token"` + ExpiresIn int `json:"expires_in"` + RefreshToken string `json:"refresh_token"` + Openid string `json:"openid"` + Scope string `json:"scope"` + IsSnapshotuser int `json:"is_snapshotuser"` + Unionid string `json:"unionid"` +} + +func GetOpenID(appID, appSecret, code string) (openInfo *OpenIDInfo, err error) { + + var openIDInfo *OpenIDInfo + str := "https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code" + url := fmt.Sprintf(str, appID, appSecret, code) + + resp, err := http.Get(url) + if err != nil { + fmt.Println(err) + return nil, err + } + + body, err := ioutil.ReadAll(resp.Body) + + defer resp.Body.Close() + + if resp.StatusCode != 200 { + fmt.Printf("请求失败%d\n", resp.StatusCode) + return nil, errors.New(fmt.Sprintf("请求失败%d", resp.StatusCode)) + } + + fmt.Println("返回数据是", string(body)) + + err = json.Unmarshal(body, &openInfo) + if err != nil { + fmt.Println(err) + return nil, err + } + fmt.Println(openIDInfo) + + return + +} diff --git a/pkg/utils/week.go b/pkg/utils/week.go new file mode 100644 index 0000000..0b40109 --- /dev/null +++ b/pkg/utils/week.go @@ -0,0 +1,45 @@ +package utils + +import "time" + +//获取下周周四 +func GetNextWeekThursday(t time.Time, fmtStr string) (day string, err error) { + monday := getMondayOfWeek(t, fmtStr) + dayObj, err := time.Parse(fmtStr, monday) + if err != nil { + return + } + day = dayObj.AddDate(0, 0, 10).Format(fmtStr) + return +} + +//获取下周周三 +func GetNextNextWeekWednesday(t time.Time, fmtStr string) (day string, err error) { + monday := getMondayOfWeek(t, fmtStr) + dayObj, err := time.Parse(fmtStr, monday) + if err != nil { + return + } + day = dayObj.AddDate(0, 0, 15).Format(fmtStr) + return +} + +func getMondayOfWeek(t time.Time, fmtStr string) (dayStr string) { + dayObj := getZeroTime(t) + if t.Weekday() == time.Monday { + //修改hour、min、sec = 0后格式化 + dayStr = dayObj.Format(fmtStr) + } else { + offset := int(time.Monday - t.Weekday()) + if offset > 0 { + offset = -6 + } + dayStr = dayObj.AddDate(0, 0, offset).Format(fmtStr) + } + return +} + +//获取某一天的0点时间 +func getZeroTime(t time.Time) time.Time { + return time.Date(t.Year(), t.Month(), t.Day(), 0, 0, 0, 0, t.Location()) +} diff --git a/pkg/utils/zip.go b/pkg/utils/zip.go new file mode 100644 index 0000000..b681a23 --- /dev/null +++ b/pkg/utils/zip.go @@ -0,0 +1,117 @@ +package utils + +import ( + "fmt" + "io" + "log" + "os" + "path/filepath" + "strings" + + "archive/zip" +) + +func CompressByFiles(fileNames []string, dest string) error { + d, _ := os.Create(dest) + defer d.Close() + w := zip.NewWriter(d) + defer w.Close() + for _, fileName := range fileNames { + file, err := os.Open(fileName) + //defer file.Close() + if err != nil { + log.Println(err) + return err + } + err = compress(file, "", w) + if err != nil { + log.Println(err) + return err + } + } + return nil +} + +func compress(file *os.File, prefix string, zw *zip.Writer) error { + info, err := file.Stat() + if err != nil { + log.Println(err) + return err + } + header, err := zip.FileInfoHeader(info) + header.Name = prefix + "/" + header.Name + if err != nil { + log.Println(err) + return err + } + writer, err := zw.CreateHeader(header) + if err != nil { + log.Println(err) + return err + } + _, err = io.Copy(writer, file) + file.Close() + if err != nil { + log.Println(err) + return err + } + return nil +} + +func ZipDirectory(dirPath string, zipFilePath string) error { + // 创建目标zip文件 + zipFile, err := os.Create(zipFilePath) + if err != nil { + return err + } + defer zipFile.Close() + + // 创建zip.Writer写入目标文件 + zipWriter := zip.NewWriter(zipFile) + defer zipWriter.Close() + + // 递归遍历目录,将文件和子目录添加到zip.Writer中 + err = filepath.Walk(dirPath, func(filePath string, info os.FileInfo, err error) error { + if err != nil { + return err + } + + // 创建zip文件中的路径 + relPath := strings.TrimPrefix(filePath, dirPath) + zipPath := filepath.Join(filepath.Base(dirPath), relPath) + + // 如果是目录,则只创建目录而不添加文件 + if info.IsDir() { + _, err = zipWriter.Create(zipPath + "/") + if err != nil { + return err + } + } else { + // 如果是文件,则创建文件并将内容写入zip.Writer中 + file, err := os.Open(filePath) + if err != nil { + return err + } + defer file.Close() + + zipFile, err := zipWriter.Create(zipPath) + if err != nil { + return err + } + + _, err = io.Copy(zipFile, file) + if err != nil { + return err + } + } + + return nil + }) + + if err != nil { + return err + } + + fmt.Printf("目录 %s 已打包成文件 %s\n", dirPath, zipFilePath) + return nil +} diff --git a/pkg/zap/zap_logger.go b/pkg/zap/zap_logger.go new file mode 100644 index 0000000..60eb011 --- /dev/null +++ b/pkg/zap/zap_logger.go @@ -0,0 +1,50 @@ +package logger + +import ( + "github.com/fonchain_enterprise/fonchain-main/pkg/config" + "strconv" + + "github.com/natefinch/lumberjack" + "go.uber.org/zap" + "go.uber.org/zap/zapcore" +) + +// ZapInit 初始化lg +func ZapInit() *zap.Logger { + var err error + maxSize, _ := strconv.Atoi(config.MaxSize) + maxAge, _ := strconv.Atoi(config.MaxAge) + maxBackups, _ := strconv.Atoi(config.MaxAge) + writeSyncer := getLogWriter(config.Filename, maxSize, maxBackups, maxAge) + encoder := getEncoder() + var l = new(zapcore.Level) + err = l.UnmarshalText([]byte(config.Level)) + if err != nil { + return nil + } + var core zapcore.Core + core = zapcore.NewCore(encoder, writeSyncer, l) + lg := zap.New(core, zap.AddCaller()) + zap.ReplaceGlobals(lg) + return lg +} + +func getEncoder() zapcore.Encoder { + encoderConfig := zap.NewProductionEncoderConfig() + encoderConfig.EncodeTime = zapcore.ISO8601TimeEncoder + encoderConfig.TimeKey = "time" + encoderConfig.EncodeLevel = zapcore.CapitalLevelEncoder + encoderConfig.EncodeDuration = zapcore.SecondsDurationEncoder + encoderConfig.EncodeCaller = zapcore.ShortCallerEncoder + return zapcore.NewJSONEncoder(encoderConfig) +} + +func getLogWriter(filename string, maxSize, maxBackup, maxAge int) zapcore.WriteSyncer { + lumberJackLogger := &lumberjack.Logger{ + Filename: filename, + MaxSize: maxSize, + MaxBackups: maxBackup, + MaxAge: maxAge, + } + return zapcore.AddSync(lumberJackLogger) +}